/* ============================================================
   SevaKendra — Main Stylesheet  v2.0
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:       #1565C0;
  --primary-dark:  #0D47A1;
  --primary-light: #E3F2FD;
  --accent:        #FFC107;
  --accent-dark:   #F9A825;
  --success:       #16A34A;
  --danger:        #DC2626;
  --warning:       #D97706;
  --bg:            #F0F4F9;
  --white:         #FFFFFF;
  --text:          #0F172A;
  --text-muted:    #64748B;
  --border:        #E2E8F0;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
  --shadow:        0 4px 16px rgba(21,101,192,.10);
  --shadow-lg:     0 8px 40px rgba(21,101,192,.16);
  --transition:    .22s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* ── Page Loader ───────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.loader-spinner {
  width: 44px; height: 44px;
  border: 4px solid #E2E8F0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Announcement Ticker ───────────────────────────────────── */
.announcement-ticker {
  background: var(--accent);
  color: #1a1a2e;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.ticker-label {
  background: rgba(0,0,0,.15);
  padding: 2px 12px; border-radius: 20px;
  font-weight: 700; white-space: nowrap; font-size: 12px;
}
.ticker-text { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker-text-inner { display: inline-block; animation: marquee 30s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Top Bar ───────────────────────────────────────────────── */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: 13px;
}
.top-bar .contact-info a { color: var(--text-muted); }
.top-bar .contact-info a:hover { color: var(--primary); }
.lang-btn {
  padding: 2px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 12px;
  transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  background: var(--primary-dark) !important;
  padding: 12px 0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.navbar-brand {
  font-size: 22px; font-weight: 800;
  color: #fff !important;
  letter-spacing: -.3px;
}
.navbar-brand span { color: var(--accent); }
.navbar .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500; font-size: 14px;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar .nav-link:hover, .navbar .nav-link.active {
  background: rgba(255,255,255,.12);
  color: #fff !important;
}
.navbar .btn-warning { font-weight: 700; font-size: 13px; padding: 6px 18px; }
.navbar-search { max-width: 260px; }
.navbar-search .form-control {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 8px 0 0 8px;
  font-size: 13px;
}
.navbar-search .form-control::placeholder { color: rgba(255,255,255,.5); }
.navbar-search .btn { border-radius: 0 8px 8px 0; }
.navbar-toggler { border-color: rgba(255,255,255,.3) !important; }
.navbar-toggler-icon { filter: invert(1); }

/* ── Flash messages ────────────────────────────────────────── */
.flash-wrap { padding: 0; }

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE COMPONENTS
══════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */
.sk-hero {
  background: linear-gradient(135deg, #0D1B3E 0%, #1565C0 60%, #1976D2 100%);
  padding: 60px 0 56px;
  position: relative;
  overflow: hidden;
}
.sk-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sk-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,193,7,.18);
  border: 1px solid rgba(255,193,7,.35);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: .3px;
}
.sk-hero-title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.sk-hero-accent { color: var(--accent); }
.sk-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 540px;
}

/* Hero Search */
.sk-hero-search {
  position: relative;
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  margin-bottom: 32px;
}
.sk-hero-search-icon {
  padding: 0 14px 0 18px;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}
.sk-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text);
  padding: 16px 8px;
  background: transparent;
  font-family: inherit;
}
.sk-hero-search input::placeholder { color: #94A3B8; }
.sk-hero-search button {
  background: var(--accent);
  color: #0D1B3E;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 0 28px;
  height: 54px;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.sk-hero-search button:hover { background: var(--accent-dark); }

/* Search dropdown */
.sk-search-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--border);
}
.sk-search-drop.open { display: block; }
.sk-drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: background .15s;
  cursor: pointer;
}
.sk-drop-item:last-child { border-bottom: none; }
.sk-drop-item:hover { background: var(--primary-light); }
.sk-drop-name { flex: 1; font-size: 14px; font-weight: 500; }
.sk-drop-cat { font-size: 12px; color: var(--text-muted); }
.sk-drop-price { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* Hero stats */
.sk-hero-stats {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap; gap: 0;
}
.sk-hero-stat { text-align: center; padding: 0 20px 0 0; }
.sk-hero-stat:first-child { padding-left: 0; }
.sk-hero-stat strong { display: block; font-size: 22px; font-weight: 800; color: #fff; line-height: 1.1; }
.sk-hero-stat span { font-size: 12px; color: rgba(255,255,255,.6); }
.sk-hero-stat-div { width: 1px; height: 32px; background: rgba(255,255,255,.2); margin-right: 20px; }

/* Hero icon grid */
.sk-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 28px;
}
.sk-hero-icon-item { text-align: center; }
.sk-hero-icon-box {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  font-size: 22px; color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: transform .2s;
}
.sk-hero-icon-box:hover { transform: translateY(-3px); }
.sk-hero-icon-item span {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.7);
  display: block;
}

