@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --sc-primary: #1b4dff;
  --sc-secondary: #e85d04;
  --sc-accent: #e85d04;
  --sc-accent-2: #1b4dff;
  --sc-ink: #0b1220;
  --sc-bg: #f3f5f8;
  --sc-surface: #ffffff;
  --sc-border: rgba(11, 18, 32, 0.1);
  --sc-shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 10px 28px rgba(11, 18, 32, 0.06);
  --hp-ink: #0b1220;
  --hp-muted: #5b6577;
  --hp-blue: #1b4dff;
  --hp-display: 'Sora', system-ui, sans-serif;
  --hp-body: 'Source Sans 3', system-ui, sans-serif;
  
  --bs-body-bg: var(--sc-bg);
  --bs-body-color: var(--sc-ink);
  --bs-primary: var(--sc-primary);
  --bs-primary-rgb: 27, 77, 255;
  --bs-secondary: var(--sc-secondary);
  --bs-secondary-rgb: 232, 93, 4;
  --bs-info: var(--sc-primary);
  --bs-info-rgb: 27, 77, 255;
  --bs-link-color: var(--sc-primary);
  --bs-link-hover-color: #1339d6;
  --bs-border-radius: 12px;
  --bs-border-radius-lg: 16px;
  --bs-border-radius-sm: 8px;
  --bs-font-sans-serif: var(--hp-body);
}

[data-bs-theme=dark] {
  --sc-ink: #f1f5f9;
  --sc-bg: #0b1220;
  --sc-surface: #111827;
  --sc-border: rgba(241, 245, 249, 0.1);
  --sc-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.35);
  --hp-ink: #f8fafc;
  --hp-muted: #94a3b8;
  
  --bs-body-bg: var(--sc-bg);
  --bs-body-color: var(--sc-ink);
  --bs-link-color: #93c5fd;
  --bs-link-hover-color: #bfdbfe;
}

body {
  background-color: var(--sc-bg);
  color: var(--sc-ink);
  font-family: var(--bs-font-sans-serif);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-pattern {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(15, 118, 110, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.04) 0px, transparent 50%);
}
[data-bs-theme=dark] .bg-pattern {
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(15, 118, 110, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.08) 0px, transparent 50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--hp-display);
}
.navbar-brand {
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
}

/* Navbar */
.navbar-glass {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sc-border);
}
[data-bs-theme=dark] .navbar-glass {
  background: rgba(19, 27, 44, 0.8) !important;
}

.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: #ffffff;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--sc-border);
}
[data-bs-theme=dark] .brand-mark {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.brand-mark img { width: 24px; height: 24px; object-fit: contain; }

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-primary {
  background: var(--sc-primary);
  border: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(27, 77, 255, 0.25);
}
.btn-primary:hover {
  background: #1339d6;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(27, 77, 255, 0.3);
  color: #fff;
}
.btn-soft {
  background: rgba(27, 77, 255, 0.08);
  color: var(--sc-primary);
  border: none;
}
.btn-soft:hover {
  background: rgba(27, 77, 255, 0.14);
  color: var(--sc-primary);
  transform: translateY(-1px);
}
[data-bs-theme=dark] .btn-soft {
  background: rgba(147, 197, 253, 0.12);
  color: #93c5fd;
}
[data-bs-theme=dark] .btn-soft:hover {
  background: rgba(147, 197, 253, 0.2);
  color: #93c5fd;
}
.btn-outline-primary {
  border: 2px solid var(--sc-primary);
  color: var(--sc-primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--sc-primary);
  color: #fff;
}

/* Wallet Pill */
.wallet-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--sc-primary);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(37, 99, 235, 0.12);
  transition: background 0.2s ease;
}
.wallet-pill:hover {
  background: rgba(37, 99, 235, 0.12);
  transform: none;
  color: var(--sc-primary);
}
[data-bs-theme=dark] .wallet-pill {
  background: rgba(147, 197, 253, 0.1);
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.18);
}
[data-bs-theme=dark] .wallet-pill:hover {
  color: #93c5fd;
}

/* Shell & Layout */
.public-shell { min-height: 100vh; display: flex; flex-direction: column; position: relative; }
.public-main { flex: 1 1 auto; position: relative; }
.public-page-wrap { max-width: 1200px; }

/* Dashboard Layout */
.dash-shell { min-height: 100vh; display: flex; }
.dash-sidebar { 
  width: 280px; 
  background: var(--sc-surface);
  border-right: 1px solid var(--sc-border);
  display: flex; flex-direction: column;
}
.dash-sidebar-brand {
  padding: 1.15rem 1.15rem 1rem;
}
.dash-sidebar-body {
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.dash-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(27, 77, 255, 0.04);
  border: 1px solid rgba(27, 77, 255, 0.08);
}
[data-bs-theme=dark] .dash-user-card {
  background: rgba(147, 197, 253, 0.06);
  border-color: rgba(147, 197, 253, 0.1);
}
.dash-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--sc-primary), #0a2fb8);
  color: #fff;
  font-family: var(--hp-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.dash-user-meta { min-width: 0; flex: 1; }
.dash-user-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-user-email {
  font-size: 0.75rem;
  color: var(--hp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.dash-topbar { position: sticky; top: 0; z-index: 1040; border-bottom: 1px solid var(--sc-border); }
.dash-content { padding: 1.75rem 2rem 2.25rem; }

@media (max-width: 767.98px) {
  .dash-content { padding: 1.25rem 1rem 1.75rem; }
}

/* Sidebar Nav */
.sidebar .nav-link {
  color: var(--sc-ink);
  opacity: 0.75;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}
.sidebar .nav-link:hover {
  opacity: 1;
  background: rgba(37, 99, 235, 0.06);
  color: var(--sc-primary);
  transform: translateX(4px);
}
.sidebar .nav-link.active {
  opacity: 1;
  background: var(--sc-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 77, 255, 0.25);
}
.sidebar .nav-link-logout {
  margin-top: 0.5rem;
  color: #b91c1c;
  opacity: 0.85;
}
.sidebar .nav-link-logout:hover {
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
}
[data-bs-theme=dark] .sidebar .nav-link { color: #f1f5f9; }
[data-bs-theme=dark] .sidebar .nav-link:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
[data-bs-theme=dark] .sidebar .nav-link.active { color: #fff; }
[data-bs-theme=dark] .sidebar .nav-link-logout { color: #f87171; }
[data-bs-theme=dark] .sidebar .nav-link-logout:hover {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

/* Cards */
.card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  box-shadow: var(--sc-shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--sc-border);
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1.1rem;
}
.card-body { padding: 1.5rem; }

/* Hero / network shell chrome (homepage styles live in assets/css/home.css) */
.hero-shell .public-main,
.home-shell .public-main { padding: 0; }

.site-header-hero .public-topbar {
  margin-bottom: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-shell:not(.home-shell) .navbar-home .navbar-brand,
.hero-shell:not(.home-shell) .navbar-home .navbar-brand span:last-child { color: #fff; }
.hero-shell:not(.home-shell) .navbar-home .btn-outline-primary {
  color: #fff; border-color: rgba(255, 255, 255, 0.45);
}
.hero-shell:not(.home-shell) .navbar-home .btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff;
}
.hero-shell:not(.home-shell) .navbar-home .btn-primary {
  background: #fff; color: var(--sc-primary); border: none; box-shadow: none;
}
.hero-shell:not(.home-shell) .navbar-home .btn-primary:hover {
  background: #eff6ff; color: var(--sc-primary);
}
.hero-shell:not(.home-shell) .navbar-home .btn-soft {
  background: rgba(255, 255, 255, 0.12); color: #fff;
}
.hero-shell:not(.home-shell) .navbar-home .btn-soft:hover {
  background: rgba(255, 255, 255, 0.18); color: #fff;
}
.hero-shell:not(.home-shell) .navbar-home .btn-outline-secondary {
  color: #fff; border-color: rgba(255, 255, 255, 0.35);
}
.hero-shell:not(.home-shell) .navbar-home .wallet-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero-shell.navbar-scrolled .site-header-hero .public-topbar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: var(--sc-border) !important;
}
[data-bs-theme=dark].hero-shell.navbar-scrolled .site-header-hero .public-topbar,
[data-bs-theme=dark] .hero-shell.navbar-scrolled .site-header-hero .public-topbar {
  background: rgba(11, 18, 32, 0.95) !important;
}
.hero-shell.navbar-scrolled .navbar-home .navbar-brand,
.hero-shell.navbar-scrolled .navbar-home .navbar-brand span:last-child {
  color: var(--sc-ink);
}
.hero-shell.navbar-scrolled .navbar-home .btn-outline-primary {
  color: var(--sc-primary); border-color: var(--sc-primary);
}
.hero-shell.navbar-scrolled .navbar-home .btn-primary {
  background: var(--sc-primary); color: #fff;
}
.hero-shell.navbar-scrolled .navbar-home .btn-soft {
  background: rgba(37, 99, 235, 0.1); color: var(--sc-primary);
}
.hero-shell.navbar-scrolled .navbar-home .btn-outline-secondary {
  color: inherit; border-color: var(--sc-border);
}
.hero-shell.navbar-scrolled .navbar-home .wallet-pill {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--sc-primary);
}

/* Homepage footer styles live in home.css */

/* Network / plans page */
.np-page { background: var(--sc-bg); }
.np-hero-band {
  position: relative;
  padding: 6.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(232, 93, 4, 0.28), transparent 55%),
    linear-gradient(145deg, #0b1220 0%, #132045 50%, #1b4dff 100%);
  color: #fff;
  overflow: hidden;
}
.np-hero-band::before { display: none; }
.np-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.np-back-link:hover { color: #fff; }
.np-hero-brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.np-hero-logo {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.85rem;
}
.np-hero-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}
.np-hero-logo i { font-size: 2rem; }
.np-hero-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}
.np-hero-title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.np-hero-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}
.np-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.np-guest-cta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.np-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font-family: var(--hp-display, inherit);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}
.np-hero-btn i {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.np-hero-btn-solid {
  background: #fff;
  color: var(--sc-primary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.np-hero-btn-solid:hover {
  background: #fff7ed;
  color: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.np-hero-btn-solid:hover i {
  transform: translateX(2px);
}
.np-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}
.np-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}
.np-hero-btn:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 3px;
}
.np-wallet-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}
.np-wallet-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.15rem;
}
.np-wallet-chip strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.np-wallet-topup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: var(--sc-primary);
  font-family: var(--hp-display, inherit);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.np-wallet-topup:hover {
  background: #fff7ed;
  color: #c2410c;
  transform: translateY(-1px);
}
.np-pricing-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}
.np-pricing-chip i { color: #fde68a; }
.np-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin-top: 1.35rem;
  padding-left: calc(84px + 1.15rem);
}
.np-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}
.np-hero-trust i { color: #fdba74; font-size: 0.95rem; }

.np-plans-section {
  margin-top: -2.25rem;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}
.np-plans-panel {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
[data-bs-theme=dark] .np-plans-panel {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.np-plans-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--sc-border);
}
.np-plans-head h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.np-plans-head p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}
[data-bs-theme=dark] .np-plans-head p { color: #94a3b8; }
.np-plan-count { margin-left: auto; }

.np-guest-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.12);
}
.np-guest-note > i {
  color: var(--sc-primary);
  font-size: 1.15rem;
  margin-top: 0.1rem;
}
.np-guest-note strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.np-guest-note span {
  display: block;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
}
[data-bs-theme=dark] .np-guest-note span { color: #94a3b8; }
.np-guest-note-actions { gap: 0.5rem; margin-left: auto; flex-shrink: 0; }

.np-plans-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.np-plans-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.np-plans-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}
.np-plans-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border-radius: 12px;
  border: 2px solid var(--sc-border);
  background: var(--sc-bg);
  color: var(--sc-ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.np-plans-search input:focus {
  outline: none;
  border-color: var(--sc-primary);
  background: var(--sc-surface);
  box-shadow: 0 0 0 4px rgba(27, 77, 255, 0.1);
}
[data-bs-theme=dark] .np-plans-search input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.np-plans-sort {
  flex: 0 0 auto;
  width: auto;
  max-width: 220px;
  padding: 0.7rem 2.4rem 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 12px;
}

.np-plans-loading,
.np-plans-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  color: #64748b;
  text-align: center;
}
[data-bs-theme=dark] .np-plans-loading,
[data-bs-theme=dark] .np-plans-empty { color: #94a3b8; }
.np-plans-empty i { font-size: 2rem; opacity: 0.45; }
.np-plans-empty p { margin: 0; }

.np-plan-card {
  --np-card-ink: var(--sc-ink);
  --np-card-muted: #5b6577;
  --np-card-panel: #eef2ff;
  --np-card-border: rgba(27, 77, 255, 0.14);
  width: 100%;
  height: 100%;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
  border: 1px solid var(--np-card-border);
  border-radius: 18px;
  background: var(--sc-surface);
  text-align: left;
  cursor: pointer;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
[data-bs-theme=dark] .np-plan-card {
  --np-card-ink: #f8fafc;
  --np-card-muted: #94a3b8;
  --np-card-panel: rgba(27, 77, 255, 0.16);
  --np-card-border: rgba(147, 197, 253, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.np-plan-card:hover,
.np-plan-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(27, 77, 255, 0.4);
  box-shadow: 0 16px 34px rgba(27, 77, 255, 0.14);
  outline: none;
}
[data-bs-theme=dark] .np-plan-card:hover,
[data-bs-theme=dark] .np-plan-card:focus-visible {
  border-color: rgba(147, 197, 253, 0.42);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
.np-plan-head {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem 1.1rem 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 93, 4, 0.12), transparent 42%),
    var(--np-card-panel);
  border-bottom: 1px solid var(--np-card-border);
}
.np-plan-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  background: rgba(27, 77, 255, 0.1);
  color: var(--sc-primary);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-bs-theme=dark] .np-plan-eyebrow {
  background: rgba(147, 197, 253, 0.14);
  color: #bfdbfe;
}
.np-plan-size {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 0.9;
}
.np-plan-size strong {
  font-family: var(--hp-display, inherit);
  font-size: clamp(2.35rem, 5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--sc-primary);
}
[data-bs-theme=dark] .np-plan-size strong { color: #93c5fd; }
.np-plan-size small {
  font-family: var(--hp-display, inherit);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--np-card-muted);
}
.np-plan-name {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--np-card-muted);
}
.np-plan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.95rem 1.1rem 1.05rem;
  background: var(--sc-surface);
}
.np-plan-price {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.np-plan-price em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--np-card-muted);
}
.np-plan-price strong {
  font-family: var(--hp-display, inherit);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--np-card-ink);
}
.np-plan-go {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--sc-secondary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(232, 93, 4, 0.28);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.np-plan-go i {
  font-size: 0.85rem;
  transition: transform 0.18s ease;
}
.np-plan-card:hover .np-plan-go,
.np-plan-card:focus-visible .np-plan-go {
  background: #c2410c;
  transform: translateX(1px);
  box-shadow: 0 8px 18px rgba(232, 93, 4, 0.34);
}
.np-plan-card:hover .np-plan-go i,
.np-plan-card:focus-visible .np-plan-go i {
  transform: translateX(2px);
}

.np-switch-network {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--sc-border);
  background: var(--sc-surface);
}
.np-switch-network strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}
.np-switch-network span {
  display: block;
  font-size: 0.84rem;
  color: #64748b;
}
[data-bs-theme=dark] .np-switch-network span { color: #94a3b8; }

.np-checkout-summary {
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--sc-bg);
}
.np-checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
}
.np-checkout-row + .np-checkout-row {
  border-top: 1px solid var(--sc-border);
}
.np-checkout-row span { color: #64748b; font-weight: 600; }
[data-bs-theme=dark] .np-checkout-row span { color: #94a3b8; }
.np-checkout-row strong { font-weight: 800; text-align: right; }
.np-checkout-row-price strong {
  font-size: 1.15rem;
  color: var(--sc-primary);
}
/* ---- Revamped checkout card ---- */
.np-checkout-modal .modal-dialog { max-width: 460px; }
.np-co {
  border: none;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 18, 32, 0.28);
}
[data-bs-theme=dark] .np-co { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65); }

