/* VIP UNLOCKER - Teal/White Theme (iosnemes1s style) */

:root {
  --primary: #008080;
  --primary-dark: #006666;
  --primary-light: #00a0a0;
  --primary-bg: #e0f5f5;
  --secondary: #1a2332;
  --accent: #ff6b1a;
  --bg: #f5f7f8;
  --card: #ffffff;
  --text: #1a2332;
  --text-muted: #6b7785;
  --border: #e1e8eb;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --gold: #d4af37;
  --gradient-gold: linear-gradient(135deg, #d4af37, #f4cf67);
  --bg-card: #ffffff;
  --bg-elevated: #f5f7f8;
  --text-primary: #1a2332;
  --text-secondary: #475569;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

/* Top announcement marquee */
.top-announce { background: var(--secondary); color: #fff; overflow: hidden; padding: 9px 0; font-size: 13px; font-weight: 500; }
.marquee { display: flex; animation: scrollLeft 30s linear infinite; white-space: nowrap; }
.marquee span { padding: 0 30px; color: #ffd700; font-weight: 600; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Navbar */
.navbar { background: var(--primary); color: #fff; padding: 14px 16px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 14px; }
.menu-toggle { background: rgba(255,255,255,0.15); border: none; color: #fff; width: 42px; height: 42px; border-radius: 8px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.menu-toggle:hover { background: rgba(255,255,255,0.25); }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #fff; text-decoration: none; flex: 1; }
.navbar-brand:hover { color: #fff; }
.navbar-brand img { height: 36px; }
.navbar-brand .crown { color: #ffd700; font-size: 22px; }
.navbar-right { display: flex; gap: 8px; align-items: center; }
.navbar-right a { color: #fff; background: rgba(255,255,255,0.15); padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.navbar-right a:hover { background: rgba(255,255,255,0.28); color: #fff; }
.navbar-right .wallet { background: var(--accent); }

/* Side menu */
.side-menu { position: fixed; top: 0; left: 0; width: 86%; max-width: 340px; height: 100vh; background: #fff; z-index: 1001; transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto; box-shadow: 4px 0 30px rgba(0,0,0,0.2); display: flex; flex-direction: column; }
.side-menu.open { transform: translateX(0); }
.side-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .3s; }
.side-overlay.open { opacity: 1; visibility: visible; }
.side-head { background: var(--primary); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.side-back { background: rgba(255,255,255,0.18); border: none; width: 36px; height: 36px; border-radius: 8px; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.side-head h2 { font-size: 18px; font-weight: 700; margin: 0; }
.side-auth { display: flex; gap: 10px; padding: 16px; background: var(--primary); }
.side-auth a { flex: 1; text-align: center; padding: 12px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.side-auth .btn-reg { background: #fff; color: var(--primary); }
.side-auth .btn-log { background: var(--secondary); color: #fff; }
.side-auth a:hover { transform: translateY(-1px); }
.side-user { padding: 16px; background: var(--primary-bg); border-bottom: 1px solid var(--border); }
.side-user .name { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.side-user .balance { color: var(--accent); font-weight: 800; font-size: 18px; }
.side-section { padding: 16px 20px 8px; font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: 1.5px; }
.side-menu-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.side-menu-list li a { display: flex; align-items: center; gap: 14px; padding: 14px 20px; color: var(--text); font-size: 15px; border-bottom: 1px solid var(--border); transition: background .2s; }
.side-menu-list li a:hover { background: var(--primary-bg); color: var(--primary); }
.side-menu-list li a i:first-child { width: 24px; color: var(--primary); text-align: center; font-size: 16px; }
.side-menu-list li a .arrow { margin-left: auto; color: var(--text-muted); font-size: 12px; }
.side-foot { padding: 16px 20px; background: var(--bg); border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); text-align: center; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* Hero slider */
.hero-slider { margin: 20px 0; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); position: relative; }
.slides { display: flex; transition: transform .5s ease; }
.slide { flex-shrink: 0; width: 100%; aspect-ratio: 16/7; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-default { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; flex-direction: column; padding: 30px; text-align: center; }
.slide-default h2 { font-size: clamp(20px, 5vw, 38px); font-weight: 800; margin-bottom: 8px; }
.slide-default p { font-size: clamp(13px, 3vw, 16px); opacity: 0.95; max-width: 600px; }
.slide-default .crown { font-size: clamp(40px, 8vw, 64px); color: #ffd700; margin-bottom: 12px; }
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all .3s; }
.dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* Section title */
.section-title { display: flex; align-items: center; gap: 12px; margin: 30px 0 16px; }
.section-title .bar { width: 4px; height: 24px; background: var(--primary); border-radius: 2px; }
.section-title h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--secondary); letter-spacing: 0.5px; }
.section-title.center { justify-content: center; }

/* Service cards */
.service-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.service-card { background: #fff; border-radius: 12px; overflow: hidden; display: flex; gap: 14px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; align-items: stretch; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); color: var(--text); }
.service-card .img { width: 130px; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.service-card .img img { width: 100%; height: 100%; object-fit: cover; }
.service-card .img .placeholder { color: rgba(255,255,255,0.7); font-size: 38px; }
.service-card .body { flex: 1; padding: 14px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.service-card .body h3 { font-size: 14px; font-weight: 600; color: var(--secondary); margin: 0 0 10px; line-height: 1.4; }
.service-card .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-price { background: var(--primary-bg); color: var(--primary-dark); padding: 5px 12px; border-radius: 6px; font-size: 12.5px; font-weight: 700; }
.tag-time { background: #fff4e6; color: var(--accent); padding: 5px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; }
.tag-time.offline { background: #fde2e2; color: var(--danger); }
.tag-time.online { background: #dcfce7; color: var(--success); }

/* Order page */
.order-wrap { background: #fff; border-radius: 14px; overflow: hidden; margin: 20px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.order-img { width: 100%; aspect-ratio: 2/1; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.order-img img { width: 100%; height: 100%; object-fit: cover; }
.order-img .placeholder { font-size: 80px; color: rgba(255,255,255,0.7); }
.order-body { padding: 20px; }
.breadcrumb { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb i { margin: 0 6px; font-size: 10px; }
.order-title { font-size: 20px; font-weight: 700; color: var(--secondary); margin-bottom: 16px; line-height: 1.4; }
.info-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.info-cell { padding: 14px; text-align: center; border-right: 1px solid var(--border); }
.info-cell:last-child { border-right: 0; }
.info-cell .lbl { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 6px; }
.info-cell .val { font-size: 18px; font-weight: 700; }
.info-cell.price .val { color: var(--primary); }
.info-cell.delivery .val { color: var(--accent); }
.info-cell.status .val { color: var(--success); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--secondary); }
.form-control { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; outline: none; transition: border-color .2s; font-family: inherit; background: #fff; color: var(--text); }
.form-control:focus { border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 80px; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; }
.input-icon .form-control { padding-left: 42px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); margin-bottom: 16px; }
.checkbox-row input { accent-color: var(--primary); width: 18px; height: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; transition: all .2s; text-decoration: none; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e55a0a; color: #fff; }
.btn-block { width: 100%; padding: 14px; font-size: 15px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #0f1722; color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary-bg); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }

/* Auth */
.auth-page { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-card { background: #fff; border-radius: 14px; padding: 30px 24px; width: 100%; max-width: 440px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.auth-card h2 { font-size: 22px; font-weight: 700; color: var(--secondary); margin: 0 0 6px; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }
.auth-foot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--text-muted); }
.auth-foot a { color: var(--primary); font-weight: 600; }
.forgot-link { text-align: right; display: block; color: var(--primary); font-size: 13px; margin: -8px 0 14px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px; background: #fff; color: #3c4043; font-weight: 600; font-size: 14px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; transition: all .2s; cursor: pointer; margin-bottom: 14px; }
.btn-google:hover { background: var(--bg); box-shadow: 0 2px 8px rgba(0,0,0,0.1); color: #3c4043; }
.auth-divider { display: flex; align-items: center; margin: 16px 0; color: var(--text-muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { padding: 0 12px; }

/* Alerts */
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-danger, .alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 20px 0 40px; }
.why-box { background: #fff; border-radius: 12px; padding: 22px 18px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform .2s; }
.why-box:hover { transform: translateY(-3px); }
.why-icon { width: 56px; height: 56px; background: var(--primary-bg); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 24px; margin: 0 auto 12px; }
.why-box h3 { font-size: 15px; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
.why-box p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Dashboard */
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.dash-stat { background: #fff; padding: 18px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.dash-stat .lbl { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.dash-stat .val { font-size: 22px; font-weight: 800; color: var(--secondary); margin-top: 4px; }
.dash-stat.primary .val { color: var(--primary); }
.dash-stat.accent .val { color: var(--accent); }

/* Tables */
.tbl-wrap { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin: 16px 0; }
.tbl-wrap table { width: 100%; border-collapse: collapse; }
.tbl-wrap th, .tbl-wrap td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.tbl-wrap th { background: var(--primary-bg); color: var(--secondary); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.tbl-wrap tr:last-child td { border-bottom: 0; }

/* Badges */
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-secondary { background: #e5e7eb; color: #374151; }

/* Footer */
.footer { background: var(--secondary); color: #cbd5e1; padding: 36px 0 20px; margin-top: 50px; }
.footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 8px; font-size: 14px; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: var(--primary-light); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; margin-top: 24px; text-align: center; font-size: 12px; color: #94a3b8; grid-column: 1 / -1; }

/* WhatsApp */
.whatsapp-btn { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; box-shadow: 0 6px 20px rgba(37,211,102,0.5); z-index: 99; animation: pulse 2s infinite; }
.whatsapp-btn:hover { color: #fff; transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.5); } 50% { box-shadow: 0 6px 30px rgba(37,211,102,0.9); } }

/* Mobile */
@media (max-width: 768px) {
  .navbar-right a { padding: 7px 10px; font-size: 12px; }
  .navbar-right a span { display: none; }
  .navbar-brand { font-size: 16px; }
  .info-cell { padding: 10px 6px; }
  .info-cell .val { font-size: 15px; }
  .info-cell .lbl { font-size: 9px; }
  .order-title { font-size: 17px; }
  .order-body { padding: 16px; }
  .service-card .img { width: 110px; }
  .service-card .img .placeholder { font-size: 30px; }
}

/* ============= Legacy classes fallback (existing pages) ============= */
.section { padding: 24px 0; }
.section-bg { background: var(--bg); }
.page-header { background: var(--primary); color: #fff; padding: 30px 0; margin-bottom: 24px; }
.page-header h1 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.85); margin: 0; }
.page-header .breadcrumb { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 8px; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.9); }

.card-default, .info-card {
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 16px;
}

.stat-box {
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex; align-items: center; gap: 14px;
}
.stat-box .ico {
  width: 48px; height: 48px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.stat-box .lbl { color: var(--text-muted); font-size: 12px; text-transform: uppercase; }
.stat-box .val { font-size: 22px; font-weight: 800; color: var(--secondary); margin-top: 2px; }
.stat-box .sub { color: var(--text-muted); font-size: 11px; }

.stats-row, .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.empty-state {
  text-align: center; padding: 40px 20px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.empty-state .icon { font-size: 48px; color: var(--text-muted); margin-bottom: 14px; }
.empty-state h3 { color: var(--secondary); margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin: 0; }

.pill-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.pill-filter a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.pill-filter a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pill-filter a:hover { border-color: var(--primary); color: var(--primary); }
.pill-filter a.active:hover { color: #fff; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.service-tile, .featured-card {
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.service-tile:hover, .featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-row {
  background: #fff; border-radius: 10px; padding: 16px;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px;
  text-decoration: none; color: var(--text);
}
.contact-row .icon {
  width: 44px; height: 44px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-row .label { font-size: 12px; color: var(--text-muted); }
.contact-row .value { font-weight: 600; color: var(--text); }

/* Hero (old class) */
.hero { padding: 40px 0; background: var(--primary); color: #fff; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(24px, 6vw, 40px); margin-bottom: 12px; }
.hero p { color: rgba(255,255,255,0.95); font-size: 16px; }

/* Gold class compat */
.gold { color: var(--primary) !important; }

/* ============= Legacy class compatibility for existing pages ============= */
.dash-header {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  background: #fff; padding: 20px; border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.dash-welcome h2 { margin: 0 0 6px; color: var(--secondary); font-size: 20px; }
.dash-welcome p { margin: 0; color: var(--text-muted); font-size: 14px; }
.wallet-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 16px 20px; border-radius: 12px;
  min-width: 200px; text-align: center;
}
.wallet-card .lbl { font-size: 12px; opacity: .9; margin-bottom: 4px; }
.wallet-card .balance { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.wallet-card .btn { background: var(--accent); color: #fff; padding: 8px 16px; }

.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px; margin-bottom: 16px;
}
.stat-grid .stat-card {
  background: #fff; padding: 16px; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex; align-items: center; gap: 12px;
  border: 0;
}
.stat-grid .stat-card .icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-bg); color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.stat-grid .stat-card .val { font-size: 20px; font-weight: 800; color: var(--secondary); margin-bottom: 2px; }
.stat-grid .stat-card .lbl { font-size: 12px; color: var(--text-muted); }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

.table-card {
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}
.table-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.table-head h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--secondary); }
.table-head h3 i { color: var(--primary); margin-right: 6px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--primary-bg); color: var(--secondary); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.data-table tr:last-child td { border-bottom: 0; }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-outline.btn-sm { padding: 6px 12px; font-size: 12px; }

.pay-methods {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px;
}
.pay-methods .pay {
  background: var(--primary-bg);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.info-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; margin-bottom: 20px;
}

/* Status badges (generic) */
.s-pending { background: #fef3c7; color: #92400e; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.s-processing { background: #dbeafe; color: #1e40af; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.s-completed, .s-approved, .s-active { background: #dcfce7; color: #166534; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.s-rejected, .s-failed, .s-suspended { background: #fee2e2; color: #991b1b; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.s-refunded { background: #e0e7ff; color: #3730a3; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.s-inactive, .s-cancelled, .s-maintenance { background: #f3f4f6; color: #6b7280; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }

