/* NEXTPVA — colorful modern SaaS theme */
:root {
  --bg: #f4f7fc;
  --card: #ffffff;
  --ink: #0e1b2e;
  --muted: #5c6b84;
  --line: #e4eaf3;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --sky: #0ea5e9;
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --orange: #f97316;
  --violet: #8b5cf6;
  --violet-dark: #6d28d9;
  --indigo: #4f46e5;
  --pink: #ec4899;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(15, 30, 51, .07);
  --grad: linear-gradient(135deg, #2563eb 0%, #0ea5e9 55%, #14b8a6 100%);
  --grad-warm: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --grad-violet: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --grad-teal: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
  --grad-pink: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: #bfdbfe; }
body {
  margin: 0; font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; }
.logo .pva { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-weight: 600; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-right { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; font-weight: 700; font-size: .95rem;
  padding: 11px 22px; border-radius: 10px;
  transition: transform .08s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; box-shadow: 0 4px 14px rgba(79,70,229,.38); }
.btn-primary:hover { filter: brightness(1.07); text-decoration: none; color: #fff; box-shadow: 0 7px 20px rgba(79,70,229,.48); }
.btn-teal { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(20,184,166,.32); }
.btn-teal:hover { text-decoration: none; color: #fff; filter: brightness(1.06); box-shadow: 0 7px 20px rgba(20,184,166,.42); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--sky); color: var(--blue); text-decoration: none; box-shadow: 0 4px 12px rgba(14,165,233,.16); }
.btn-danger { background: linear-gradient(135deg, #fee2e2, #fecaca); color: var(--red); }
.btn-danger:hover { filter: brightness(.97); box-shadow: 0 4px 12px rgba(220,38,38,.18); }
.btn-small { padding: 7px 14px; font-size: .85rem; border-radius: 8px; }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn:focus-visible, a:focus-visible { outline: 2px solid rgba(37,99,235,.55); outline-offset: 2px; }

/* cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* forms */
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
input[type=text], input[type=email], input[type=password], input[type=number],
select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: .95rem; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:hover, select:hover, textarea:hover { border-color: #c3d2e8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.16); }
.hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: .93rem; }
.alert-error { background: linear-gradient(135deg, #fef2f2, #fee2e2); color: #991b1b; border: 1px solid #fca5a5; }
.alert-ok { background: linear-gradient(135deg, #f0fdf4, #dcfce7); color: #166534; border: 1px solid #86efac; }
.alert-info { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); color: #075985; border: 1px solid #7dd3fc; }

/* prefix / area-code selector */
.prefix-toggle {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: .95rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.prefix-toggle:hover { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.14); }
.prefix-panel {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15,23,42,.14); padding: 10px; max-height: 260px; overflow-y: auto;
}
.prefix-panel input { margin-bottom: 8px; }
.prefix-item {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px;
  border-radius: 8px; cursor: pointer; font-size: .92rem; margin: 0;
  transition: background .12s ease;
}
.prefix-item:hover { background: #fffbeb; }
.prefix-item .mono { font-family: ui-monospace, monospace; font-weight: 700; color: var(--amber-dark); }
.prefix-item .s { color: var(--muted); font-size: .82rem; margin-left: auto; }
.prefix-item input[type=checkbox] { width: auto; accent-color: var(--amber); }

/* hero */
.hero {
  text-align: center; padding: 104px 20px 78px;
  background:
    radial-gradient(900px 360px at 50% -60px, rgba(37,99,235,.17) 0%, transparent 70%),
    radial-gradient(720px 300px at 88% 6%, rgba(20,184,166,.17) 0%, transparent 60%),
    radial-gradient(660px 300px at 10% 10%, rgba(139,92,246,.15) 0%, transparent 60%),
    radial-gradient(560px 280px at 50% 112%, rgba(245,158,11,.12) 0%, transparent 60%),
    var(--bg);
}
.badge {
  display: inline-block; font-weight: 800; font-size: .76rem; letter-spacing: 1.2px;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 20px;
  background: linear-gradient(135deg, #eff6ff, #f0fdfa); color: var(--blue-dark);
  border: 1px solid #bfdbfe; box-shadow: 0 2px 10px rgba(37,99,235,.10);
}
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin: 0 0 16px; line-height: 1.12; letter-spacing: -1px; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(120deg, #2563eb, #0ea5e9 45%, #14b8a6 75%, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); max-width: 660px; margin: 0 auto 30px; font-size: 1.1rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { padding: 13px 30px; font-size: 1rem; }
.stats { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 34px; min-width: 170px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--stat-bar, var(--grad)); }
.stats .stat:nth-child(1) { --stat-bar: linear-gradient(90deg, #2563eb, #0ea5e9); }
.stats .stat:nth-child(2) { --stat-bar: linear-gradient(90deg, #8b5cf6, #ec4899); }
.stats .stat:nth-child(3) { --stat-bar: linear-gradient(90deg, #14b8a6, #16a34a); }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats .stat:nth-child(1) b { background-image: linear-gradient(135deg, #2563eb, #0ea5e9); }
.stats .stat:nth-child(2) b { background-image: linear-gradient(135deg, #8b5cf6, #ec4899); }
.stats .stat:nth-child(3) b { background-image: linear-gradient(135deg, #0d9488, #16a34a); }
.stat span { color: var(--muted); font-size: .85rem; }

.section { padding: 76px 0; }
.section h2 { text-align: center; margin: 0 0 12px; font-size: 2.05rem; letter-spacing: -.5px; font-weight: 800; }
.section .sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 40px; font-size: 1.02rem; }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(15,30,51,.18);
}
#how .grid .card:nth-child(1) .step-num { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
#how .grid .card:nth-child(2) .step-num { background: linear-gradient(135deg, #0d9488, #16a34a); }
#how .grid .card:nth-child(3) .step-num { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.65rem;
  background: var(--tile, #dbeafe);
  transition: transform .18s ease;
}
.lift:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.section .grid-3 .card:nth-child(6n+1) .feature-icon { --tile: #dbeafe; }
.section .grid-3 .card:nth-child(6n+2) .feature-icon { --tile: #ccfbf1; }
.section .grid-3 .card:nth-child(6n+3) .feature-icon { --tile: #ede9fe; }
.section .grid-3 .card:nth-child(6n+4) .feature-icon { --tile: #fef3c7; }
.section .grid-3 .card:nth-child(6n+5) .feature-icon { --tile: #fce7f3; }
.section .grid-3 .card:nth-child(6n+6) .feature-icon { --tile: #dcfce7; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* pricing teaser */
.price-card { text-align: center; }
.price-card .amount { font-size: 2.1rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0; color: var(--muted); font-size: .93rem; }
.price-card li { padding: 6px 0; border-top: 1px dashed var(--line); }
.price-card.popular {
  position: relative; transform: scale(1.03);
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2563eb, #0ea5e9, #14b8a6, #8b5cf6) border-box;
  box-shadow: 0 16px 40px rgba(37,99,235,.16);
}
.price-card.popular::before {
  content: 'MOST POPULAR'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: 1.6px; padding: 5px 15px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(99,102,241,.4); white-space: nowrap;
}

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; transition: border-color .15s ease, box-shadow .15s ease; }
.faq details:hover { border-color: #bfdbfe; }
.faq details[open] { border-color: #93c5fd; box-shadow: 0 8px 22px rgba(37,99,235,.10); background: linear-gradient(180deg, #f8fbff, #fff); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

footer {
  background: #0e1b2e; color: #b9c6da; padding: 42px 0; margin-top: 40px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #2563eb, #0ea5e9, #14b8a6, #8b5cf6, #ec4899) 1;
}
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
footer a { color: #b9c6da; transition: color .15s ease; }
footer a:hover { color: #fff; }

/* auth pages */
.auth-wrap {
  min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 20px;
  background:
    radial-gradient(620px 320px at 18% 8%, rgba(37,99,235,.13) 0%, transparent 60%),
    radial-gradient(620px 320px at 86% 92%, rgba(20,184,166,.15) 0%, transparent 60%),
    radial-gradient(520px 280px at 82% 12%, rgba(139,92,246,.12) 0%, transparent 60%),
    var(--bg);
}
.auth-card { width: 100%; max-width: 430px; position: relative; overflow: hidden; }
.auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #2563eb, #0ea5e9, #14b8a6, #8b5cf6, #ec4899); }
.auth-card h1 { margin: 6px 0 6px; font-size: 1.55rem; font-weight: 800; letter-spacing: -.3px; }
.auth-card .sub { color: var(--muted); margin: 0 0 22px; font-size: .93rem; }

/* dashboard */
.dash { display: flex; min-height: calc(100vh - 64px); }
.sidebar {
  width: 236px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--line);
  padding: 22px 14px; display: flex; flex-direction: column; gap: 5px;
}
.sidebar a {
  position: relative; padding: 11px 14px 11px 36px; border-radius: 11px;
  color: var(--muted); font-weight: 600; cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.sidebar a::before {
  content: ''; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dot, #c7d3e4); box-shadow: 0 0 0 3px var(--dot-soft, #eef2f7);
  transition: transform .16s ease;
}
.sidebar a:hover { background: var(--bg); color: var(--ink); text-decoration: none; transform: translateX(2px); }
.sidebar a:hover::before { transform: translateY(-50%) scale(1.25); }
.sidebar a.active { box-shadow: inset 0 0 0 1px var(--act-line, var(--line)); }
/* per-tab accent dots */
.sidebar a[data-tab="premium"] { --dot: #f59e0b; --dot-soft: #fef3c7; }
.sidebar a[data-tab="buy"] { --dot: #2563eb; --dot-soft: #dbeafe; }
.sidebar a[data-tab="rental"] { --dot: #8b5cf6; --dot-soft: #ede9fe; }
.sidebar a[data-tab="wallet"] { --dot: #14b8a6; --dot-soft: #ccfbf1; }
.sidebar a[data-tab="numbers"] { --dot: #0ea5e9; --dot-soft: #e0f2fe; }
.sidebar a[data-tab="history"] { --dot: #64748b; --dot-soft: #f1f5f9; }
.sidebar a[data-tab="profile"] { --dot: #ec4899; --dot-soft: #fce7f3; }
.sidebar a[data-tab="overview"] { --dot: #2563eb; --dot-soft: #dbeafe; }
.sidebar a[data-tab="topups"] { --dot: #f59e0b; --dot-soft: #fef3c7; }
.sidebar a[data-tab="users"] { --dot: #8b5cf6; --dot-soft: #ede9fe; }
.sidebar a[data-tab="orders"] { --dot: #0ea5e9; --dot-soft: #e0f2fe; }
.sidebar a[data-tab="settings"] { --dot: #64748b; --dot-soft: #f1f5f9; }
/* per-tab colorful active states */
.sidebar a[data-tab="premium"].active { --act-line: #fde68a; background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #92400e; }
.sidebar a[data-tab="buy"].active, .sidebar a[data-tab="overview"].active { --act-line: #bfdbfe; background: linear-gradient(135deg, #eff6ff, #dbeafe); color: #1d4ed8; }
.sidebar a[data-tab="rental"].active, .sidebar a[data-tab="users"].active { --act-line: #ddd6fe; background: linear-gradient(135deg, #f5f3ff, #ede9fe); color: #5b21b6; }
.sidebar a[data-tab="wallet"].active { --act-line: #99f6e4; background: linear-gradient(135deg, #f0fdfa, #ccfbf1); color: #065f46; }
.sidebar a[data-tab="numbers"].active, .sidebar a[data-tab="orders"].active { --act-line: #bae6fd; background: linear-gradient(135deg, #f0f9ff, #e0f2fe); color: #075985; }
.sidebar a[data-tab="profile"].active { --act-line: #f9a8d4; background: linear-gradient(135deg, #fdf2f8, #fce7f3); color: #9d174d; }
.sidebar a[data-tab="history"].active, .sidebar a[data-tab="settings"].active { --act-line: #e2e8f0; background: linear-gradient(135deg, #f8fafc, #f1f5f9); color: #334155; }
.sidebar a[data-tab="topups"].active { --act-line: #fde68a; background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #92400e; }
.sidebar .side-foot { margin-top: auto; padding: 10px 14px; color: var(--muted); font-size: .82rem; }
.tg-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; text-decoration: none; }
.side-foot .ver { text-align: center; margin-top: 8px; font-size: .75rem; opacity: .7; }
.amt-chips { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.amt-chip { border: 2px solid var(--line); background: var(--card); color: var(--ink); font-weight: 800; font-size: 1rem; padding: 10px 22px; border-radius: 12px; cursor: pointer; transition: all .15s; }
.amt-chip:hover { border-color: var(--teal); transform: translateY(-1px); }
.amt-chip.active { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(20,184,166,.35); }
.main { flex: 1; padding: 30px; max-width: 1000px; }
.main h1 { margin: 0 0 4px; font-size: 1.65rem; font-weight: 800; letter-spacing: -.4px; position: relative; padding-bottom: 12px; }
.main h1::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: 4px; background: var(--grad); }
#tab-premium h1::after { background: var(--grad-warm); }
#tab-rental h1::after { background: var(--grad-violet); }
#tab-buy h1::after { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
#tab-wallet h1::after { background: var(--grad-teal); }
#tab-profile h1::after { background: var(--grad-pink); }
.main .page-sub { color: var(--muted); margin: 0 0 22px; }
.tabpage { display: none; }
.tabpage.active { display: block; animation: tabIn .22s ease; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.balance-hero {
  background: linear-gradient(120deg, #0ea5e9 0%, #2563eb 48%, #7c3aed 100%);
  color: #fff; border-radius: var(--radius); padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(37,99,235,.28);
}
.balance-hero::before {
  content: ''; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
}
.balance-hero::after {
  content: ''; position: absolute; left: 30%; bottom: -90px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.35), transparent 70%);
}
.balance-hero > * { position: relative; z-index: 1; }
.balance-hero .amt { font-size: 2.3rem; font-weight: 800; letter-spacing: -.5px; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.balance-hero .lbl { opacity: .88; font-size: .9rem; font-weight: 600; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .6px; background: linear-gradient(180deg, #f8fafc, #f1f5f9); }
thead th:first-child { border-radius: 10px 0 0 0; }
thead th:last-child { border-radius: 0 10px 0 0; }
tbody tr { transition: background .12s ease; }
tbody tr:hover { background: #f8fbff; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: 10px; }

.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.pill-pending { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.pill-approved, .pill-active, .pill-received { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #166534; }
.pill-rejected, .pill-cancelled { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }
.pill-expired { background: #f1f5f9; color: #475569; }
.pill-activation { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #075985; }
.pill-rental { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #5b21b6; }
.pill-premium { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }

/* tier / project selection cards — hue per product section */
.tier { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease; background: #fff; }
.tier:hover { transform: translateY(-1px); }
.tier.selected { transform: none; }
.tier input { width: auto; accent-color: var(--blue); }
.tier .p { font-weight: 800; font-size: 1.2rem; letter-spacing: .2px; min-width: 92px; font-variant-numeric: tabular-nums; }
.tier .s { margin-left: auto; font-size: .76rem; font-weight: 700; color: #15803d; background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1px solid #a7f3d0; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.tier .n { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* one-time = blue */
#tab-buy .tier:hover { border-color: #60a5fa; box-shadow: 0 6px 18px rgba(37,99,235,.14); }
#tab-buy .tier.selected { border-color: #2563eb; background: linear-gradient(135deg, #eff6ff, #dbeafe); box-shadow: 0 0 0 2px rgba(37,99,235,.28), 0 8px 20px rgba(37,99,235,.12); }
#tab-buy .tier .p { color: #1d4ed8; }
#tab-buy .tier input { accent-color: #2563eb; }
/* premium = amber */
#tab-premium .tier:hover { border-color: #fbbf24; box-shadow: 0 6px 18px rgba(245,158,11,.18); }
#tab-premium .tier.selected { border-color: #f59e0b; background: linear-gradient(135deg, #fffbeb, #fef3c7); box-shadow: 0 0 0 2px rgba(245,158,11,.32), 0 8px 20px rgba(245,158,11,.14); }
#tab-premium .tier .p { color: #b45309; }
#tab-premium .tier input { accent-color: #f59e0b; }
/* rental = violet */
#tab-rental .tier:hover { border-color: #a78bfa; box-shadow: 0 6px 18px rgba(139,92,246,.18); }
#tab-rental .tier.selected { border-color: #8b5cf6; background: linear-gradient(135deg, #f5f3ff, #ede9fe); box-shadow: 0 0 0 2px rgba(139,92,246,.30), 0 8px 20px rgba(139,92,246,.14); }
#tab-rental .tier .p { color: #6d28d9; }
#tab-rental .tier input { accent-color: #8b5cf6; }

/* empty states */
.empty-state { text-align: center; padding: 40px 24px; background: linear-gradient(180deg, #f8fbff, #fff); }
.empty-state p { color: var(--muted); margin: 0; font-size: .96rem; }

/* landing section eyebrows + card lift */
.eyebrow {
  display: block; text-align: center; font-size: .76rem; font-weight: 800;
  letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: 12px;
  background: linear-gradient(90deg, #0d9488, #2563eb, #7c3aed);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lift { transition: transform .18s ease, box-shadow .18s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(15, 30, 51, .12); }

.number-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.number-card .phone { font-size: 1.3rem; font-weight: 800; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.number-card .meta { color: var(--muted); font-size: .88rem; }
.code-box {
  margin-top: 14px; padding: 20px; border-radius: 12px; text-align: center;
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
  border: 1px solid #6ee7b7;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 6px 18px rgba(20,184,166,.12);
}
.code-box .code { font-size: 2.5rem; font-weight: 800; letter-spacing: 6px; background: linear-gradient(135deg, #0d9488, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.code-box .sms { color: var(--muted); font-size: .88rem; margin-top: 8px; }

.deposit-box { background: linear-gradient(180deg, #f8fafc, #f1f5f9); border: 1px dashed #c3d2e8; border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.deposit-box .addr { font-family: ui-monospace, monospace; font-size: .85rem; word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin: 8px 0; }

.addr-row { display: flex; gap: 10px; margin-bottom: 10px; }
.addr-row input:first-child { max-width: 180px; }

/* admin overview stat cards — hue-cycled numbers */
#ovCards .card > div:last-child { font-variant-numeric: tabular-nums; }
#ovCards .card:nth-child(1) > div:last-child { color: #1d4ed8; }
#ovCards .card:nth-child(2) > div:last-child { color: #0d9488; }
#ovCards .card:nth-child(3) > div:last-child { color: #6d28d9; }
#ovCards .card:nth-child(4) > div:last-child { color: #b45309; }
#ovCards .card:nth-child(5) > div:last-child { color: #be185d; }
#ovCards .card:nth-child(6) > div:last-child { color: #047857; }
#ovCards .card { position: relative; overflow: hidden; }
#ovCards .card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--obar, var(--grad)); }
#ovCards .card:nth-child(1) { --obar: linear-gradient(90deg, #2563eb, #0ea5e9); }
#ovCards .card:nth-child(2) { --obar: linear-gradient(90deg, #14b8a6, #16a34a); }
#ovCards .card:nth-child(3) { --obar: linear-gradient(90deg, #8b5cf6, #6366f1); }
#ovCards .card:nth-child(4) { --obar: linear-gradient(90deg, #f59e0b, #f97316); }
#ovCards .card:nth-child(5) { --obar: linear-gradient(90deg, #ec4899, #8b5cf6); }
#ovCards .card:nth-child(6) { --obar: linear-gradient(90deg, #0ea5e9, #14b8a6); }

/* skeleton shimmer (alternative to spinner for loading blocks) */
.skel { position: relative; overflow: hidden; background: #e8eef6; border-radius: 8px; color: transparent !important; user-select: none; }
.skel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #dbe4f0; border-top-color: var(--blue); border-right-color: var(--teal); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .dash { flex-direction: column; }
  .sidebar { width: 100%; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .sidebar a { white-space: nowrap; padding: 10px 14px 10px 34px; }
  .sidebar .side-foot { display: none; }
  .main { padding: 18px 14px; }
  .main h1 { font-size: 1.45rem; }
  .hero { padding: 68px 16px 56px; }
  .section { padding: 54px 0; }
  .tier { flex-wrap: wrap; row-gap: 6px; }
  .tier .p { min-width: 0; }
  .number-card .phone { font-size: 1.1rem; }
  .balance-hero .amt { font-size: 1.8rem; }
  .card { padding: 20px; }
  .price-card.popular { transform: none; }
}

/* profile account grid */
.prof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px 28px; }
.prof-val { font-weight: 700; word-break: break-word; margin-top: 2px; }

/* favorite star on project rows */
.fav-star { background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: #cbd5e1; line-height: 1; padding: 2px 6px 2px 0; transition: transform .15s, color .15s; }
.fav-star:hover { transform: scale(1.25); color: #f59e0b; }
.fav-star.on { color: #f59e0b; }
.fav-filter { display: flex; gap: 8px; margin: 10px 0; }
.fav-filter .btn.active { border-color: #f59e0b; color: #b45309; background: #fffbeb; }

/* selectable pill buttons (premium carrier / card type, country quick-pick) */
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pick { padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 .9rem 'Inter', system-ui, sans-serif; cursor: pointer; transition: all .15s ease; }
.pick:hover { border-color: var(--amber); transform: translateY(-1px); }
.pick.active { background: var(--grad-warm); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(245, 158, 11, .35); }
.pick-sm { padding: 6px 14px; font-size: .82rem; }
/* modal popup (purchase code view, admin SMS view) */
.modal-ov { position: fixed; inset: 0; z-index: 200; background: rgba(2, 6, 23, .7); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal { width: min(560px, 100%); max-height: 88vh; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.modal .code-box { margin-top: 10px; }
.pick .op-ico { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #0ea5e9); color: #fff; font-size: .72rem; font-weight: 800; margin-right: 7px; vertical-align: -6px; }

/* sticky buy bar — stays visible while scrolling the long project list */
.buybar {
  position: sticky; bottom: 12px; z-index: 25;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .18);
  padding: 16px 18px; margin-top: 18px;
}
.buybar-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.buybar-name { font-weight: 800; font-size: 1.02rem; }
.buybar-sub { color: var(--muted); font-size: .85rem; margin-left: auto; font-weight: 700; }

/* prefix dropdown opens upward inside the sticky buy bar (no space below it) */
.buybar .prefix-panel { top: auto; bottom: calc(100% + 6px); max-height: 320px; }

/* ================= dark theme (opt-in via [data-theme="dark"]) ================= */
:root { color-scheme: light; }
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1126;
  --card: #111a33;
  --ink: #f1f5f9;
  --muted: #8b94b3;
  --line: rgba(148, 163, 196, .14);
  --blue: #7dd3fc;
  --blue-dark: #bae6fd;
  --sky: #38bdf8;
  --teal: #2dd4bf;
  --teal-dark: #5eead4;
  --green: #34d399;
  --red: #f87171;
  --amber: #fbbf24;
  --amber-dark: #fcd34d;
  --orange: #fb923c;
  --violet: #a78bfa;
  --violet-dark: #c4b5fd;
  --indigo: #818cf8;
  --pink: #f472b6;
  --shadow: 0 10px 34px rgba(0, 0, 0, .55);
  --grad: linear-gradient(135deg, #2dd4bf 0%, #34d399 100%);
  --grad-warm: linear-gradient(135deg, #fbbf24 0%, #fb923c 100%);
  --grad-violet: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
  --grad-teal: linear-gradient(135deg, #2dd4bf 0%, #34d399 100%);
  --grad-pink: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
}
[data-theme="dark"] ::selection { background: rgba(34, 211, 238, .35); }
[data-theme="dark"] ::-webkit-scrollbar { width: 10px; height: 10px; }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #0d1420; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #26334d; border-radius: 8px; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #31405e; }

/* header + buttons */
[data-theme="dark"] .site-header { background: rgba(11, 17, 38, .94); border-bottom: 1px solid rgba(148,163,196,.12); }
[data-theme="dark"] .btn-ghost { background: #16203c; color: var(--ink); border: 1px solid rgba(148,163,196,.16); }
[data-theme="dark"] .btn-ghost:hover { color: var(--teal); border-color: rgba(45,212,191,.45); }
[data-theme="dark"] .btn-teal { background: var(--grad-teal); box-shadow: 0 4px 18px rgba(45,212,191,.35); }
[data-theme="dark"] .btn-teal:hover { box-shadow: 0 7px 24px rgba(45,212,191,.5); }
[data-theme="dark"] .btn-primary { background: var(--grad-teal); box-shadow: 0 4px 18px rgba(45,212,191,.35); }
[data-theme="dark"] .btn-primary:hover { box-shadow: 0 7px 24px rgba(45,212,191,.5); }
[data-theme="dark"] .card { border: 1px solid rgba(148,163,196,.12); }
[data-theme="dark"] .hero { background: radial-gradient(640px 300px at 20% 0%, rgba(45,212,191,.12), transparent 60%), radial-gradient(760px 340px at 85% 10%, rgba(52,211,153,.10), transparent 60%); }
[data-theme="dark"] .hero h1 .grad { background: linear-gradient(120deg, #5eead4, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { background: #0e1630; border-color: rgba(148,163,196,.18); color: var(--ink); }
[data-theme="dark"] input:focus, [data-theme="dark"] select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,212,191,.18); outline: none; }
[data-theme="dark"] .sidebar,
[data-theme="dark"] .stat,
[data-theme="dark"] .faq details,
[data-theme="dark"] .tier,
[data-theme="dark"] .deposit-box .addr,
[data-theme="dark"] .prefix-panel,
[data-theme="dark"] .buybar { background: var(--card); }
[data-theme="dark"] .prefix-item:hover { background: rgba(45,212,191,.08); }
[data-theme="dark"] .table-wrap table { background: var(--card); }
[data-theme="dark"] th { background: rgba(148,163,196,.08); color: var(--muted); }
[data-theme="dark"] td { border-color: var(--line); }
[data-theme="dark"] .btn-danger { background: linear-gradient(135deg, #3a1c22, #4a2229); color: #fca5a5; }
[data-theme="dark"] .btn-danger:hover { box-shadow: 0 4px 12px rgba(248, 113, 113, .25); }

/* forms */
[data-theme="dark"] input[type=text], [data-theme="dark"] input[type=email],
[data-theme="dark"] input[type=password], [data-theme="dark"] input[type=number],
[data-theme="dark"] select, [data-theme="dark"] textarea {
  background: #0d1420; color: var(--ink);
}
[data-theme="dark"] input:hover, [data-theme="dark"] select:hover, [data-theme="dark"] textarea:hover { border-color: #33445f; }
[data-theme="dark"] input:focus, [data-theme="dark"] select:focus, [data-theme="dark"] textarea:focus {
  border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56, 189, 248, .18);
}
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color: #5b6b84; opacity: 1; }
[data-theme="dark"] .btn:focus-visible, [data-theme="dark"] a:focus-visible { outline-color: rgba(56, 189, 248, .6); }

/* alerts */
[data-theme="dark"] .alert-error { background: linear-gradient(135deg, #2a1418, #381a21); color: #fca5a5; border-color: #7f2d3a; }
[data-theme="dark"] .alert-ok { background: linear-gradient(135deg, #0e2a1b, #143a24); color: #86efac; border-color: #1f6b3f; }
[data-theme="dark"] .alert-info { background: linear-gradient(135deg, #0d2133, #123047); color: #7dd3fc; border-color: #1d5a7d; }

/* prefix / area-code selector */
[data-theme="dark"] .prefix-toggle, [data-theme="dark"] .prefix-panel { background: #0d1420; }
[data-theme="dark"] .prefix-panel { box-shadow: 0 12px 32px rgba(0, 0, 0, .55); }
[data-theme="dark"] .prefix-item:hover { background: #182234; }
[data-theme="dark"] .prefix-item .mono { color: var(--amber); }

/* landing */
[data-theme="dark"] .hero {
  background:
    radial-gradient(900px 360px at 50% -60px, rgba(34, 211, 238, .13) 0%, transparent 70%),
    radial-gradient(720px 300px at 88% 6%, rgba(167, 139, 250, .13) 0%, transparent 60%),
    radial-gradient(660px 300px at 10% 10%, rgba(59, 130, 246, .18) 0%, transparent 60%),
    radial-gradient(560px 280px at 50% 112%, rgba(244, 114, 182, .09) 0%, transparent 60%),
    var(--bg);
}
[data-theme="dark"] .badge { background: linear-gradient(135deg, #0e1e33, #0c2b33); color: #7dd3fc; border-color: #1e3a5f; box-shadow: 0 2px 10px rgba(56, 189, 248, .12); }
[data-theme="dark"] .stat { background: var(--card); }
[data-theme="dark"] .auth-wrap {
  background:
    radial-gradient(620px 320px at 18% 8%, rgba(34, 211, 238, .10) 0%, transparent 60%),
    radial-gradient(620px 320px at 86% 92%, rgba(45, 212, 191, .10) 0%, transparent 60%),
    radial-gradient(520px 280px at 82% 12%, rgba(167, 139, 250, .10) 0%, transparent 60%),
    var(--bg);
}
[data-theme="dark"] .faq details { background: var(--card); }
[data-theme="dark"] .faq details:hover { border-color: #2b3b55; }
[data-theme="dark"] .faq details[open] { border-color: #2f4a6e; background: linear-gradient(180deg, #101a2e, #0d1420); box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
[data-theme="dark"] .price-card.popular {
  background: linear-gradient(#111827, #111827) padding-box,
    linear-gradient(135deg, #00e5ff, #3b82f6, #a78bfa, #f472b6) border-box;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55), 0 0 24px rgba(34, 211, 238, .12);
}
[data-theme="dark"] .section .grid-3 .card:nth-child(6n+1) .feature-icon { --tile: #152a4d; }
[data-theme="dark"] .section .grid-3 .card:nth-child(6n+2) .feature-icon { --tile: #0e2f2b; }
[data-theme="dark"] .section .grid-3 .card:nth-child(6n+3) .feature-icon { --tile: #221d45; }
[data-theme="dark"] .section .grid-3 .card:nth-child(6n+4) .feature-icon { --tile: #3a2c10; }
[data-theme="dark"] .section .grid-3 .card:nth-child(6n+5) .feature-icon { --tile: #3a1a2c; }
[data-theme="dark"] .section .grid-3 .card:nth-child(6n+6) .feature-icon { --tile: #0f2f22; }

/* dashboard */
[data-theme="dark"] .sidebar { background: #0c1220; }
[data-theme="dark"] .sidebar a:hover { background: #141c2e; }
[data-theme="dark"] .sidebar a[data-tab="premium"].active { --act-line: #92600a; background: linear-gradient(135deg, #2a2111, #34280f); color: #fcd34d; }
[data-theme="dark"] .sidebar a[data-tab="buy"].active,
[data-theme="dark"] .sidebar a[data-tab="overview"].active { --act-line: #2b4d8f; background: linear-gradient(135deg, #0f1d33, #16294a); color: #93c5fd; }
[data-theme="dark"] .sidebar a[data-tab="rental"].active,
[data-theme="dark"] .sidebar a[data-tab="users"].active { --act-line: #4c3a8f; background: linear-gradient(135deg, #1b1533, #251d45); color: #c4b5fd; }
[data-theme="dark"] .sidebar a[data-tab="wallet"].active { --act-line: #0f6a5e; background: linear-gradient(135deg, #0b2422, #0f322e); color: #5eead4; }
[data-theme="dark"] .sidebar a[data-tab="numbers"].active,
[data-theme="dark"] .sidebar a[data-tab="orders"].active { --act-line: #1d5a7d; background: linear-gradient(135deg, #0c1f2e, #122a3d); color: #7dd3fc; }
[data-theme="dark"] .sidebar a[data-tab="profile"].active { --act-line: #8f2d5c; background: linear-gradient(135deg, #2b1420, #3a1a2a); color: #f9a8d4; }
[data-theme="dark"] .sidebar a[data-tab="history"].active,
[data-theme="dark"] .sidebar a[data-tab="settings"].active { --act-line: #334155; background: linear-gradient(135deg, #141b29, #1a2333); color: #cbd5e1; }
[data-theme="dark"] .sidebar a[data-tab="topups"].active { --act-line: #92600a; background: linear-gradient(135deg, #2a2111, #34280f); color: #fcd34d; }
[data-theme="dark"] .sidebar a[data-tab="prices"].active { --act-line: #92600a; background: linear-gradient(135deg, #2a2111, #34280f); color: #fcd34d; }

/* tables */
[data-theme="dark"] th { background: linear-gradient(180deg, #141c2e, #0f1626); }
[data-theme="dark"] tbody tr:hover { background: #131b2d; }

/* pills */
[data-theme="dark"] .pill-pending, [data-theme="dark"] .pill-premium { background: linear-gradient(135deg, #3a2c10, #4a3a14); color: #fcd34d; }
[data-theme="dark"] .pill-approved, [data-theme="dark"] .pill-active, [data-theme="dark"] .pill-received { background: linear-gradient(135deg, #123324, #17452f); color: #86efac; }
[data-theme="dark"] .pill-rejected, [data-theme="dark"] .pill-cancelled { background: linear-gradient(135deg, #3a1a20, #4a2229); color: #fca5a5; }
[data-theme="dark"] .pill-expired { background: #1a2233; color: #94a3b8; }
[data-theme="dark"] .pill-activation { background: linear-gradient(135deg, #12293d, #16334e); color: #7dd3fc; }
[data-theme="dark"] .pill-rental { background: linear-gradient(135deg, #221a3d, #2c2350); color: #c4b5fd; }

/* tier / project cards */
[data-theme="dark"] .tier { background: #0d1420; }
[data-theme="dark"] .tier .s { color: #86efac; background: linear-gradient(135deg, #0f2a1c, #143a24); border-color: #1f6b3f; }
[data-theme="dark"] #tab-buy .tier:hover { border-color: #3b82f6; box-shadow: 0 6px 18px rgba(59, 130, 246, .22); }
[data-theme="dark"] #tab-buy .tier.selected { border-color: #3b82f6; background: linear-gradient(135deg, #0f1d33, #16294a); box-shadow: 0 0 0 2px rgba(59, 130, 246, .35), 0 8px 20px rgba(0, 0, 0, .4); }
[data-theme="dark"] #tab-buy .tier .p { color: #93c5fd; }
[data-theme="dark"] #tab-premium .tier:hover { border-color: #b98a1d; box-shadow: 0 6px 18px rgba(251, 191, 36, .18); }
[data-theme="dark"] #tab-premium .tier.selected { border-color: #b98a1d; background: linear-gradient(135deg, #241c0d, #2f2410); box-shadow: 0 0 0 2px rgba(251, 191, 36, .32), 0 8px 20px rgba(0, 0, 0, .4); }
[data-theme="dark"] #tab-premium .tier .p { color: #fcd34d; }
[data-theme="dark"] #tab-rental .tier:hover { border-color: #7c5cd6; box-shadow: 0 6px 18px rgba(167, 139, 250, .22); }
[data-theme="dark"] #tab-rental .tier.selected { border-color: #7c5cd6; background: linear-gradient(135deg, #1b1533, #241c44); box-shadow: 0 0 0 2px rgba(167, 139, 250, .35), 0 8px 20px rgba(0, 0, 0, .4); }
[data-theme="dark"] #tab-rental .tier .p { color: #c4b5fd; }

/* misc components */
[data-theme="dark"] .empty-state { background: linear-gradient(180deg, #0f1626, #0b111e); }
[data-theme="dark"] .code-box { background: linear-gradient(135deg, #0b2422, #0e2a28); border-color: #0f766e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 6px 18px rgba(0, 0, 0, .4); }
[data-theme="dark"] .deposit-box { background: linear-gradient(180deg, #101828, #0c1220); border-color: #2b3b55; }
[data-theme="dark"] .deposit-box .addr { background: #090e18; }
[data-theme="dark"] .skel { background: #1a2334; }
[data-theme="dark"] .skel::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent); }
[data-theme="dark"] .spinner { border-color: #243049; }
[data-theme="dark"] .buybar { background: #0d1420; box-shadow: 0 14px 36px rgba(0, 0, 0, .6), 0 0 20px rgba(34, 211, 238, .08); }
[data-theme="dark"] .fav-filter .btn.active { border-color: #b98a1d; color: #fcd34d; background: #2a2111; }

/* admin overview stat numbers */
[data-theme="dark"] #ovCards .card:nth-child(1) > div:last-child { color: #93c5fd; }
[data-theme="dark"] #ovCards .card:nth-child(2) > div:last-child { color: #5eead4; }
[data-theme="dark"] #ovCards .card:nth-child(3) > div:last-child { color: #c4b5fd; }
[data-theme="dark"] #ovCards .card:nth-child(4) > div:last-child { color: #fcd34d; }
[data-theme="dark"] #ovCards .card:nth-child(5) > div:last-child { color: #f9a8d4; }
[data-theme="dark"] #ovCards .card:nth-child(6) > div:last-child { color: #6ee7b7; }

/* theme toggle button — visible in both themes */
.theme-toggle {
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  width: 38px; height: 38px; border-radius: 12px; cursor: pointer; font-size: 1.15rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.theme-toggle:hover { border-color: var(--sky); box-shadow: 0 0 14px rgba(56, 189, 248, .35); transform: scale(1.07); }
.sidebar .theme-toggle { align-self: flex-start; margin: 6px 14px 4px; }
[data-theme="dark"] .theme-toggle { box-shadow: 0 0 12px rgba(34, 211, 238, .18); }

.logo-img{height:40px;width:auto;display:block;border-radius:8px}

/* announcement ticker — scrolling headline, left to right (logo theme: navy + teal) */
.announce-ticker{position:relative;overflow:hidden;height:52px;border-radius:14px;margin-bottom:16px;
background:linear-gradient(135deg,#0b1126 0%,#0e1a3a 60%,#0b2b33 100%);
border:1px solid rgba(45,212,191,.55);box-shadow:0 0 24px rgba(45,212,191,.20),inset 0 0 16px rgba(45,212,191,.06)}
.announce-ticker::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
background:linear-gradient(90deg,#0b1126 0%,transparent 14%,transparent 86%,#0b1126 100%)}
.announce-ico{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:1.25rem;z-index:3;
filter:drop-shadow(0 0 6px rgba(45,212,191,.9))}
.announce-track{position:absolute;top:50%;transform:translateY(-50%);white-space:nowrap;z-index:1;
font-weight:800;font-size:1rem;letter-spacing:.03em;
background:linear-gradient(90deg,#ffffff,#5eead4,#ffffff);-webkit-background-clip:text;background-clip:text;color:transparent;
animation:ann-slide 26s linear infinite}
@keyframes ann-slide{from{left:-100%}to{left:100%}}
.announce-x{position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:3;
background:rgba(45,212,191,.10);border:1px solid rgba(45,212,191,.35);color:#5eead4;opacity:.8;cursor:pointer;
font-size:.8rem;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.announce-x:hover{opacity:1;background:rgba(45,212,191,.22)}
#announceBar:empty{display:none}
body>#announceBar{margin:0}
body>#announceBar .announce-ticker{border-radius:0;margin-bottom:0;border-left:0;border-right:0}
