/* ==============================================================
   udaipurbusiness.com — Main Stylesheet
   Mobile-first. Palette: white / light grey / soft blue.
   ============================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --accent: #f59e0b;
  --whatsapp: #25d366;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;

  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15,23,42,.05), 0 4px 12px rgba(15,23,42,.04);
  --shadow-lg: 0 10px 30px rgba(15,23,42,.08);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { cursor: pointer; font: inherit; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- HEADER ---------- */
.site-header {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.brand strong { color: var(--primary); }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft); }

.main-nav {
  position: fixed; inset: 64px 0 auto 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 16px; display: none; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-lg);
}
.main-nav.is-open { display: flex; }
.main-nav a { padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 500; font-size: 15px; }
.main-nav a:hover { background: var(--bg-soft); }

.hamburger { display: flex; flex-direction: column; gap: 4px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

@media (min-width: 768px) {
  .hamburger { display: none; }
  .main-nav {
    position: static; display: flex !important; flex-direction: row; align-items: center;
    gap: 4px; padding: 0; border: 0; box-shadow: none;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px;
  transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none; cursor: pointer;
}
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover  { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost    { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1ea855; }
.btn-accent   { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #d97706; }
.btn-danger   { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- FLASH ---------- */
.flash-msg {
  padding: 12px 16px; font-size: 14px; text-align: center;
}
.flash-success { background: #dcfce7; color: #166534; border-bottom: 1px solid #86efac; }
.flash-error   { background: #fef2f2; color: #991b1b; border-bottom: 1px solid #fca5a5; }

/* ---------- ALERTS ---------- */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 12px;
}
.alert-error   { background: #fef2f2; color: #991b1b; border-left: 4px solid var(--danger); }
.alert-success { background: #f0fdf4; color: #166534; border-left: 4px solid var(--success); }
.alert-info    { background: var(--primary-soft); color: #1e40af; border-left: 4px solid var(--primary); }

/* ---------- HERO + SEARCH ---------- */
.hero {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, var(--primary-soft) 0%, #fff 100%);
  text-align: center;
}
.hero-title { font-size: clamp(28px, 6vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.hero-title .accent { color: var(--primary); }
.hero-sub { color: var(--text-muted); margin-top: 10px; font-size: 15px; }
@media (min-width: 768px) { .hero-sub { font-size: 17px; } }

.search-box {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  margin: 28px auto 0; padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
  max-width: 760px;
}
.search-field { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); }
.search-field:hover { background: var(--bg-soft); }
.search-field input { flex: 1; border: 0; outline: 0; font-size: 15px; background: transparent; }
.search-field .icon { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.search-divider { height: 1px; background: var(--border); margin: 0 12px; }
.search-btn { padding: 14px; font-size: 15px; }

@media (min-width: 768px) {
  .search-box { flex-direction: row; align-items: center; padding: 6px; }
  .search-field { flex: 1; }
  .search-divider { width: 1px; height: 28px; }
  .search-btn { padding: 12px 28px; }
}

.quick-chips { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.quick-chips a {
  padding: 8px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; font-size: 13px; color: var(--text-muted); transition: all .15s;
}
.quick-chips a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }

/* ---------- SECTIONS ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-soft); }
.section-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); margin-bottom: 24px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.link-more { color: var(--primary); font-weight: 500; font-size: 14px; }
@media (min-width: 768px) { .section-title { font-size: 28px; } }

/* ---------- CATEGORY GRID ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .grid-cards { grid-template-columns: repeat(5, 1fr); gap: 16px; } }

.card-category {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 12px; text-align: center; transition: all .2s;
}
.card-category:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 32px; margin-bottom: 8px; }
.card-category h3 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.card-count { font-size: 12px; color: var(--text-muted); }

/* ---------- LISTING CARDS ---------- */
.grid-listings { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid-listings { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .grid-listings { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.listing-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; position: relative; transition: all .25s;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-cover { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--bg-soft); }
.listing-body { padding: 14px; }
.listing-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.listing-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; }
.rating { color: var(--accent); font-weight: 600; }
.dot { opacity: .5; }
.listing-tagline { font-size: 13px; color: var(--text-muted); margin: 8px 0 12px; }
.listing-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.badge-silver    { background: #e2e8f0; color: #475569; }
.badge-gold      { background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #78350f; }
.badge-diamond   { background: linear-gradient(135deg, #818cf8, #6366f1); color: #fff; }
.badge-verified  { background: #dcfce7; color: #166534; position: static; display: inline-block; margin-left: 8px; }

/* ---------- PLANS ---------- */
.grid-plans { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
@media (min-width: 768px) { .grid-plans { grid-template-columns: repeat(4, 1fr); } }

.plan-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; position: relative; transition: all .2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-popular { border-color: var(--primary); border-width: 2px; }
.plan-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.plan-card h3 { font-size: 18px; margin-bottom: 6px; }
.plan-price { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.plan-card ul { margin-bottom: 20px; }
.plan-card li { padding: 6px 0; font-size: 14px; color: var(--text-muted);
  border-bottom: 1px dashed var(--border); }
.plan-card li:last-child { border: 0; }

/* ---------- BANNER ---------- */
.section-banner { padding: 24px 0; }
.banner-carousel img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/5; object-fit: cover; }
.banner-slide { display: block; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0f172a; color: #cbd5e1;
  padding: 48px 0 24px; margin-top: 48px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4, .site-footer h5 { color: #fff; margin-bottom: 12px; font-size: 16px; }
.site-footer a { color: #cbd5e1; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer li { padding: 4px 0; }
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid #1e293b;
  font-size: 13px; color: #94a3b8; text-align: center;
}

/* ---------- AUTH PAGES ---------- */
.auth-page {
  min-height: calc(100vh - 64px - 300px); padding: 48px 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-soft), #fff);
}
.auth-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 40px; max-width: 440px; width: 100%;
}
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }
.auth-card label { display: block; font-weight: 600; font-size: 13px; margin-top: 14px; margin-bottom: 6px; }
.auth-card input, .auth-card select, .auth-card textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; outline: none;
  transition: border .15s, box-shadow .15s;
}
.auth-card input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.auth-card .btn { margin-top: 24px; padding: 12px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-alt a { color: var(--primary); font-weight: 600; }

.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.role-option {
  padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; text-align: center; transition: all .15s;
}
.role-option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.role-option input { display: none; }
.role-option span { display: block; font-weight: 600; font-size: 14px; }
.role-option small { color: var(--text-muted); font-size: 12px; }

/* ---------- FORM ---------- */
.biz-form label {
  display: block; font-weight: 600; font-size: 13px; margin-top: 14px; margin-bottom: 6px;
}
.biz-form input, .biz-form select, .biz-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; outline: none;
  font-family: inherit;
}
.biz-form input:focus, .biz-form select:focus, .biz-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ---------- SEARCH PAGE ---------- */
.search-header { margin-bottom: 20px; }
.search-header h1 { font-size: 24px; margin-bottom: 4px; }
.search-header .sub { color: var(--text-muted); font-size: 14px; }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 24px;
}
.filter-bar select, .filter-bar input {
  padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; flex: 1; min-width: 120px;
}

.empty-state {
  padding: 48px 20px; text-align: center; background: var(--bg-soft);
  border-radius: var(--radius); color: var(--text-muted);
}
.empty-state h3 { color: var(--text); margin-bottom: 8px; }

.pagination {
  display: flex; justify-content: center; gap: 4px; margin-top: 32px;
}
.pagination a {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); font-weight: 500; font-size: 14px;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- BUSINESS DETAIL ---------- */
.biz-hero { position: relative; max-height: 400px; overflow: hidden; background: var(--bg-soft); }
.biz-cover { width: 100%; aspect-ratio: 16/6; object-fit: cover; }
@media (min-width: 768px) { .biz-cover { aspect-ratio: 16/5; } }

.biz-layout {
  display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px 16px;
}
@media (min-width: 1024px) { .biz-layout { grid-template-columns: 1fr 320px; padding: 24px 32px; } }

.biz-header { position: relative; padding-top: 12px; }
.biz-header .badge { position: relative; top: 0; left: 0; margin-right: 6px; }
.biz-header h1 { font-size: 28px; margin: 12px 0 4px; }
.biz-tagline { color: var(--text-muted); font-size: 15px; margin-bottom: 8px; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--text-muted); }
.biz-meta a { color: var(--primary); font-weight: 500; }

.biz-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }

.biz-section {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-top: 20px;
}
.biz-section h2 { font-size: 20px; margin-bottom: 16px; }

.biz-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .biz-gallery { grid-template-columns: repeat(3, 1fr); } }
.biz-gallery img { aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm); }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  padding: 16px; background: var(--bg-soft); border-radius: var(--radius-sm);
}
.service-card h4 { margin-bottom: 6px; }
.service-price { color: var(--primary); font-weight: 700; margin-top: 8px; }

.inquiry-form input, .inquiry-form textarea, .inquiry-form select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 10px;
  font-family: inherit; outline: none;
}
.inquiry-form input:focus, .inquiry-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}

.review-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border: 0; }
.review-header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; font-size: 14px; }
.review-header time { color: var(--text-muted); font-size: 12px; margin-left: auto; }

.biz-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px;
}
.sidebar-card h3 { font-size: 16px; margin-bottom: 12px; }
.sidebar-card p { font-size: 14px; margin-bottom: 8px; color: var(--text-muted); }
.sidebar-card a { color: var(--primary); }
.sidebar-card .address { font-size: 13px; line-height: 1.5; }

/* ---------- DASHBOARD ---------- */
.dash-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.dash-header h1 { font-size: 24px; }
.dash-header .sub { color: var(--text-muted); font-size: 14px; }

.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px;
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: all .2s;
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 28px; font-weight: 800; margin-top: 4px; }
.stat-link { font-size: 13px; color: var(--primary); margin-top: 4px; display: inline-block; }

.dash-section { margin-bottom: 40px; }
.dash-section h2 { font-size: 20px; margin-bottom: 16px; }
.dash-section h2 a { font-size: 14px; color: var(--primary); font-weight: 500; }

.dash-table {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.dash-row {
  padding: 16px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap;
}
.dash-row:last-child { border: 0; }
.dash-actions { display: flex; gap: 6px; }

.tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  margin-left: 6px;
}
.tag-free    { background: #e2e8f0; color: #475569; }
.tag-silver  { background: #e2e8f0; color: #475569; }
.tag-gold    { background: #fef3c7; color: #92400e; }
.tag-diamond { background: #ede9fe; color: #5b21b6; }
.tag-status-active  { background: #dcfce7; color: #166534; }
.tag-status-pending { background: #fef3c7; color: #92400e; }
.tag-status-rejected{ background: #fee2e2; color: #991b1b; }

.text-muted { color: var(--text-muted); font-size: 13px; }

/* ---------- WALLET ---------- */
.wallet-card {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff; border-radius: var(--radius); padding: 28px; margin: 20px 0;
  box-shadow: var(--shadow-lg);
}
.wallet-balance { text-align: center; margin-bottom: 24px; }
.wallet-label { font-size: 13px; opacity: .8; text-transform: uppercase; letter-spacing: .05em; }
.wallet-value { display: block; font-size: 48px; font-weight: 800; margin: 4px 0; }
.wallet-hint { font-size: 13px; opacity: .8; }

.recharge-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.recharge-form input {
  width: 100%; padding: 14px; border: 0; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600; color: var(--text);
}
.recharge-form .btn { margin-top: 12px; background: #fff; color: var(--primary); }
.recharge-form .btn:hover { background: var(--primary-soft); }

.amount-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.preset {
  padding: 8px 14px; background: rgba(255,255,255,.15); color: #fff;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 13px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); transition: all .15s;
}
.preset:hover { background: rgba(255,255,255,.3); }

.txn-list {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.txn-item {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.txn-item:last-child { border: 0; }
.txn-amount { font-weight: 700; font-size: 15px; }
.txn-amount.credit { color: var(--success); }
.txn-amount.debit  { color: var(--danger); }

/* ---------- ADMIN ---------- */
.admin-layout { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 1024px) { .admin-layout { grid-template-columns: 240px 1fr; } }

.admin-sidebar {
  background: #0f172a; color: #cbd5e1; padding: 24px 0;
}
.admin-sidebar .brand { color: #fff; padding: 0 24px 20px; border-bottom: 1px solid #1e293b; }
.admin-sidebar .brand strong { color: #60a5fa; }
.admin-nav { padding: 20px 12px 0; display: flex; flex-direction: column; gap: 2px; }
.admin-nav a {
  padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px;
  color: #cbd5e1; display: flex; align-items: center; gap: 10px;
}
.admin-nav a:hover { background: #1e293b; color: #fff; }
.admin-nav a.active { background: var(--primary); color: #fff; }

.admin-main { padding: 24px 16px; background: var(--bg-soft); }
@media (min-width: 768px) { .admin-main { padding: 32px; } }
.admin-main h1 { font-size: 24px; margin-bottom: 8px; }
.admin-main .sub { color: var(--text-muted); margin-bottom: 24px; }

.admin-table {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; width: 100%; border-collapse: collapse;
}
.admin-table th, .admin-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.admin-table th { background: var(--bg-soft); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.admin-table tr:last-child td { border: 0; }
.admin-table td form { display: inline-block; margin-right: 4px; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.listing-card, .card-category, .plan-card, .stat-card { animation: fadeInUp .4s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