.np-co-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(232, 93, 4, 0.35), transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #16265c 55%, #1b4dff 100%);
  color: #fff;
}
.np-co-head .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  align-self: flex-start;
}
.np-co-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.np-co-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.np-co-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.np-co-logo i { font-size: 1.4rem; color: var(--sc-primary); }
.np-co-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 0.2rem;
}
.np-co-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-co-body { padding: 1.4rem; }

/* Ticket-style order summary */
.np-ticket {
  position: relative;
  border-radius: 18px;
  background:
    linear-gradient(var(--sc-surface), var(--sc-surface)) padding-box,
    linear-gradient(135deg, rgba(27, 77, 255, 0.5), rgba(232, 93, 4, 0.5)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 30px rgba(27, 77, 255, 0.08);
  overflow: hidden;
}
.np-ticket-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
}
.np-ticket-size {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 0.6rem 0.55rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--sc-primary), #4338ca);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(27, 77, 255, 0.3);
}
.np-ticket-size strong {
  font-family: var(--hp-display, inherit);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.np-ticket-size span {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-top: 0.15rem;
}
.np-ticket-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.np-ticket-name {
  font-family: var(--hp-display, inherit);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sc-ink);
  line-height: 1.3;
}
.np-ticket-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}
.np-ticket-meta i { color: var(--sc-secondary); }
[data-bs-theme=dark] .np-ticket-meta { color: #94a3b8; }
.np-ticket-divider {
  position: relative;
  border-top: 2px dashed var(--sc-border);
  margin: 0 0.9rem;
}
.np-ticket-divider::before,
.np-ticket-divider::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sc-surface);
  border: 1.5px solid rgba(27, 77, 255, 0.25);
}
.np-ticket-divider::before { left: -1.9rem; }
.np-ticket-divider::after { right: -1.9rem; }
.np-ticket-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
}
.np-ticket-price span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
}
[data-bs-theme=dark] .np-ticket-price span { color: #94a3b8; }
.np-ticket-price em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 0.1rem;
}
.np-ticket-price > strong {
  font-family: var(--hp-display, inherit);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sc-primary);
  white-space: nowrap;
}

/* Checkout form fields */
.np-co-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
}
.np-co-signin {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.np-co-signin p {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.45;
}
[data-bs-theme=dark] .np-co-signin p { color: #94a3b8; }
.np-co-signin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.np-field { display: block; }
.np-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.45rem;
}
[data-bs-theme=dark] .np-field-label { color: #94a3b8; }
.np-field-input {
  position: relative;
}
.np-field-input i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.2s ease;
}
.np-field-input input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.7rem;
  border-radius: 14px;
  border: 2px solid var(--sc-border);
  background: var(--sc-bg);
  color: var(--sc-ink);
  font-weight: 600;
  font-size: 0.98rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.np-field-input input:focus {
  outline: none;
  border-color: var(--sc-primary);
  background: var(--sc-surface);
  box-shadow: 0 0 0 4px rgba(27, 77, 255, 0.12);
}
.np-field-input input:focus ~ i,
.np-field-input:focus-within i { color: var(--sc-primary); }
[data-bs-theme=dark] .np-field-input input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
[data-bs-theme=dark] .np-field-input input:focus { background: rgba(255, 255, 255, 0.08); }
.np-field-hint {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 0.4rem;
}

/* Payment method selector */
.np-pay-methods {
  display: grid;
  gap: 0.6rem;
}
.np-pay-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 2px solid var(--sc-border);
  background: var(--sc-bg);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.np-pay-option:hover { border-color: rgba(27, 77, 255, 0.35); }
.np-pay-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(27, 77, 255, 0.15);
}
.np-pay-option.is-selected {
  border-color: var(--sc-primary);
  background: rgba(27, 77, 255, 0.05);
  box-shadow: 0 6px 18px rgba(27, 77, 255, 0.1);
}
[data-bs-theme=dark] .np-pay-option { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
[data-bs-theme=dark] .np-pay-option.is-selected {
  border-color: #93c5fd;
  background: rgba(147, 197, 253, 0.08);
}
.np-pay-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.np-pay-icon-wallet { background: linear-gradient(135deg, #059669, #10b981); }
.np-pay-icon-paystack { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.np-pay-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.np-pay-copy strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--sc-ink);
}
.np-pay-copy small {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
}
[data-bs-theme=dark] .np-pay-copy small { color: #94a3b8; }
.np-pay-option.is-low .np-pay-copy small { color: #dc2626; }
[data-bs-theme=dark] .np-pay-option.is-low .np-pay-copy small { color: #f87171; }
.np-pay-topup {
  border: none;
  background: rgba(232, 93, 4, 0.12);
  color: var(--sc-secondary);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.np-pay-topup:hover { background: rgba(232, 93, 4, 0.2); }
.np-pay-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--sc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: transparent;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.np-pay-option.is-selected .np-pay-check {
  background: var(--sc-primary);
  border-color: var(--sc-primary);
  color: #fff;
}

.np-co-alert {
  margin: 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 12px;
}

/* Checkout footer / pay button */
.np-co-footer {
  padding: 0 1.4rem 1.4rem;
}
.np-pay-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-family: var(--hp-display, inherit);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, var(--sc-primary) 0%, #4338ca 60%, var(--sc-secondary) 140%);
  background-size: 150% auto;
  box-shadow: 0 12px 28px rgba(27, 77, 255, 0.35);
  transition: background-position 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.np-pay-btn:hover:not(:disabled) {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(27, 77, 255, 0.42);
}
.np-pay-btn:active:not(:disabled) { transform: translateY(0); }
.np-pay-btn:disabled {
  opacity: 0.55;
  box-shadow: none;
  cursor: not-allowed;
}
.np-pay-btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.np-co-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
}
.np-co-note i { color: #10b981; }

@media (max-width: 991.98px) {
  .np-hero-band { padding-top: 6rem; }
}
@media (max-width: 767.98px) {
  .np-hero-band { padding: 5.5rem 0 3.5rem; }
  .np-hero-brand { align-items: flex-start; }
  .np-hero-logo { width: 68px; height: 68px; }
  .np-plans-section { margin-top: -1.25rem; }
  .np-plans-panel { padding: 1.25rem; border-radius: 18px; }
  .np-plans-head { flex-direction: column; align-items: flex-start; }
  .np-guest-note { flex-wrap: wrap; }
  .np-guest-note-actions {
    display: flex !important;
    width: 100%;
  }
  .np-plan-card { min-height: 160px; }
  .np-plan-head { padding: 0.95rem 0.9rem 0.85rem; }
  .np-plan-foot { padding: 0.8rem 0.9rem 0.9rem; }
  .np-plan-size strong { font-size: 2.1rem; }
  .np-plan-price strong { font-size: 1.12rem; }
  .np-plan-go { padding: 0.45rem 0.65rem; font-size: 0.72rem; }
  .np-hero-trust {
    padding-left: 0;
    gap: 0.4rem 1rem;
  }
  .np-guest-cta {
    padding: 0.85rem;
    border-radius: 16px;
  }
  .np-hero-btn {
    min-height: 48px;
    font-size: 0.9rem;
  }
  .np-plans-tools { flex-direction: column; align-items: stretch; }
  .np-plans-sort { max-width: none; }
  .np-checkout-modal .modal-dialog {
    margin: 0.5rem;
    max-width: none;
  }
  .np-co-head { padding: 1.1rem 1.15rem; }
  .np-co-body { padding: 1.15rem; }
  .np-co-footer { padding: 0 1.15rem 1.15rem; }
  .np-ticket-size { min-width: 64px; }
  .np-ticket-size strong { font-size: 1.25rem; }
  .np-ticket-price > strong { font-size: 1.35rem; }
}

/* User dashboard */
.ud-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1180px;
}

.ud-reveal {
  --ud-delay: 0ms;
  animation: udRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--ud-delay);
}
@keyframes udRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ud-reveal { animation: none; }
}

/* Cinematic hero */
.ud-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.85rem 1.85rem 2.6rem;
  color: #fff;
  background:
    radial-gradient(ellipse 75% 60% at 100% 0%, rgba(232, 93, 4, 0.35), transparent 55%),
    radial-gradient(ellipse 55% 50% at 0% 100%, rgba(27, 77, 255, 0.45), transparent 60%),
    linear-gradient(145deg, #0b1220 0%, #132045 46%, #1b4dff 100%);
  box-shadow: 0 24px 56px rgba(11, 18, 32, 0.28);
}
.ud-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.ud-hero-orb-a {
  width: 220px; height: 220px;
  top: -80px; right: -40px;
  background: rgba(232, 93, 4, 0.28);
  animation: udFloat 7s ease-in-out infinite;
}
.ud-hero-orb-b {
  width: 160px; height: 160px;
  bottom: -70px; left: 18%;
  background: rgba(255, 255, 255, 0.1);
  animation: udFloat 9s ease-in-out infinite reverse;
}
@keyframes udFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.06); }
}
.ud-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.45) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}
.ud-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ud-hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fdba74;
}
.ud-hero-title {
  font-family: var(--hp-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.55rem;
}
.ud-hero-desc {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 38ch;
  line-height: 1.5;
}
.ud-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ud-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.ud-hero-chip-role i { color: #fbbf24; }
.ud-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ud-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: none;
  background: var(--sc-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(232, 93, 4, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ud-btn-solid:hover {
  background: #d14f00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(232, 93, 4, 0.42);
}
.ud-btn-solid-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}
.ud-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.ud-btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

/* Floating shell overlapping hero */
.ud-shell {
  position: relative;
  z-index: 2;
  margin: -1.75rem 0.85rem 0;
  padding: 1.25rem;
  border-radius: 24px;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  box-shadow: 0 22px 55px rgba(11, 18, 32, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
[data-bs-theme=dark] .ud-shell {
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.ud-metrics {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.ud-wallet {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.4rem 1.3rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(232, 93, 4, 0.32), transparent 55%),
    linear-gradient(145deg, #1339d6 0%, var(--sc-primary) 48%, #0a2fb8 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(27, 77, 255, 0.28);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.ud-wallet-shine {
  position: absolute;
  width: 180px; height: 180px;
  right: -50px; bottom: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(6px);
  animation: udPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes udPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .ud-hero-orb-a, .ud-hero-orb-b, .ud-wallet-shine { animation: none; }
}
.ud-wallet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 1;
}
.ud-wallet-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.82;
  margin-bottom: 0.55rem;
}
.ud-wallet-amount {
  font-family: var(--hp-display);
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.ud-wallet-currency {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.8;
}
.ud-wallet-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.ud-wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.ud-wallet .btn-outline-light { border-width: 1.5px; }

.ud-stat {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.15rem;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(27, 77, 255, 0.05), transparent 55%),
    var(--sc-bg);
  border: 1px solid var(--sc-border);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.ud-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 77, 255, 0.25);
  box-shadow: 0 14px 30px rgba(27, 77, 255, 0.08);
  background: var(--sc-surface);
}
.ud-stat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 22px rgba(27, 77, 255, 0.25);
}
.ud-stat-icon-blue { background: linear-gradient(135deg, #1b4dff, #0a2fb8); }
.ud-stat-icon-green {
  background: linear-gradient(135deg, #059669, #34d399);
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.28);
}
.ud-stat-icon-orange {
  background: linear-gradient(135deg, #e85d04, #f59e0b);
  box-shadow: 0 10px 22px rgba(232, 93, 4, 0.28);
}
.ud-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hp-muted);
  margin-bottom: 0.4rem;
}
.ud-stat-value {
  font-family: var(--hp-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.7rem;
  color: var(--sc-ink);
}
.ud-stat-value-sm { font-size: 1.2rem; line-height: 1.2; }
.ud-stat-hint {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hp-muted);
}
.ud-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sc-primary);
  text-decoration: none;
}
.ud-stat-link:hover { color: var(--sc-secondary); }
.ud-stat-link i { transition: transform 0.2s ease; }
.ud-stat-link:hover i { transform: translateX(3px); }

.ud-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.ud-shortcut {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: var(--sc-bg);
  border: 1px solid var(--sc-border);
  text-decoration: none;
  color: var(--sc-ink);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ud-shortcut:hover {
  color: var(--sc-ink);
  background: var(--sc-surface);
  border-color: rgba(27, 77, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 77, 255, 0.08);
}
.ud-shortcut-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27, 77, 255, 0.12), rgba(232, 93, 4, 0.1));
  color: var(--sc-primary);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.ud-shortcut-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.ud-shortcut-copy strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}
.ud-shortcut-copy small {
  font-size: 0.74rem;
  color: var(--hp-muted);
  font-weight: 500;
}
.ud-shortcut-arrow {
  color: var(--hp-muted);
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.ud-shortcut:hover .ud-shortcut-arrow {
  color: var(--sc-primary);
  transform: translateX(3px);
}

.ud-upgrade {
  margin-top: 1.5rem;
}
.ud-upgrade-inner {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(27, 77, 255, 0.1), transparent 60%),
    linear-gradient(135deg, rgba(27, 77, 255, 0.07), rgba(232, 93, 4, 0.1));
  border: 1px solid rgba(232, 93, 4, 0.2);
}
.ud-upgrade-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  color: #fff;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(27, 77, 255, 0.25);
}
.ud-upgrade-copy { flex: 1; min-width: 200px; }
.ud-upgrade-copy h2 {
  font-family: var(--hp-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.ud-upgrade-copy p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hp-muted);
  line-height: 1.45;
}
.ud-upgrade-form { flex-shrink: 0; }

.ud-section {
  margin-top: 1.75rem;
}
.ud-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.ud-section-head h2 {
  font-family: var(--hp-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}
.ud-section-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hp-muted);
}
.ud-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sc-primary);
  text-decoration: none;
}
.ud-section-link:hover { color: var(--sc-secondary); }
.ud-section-link i { transition: transform 0.2s ease; }
.ud-section-link:hover i { transform: translateX(3px); }

.ud-net-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.ud-net-card {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.ud-net-card.is-out-of-stock {
  opacity: 0.72;
}
.ud-net-card.is-out-of-stock .ud-net-body span {
  color: #b91c1c;
  font-weight: 700;
}
.ud-net-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-secondary));
  transition: width 0.28s ease;
}
.ud-net-card:hover {
  color: inherit;
  transform: translateY(-5px);
  border-color: rgba(232, 93, 4, 0.35);
  box-shadow: 0 18px 40px rgba(232, 93, 4, 0.12);
}
.ud-net-card:hover::after { width: 100%; }
.ud-net-visual {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 93, 4, 0.08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(27, 77, 255, 0.08), transparent 50%),
    var(--sc-bg);
  border-bottom: 1px solid var(--sc-border);
}
.ud-net-visual img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.ud-net-card:hover .ud-net-visual img { transform: scale(1.08) rotate(-2deg); }
.ud-net-visual i {
  font-size: 1.9rem;
  color: var(--sc-primary);
}
.ud-net-body {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ud-net-body h3 {
  font-family: var(--hp-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}
.ud-net-body span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sc-primary);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.ud-net-body span i { transition: transform 0.2s ease; }
.ud-net-card:hover .ud-net-body span { color: var(--sc-secondary); }
.ud-net-card:hover .ud-net-body span i { transform: translateX(3px); }

.ud-orders-panel {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sc-shadow);
}
.ud-orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 3.25rem 1.5rem;
  text-align: center;
}
.ud-orders-empty-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27, 77, 255, 0.12), rgba(232, 93, 4, 0.1));
  color: var(--sc-primary);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.ud-orders-empty h3 {
  font-family: var(--hp-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}
.ud-orders-empty p {
  margin: 0 0 0.75rem;
  color: var(--hp-muted);
  font-size: 0.92rem;
  max-width: 28ch;
}

.ud-orders-mobile { display: flex; flex-direction: column; }
.ud-order-item {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--sc-border);
  transition: background 0.15s ease;
}
.ud-order-item:last-child { border-bottom: none; }
.ud-order-item:hover { background: rgba(27, 77, 255, 0.025); }
.ud-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.ud-order-top strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.ud-order-top span {
  display: block;
  font-size: 0.78rem;
  color: var(--hp-muted);
}
.ud-order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
}
.ud-order-bottom span { color: var(--hp-muted); }

.ud-orders-table thead th {
  background: var(--sc-bg);
  border-bottom: 1px solid var(--sc-border);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hp-muted);
  padding: 0.9rem 1.1rem;
}
.ud-orders-table tbody td {
  padding: 1rem 1.1rem;
  vertical-align: middle;
}
.ud-orders-table tbody tr { transition: background 0.15s ease; }
.ud-orders-table tbody tr:hover { background: rgba(27, 77, 255, 0.025); }

@media (max-width: 1099.98px) {
  .ud-metrics { grid-template-columns: 1fr 1fr; }
  .ud-wallet { grid-column: 1 / -1; }
  .ud-shortcuts { grid-template-columns: 1fr 1fr; }
  .ud-net-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
  .ud-hero { padding: 1.4rem 1.25rem 2.2rem; border-radius: 22px; }
  .ud-hero-actions { width: 100%; }
  .ud-hero-actions .ud-btn-solid,
  .ud-hero-actions .ud-btn-glass { flex: 1; justify-content: center; }
  .ud-shell { margin: -1.35rem 0.35rem 0; padding: 0.95rem; border-radius: 20px; }
  .ud-metrics { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .ud-shortcuts { grid-template-columns: 1fr; }
  .ud-net-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .ud-upgrade-inner { flex-direction: column; align-items: flex-start; }
  .ud-upgrade-form { width: 100%; }
  .ud-upgrade-form .ud-btn-solid { width: 100%; justify-content: center; }
  .ud-net-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .ud-stat-value-sm { font-size: 1.05rem; }
}

/* User account subpages (orders / wallet / referrals / profile) */
.ua-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1180px;
}
.ua-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 1.6rem 1.7rem 2.35rem;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(232, 93, 4, 0.32), transparent 55%),
    linear-gradient(145deg, #0b1220 0%, #132045 48%, #1b4dff 100%);
  box-shadow: 0 20px 48px rgba(11, 18, 32, 0.24);
}
.ua-hero-wallet {
  background:
    radial-gradient(ellipse 75% 60% at 100% 0%, rgba(232, 93, 4, 0.34), transparent 55%),
    linear-gradient(145deg, #1339d6 0%, #1b4dff 50%, #0a2fb8 100%);
}
.ua-hero-referrals {
  background:
    radial-gradient(ellipse 65% 55% at 0% 100%, rgba(27, 77, 255, 0.4), transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(232, 93, 4, 0.3), transparent 55%),
    linear-gradient(145deg, #0b1220 0%, #1a2744 50%, #1b4dff 100%);
}
.ua-hero-profile {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(27, 77, 255, 0.35), transparent 55%),
    linear-gradient(145deg, #0b1220 0%, #132045 55%, #1b4dff 100%);
}
.ua-hero-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  top: -60px;
  right: -30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(4px);
  pointer-events: none;
  animation: udFloat 8s ease-in-out infinite;
}
.ua-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ua-hero-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fdba74;
}
.ua-hero-title {
  font-family: var(--hp-display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.45rem;
}
.ua-hero-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  max-width: 40ch;
  line-height: 1.5;
}
.ua-hero-balance {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.35rem 0 0.65rem;
}
.ua-hero-currency {
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.8;
}
.ua-hero-figure {
  font-family: var(--hp-display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ua-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}
.ua-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.ua-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.ua-hero-inner-profile { align-items: center; }
.ua-profile-identity {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.ua-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--hp-display);
  font-size: 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ua-shell {
  position: relative;
  z-index: 2;
  margin: -1.5rem 0.75rem 0;
  padding: 1.15rem;
  border-radius: 22px;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  box-shadow: 0 18px 46px rgba(11, 18, 32, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
[data-bs-theme=dark] .ua-shell {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}

.ua-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.ua-kpi-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ua-kpi {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: var(--sc-bg);
  border: 1px solid var(--sc-border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ua-kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 77, 255, 0.22);
  box-shadow: 0 10px 24px rgba(27, 77, 255, 0.07);
  background: var(--sc-surface);
}
.ua-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ua-kpi-icon-blue {
  background: linear-gradient(135deg, #1b4dff, #0a2fb8);
  box-shadow: 0 8px 18px rgba(27, 77, 255, 0.25);
}
.ua-kpi-icon-green {
  background: linear-gradient(135deg, #059669, #34d399);
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.25);
}
.ua-kpi-icon-orange {
  background: linear-gradient(135deg, #e85d04, #f59e0b);
  box-shadow: 0 8px 18px rgba(232, 93, 4, 0.25);
}
.ua-kpi-icon-amber {
  background: linear-gradient(135deg, #d97706, #fbbf24);
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.25);
}
.ua-kpi-icon-rose {
  background: linear-gradient(135deg, #e11d48, #fb7185);
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.25);
}
.ua-kpi-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hp-muted);
  margin-bottom: 0.25rem;
}
.ua-kpi-value {
  display: block;
  font-family: var(--hp-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--sc-ink);
}
.ua-kpi-value-sm { font-size: 1.15rem; }
.ua-kpi-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hp-muted);
}

.ua-share-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hp-muted);
  margin-bottom: 0.45rem;
}
.ua-share-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.ua-share-row .form-control {
  flex: 1;
  min-width: 200px;
  font-weight: 600;
}
.ua-share-hint {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
}

.ua-section { margin-top: 1.5rem; }
.ua-panel {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sc-shadow);
}
.ua-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--sc-border);
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(27, 77, 255, 0.04), transparent 55%),
    var(--sc-surface);
}
.ua-panel-head h2 {
  font-family: var(--hp-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}
.ua-panel-head p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--hp-muted);
}
.ua-panel-body { padding: 1.25rem; }

.ua-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 3rem 1.5rem;
  text-align: center;
}
.ua-empty-sm { padding: 2.25rem 1.25rem; }
.ua-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27, 77, 255, 0.12), rgba(232, 93, 4, 0.1));
  color: var(--sc-primary);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.ua-empty h3 {
  font-family: var(--hp-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.ua-empty p {
  margin: 0 0 0.65rem;
  color: var(--hp-muted);
  font-size: 0.9rem;
  max-width: 32ch;
}

.ua-list { display: flex; flex-direction: column; }
.ua-list-item {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--sc-border);
  transition: background 0.15s ease;
}
.ua-list-item:last-child { border-bottom: none; }
.ua-list-item:hover { background: rgba(27, 77, 255, 0.025); }
.ua-list-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.ua-list-top strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.ua-list-top span {
  display: block;
  font-size: 0.78rem;
  color: var(--hp-muted);
}
.ua-list-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--hp-muted);
  margin-bottom: 0.65rem;
}
.ua-list-meta-muted { opacity: 0.85; }
.ua-list-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--sc-border);
  font-size: 0.86rem;
}
.ua-list-foot span { color: var(--hp-muted); font-weight: 600; }

.ua-wallet-flow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: var(--sc-bg);
}
.ua-wallet-flow > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ua-wallet-flow span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hp-muted);
}
.ua-wallet-flow strong { font-size: 0.88rem; }
.ua-wallet-flow > i { color: var(--hp-muted); }

.ua-table thead th {
  background: var(--sc-bg);
  border-bottom: 1px solid var(--sc-border);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hp-muted);
  padding: 0.9rem 1.1rem;
}
.ua-table tbody td {
  padding: 1rem 1.1rem;
  vertical-align: middle;
}
.ua-table tbody tr { transition: background 0.15s ease; }
.ua-table tbody tr:hover { background: rgba(27, 77, 255, 0.025); }

.ua-form-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.ua-form-field { flex: 1; min-width: 200px; }
.ua-form-actions { flex-shrink: 0; padding-bottom: 0.1rem; }
.ua-form-note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--hp-muted);
}
.ua-form-stack {
  display: grid;
  gap: 1rem;
}
.ua-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

@media (max-width: 1099.98px) {
  .ua-kpi-grid { grid-template-columns: 1fr 1fr; }
  .ua-kpi-grid-3 { grid-template-columns: 1fr; }
  .ua-profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .ua-hero { padding: 1.3rem 1.2rem 2rem; border-radius: 20px; }
  .ua-hero-actions { width: 100%; }
  .ua-hero-actions .ud-btn-solid,
  .ua-hero-actions .ud-btn-glass { flex: 1; justify-content: center; }
  .ua-shell { margin: -1.25rem 0.3rem 0; padding: 0.9rem; border-radius: 18px; }
  .ua-kpi-grid { grid-template-columns: 1fr; }
  .ua-form-actions { width: 100%; }
  .ua-form-actions .btn { width: 100%; }
}

/* Admin dashboard */
.ad-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1180px;
}
.ad-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.85rem 1.85rem 2.6rem;
  color: #fff;
  background:
    radial-gradient(ellipse 75% 60% at 100% 0%, rgba(232, 93, 4, 0.35), transparent 55%),
    radial-gradient(ellipse 55% 50% at 0% 100%, rgba(27, 77, 255, 0.45), transparent 60%),
    linear-gradient(145deg, #0b1220 0%, #132045 46%, #1b4dff 100%);
  box-shadow: 0 24px 56px rgba(11, 18, 32, 0.28);
}
.ad-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.ad-hero-orb-a {
  width: 220px;
  height: 220px;
  top: -80px;
  right: -40px;
  background: rgba(232, 93, 4, 0.28);
  animation: udFloat 7s ease-in-out infinite;
}
.ad-hero-orb-b {
  width: 160px;
  height: 160px;
  bottom: -70px;
  left: 18%;
  background: rgba(255, 255, 255, 0.1);
  animation: udFloat 9s ease-in-out infinite reverse;
}
.ad-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.45) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}
.ad-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ad-hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fdba74;
}
.ad-hero-title {
  font-family: var(--hp-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.55rem;
}
.ad-hero-desc {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 42ch;
  line-height: 1.5;
}
.ad-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ad-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.ad-hero-chip-warn {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fde68a;
}
.ad-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ad-shell {
  position: relative;
  z-index: 2;
  margin: -1.75rem 0.85rem 0;
  padding: 1.25rem;
  border-radius: 24px;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  box-shadow: 0 22px 55px rgba(11, 18, 32, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
[data-bs-theme=dark] .ad-shell {
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.ad-metrics {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}
.ad-sales {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.4rem 1.3rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(232, 93, 4, 0.32), transparent 55%),
    linear-gradient(145deg, #059669 0%, #10b981 48%, #047857 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.28);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.ad-sales-shine {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(6px);
  animation: udPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .ad-hero-orb-a, .ad-hero-orb-b, .ad-sales-shine { animation: none; }
}
.ad-sales-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 1;
}
.ad-sales-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.82;
  margin-bottom: 0.55rem;
}
.ad-sales-amount {
  font-family: var(--hp-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.ad-sales-currency {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.8;
}
.ad-sales-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.ad-sales-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.ad-sales .btn-outline-light { border-width: 1.5px; }

.ad-stat {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.15rem;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(27, 77, 255, 0.05), transparent 55%),
    var(--sc-bg);
  border: 1px solid var(--sc-border);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.ad-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 77, 255, 0.25);
  box-shadow: 0 14px 30px rgba(27, 77, 255, 0.08);
  background: var(--sc-surface);
}
.ad-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.ad-stat-icon-blue {
  background: linear-gradient(135deg, #1b4dff, #0a2fb8);
  box-shadow: 0 10px 22px rgba(27, 77, 255, 0.25);
}
.ad-stat-icon-orange {
  background: linear-gradient(135deg, #e85d04, #f59e0b);
  box-shadow: 0 10px 22px rgba(232, 93, 4, 0.28);
}
.ad-stat-icon-amber {
  background: linear-gradient(135deg, #d97706, #fbbf24);
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.28);
}
.ad-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hp-muted);
  margin-bottom: 0.4rem;
}
.ad-stat-value {
  font-family: var(--hp-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.7rem;
  color: var(--sc-ink);
}
.ad-stat-value-sm { font-size: 1.15rem; line-height: 1.2; }
.ad-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sc-primary);
  text-decoration: none;
}
.ad-stat-link:hover { color: var(--sc-secondary); }
.ad-stat-link i { transition: transform 0.2s ease; }
.ad-stat-link:hover i { transform: translateX(3px); }

.ad-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.ad-mini {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--sc-bg);
  border: 1px solid var(--sc-border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ad-mini-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hp-muted);
}
.ad-mini strong {
  font-family: var(--hp-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sc-ink);
}

.ad-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.ad-shortcut {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: var(--sc-bg);
  border: 1px solid var(--sc-border);
  text-decoration: none;
  color: var(--sc-ink);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ad-shortcut:hover {
  color: var(--sc-ink);
  background: var(--sc-surface);
  border-color: rgba(27, 77, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 77, 255, 0.08);
}
.ad-shortcut-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27, 77, 255, 0.12), rgba(232, 93, 4, 0.1));
  color: var(--sc-primary);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.ad-shortcut-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.ad-shortcut-copy strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}
.ad-shortcut-copy small {
  font-size: 0.74rem;
  color: var(--hp-muted);
  font-weight: 500;
}
.ad-shortcut-arrow {
  color: var(--hp-muted);
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.ad-shortcut:hover .ad-shortcut-arrow {
  color: var(--sc-primary);
  transform: translateX(3px);
}

.ad-section { margin-top: 1.5rem; }

@media (max-width: 1099.98px) {
  .ad-metrics { grid-template-columns: 1fr 1fr; }
  .ad-sales { grid-column: 1 / -1; }
  .ad-shortcuts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
  .ad-hero { padding: 1.4rem 1.25rem 2.2rem; border-radius: 22px; }
  .ad-hero-actions { width: 100%; }
  .ad-hero-actions .ud-btn-solid,
  .ad-hero-actions .ud-btn-glass { flex: 1; justify-content: center; }
  .ad-shell { margin: -1.35rem 0.35rem 0; padding: 0.95rem; border-radius: 20px; }
  .ad-metrics { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .ad-mini-grid { grid-template-columns: 1fr; }
  .ad-shortcuts { grid-template-columns: 1fr; }
  .ad-stat-value-sm { font-size: 1.05rem; }
}

/* Admin subpage helpers */
.ad-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ad-search .form-control {
  min-width: 180px;
  max-width: 280px;
}
.ad-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ad-item-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--sc-border);
}
.ad-item-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  grid-template-columns: none;
}
.ad-upload-form {
  display: grid;
  gap: 0.5rem;
}
.ad-plans-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.15rem;
  align-items: start;
}
.ad-tabs-wrap {
  padding: 0.85rem 1rem 0;
  border-bottom: 1px solid var(--sc-border);
  overflow-x: auto;
}
.ad-tabs {
  border-bottom: none;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.ad-tabs .nav-link {
  border: none;
  border-radius: 10px 10px 0 0;
  color: var(--hp-muted);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
  white-space: nowrap;
}
.ad-tabs .nav-link:hover {
  color: var(--sc-primary);
  background: rgba(27, 77, 255, 0.05);
}
.ad-tabs .nav-link.active {
  color: var(--sc-primary);
  background: rgba(27, 77, 255, 0.08);
  box-shadow: inset 0 -2px 0 var(--sc-primary);
}
.ad-tabs .nav-link.ad-tab-oos {
  color: #b91c1c;
}
.ad-tabs .nav-link.ad-tab-oos.active {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  box-shadow: inset 0 -2px 0 #ef4444;
}
.ad-tab-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #fee2e2;
  color: #b91c1c;
  vertical-align: middle;
}
.ad-network-stock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.85rem 1rem 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--sc-border);
  background: var(--sc-bg);
}
.ad-network-stock.is-out-of-stock {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.06);
}
.ad-network-stock-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.ad-network-stock-copy p {
  margin: 0;
  color: var(--hp-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.ad-network-stock-form {
  flex-shrink: 0;
}
.ad-details {
  margin-top: 0.35rem;
}
.ad-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--sc-primary);
  font-size: 0.82rem;
}
.ad-details pre {
  margin: 0.5rem 0 0;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--sc-bg);
  border: 1px solid var(--sc-border);
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.78rem;
  max-height: 220px;
  overflow: auto;
}
.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sc-primary), #0a2fb8);
  color: #fff;
  font-family: var(--hp-display);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Admin users directory */
.ad-users-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1.1rem;
}
.ad-user-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  background: var(--sc-surface);
}
.ad-user-card.is-disabled {
  opacity: 0.78;
  background: rgba(148, 163, 184, 0.06);
}
.ad-user-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.ad-user-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.ad-user-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.ad-user-copy strong {
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--sc-ink);
}
.ad-user-id {
  font-size: 0.78rem;
  color: var(--hp-muted);
  font-weight: 600;
}
.ad-user-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.ad-user-contact {
  display: grid;
  gap: 0.35rem;
}
.ad-user-contact span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-size: 0.84rem;
  color: var(--hp-muted);
  word-break: break-word;
}
.ad-user-contact i {
  color: var(--sc-primary);
  opacity: 0.7;
  flex-shrink: 0;
}
.ad-user-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--sc-border);
}
.ad-user-wallet span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hp-muted);
}
.ad-user-wallet strong {
  font-size: 1rem;
  color: var(--sc-ink);
}
.ad-user-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: flex-end;
}
.ad-users-table tbody tr.is-disabled {
  opacity: 0.72;
}
.ad-users-table .ad-user-contact-cell {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.ad-users-table .ad-user-email {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sc-ink);
  word-break: break-word;
}
.ad-users-table .ad-user-phone {
  font-size: 0.8rem;
  color: var(--hp-muted);
}
.ad-users-table .ad-user-wallet-cell strong {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  white-space: nowrap;
}
.ad-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}
.ad-role-admin {
  color: #6d28d9;
  background: rgba(109, 40, 217, 0.1);
  border-color: rgba(109, 40, 217, 0.22);
}
.ad-role-agent {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
}
.ad-role-user {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.22);
}
.ad-user-modal-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sc-border);
}
.ad-user-modal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.1rem;
}
.ad-user-modal-grid {
  display: grid;
  gap: 0.85rem;
}
.ad-user-modal-grid .text-muted {
  display: block;
  margin-bottom: 0.15rem;
}

@media (max-width: 1099.98px) {
  .ad-plans-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .ad-search { width: 100%; }
  .ad-search .form-control { max-width: none; flex: 1; }
  .ua-panel-head .ad-filter-bar,
  .ua-panel-head .ad-search { width: 100%; }
}

/* Legacy hero/home blocks kept for other pages referencing old classes */
.hero-modern {
  padding: 6rem 0;
  position: relative;
}
.hero-modern-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(79, 70, 229, 0.1);
  color: var(--sc-primary);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
}
[data-bs-theme=dark] .hero-modern-tag {
  background: rgba(129, 140, 248, 0.15);
  color: #a5b4fc;
}
.hero-modern-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.hero-modern-highlight {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary), var(--sc-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-modern-desc {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
[data-bs-theme=dark] .hero-modern-desc { color: #94a3b8; }

.hero-modern-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; border-top: 1px solid var(--sc-border); padding-top: 2rem; }
.hero-stat-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 700;
  color: var(--sc-ink);
}
.hero-stat-item i { color: var(--sc-primary); font-size: 1.5rem; }

/* Visuals for Hero */
.hero-modern-visual { position: relative; height: 450px; }
.hero-float-card {
  position: absolute;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 1rem;
  animation: float 6s ease-in-out infinite;
}
[data-bs-theme=dark] .hero-float-card { box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.hero-float-1 { top: 5%; right: 5%; animation-delay: 0s; }
.hero-float-2 { top: 40%; left: 0%; animation-delay: 2s; }
.hero-float-3 { bottom: 5%; right: 15%; animation-delay: 4s; }

.hero-float-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
}
.hero-float-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
.hero-float-value { font-size: 1.6rem; font-weight: 800; color: var(--sc-ink); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Hero Splash Section */
.hero-splash {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}
.hero-splash-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.08), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(14, 165, 233, 0.06), transparent 50%);
  z-index: -1;
}
[data-bs-theme=dark] .hero-splash-bg {
  background: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.15), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(14, 165, 233, 0.12), transparent 50%);
}
.hero-splash-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}
.hero-splash-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sc-primary);
  margin-bottom: 2rem;
}
[data-bs-theme=dark] .hero-splash-label {
  background: rgba(129, 140, 248, 0.1);
  border-color: rgba(129, 140, 248, 0.2);
  color: #a5b4fc;
}
.hero-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sc-primary);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-splash-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--sc-ink);
}
.hero-splash-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 50%, #f43f5e 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 3s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-splash-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 2.5rem;
  font-weight: 500;
}
[data-bs-theme=dark] .hero-splash-subtitle { color: #94a3b8; }
.hero-splash-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.hero-btn:hover::before {
  left: 100%;
}
.hero-btn-primary {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}
.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
  color: #fff;
}
.hero-btn-secondary {
  background: var(--sc-surface);
  color: var(--sc-ink);
  border: 2px solid var(--sc-border);
}
.hero-btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--sc-primary);
  color: var(--sc-primary);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
}
.hero-btn i {
  transition: transform 0.3s;
}
.hero-btn:hover i {
  transform: translateX(4px);
}
.hero-metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
[data-bs-theme=dark] .hero-metrics {
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.hero-metric-item {
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
}
.hero-metric-value {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.hero-metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
[data-bs-theme=dark] .hero-metric-label { color: #94a3b8; }
.hero-metric-divider {
  width: 1px;
  height: 45px;
  background: linear-gradient(to bottom, transparent, var(--sc-border), transparent);
}

@media (max-width: 767.98px) {
  .hero-metrics {
    display: flex;
    gap: 0.65rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    max-width: 100%;
  }
  .hero-metric-item {
    flex: 1;
    padding: 1rem 0.5rem;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  }
  .hero-metric-value {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  .hero-metric-label {
    font-size: 0.6rem;
    line-height: 1.3;
  }
  .hero-metric-divider {
    display: none;
  }
}
.hero-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(60px);
  animation: float-random 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  bottom: -150px;
  left: -100px;
  animation-delay: 7s;
}
.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  top: 50%;
  right: -50px;
  animation-delay: 14s;
}
@keyframes float-random {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}
.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}
.animate-slide-up-delay {
  animation: slideUp 0.8s ease-out 0.2s both;
}
.animate-slide-up-delay-2 {
  animation: slideUp 0.8s ease-out 0.4s both;
}
.animate-fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.6s both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Why Choose Section */
.why-choose {
  background: var(--sc-bg);
}
.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(79, 70, 229, 0.08);
  color: var(--sc-primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
[data-bs-theme=dark] .section-badge {
  background: rgba(129, 140, 248, 0.12);
  color: #a5b4fc;
}
.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
}
.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-secondary));
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-box:hover::before {
  opacity: 1;
}
.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.2);
}
[data-bs-theme=dark] .feature-box:hover {
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.3);
}
.feature-icon-wrapper {
  margin-bottom: 1.5rem;
}
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.feature-box:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}
.feature-box-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--sc-ink);
}
.feature-box-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
[data-bs-theme=dark] .feature-box-text { color: #94a3b8; }

/* Home Networks */
.home-networks {
  background: var(--sc-surface);
}
.home-section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--sc-ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.home-section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}
[data-bs-theme=dark] .home-section-subtitle { color: #94a3b8; }

.home-network-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.home-network-card:hover {
  transform: translateY(-6px);
  border-color: var(--sc-primary);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.12);
}
[data-bs-theme=dark] .home-network-card:hover {
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.3);
}
.home-network-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--sc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.home-network-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.home-network-logo i {
  font-size: 2.5rem;
  color: var(--sc-primary);
}
.home-network-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--sc-ink);
}
.home-network-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sc-secondary);
  margin-top: auto;
}
.home-network-card:hover .home-network-action i {
  transform: translateX(4px);
  transition: transform 0.2s;
}

/* Home How It Works */
.home-how-it-works {
  background: var(--sc-bg);
}
.home-step-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  position: relative;
  transition: all 0.3s;
}
.home-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(79, 70, 229, 0.1);
}
.home-step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--sc-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
[data-bs-theme=dark] .home-step-icon {
  background: rgba(129, 140, 248, 0.12);
  color: #818cf8;
}
.home-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--sc-ink);
}
.home-step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
[data-bs-theme=dark] .home-step-desc { color: #94a3b8; }

/* Home FAQ */
.home-faq {
  background: var(--sc-surface);
}
.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.home-faq-item {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
}
.home-faq-item:hover {
  border-color: var(--sc-primary);
}
.home-faq-item[open] {
  border-color: var(--sc-primary);
  background: rgba(79, 70, 229, 0.02);
}
[data-bs-theme=dark] .home-faq-item[open] {
  background: rgba(79, 70, 229, 0.08);
}
.home-faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sc-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.home-faq-question::-webkit-details-marker {
  display: none;
}
.home-faq-question i {
  color: var(--sc-primary);
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.home-faq-item[open] .home-faq-question i {
  transform: rotate(180deg);
}
.home-faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sc-border);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748b;
}
[data-bs-theme=dark] .home-faq-answer { color: #94a3b8; }

/* Network Cards (Legacy) */
.network-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  background: var(--sc-surface);
  border-radius: 24px;
}
.network-card:hover {
  transform: translateY(-8px);
  border-color: var(--sc-primary);
  box-shadow: 0 25px 50px rgba(79, 70, 229, 0.15);
}
.network-thumb {
  height: 160px;
  background: var(--sc-bg);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--sc-border);
  padding: 1.5rem;
  border-top-left-radius: 22px; border-top-right-radius: 22px;
}
.network-thumb img {
  max-height: 100%; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
}
.network-thumb-fallback { font-size: 4rem; color: var(--sc-primary); }
.icon-pill {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(79, 70, 229, 0.1);
  color: var(--sc-primary);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  font-size: 1.2rem;
}
.network-card:hover .icon-pill {
  background: var(--sc-primary);
  color: #fff;
  transform: rotate(-45deg);
}

/* Auth Pages (Login/Register): full-bleed canvas */
.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  background: #07122e;
  color: #fff;
}
.auth-shell .public-main.auth-main {
  flex: 1 1 auto;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}
.auth-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.auth-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(7, 18, 46, 0.2), transparent 55%),
    linear-gradient(165deg, #081530 0%, #0d2470 42%, #1b4dff 78%, #c2410c 130%);
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.auth-orb-a {
  width: min(54vw, 420px);
  aspect-ratio: 1;
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.55) 0%, transparent 68%);
  animation: auth-orb-drift 14s ease-in-out infinite alternate;
}
.auth-orb-b {
  width: min(70vw, 520px);
  aspect-ratio: 1;
  bottom: -18%;
  left: -16%;
  background: radial-gradient(circle, rgba(27, 77, 255, 0.55) 0%, transparent 70%);
  animation: auth-orb-drift 18s ease-in-out infinite alternate-reverse;
}
.auth-orb-c {
  width: min(40vw, 280px);
  aspect-ratio: 1;
  top: 38%;
  left: 42%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  animation: auth-orb-pulse 9s ease-in-out infinite;
}
.auth-signal {
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(
      circle at 72% 28%,
      transparent 0,
      transparent 38px,
      rgba(255, 255, 255, 0.035) 39px,
      transparent 40px
    );
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  animation: auth-signal-soft 1.2s ease both;
}

.auth-chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem 0;
}
.auth-chrome-home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, color 0.2s ease;
}
.auth-chrome-home:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.auth-theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.auth-theme-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.auth-center {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.15rem 1.75rem;
  width: 100%;
}

.auth-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 0.55rem;
  animation: auth-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.auth-wordmark .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.auth-wordmark .brand-mark img {
  width: 30px;
  height: 30px;
}
.auth-wordmark-text {
  font-family: var(--hp-display);
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.auth-tagline {
  margin: 0 0 1.6rem;
  text-align: center;
  max-width: 28ch;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.86);
  animation: auth-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.auth-sheet {
  width: 100%;
  max-width: 420px;
  background: #fff;
  color: var(--sc-ink);
  border-radius: 22px;
  padding: 1.65rem 1.4rem 1.5rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 24px 60px rgba(3, 10, 30, 0.35);
  animation: auth-sheet-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.auth-sheet:has(.auth-form-wide) {
  max-width: 520px;
  padding: 1.75rem 1.5rem 1.6rem;
}

.auth-credit {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.55);
}
.auth-credit a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
}
.auth-credit a:hover { color: #fff; }

.auth-flash { margin-bottom: 1.1rem; }

.auth-form { width: 100%; }
.auth-form-header {
  margin-bottom: 1.35rem;
  text-align: center;
}
.auth-form-title {
  margin: 0 0 0.35rem;
  font-family: var(--hp-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sc-ink);
}
.auth-form-subtitle {
  margin: 0 auto;
  color: var(--hp-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 32ch;
}

.auth-form-fields {
  display: grid;
  gap: 0.95rem;
}
.auth-field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}
.auth-field-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sc-ink);
}
.auth-field-label em {
  font-style: normal;
  font-weight: 500;
  color: var(--hp-muted);
  margin-left: 0.25rem;
}
.auth-field-control {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-field-control > i {
  position: absolute;
  left: 0.95rem;
  color: #8b93a3;
  font-size: 1.05rem;
  pointer-events: none;
  transition: color 0.2s ease;
}
.auth-field-control input {
  width: 100%;
  border: 1.5px solid rgba(11, 18, 32, 0.12);
  border-radius: 12px;
  background: #f5f7fb;
  color: var(--sc-ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.88rem 1rem 0.88rem 2.7rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.auth-field-control.has-password-toggle input { padding-right: 3rem; }
.auth-field-control input::placeholder { color: #9aa3b2; }
.auth-field-control input:focus {
  outline: none;
  border-color: var(--sc-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 77, 255, 0.12);
}
.auth-field-control:focus-within > i { color: var(--sc-primary); }
.auth-pass-toggle {
  position: absolute;
  right: 0.5rem;
  border: none;
  background: transparent;
  color: #8b93a3;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-pass-toggle:hover {
  color: var(--sc-primary);
  background: rgba(27, 77, 255, 0.08);
}
.auth-field-hint {
  font-size: 0.76rem;
  color: var(--hp-muted);
}
.auth-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}
.auth-form-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.15rem;
}
.auth-text-link {
  color: var(--sc-primary);
  font-weight: 700;
  text-decoration: none;
}
.auth-text-link:hover {
  text-decoration: underline;
  color: #1339d6;
}

.auth-submit {
  margin-top: 0.2rem;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--sc-secondary);
  color: #fff;
  font-family: var(--hp-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px rgba(232, 93, 4, 0.32);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.auth-submit i { transition: transform 0.2s ease; }
.auth-submit:hover {
  background: #ff6a14;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(232, 93, 4, 0.4);
  color: #fff;
}
.auth-submit:hover i { transform: translateX(3px); }
.auth-submit:active { transform: translateY(0); }

.auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--hp-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

@keyframes auth-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes auth-sheet-in {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auth-orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-6%, 8%) scale(1.08); }
}
@keyframes auth-orb-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.12); }
}
@keyframes auth-signal-soft {
  from { opacity: 0; }
  to { opacity: 1; }
}