/* ── Track Bar ─────────────────────────────────────────────── */
.sk-track-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.sk-track-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.sk-track-label {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
}
.sk-track-form { display: flex; flex: 1; gap: 8px; min-width: 240px; }
.sk-track-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: border-color .2s;
}
.sk-track-form input:focus { border-color: var(--primary); }
.sk-track-form button {
  background: var(--primary);
  color: #fff; border: none;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: var(--transition);
}
.sk-track-form button:hover { background: var(--primary-dark); }
.sk-track-all {
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  border: 1px solid var(--primary);
  padding: 7px 16px; border-radius: 8px;
  transition: var(--transition);
}
.sk-track-all:hover { background: var(--primary); color: #fff; }

/* ── Section helpers ───────────────────────────────────────── */
.sk-section { padding: 60px 0; }
.sk-section-white { background: #fff; }
.sk-section-head { margin-bottom: 36px; }
.sk-section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px;
  margin-bottom: 10px;
}
.sk-section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.sk-section-sub { color: var(--text-muted); font-size: 15px; margin: 0; }
.sk-badge-hot {
  display: inline-flex; align-items: center;
  background: #DC2626; color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
}
.sk-view-all {
  font-size: 14px; font-weight: 600;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 8px 20px; border-radius: 8px;
  transition: var(--transition);
  align-self: flex-start;
}
.sk-view-all:hover { background: var(--primary); color: #fff; }

/* ── Category Cards ────────────────────────────────────────── */
.sk-cat-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 12px 16px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--cc, var(--primary));
  color: var(--text);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.sk-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--text);
  border-color: var(--cc, var(--primary));
}
.sk-cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--cc, var(--primary)) 12%, white);
  color: var(--cc, var(--primary));
  font-size: 20px;
  margin-bottom: 10px;
  transition: var(--transition);
}
.sk-cat-card:hover .sk-cat-icon { transform: scale(1.1); }
.sk-cat-name { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.sk-cat-count { font-size: 11px; color: var(--text-muted); }

/* ── Service Cards ─────────────────────────────────────────── */
.sk-svc-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.sk-svc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #C7D9F5; }
.sk-svc-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.sk-svc-body { flex: 1; min-width: 0; }
.sk-svc-name { font-size: 13px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.sk-svc-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.sk-svc-price { font-size: 13px; font-weight: 700; color: var(--success); }
.sk-svc-days { font-size: 11px; color: var(--text-muted); }
.sk-tag {
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .3px;
}
.sk-tag-online   { background: #DCFCE7; color: #16A34A; }
.sk-tag-offline  { background: #FEF9C3; color: #CA8A04; }
.sk-tag-both     { background: #E0F2FE; color: #0284C7; }
.sk-tag-pop      { background: #FEE2E2; color: #DC2626; }
.sk-btn-apply {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff; border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: var(--transition);
  text-decoration: none; display: inline-block;
}
.sk-btn-apply:hover { background: var(--primary-dark); color: #fff; }

/* ── How It Works Steps ────────────────────────────────────── */
.sk-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 16px;
}
@media (max-width: 991px) { .sk-steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px) { .sk-steps { grid-template-columns: 1fr; } }

.sk-step {
  text-align: center;
  position: relative;
}
.sk-step-line {
  display: block;
  position: absolute;
  top: 35px;
  left: calc(50% + 42px);
  width: calc(100% - 84px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--border) 100%);
  border-radius: 2px;
}
@media (max-width: 991px) { .sk-step-line { display: none; } }
.sk-step-num {
  font-size: 11px; font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.sk-step-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), #1976D2);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px; color: #fff;
  box-shadow: 0 8px 24px rgba(21,101,192,.28);
}
.sk-step-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.sk-step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.sk-btn-primary-lg {
  display: inline-flex; align-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 14px 40px;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(21,101,192,.3);
  transition: var(--transition);
  text-decoration: none;
}
.sk-btn-primary-lg:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(21,101,192,.35); }

/* ── Stats Band ────────────────────────────────────────────── */
.sk-stats-band {
  background: linear-gradient(135deg, #0D1B3E, #1565C0);
  padding: 36px 0;
}
.sk-stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  text-align: center;
}
@media (max-width: 575px) { .sk-stats-row { grid-template-columns: repeat(2,1fr); } }
.sk-stat-item strong {
  display: block;
  font-size: 32px; font-weight: 800; color: #fff; line-height: 1;
}
.sk-stat-item span {
  font-size: 13px; color: rgba(255,255,255,.65); margin-top: 4px; display: block;
}

/* ── Payment Bar ───────────────────────────────────────────── */
.sk-pay-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; }
.sk-pay-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.sk-pay-label { font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: .8px; white-space: nowrap; }
.sk-pay-methods { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sk-pay-methods span {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px; font-weight: 500; color: var(--text);
}

/* ── CTA Section ───────────────────────────────────────────── */
.sk-cta {
  background: linear-gradient(135deg, #0D1B3E, #1565C0);
  padding: 70px 0;
}
.sk-cta h2 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.sk-cta p { font-size: 16px; color: rgba(255,255,255,.7); margin-bottom: 32px; }
.sk-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.sk-cta-btn-primary {
  background: var(--accent); color: #0D1B3E;
  font-weight: 700; font-size: 15px;
  padding: 14px 32px; border-radius: 12px;
  transition: var(--transition); text-decoration: none;
  display: inline-flex; align-items: center;
}
.sk-cta-btn-primary:hover { background: var(--accent-dark); color: #0D1B3E; transform: translateY(-2px); }
.sk-cta-btn-outline {
  border: 2px solid rgba(255,255,255,.5); color: #fff;
  font-weight: 700; font-size: 15px;
  padding: 14px 32px; border-radius: 12px;
  transition: var(--transition); text-decoration: none;
  display: inline-flex; align-items: center;
}
.sk-cta-btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ══════════════════════════════════════════════════════════════
   INNER PAGES
══════════════════════════════════════════════════════════════ */

/* Page wrapper */
.page-wrapper { padding: 32px 0 64px; min-height: 60vh; }

/* Auth pages */
.auth-page { background: linear-gradient(135deg, #E3F2FD, #F0F4F9); min-height: 100vh; padding: 48px 0 64px; }
.auth-card { background: #fff; border-radius: 16px; padding: 40px; box-shadow: var(--shadow-lg); }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 28px; color: #fff;
}
.auth-header h2 { font-weight: 800; color: #0D1B3E; margin-bottom: 6px; font-size: 22px; }
.auth-header p { color: var(--text-muted); margin: 0; font-size: 14px; }
.form-section-title {
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px; margin-bottom: 16px;
}

/* Dashboard */
.dashboard-page { background: var(--bg); min-height: 100vh; padding: 28px 0 64px; }
.stat-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
}
.stat-total    { border-color: var(--primary); } .stat-total .stat-icon    { background: var(--primary-light); color: var(--primary); }
.stat-pending  { border-color: #D97706; }       .stat-pending .stat-icon  { background: #FEF9C3; color: #D97706; }
.stat-processing{ border-color: #7C3AED; }      .stat-processing .stat-icon{ background: #EDE9FE; color: #7C3AED; }
.stat-completed{ border-color: var(--success); } .stat-completed .stat-icon{ background: #DCFCE7; color: var(--success); }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.stat-value { font-size: 28px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Dash cards */
.dash-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.dash-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 14px;
}
.dash-card-header h6 { margin: 0; font-weight: 600; }

/* Quick service buttons */
.quick-services-grid { display: grid; grid-template-columns: 1fr 1fr; }
.quick-service-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 13px 16px; background: #fff; text-decoration: none;
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
  transition: background .15s;
}
.quick-service-btn:nth-child(even) { border-right: none; }
.quick-service-btn:hover { background: var(--primary-light); }
.quick-service-btn .service-name { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.3; }
.quick-service-btn .service-fee  { font-size: 11px; color: var(--primary); margin-top: 2px; font-weight: 600; }

/* Wallet card */
.wallet-dash-card { background: linear-gradient(135deg, #1565C0, #0D47A1); border-radius: var(--radius); padding: 24px; color: #fff; }
.wallet-header { display: flex; align-items: center; justify-content: space-between; }
.wallet-label { font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .6px; }
.wallet-amount { font-size: 28px; font-weight: 800; margin-top: 4px; }
.wallet-icon i { font-size: 2.5rem; opacity: .2; }
.wallet-dash-card .btn-light { color: var(--primary); font-weight: 700; font-size: 13px; }

/* Notifications */
.notif-list {}
.notif-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f8f8f8; }
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: #F0F7FF; }
.notif-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.notif-success { background: #DCFCE7; color: #16A34A; }
.notif-warning { background: #FEF9C3; color: #D97706; }
.notif-info    { background: #E0F2FE; color: #0284C7; }
.notif-title { font-weight: 600; font-size: 13px; }
.notif-msg   { font-size: 12px; color: var(--text-muted); }
.notif-time  { font-size: 11px; color: #aaa; margin-top: 3px; }

/* Profile sidebar */
.profile-sidebar { background: #fff; border-radius: var(--radius); padding: 28px 20px; box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--border); }
.profile-avatar-lg { width: 72px; height: 72px; background: linear-gradient(135deg, var(--primary), #1976D2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; color: #fff; margin: 0 auto; }
.profile-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.profile-nav-link { display: flex; align-items: center; padding: 9px 14px; border-radius: 8px; color: var(--text-muted); font-size: 13px; transition: var(--transition); }
.profile-nav-link:hover { background: var(--primary-light); color: var(--primary); }
.profile-nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }

/* Profile summary in dashboard */
.profile-summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.profile-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), #1976D2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: #fff; flex-shrink: 0; }

/* Empty state */
.empty-state { text-align: center; padding: 36px; color: var(--text-muted); }
.empty-state i { font-size: 2.5rem; display: block; margin-bottom: 10px; opacity: .5; }
.empty-state p { margin: 0; font-size: 14px; }

/* Status badges */
.badge.bg-warning { color: #1a1a2e !important; }

/* Request card mobile */
.request-card-mobile { padding: 16px; border-bottom: 1px solid var(--border); }
.request-card-mobile:last-child { border-bottom: none; }

/* Status tabs */
.status-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.status-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text-muted); font-size: 13px; font-weight: 500; transition: var(--transition); }
.status-tab:hover { background: var(--bg); color: var(--text); }
.status-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.status-tab .badge { background: rgba(0,0,0,.1); color: inherit; border-radius: 10px; padding: 1px 7px; font-size: 11px; }
.status-tab.active .badge { background: rgba(255,255,255,.25); }

/* Track page */
.track-page { background: var(--bg); min-height: 100vh; padding: 40px 0 64px; }
.track-search-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.status-banner { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); border-left: 5px solid; border: 1px solid var(--border); border-left: 5px solid; }
.status-banner.status-pending    { border-left-color: #D97706; }
.status-banner.status-processing { border-left-color: #7C3AED; }
.status-banner.status-completed  { border-left-color: var(--success); }
.status-banner.status-rejected   { border-left-color: var(--danger); }
.banner-icon { font-size: 2rem; }
.status-pending    .banner-icon { color: #D97706; }
.status-processing .banner-icon { color: #7C3AED; }
.status-completed  .banner-icon { color: var(--success); }
.status-rejected   .banner-icon { color: var(--danger); }
.banner-title { font-weight: 700; font-size: 16px; }
.banner-sub   { font-size: 12px; color: var(--text-muted); }
.info-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.info-card-header { background: #F8FAFD; padding: 13px 20px; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--border); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; }
.info-item { padding: 12px 20px; border-bottom: 1px solid #f8f8f8; }
.info-item:nth-child(odd) { border-right: 1px solid #f8f8f8; }
.info-label { display: block; font-size: 11px; color: #94A3B8; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.info-value { font-size: 14px; font-weight: 500; }
.timeline-wrapper { padding: 28px; display: flex; gap: 0; }
.timeline-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.timeline-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #aaa; z-index: 1; }
.timeline-step.done    .timeline-dot { background: var(--success); color: #fff; }
.timeline-step.current .timeline-dot { background: var(--primary); color: #fff; box-shadow: 0 0 0 5px rgba(21,101,192,.15); }
.timeline-line { position: absolute; top: 22px; left: 50%; right: -50%; height: 3px; background: var(--border); z-index: 0; }
.timeline-line.done { background: var(--success); }
.timeline-step:last-child .timeline-line { display: none; }
.timeline-label { text-align: center; margin-top: 10px; }
.tl-title { font-size: 12px; font-weight: 600; color: var(--text); }
.tl-date  { font-size: 11px; color: var(--text-muted); }
.download-card { display: flex; align-items: center; gap: 16px; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--radius); padding: 20px 24px; }
.download-icon { font-size: 2.5rem; color: var(--success); }

/* Wallet page */
.wallet-main-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 16px; padding: 28px; color: #fff; }
.wc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.wc-label { font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .6px; }
.wc-amount { font-size: 32px; font-weight: 800; margin: 6px 0 4px; }
.wc-uid { font-size: 12px; opacity: .6; }
.wc-icon i { font-size: 3rem; opacity: .15; }
.wc-stat-label { font-size: 11px; opacity: .7; }
.wc-stat-value { font-size: 16px; font-weight: 700; }
.add-money-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.quick-amounts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.quick-amt-btn { padding: 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text); transition: var(--transition); }
.quick-amt-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.pay-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 6px; padding: 4px 10px; font-size: 12px; color: var(--text-muted); }
.txn-list {}
.txn-item { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid #f8f8f8; }
.txn-item:last-child { border-bottom: none; }
.txn-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.txn-icon.txn-credit { background: #DCFCE7; color: var(--success); }
.txn-icon.txn-debit  { background: #FEE2E2; color: var(--danger); }
.txn-desc { font-weight: 500; font-size: 14px; }
.txn-meta { display: flex; gap: 12px; margin-top: 3px; }
.txn-id, .txn-time { font-size: 11px; color: var(--text-muted); }
.txn-amount { text-align: right; font-weight: 700; font-size: 15px; }
.txn-amount.txn-credit { color: var(--success); }
.txn-amount.txn-debit  { color: var(--danger); }
.txn-balance { font-size: 11px; color: var(--text-muted); font-weight: 400; }

/* Notifications page */
.notif-group-header { padding: 7px 20px; background: #F8FAFD; font-size: 11px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: .6px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.notif-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #f8f8f8; transition: background .15s; }
.notif-row:last-child { border-bottom: none; }
.notif-row.unread { background: #F0F7FF; }
.notif-row-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.notif-success { background: #DCFCE7; color: var(--success); }
.notif-warning { background: #FEF9C3; color: #D97706; }
.notif-error   { background: #FEE2E2; color: var(--danger); }
.notif-info    { background: #E0F2FE; color: #0284C7; }
.notif-row-title { font-weight: 600; font-size: 14px; }
.notif-row-msg   { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.notif-row-time  { font-size: 11px; color: #aaa; margin-top: 4px; }
.notif-row-actions { flex-shrink: 0; }

/* Static pages */
.static-page { background: var(--bg); min-height: 100vh; padding: 40px 0 64px; }
.static-hero { border-radius: 16px; padding: 40px; margin-bottom: 32px; color: #fff; }
.static-hero h2 { font-weight: 800; margin-bottom: 8px; font-size: 26px; }
.static-hero p { opacity: .82; margin: 0; }
.static-body { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.static-body h4 { font-weight: 700; margin-top: 28px; }
.static-body h4:first-child { margin-top: 0; }
.static-body p, .static-body li { color: var(--text-muted); line-height: 1.8; }

/* Support page */
.contact-opt { background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.contact-opt-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin: 0 auto 12px; }
.contact-opt-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #94A3B8; font-weight: 700; }
.contact-opt-val { font-weight: 700; font-size: 14px; margin-top: 3px; }
.contact-opt-sub { font-size: 12px; color: var(--text-muted); }
.success-card { background: #fff; border-radius: 16px; padding: 48px; box-shadow: var(--shadow); border: 1px solid var(--border); }

/* Forgot password */
.divider { text-align: center; margin: 20px 0; position: relative; }
.divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.divider span { background: #fff; padding: 0 12px; color: var(--text-muted); font-size: 13px; position: relative; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: #0D1B3E; color: rgba(255,255,255,.78); padding: 52px 0 0; }
.footer-brand { font-size: 20px; font-weight: 800; color: #fff; }
.footer-brand span { color: var(--accent); }
.footer-col h6 { color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.social-links a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); margin-right: 6px; transition: var(--transition); font-size: 14px; }
.social-links a:hover { background: var(--primary); color: #fff; }

/* ── Back to top ───────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff; border: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer;
  opacity: 0; visibility: hidden; transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 800;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Table helpers ─────────────────────────────────────────── */
.admin-table th { background: #F8FAFD; font-weight: 700; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.btn-xs { padding: 3px 8px !important; font-size: 12px !important; }

/* ── Page header ────────────────────────────────────────────── */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-header h4 { margin: 0; font-weight: 800; }

/* ── Toast ─────────────────────────────────────────────────── */
.toast-msg {
  position: fixed; bottom: 80px; right: 24px;
  background: var(--text); color: #fff;
  padding: 10px 20px; border-radius: 8px;
  font-size: 13px; z-index: 9999;
  animation: fadeInOut 2s ease forwards;
}
@keyframes fadeInOut {
  0%   { opacity: 0; transform: translateY(10px); }
  15%  { opacity: 1; transform: translateY(0); }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ── Responsive tweaks ─────────────────────────────────────── */
@media (max-width: 767px) {
  .sk-hero { padding: 40px 0 44px; }
  .sk-hero-title { font-size: 26px; }
  .sk-hero-stats { gap: 12px; }
  .sk-hero-stat strong { font-size: 18px; }
  .sk-section { padding: 44px 0; }
  .sk-track-inner { flex-direction: column; align-items: stretch; }
  .sk-track-label { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item:nth-child(odd) { border-right: none; }
  .timeline-wrapper { overflow-x: auto; }
}
@media (max-width: 575px) {
  .auth-card { padding: 24px 16px; }
  .static-body { padding: 24px 16px; }
  .sk-cta { padding: 48px 0; }
  .sk-cta h2 { font-size: 22px; }
}

/* Color-mix fallback for older browsers */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .sk-cat-icon { background: rgba(21,101,192,.1) !important; }
}