[data-bs-theme=dark] .auth-sheet {
  background: #121a2b;
  color: #f1f5f9;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
[data-bs-theme=dark] .auth-form-title { color: #f8fafc; }
[data-bs-theme=dark] .auth-form-subtitle,
[data-bs-theme=dark] .auth-switch,
[data-bs-theme=dark] .auth-field-hint { color: #94a3b8; }
[data-bs-theme=dark] .auth-field-label { color: #e2e8f0; }
[data-bs-theme=dark] .auth-field-control input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}
[data-bs-theme=dark] .auth-field-control input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.15);
}
[data-bs-theme=dark] .auth-text-link { color: #93c5fd; }
[data-bs-theme=dark] .auth-text-link:hover { color: #bfdbfe; }

@media (max-width: 575.98px) {
  .auth-field-grid { grid-template-columns: 1fr; }
  .auth-sheet {
    border-radius: 18px;
    padding: 1.4rem 1.15rem 1.3rem;
  }
  .auth-wordmark-text { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  .auth-tagline { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .auth-center { justify-content: flex-start; padding-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-orb-a,
  .auth-orb-b,
  .auth-orb-c,
  .auth-signal,
  .auth-wordmark,
  .auth-tagline,
  .auth-sheet {
    animation: none;
  }
}

/* Forms & Tables */
.form-control, .form-select {
  border-radius: 14px; border: 2px solid var(--sc-border);
  padding: 0.85rem 1.1rem;
  background: var(--sc-bg); color: var(--sc-ink); font-weight: 500;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sc-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  background: var(--sc-surface);
}
[data-bs-theme=dark] .form-control, [data-bs-theme=dark] .form-select {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #fff;
}
[data-bs-theme=dark] .form-control:focus, [data-bs-theme=dark] .form-select:focus {
  background: rgba(255,255,255,0.1); border-color: var(--sc-primary);
}

.table { color: var(--sc-ink); }
.table th { border-bottom: 2px solid var(--sc-border); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; color: #64748b; padding: 1rem; }
.table td { border-bottom: 1px solid var(--sc-border); padding: 1.2rem 1rem; vertical-align: middle; font-weight: 500; }
[data-bs-theme=dark] .table { color: var(--sc-ink); }
[data-bs-theme=dark] .table th { color: #94a3b8; border-color: var(--sc-border); }
[data-bs-theme=dark] .table td { border-color: var(--sc-border); }

/* Dashboard Cards and Stat Cards */
.modern-stat-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: var(--sc-shadow);
  transition: all 0.2s;
}
.modern-stat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--sc-primary); }
[data-bs-theme=dark] .modern-stat-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.modern-stat-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}
.modern-stat-label { font-size: 0.85rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.modern-stat-value { font-size: 2.2rem; font-weight: 800; color: var(--sc-ink); line-height: 1; }
.modern-stat-action {
  font-weight: 700; font-size: 0.9rem; color: var(--sc-primary);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.5rem;
}
.modern-stat-action:hover { color: var(--sc-secondary); gap: 0.75rem; transition: gap 0.2s; }

/* Plan Card */
.plan-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card:hover {
  border-color: var(--sc-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12);
}
[data-bs-theme=dark] .plan-card:hover {
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.3);
}
.plan-card-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--sc-bg);
  border-bottom: 1px solid var(--sc-border);
}
.plan-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.plan-card-icon img,
.plan-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.plan-card-icon i {
  font-size: 2.5rem;
  color: var(--sc-primary);
}
.plan-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 0.35rem 0.85rem;
  background: rgba(79, 70, 229, 0.08);
  border-radius: 8px;
}
[data-bs-theme=dark] .plan-card-badge {
  background: rgba(129, 140, 248, 0.15);
  color: #94a3b8;
}
.plan-card-body {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.plan-card-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sc-ink);
  line-height: 1.3;
}
.plan-card-price {
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--sc-primary);
  line-height: 1;
}
.plan-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--sc-border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sc-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.03);
}
[data-bs-theme=dark] .plan-card-footer {
  background: rgba(14, 165, 233, 0.08);
}
.plan-card:hover .plan-card-footer {
  background: rgba(14, 165, 233, 0.1);
}
.plan-card:hover .plan-card-footer i {
  transform: translateX(4px);
  transition: transform 0.2s;
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
  .plan-card {
    border-radius: 16px;
  }
  .plan-card-header {
    padding: 1rem 1rem 0.75rem;
  }
  .plan-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }
  .plan-card-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }
  .plan-card-body {
    padding: 1rem 0.75rem;
  }
  .plan-card-name {
    font-size: 0.95rem;
  }
  .plan-card-price {
    font-size: 1.4rem;
  }
  .plan-card-footer {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  .wallet-balance-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
    gap: 1.25rem;
  }
  .wallet-balance-amount {
    font-size: 2.25rem;
  }
  .network-hero-title {
    font-size: 1.75rem;
  }
  .network-hero-subtitle {
    font-size: 0.85rem;
  }
}

/* Wallet Card */
.wallet-balance-card {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-accent-2));
  border-radius: 24px; padding: 2.5rem; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
  position: relative; overflow: hidden;
}
.wallet-balance-card::after {
  content: '\F615'; font-family: bootstrap-icons; position: absolute; right: -20px; bottom: -40px;
  font-size: 12rem; opacity: 0.1; transform: rotate(-15deg);
}
.wallet-balance-info { position: relative; z-index: 1; }
.wallet-balance-label { font-size: 0.95rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.wallet-balance-amount { font-size: 3rem; font-weight: 900; margin-top: 0.5rem; line-height: 1; text-shadow: 0 4px 10px rgba(0,0,0,0.2); word-break: break-word; }
.pricing-badge-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border); border-radius: 24px; padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  height: 100%; box-shadow: var(--sc-shadow);
}
.pricing-badge-icon {
  width: 64px; height: 64px; border-radius: 18px; background: rgba(14, 165, 233, 0.1); color: var(--sc-secondary);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem;
}
.pricing-badge-text { font-weight: 800; font-size: 1.1rem; color: var(--sc-ink); }

/* Utilities */
.badge-soft {
  background: rgba(27, 77, 255, 0.1);
  color: var(--sc-primary);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}
[data-bs-theme=dark] .badge-soft { background: rgba(147, 197, 253, 0.16); color: #93c5fd; }

.section-title { font-size: 1.8rem; font-weight: 800; color: var(--sc-ink); margin-bottom: 0.5rem; }
.section-subtitle { font-size: 1.1rem; color: #64748b; font-weight: 500; margin-bottom: 2rem; }

.flash-banner {
  border-radius: 16px; padding: 1.25rem 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  font-weight: 600; border: none; box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.flash-banner i { font-size: 1.5rem; margin-top: -2px; }
.flash-banner.alert-success { background: #ecfdf5; color: #047857; }
.flash-banner.alert-danger { background: #fef2f2; color: #b91c1c; }
.flash-banner.alert-warning { background: #fffbeb; color: #b45309; }
.flash-banner.alert-info { background: #eff6ff; color: #1d4ed8; }
[data-bs-theme=dark] .flash-banner.alert-success { background: rgba(16, 185, 129, 0.15); color: #34d399; }
[data-bs-theme=dark] .flash-banner.alert-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.whatsapp-support-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 64px; height: 64px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  transition: all 0.2s; z-index: 999; text-decoration: none;
  border: none;
}
.whatsapp-support-fab:hover { transform: scale(1.1) translateY(-5px); color: #fff; box-shadow: 0 20px 45px rgba(37, 211, 102, 0.5); }

.whatsapp-options-modal .modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.whatsapp-options-badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.whatsapp-options-modal .modal-body p {
  line-height: 1.4;
}

.quick-order-fab {
  position: fixed;
  bottom: 104px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, var(--sc-primary), #0a2fb8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 14px 30px rgba(27, 77, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 999;
  cursor: pointer;
}
.quick-order-fab:hover {
  transform: scale(1.08) translateY(-4px);
  color: #fff;
  box-shadow: 0 18px 36px rgba(27, 77, 255, 0.45);
}
.quick-order-fab.is-ready {
  animation: qo-fab-pulse 2.4s ease-in-out infinite;
}
@keyframes qo-fab-pulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(27, 77, 255, 0.35); }
  50% { box-shadow: 0 14px 30px rgba(27, 77, 255, 0.35), 0 0 0 10px rgba(27, 77, 255, 0.12); }
}

/* Quick Order popup: matches checkout card language */
.qo-checkout-modal .modal-dialog { max-width: 460px; }
.qo-card-head {
  background:
    radial-gradient(ellipse 70% 110% at 0% 0%, rgba(27, 77, 255, 0.55), transparent 55%),
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(232, 93, 4, 0.32), transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #13204a 48%, #1b4dff 100%);
}
.qo-pay-field { margin-top: 1.2rem; }

.qo-beneficiary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--sc-border);
  background:
    linear-gradient(135deg, rgba(27, 77, 255, 0.05), rgba(232, 93, 4, 0.04));
}
[data-bs-theme=dark] .qo-beneficiary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.qo-beneficiary-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #1b4dff, #4338ca);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 8px 16px rgba(27, 77, 255, 0.25);
}
.qo-beneficiary-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.qo-beneficiary-copy span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
[data-bs-theme=dark] .qo-beneficiary-copy span { color: #94a3b8; }
.qo-beneficiary-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--sc-ink);
  font-variant-numeric: tabular-nums;
}
.qo-beneficiary-edit {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-primary);
  background: rgba(27, 77, 255, 0.08);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.qo-beneficiary-edit:hover {
  background: rgba(27, 77, 255, 0.16);
  color: var(--sc-primary);
  transform: translateY(-1px);
}

.qo-empty-card {
  position: relative;
  text-align: center;
  padding: 1.35rem 0.75rem 0.5rem;
  overflow: hidden;
}
.qo-empty-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 140px;
  background: radial-gradient(ellipse at center, rgba(27, 77, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.qo-empty-icon {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--sc-primary), #4338ca);
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 16px 32px rgba(27, 77, 255, 0.3);
}
.qo-empty-card h3 {
  position: relative;
  font-family: var(--hp-display, inherit);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  color: var(--sc-ink);
}
.qo-empty-card p {
  position: relative;
  margin: 0 auto 1.25rem;
  max-width: 28ch;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: #64748b;
}
[data-bs-theme=dark] .qo-empty-card p { color: #94a3b8; }
.qo-empty-cta {
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #fff;
}
.qo-empty-cta:hover { color: #fff; }

.qo-saved-summary {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--sc-border);
  background: rgba(27, 77, 255, 0.05);
}
.qo-saved-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sc-muted, #64748b);
  margin-bottom: 0.35rem;
}
.qo-saved-value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}
.qo-saved-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--sc-primary);
}

@media (max-width: 575.98px) {
  .quick-order-fab {
    width: 52px;
    height: 52px;
    bottom: 96px;
    right: 16px;
    font-size: 1.3rem;
  }
  .whatsapp-support-fab {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
    font-size: 1.9rem;
  }
  .qo-checkout-modal .modal-dialog {
    margin: 0.75rem;
  }
}

/* Dashboard Responsive */
@media (max-width: 991.98px) {
  .dash-shell { flex-direction: column; }
  .dash-sidebar { display: none; }
  .dash-content { padding: 1.5rem 1rem; }
}

.step-pill {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(79, 70, 229, 0.1); color: var(--sc-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; flex: 0 0 auto;
}
[data-bs-theme=dark] .step-pill { background: rgba(129, 140, 248, 0.2); color: #a5b4fc; }

details.howto {
  background: var(--sc-surface); border: 1px solid var(--sc-border);
  border-radius: 16px; padding: 1.25rem 1.5rem; cursor: pointer; transition: all 0.2s;
}
details.howto:hover { border-color: var(--sc-primary); }
details.howto summary { font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.howto summary::-webkit-details-marker { display: none; }
details.howto summary::after { content: '\F282'; font-family: bootstrap-icons; color: var(--sc-primary); font-size: 1.2rem; }
details.howto[open] summary::after { content: '\F286'; }
details.howto .text-muted { margin-top: 1rem; font-size: 0.95rem; line-height: 1.6; }

.order-card, .wallet-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.2s;
}
.order-card:hover, .wallet-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.06); transform: translateY(-2px); border-color: var(--sc-secondary); }
.order-card-header, .wallet-card-header {
  padding: 1.25rem 1.5rem; background: rgba(15, 23, 42, 0.02);
  border-bottom: 1px solid var(--sc-border); display: flex; justify-content: space-between; align-items: center;
}
[data-bs-theme=dark] .order-card-header, [data-bs-theme=dark] .wallet-card-header { background: rgba(255,255,255,0.02); }
.order-card-body, .wallet-card-body { padding: 1.5rem; }
.order-card-footer, .wallet-card-footer {
  padding: 1.25rem 1.5rem; background: rgba(15, 23, 42, 0.02);
  border-top: 1px solid var(--sc-border); display: flex; justify-content: space-between; align-items: center;
}
.order-detail-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.order-detail-row:last-child { margin-bottom: 0; }
.order-detail-label { color: #64748b; font-weight: 600; font-size: 0.9rem; }
.order-detail-value { font-weight: 700; color: var(--sc-ink); }

.order-status { padding: 0.4rem 0.8rem; border-radius: 10px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.order-status-success { color: #047857; background: #d1fae5; border: 1px solid #10b981; }
.order-status-failed { color: #b91c1c; background: #fee2e2; border: 1px solid #ef4444; }
.order-status-pending { color: #b45309; background: #fef3c7; border: 1px solid #f59e0b; }
.order-status-processing { color: #1d4ed8; background: #dbeafe; border: 1px solid #3b82f6; }
[data-bs-theme=dark] .order-status-success { color: #34d399; background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }
[data-bs-theme=dark] .order-status-failed { color: #f87171; background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); }

.modern-link { color: var(--sc-primary); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; }
.modern-link:hover { text-decoration: underline; color: var(--sc-secondary); }

.admin-user-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px; padding: 1.5rem; margin-bottom: 1.25rem;
  transition: all 0.2s; display: flex; justify-content: space-between; align-items: flex-start;
}
.admin-user-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.06); border-color: var(--sc-secondary); }
.admin-user-card .admin-user-avatar {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(14, 165, 233, 0.15));
  color: var(--sc-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem;
}

.modern-upgrade-banner {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(244, 63, 94, 0.08));
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 24px; padding: 2rem;
  display: flex; align-items: center; gap: 2rem;
}
[data-bs-theme=dark] .modern-upgrade-banner { background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(244, 63, 94, 0.15)); }
.modern-upgrade-icon {
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}
.modern-upgrade-title { font-weight: 800; font-size: 1.35rem; margin-bottom: 0.25rem; color: var(--sc-ink); }
.modern-upgrade-desc { color: #64748b; font-size: 1.05rem; margin: 0; font-weight: 500; }
[data-bs-theme=dark] .modern-upgrade-desc { color: #94a3b8; }

.network-logo, .network-logo-sm {
  border-radius: 16px; background: var(--sc-bg); border: 1px solid var(--sc-border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.network-logo { width: 64px; height: 64px; }
.network-logo-sm { width: 48px; height: 48px; }
.network-logo img, .network-logo-sm img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

.wallet-type {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wallet-type-credit { color: #047857; background: #d1fae5; }
.wallet-type-debit { color: #b91c1c; background: #fee2e2; }
[data-bs-theme=dark] .wallet-type-credit { color: #34d399; background: rgba(16, 185, 129, 0.15); }
[data-bs-theme=dark] .wallet-type-debit { color: #f87171; background: rgba(239, 68, 68, 0.15); }
.wallet-amount-credit { color: #10b981; }
.wallet-amount-debit { color: #ef4444; }

.wallet-balance-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--sc-bg); border-radius: 16px; margin-top: 1rem; }
.wallet-balance-item { display: flex; flex-direction: column; }

.modern-network-card {
  background: var(--sc-surface); border: 1px solid var(--sc-border); border-radius: 20px;
  padding: 1.5rem; text-align: center; transition: all 0.2s; position: relative;
}
.modern-network-card:hover { transform: translateY(-5px); border-color: var(--sc-primary); box-shadow: 0 15px 35px rgba(79, 70, 229, 0.15); }
.modern-network-logo { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 16px; background: var(--sc-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modern-network-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.modern-network-name { font-weight: 800; font-size: 1.1rem; color: var(--sc-ink); }
.modern-network-arrow { position: absolute; top: 1rem; right: 1rem; color: var(--sc-primary); opacity: 0; transform: translateX(-10px); transition: all 0.2s; font-size: 1.2rem; }
.modern-network-card:hover .modern-network-arrow { opacity: 1; transform: translateX(0); }

.kpi { font-size: 2.5rem; font-weight: 900; line-height: 1; color: var(--sc-ink); }
.dashboard-welcome-title { font-size: 2rem; font-weight: 800; color: var(--sc-ink); margin-bottom: 0.25rem; }
.dashboard-welcome-subtitle { color: #64748b; font-size: 1.1rem; font-weight: 500; }

/* Modal Fixes */
.modal-backdrop {
  z-index: 1050 !important;
}
.modal {
  z-index: 1055 !important;
}
.modal-content {
  border-radius: 24px;
  border: 1px solid var(--sc-border);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  background: var(--sc-surface);
}
[data-bs-theme=dark] .modal-content {
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}
.modal-header {
  border-bottom: 1px solid var(--sc-border);
  padding: 1.5rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.modal-body {
  padding: 1.5rem;
}
.modal-footer {
  border-top: 1px solid var(--sc-border);
  padding: 1.25rem 1.5rem;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

/* Purchase Success Modal */
.success-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
}

/* Network Hero */
.network-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sc-ink);
  margin-bottom: 0.5rem;
}
.network-hero-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sc-secondary);
  margin-bottom: 0.5rem;
}

/* Mobile Hamburger Button */
.nav-burger {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  color: var(--sc-ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger:hover { background: rgba(27, 77, 255, 0.06); }
.nav-burger:active { transform: scale(0.9); }
.nav-burger:focus-visible {
  outline: 2px solid var(--sc-primary);
  outline-offset: 2px;
}
[data-bs-theme=dark] .nav-burger { color: var(--sc-ink); }
[data-bs-theme=dark] .nav-burger:hover { background: rgba(147, 197, 253, 0.12); }

.nav-burger-box {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}
.nav-burger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
}
.nav-burger-line:nth-child(1) { top: 0; }
.nav-burger-line:nth-child(2) { top: 6px; width: 70%; }
.nav-burger-line:nth-child(3) { top: 12px; }
.nav-burger:hover .nav-burger-line:nth-child(2) { width: 100%; }

.nav-burger.is-open .nav-burger-line:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-burger.is-open .nav-burger-line:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-burger.is-open .nav-burger-line:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Hamburger on transparent hero navbars (network page) */
.hero-shell:not(.home-shell) .navbar-home .nav-burger {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.hero-shell:not(.home-shell) .navbar-home .nav-burger:hover {
  background: rgba(255, 255, 255, 0.12);
}
.hero-shell.navbar-scrolled .navbar-home .nav-burger {
  color: var(--sc-ink);
  border-color: var(--sc-border);
}
.hero-shell.navbar-scrolled .navbar-home .nav-burger:hover {
  background: rgba(27, 77, 255, 0.06);
}

/* Mobile Offcanvas Drawer: branded palette */
.mobile-drawer {
  --drawer-ink: #f8fafc;
  --drawer-muted: rgba(248, 250, 252, 0.72);
  --drawer-panel: #0b1220;
  --drawer-panel-2: #132045;
  --drawer-body: #f0f4ff;
  --drawer-item: #ffffff;
  --drawer-item-ink: #0b1220;
  --drawer-item-hover: #e8efff;
  --drawer-accent: #e85d04;
  --drawer-accent-ink: #ffffff;
  --drawer-line: rgba(248, 250, 252, 0.14);
  --drawer-soft: rgba(27, 77, 255, 0.1);
  --bs-offcanvas-width: min(320px, 86vw);
  background:
    radial-gradient(ellipse 80% 45% at 100% 0%, rgba(27, 77, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(232, 93, 4, 0.1), transparent 50%),
    linear-gradient(180deg, var(--drawer-body) 0%, #eef2f7 100%);
  border: none;
  color: var(--drawer-item-ink);
}
.mobile-drawer.offcanvas-end {
  border-radius: 20px 0 0 20px;
  box-shadow: -24px 0 60px rgba(11, 18, 32, 0.28);
}
.mobile-drawer.offcanvas-start {
  border-radius: 0 20px 20px 0;
  box-shadow: 24px 0 60px rgba(11, 18, 32, 0.28);
}

[data-bs-theme=dark] .mobile-drawer {
  --drawer-ink: #f8fafc;
  --drawer-muted: rgba(248, 250, 252, 0.7);
  --drawer-panel: #070d18;
  --drawer-panel-2: #101a33;
  --drawer-body: #0d1526;
  --drawer-item: #152038;
  --drawer-item-ink: #f1f5f9;
  --drawer-item-hover: #1c2b4a;
  --drawer-line: rgba(248, 250, 252, 0.12);
  --drawer-soft: rgba(147, 197, 253, 0.1);
  background:
    radial-gradient(ellipse 80% 45% at 100% 0%, rgba(27, 77, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(232, 93, 4, 0.12), transparent 50%),
    linear-gradient(180deg, #0d1526 0%, #0b1220 100%);
}
[data-bs-theme=dark] .mobile-drawer.offcanvas-end { box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55); }
[data-bs-theme=dark] .mobile-drawer.offcanvas-start { box-shadow: 24px 0 60px rgba(0, 0, 0, 0.55); }

.mobile-drawer .offcanvas-header {
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, var(--drawer-panel) 0%, var(--drawer-panel-2) 55%, #1b4dff 140%);
  border-bottom: 1px solid var(--drawer-line);
  color: var(--drawer-ink);
}
.mobile-drawer .offcanvas-header .fw-bold,
.mobile-drawer .offcanvas-header #publicOffcanvasLabel,
.mobile-drawer .offcanvas-header #dashSidebarLabel {
  color: var(--drawer-ink);
}
.mobile-drawer .offcanvas-header .brand-mark {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.mobile-drawer .offcanvas-header .btn-close {
  border-radius: 10px;
  filter: invert(1) grayscale(1);
  opacity: 0.85;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.65rem;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
.mobile-drawer .offcanvas-header .btn-close:hover { opacity: 1; background-color: rgba(255, 255, 255, 0.16); }
.mobile-drawer .offcanvas-header .btn-close:active { transform: scale(0.9); }
.mobile-drawer .offcanvas-body {
  padding: 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
}
.mobile-drawer.dashboard-drawer .offcanvas-body { padding: 0; }
.mobile-drawer.dashboard-drawer .sidebar {
  background: transparent;
}
.mobile-drawer.dashboard-drawer .sidebar > .border-bottom,
.mobile-drawer.dashboard-drawer .dash-sidebar-brand {
  display: none;
}
.mobile-drawer.dashboard-drawer .dash-sidebar-body {
  padding: 0.75rem 0 1rem;
}
.mobile-drawer.dashboard-drawer .dash-user-card {
  margin: 0 0.85rem 0.35rem;
}
.mobile-drawer.dashboard-drawer .sidebar .nav-link {
  color: var(--drawer-item-ink);
  background: var(--drawer-item);
  border: 1px solid rgba(11, 18, 32, 0.06);
  opacity: 1;
  margin: 0 0.85rem 0.4rem;
}
.mobile-drawer.dashboard-drawer .sidebar .nav-link:hover {
  background: var(--drawer-item-hover);
  color: #1b4dff;
  transform: translateX(3px);
}
.mobile-drawer.dashboard-drawer .sidebar .nav-link.active {
  background: linear-gradient(135deg, #1b4dff, #1339d6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(27, 77, 255, 0.28);
}
.mobile-drawer.dashboard-drawer .sidebar .nav-link-logout {
  color: #b91c1c;
  margin-top: 0.65rem;
}
.mobile-drawer.dashboard-drawer .sidebar .nav-link-logout:hover {
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
}
.mobile-drawer.dashboard-drawer .sidebar .badge-soft {
  background: rgba(232, 93, 4, 0.14);
  color: #c2410c;
  border: 1px solid rgba(232, 93, 4, 0.22);
}
[data-bs-theme=dark] .mobile-drawer.dashboard-drawer .sidebar .nav-link {
  border-color: rgba(248, 250, 252, 0.08);
}
[data-bs-theme=dark] .mobile-drawer.dashboard-drawer .sidebar .nav-link:hover {
  color: #93c5fd;
}
[data-bs-theme=dark] .mobile-drawer.dashboard-drawer .sidebar .badge-soft {
  background: rgba(232, 93, 4, 0.18);
  color: #fdba74;
  border-color: rgba(232, 93, 4, 0.28);
}

/* Public drawer menu buttons act like menu items */
.mobile-drawer .offcanvas-body .d-grid > .btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  border-radius: 14px;
  box-shadow: none;
  transform: none;
}
.mobile-drawer .offcanvas-body .d-grid > .btn-soft {
  background: var(--drawer-item);
  color: var(--drawer-item-ink);
  border: 1px solid rgba(11, 18, 32, 0.06);
}
.mobile-drawer .offcanvas-body .d-grid > .btn-soft:hover {
  background: var(--drawer-item-hover);
  color: #1b4dff;
  transform: none;
}
.mobile-drawer .offcanvas-body .d-grid > .btn-outline-primary {
  background: var(--drawer-item);
  color: #1b4dff;
  border: 1.5px solid rgba(27, 77, 255, 0.35);
}
.mobile-drawer .offcanvas-body .d-grid > .btn-outline-primary:hover {
  background: #1b4dff;
  color: #fff;
  border-color: #1b4dff;
}
.mobile-drawer .offcanvas-body .d-grid > .btn-primary {
  background: linear-gradient(135deg, var(--drawer-accent), #c2410c);
  color: var(--drawer-accent-ink);
  border: none;
  box-shadow: 0 8px 20px rgba(232, 93, 4, 0.28);
}
.mobile-drawer .offcanvas-body .d-grid > .btn-primary:hover {
  background: linear-gradient(135deg, #d14f00, #9a3412);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(232, 93, 4, 0.34);
}
[data-bs-theme=dark] .mobile-drawer .offcanvas-body .d-grid > .btn-soft {
  border-color: rgba(248, 250, 252, 0.08);
}
[data-bs-theme=dark] .mobile-drawer .offcanvas-body .d-grid > .btn-soft:hover {
  color: #93c5fd;
}
[data-bs-theme=dark] .mobile-drawer .offcanvas-body .d-grid > .btn-outline-primary {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.35);
}
[data-bs-theme=dark] .mobile-drawer .offcanvas-body .d-grid > .btn-outline-primary:hover {
  background: #1b4dff;
  color: #fff;
  border-color: #1b4dff;
}

.wallet-drawer-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.14), rgba(27, 77, 255, 0.1));
  border: 1px solid rgba(232, 93, 4, 0.22);
  color: var(--drawer-item-ink);
}
.wallet-drawer-balance .text-muted { color: #5b6577 !important; }
.wallet-drawer-balance .fw-bold { color: #c2410c; }
[data-bs-theme=dark] .wallet-drawer-balance {
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.18), rgba(27, 77, 255, 0.14));
  border-color: rgba(232, 93, 4, 0.3);
}
[data-bs-theme=dark] .wallet-drawer-balance .text-muted { color: #94a3b8 !important; }
[data-bs-theme=dark] .wallet-drawer-balance .fw-bold { color: #fdba74; }

/* Staggered entrance for drawer items */
@media (prefers-reduced-motion: no-preference) {
  .mobile-drawer.showing .offcanvas-body .d-grid > *,
  .mobile-drawer.show .offcanvas-body .d-grid > *,
  .mobile-drawer.showing .offcanvas-body .nav > *,
  .mobile-drawer.show .offcanvas-body .nav > *,
  .mobile-drawer.showing .wallet-drawer-balance,
  .mobile-drawer.show .wallet-drawer-balance {
    animation: drawer-item-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(1),
  .mobile-drawer .offcanvas-body .nav > :nth-child(1) { animation-delay: 0.05s; }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(2),
  .mobile-drawer .offcanvas-body .nav > :nth-child(2) { animation-delay: 0.1s; }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(3),
  .mobile-drawer .offcanvas-body .nav > :nth-child(3) { animation-delay: 0.15s; }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(4),
  .mobile-drawer .offcanvas-body .nav > :nth-child(4) { animation-delay: 0.2s; }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(5),
  .mobile-drawer .offcanvas-body .nav > :nth-child(5) { animation-delay: 0.25s; }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(6),
  .mobile-drawer .offcanvas-body .nav > :nth-child(6) { animation-delay: 0.3s; }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(7),
  .mobile-drawer .offcanvas-body .nav > :nth-child(7) { animation-delay: 0.35s; }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(8),
  .mobile-drawer .offcanvas-body .nav > :nth-child(8) { animation-delay: 0.4s; }
  .mobile-drawer .offcanvas-body .d-grid > :nth-child(n+9),
  .mobile-drawer .offcanvas-body .nav > :nth-child(n+9) { animation-delay: 0.45s; }
}
@media (prefers-reduced-motion: no-preference) {
  .mobile-drawer.offcanvas-start.showing .offcanvas-body .d-grid > *,
  .mobile-drawer.offcanvas-start.show .offcanvas-body .d-grid > *,
  .mobile-drawer.offcanvas-start.showing .offcanvas-body .nav > *,
  .mobile-drawer.offcanvas-start.show .offcanvas-body .nav > * {
    animation-name: drawer-item-in-left;
  }
}
@keyframes drawer-item-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes drawer-item-in-left {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Site header + ticker */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1045;
}
.site-header .public-topbar {
  margin-bottom: 0 !important;
}
.public-topbar > .container {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}
.public-topbar .navbar-brand {
  min-width: 0;
  margin-right: 0;
}
.public-topbar .public-nav-actions {
  flex-shrink: 0;
  flex-wrap: nowrap;
}
@media (max-width: 991.98px) {
  .public-topbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .public-topbar .navbar-brand {
    font-size: 1rem;
    gap: 0.5rem !important;
  }
  .public-topbar .navbar-brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 42vw;
  }
  .public-topbar .brand-mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
  }
  .public-topbar .brand-mark img {
    width: 22px;
    height: 22px;
  }
  .public-topbar .public-nav-actions {
    gap: 0.4rem !important;
  }
  .public-topbar .wallet-pill {
    padding: 0.3rem 0.65rem;
    font-size: 0.8125rem;
    gap: 0.35rem;
    white-space: nowrap;
    max-width: 100%;
  }
  .public-topbar .public-nav-actions .js-theme-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
  }
  .public-topbar .nav-burger {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
}
@media (max-width: 380px) {
  .public-topbar .wallet-pill span {
    display: none;
  }
  .public-topbar .wallet-pill {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
  }
  .public-topbar .navbar-brand span:last-child {
    max-width: 36vw;
  }
}
.site-ticker {
  --site-ticker-h: 36px;
  height: var(--site-ticker-h);
  background: #0b1220;
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-ticker-inner {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}
.site-ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}
.site-ticker-track.is-ready {
  animation: site-ticker-scroll var(--ticker-duration, 40s) linear infinite;
}
.site-ticker:hover .site-ticker-track.is-ready {
  animation-play-state: paused;
}
.site-ticker-segment {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
}
.site-ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.site-ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0 0.15rem;
}
.site-ticker-item a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.site-ticker-item a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
.site-ticker-sep {
  display: inline-block;
  margin: 0 1.15rem;
  color: var(--sc-secondary);
  font-size: 0.7rem;
  line-height: 1;
  opacity: 0.95;
}
@keyframes site-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .site-ticker-track.is-ready {
    animation: none;
    transform: none;
    max-width: 100%;
    overflow-x: auto;
  }
  .site-ticker-segment + .site-ticker-segment { display: none; }
  .site-ticker-inner {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Keep hero / network band clear of fixed header */
.hero-shell .np-hero-band {
  padding-top: calc(5.5rem + var(--site-header-h, 52px));
}
@media (max-width: 991.98px) {
  .hero-shell .np-hero-band {
    padding-top: calc(4.75rem + var(--site-header-h, 52px));
  }
}
@media (max-width: 767.98px) {
  .hero-shell .np-hero-band {
    padding-top: calc(4.25rem + var(--site-header-h, 52px));
  }
}

/* Site announcement popup (matches checkout modal language) */
.site-announcement-modal .modal-dialog {
  max-width: 420px;
}
.site-announcement-modal .np-co-title {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: 1.12rem;
  line-height: 1.3;
}
.sa-ann-label {
  color: rgba(255, 255, 255, 0.78) !important;
}
.site-announcement-warning .sa-ann-label {
  color: #fdba74 !important;
}
.site-announcement-success .sa-ann-label {
  color: #86efac !important;
}
.sa-ann-body {
  padding-top: 1.25rem !important;
  padding-bottom: 0.35rem !important;
}
.sa-ann-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--hp-muted);
}
.sa-ann-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1rem 1.4rem 1.35rem;
}
.sa-ann-footer .btn {
  min-width: 6.5rem;
}

.ad-announcement-preview {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--sc-border);
  background: var(--sc-surface);
  box-shadow: var(--sc-shadow);
}
.ad-announcement-preview p {
  margin: 0.35rem 0 0;
  color: var(--hp-muted);
}
.ad-announcement-preview-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, #0b1220 0%, #1b4dff 100%);
}
.ad-announcement-preview-warning .ad-announcement-preview-icon {
  background: linear-gradient(135deg, #0b1220 0%, var(--sc-secondary) 100%);
}
.ad-announcement-preview-success .ad-announcement-preview-icon {
  background: linear-gradient(135deg, #0b1220 0%, #0f9f6e 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .site-announcement-modal.fade .modal-dialog {
    transition: transform 0.28s ease, opacity 0.28s ease;
  }
  .site-announcement-modal:not(.show) .modal-dialog {
    transform: translateY(10px);
    opacity: 0;
  }
  .site-announcement-modal.show .modal-dialog {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 420px) {
  .sa-ann-footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  .sa-ann-footer .btn {
    flex: 1 1 auto;
  }
}

/* Order tutorial prompt + Driver.js popover */
.order-tutorial-modal .np-co-logo {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b1220 0%, var(--sc-primary) 100%);
  font-size: 1.25rem;
}
.ot-prompt-copy {
  margin: 0 0 1rem;
  color: var(--hp-muted);
  line-height: 1.55;
}
.ot-prompt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.ot-prompt-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--sc-ink);
  font-weight: 500;
}
.ot-prompt-list i {
  color: var(--sc-primary);
  margin-top: 0.15rem;
}
.ot-prompt-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 0 1.35rem 1.35rem;
}
.ot-driver-popover.driver-popover {
  max-width: 320px;
  background: var(--sc-surface);
  color: var(--sc-ink);
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  box-shadow: var(--sc-shadow);
  font-family: var(--hp-body);
}
.ot-driver-popover .driver-popover-title {
  font-family: var(--hp-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.ot-driver-popover .driver-popover-description {
  color: var(--hp-muted);
  line-height: 1.5;
}
.ot-driver-popover .driver-popover-navigation-btns {
  gap: 0.45rem;
}
.ot-driver-popover .driver-popover-next-btn,
.ot-driver-popover .driver-popover-done-btn {
  background: var(--sc-primary) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  text-shadow: none !important;
}
.ot-driver-popover .driver-popover-prev-btn {
  border-radius: 10px !important;
}
.ot-driver-popover .driver-popover-close-btn {
  color: var(--hp-muted);
}
body.driver-active .modal.show {
  z-index: 10005;
}
body.driver-active .modal-backdrop.show {
  z-index: 10000;
}
body.driver-active .driver-overlay {
  z-index: 10002;
}
body.driver-active .driver-active-element,
body.driver-active .driver-stage {
  z-index: 10003;
}

