/* ═══════════════════════════════════════════════════════
   VOLT — Mobile WebView Styles
   Dark hybrid theme · Glassmorphism · Electric teal accent
   ═══════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────── */
:root {
  --bg:          #080c12;
  --bg1:         #0e1420;
  --bg2:         #141c2e;
  --bg3:         #1b2540;
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.12);

  --text:        #eef2ff;
  --text2:       #8896b0;
  --text3:       #4a5568;

  --teal:        #00d4aa;
  --teal-dim:    rgba(0,212,170,0.12);
  --teal-glow:   rgba(0,212,170,0.25);
  --amber:       #f6c90e;
  --amber-dim:   rgba(246,201,14,0.12);
  --violet:      #a78bfa;
  --violet-dim:  rgba(167,139,250,0.12);
  --danger:      #f87171;
  --success:     #34d399;

  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-xl:   28px;
  --radius-full: 999px;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --topbar-h: 58px;
  --bnav-h:   62px;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.65);
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

html {
  height: 100%;
  overflow: hidden;
  font-size: 15px;
}

body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  touch-action: manipulation;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); color: inherit; }
input { font-family: var(--font-body); color: var(--text); }
ul { list-style: none; }

/* ─── VIEW SYSTEM ────────────────────────────────────── */
.view {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transform: translateY(16px) scale(0.98);
  z-index: 10;
}
.view.active {
  opacity: 1;
  pointer-events: all;
  transform: none;
  z-index: 20;
}
.view.out {
  opacity: 0;
  transform: translateY(-16px) scale(0.98);
  pointer-events: none;
}

/* ─── SPLASH ─────────────────────────────────────────── */
.view--splash {
  background: var(--bg);
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.splash-orb-a {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.18) 0%, transparent 70%);
  top: -120px; left: -100px;
  animation: orb-drift 8s ease-in-out infinite alternate;
}
.splash-orb-b {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.12) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation: orb-drift 10s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(30px, 20px); }
}

.splash-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.splash-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  animation: splash-pop 0.6s var(--ease) both;
}
.splash-bolt {
  color: var(--teal);
  filter: drop-shadow(0 0 16px var(--teal-glow));
  animation: bolt-glow 2s ease-in-out infinite;
}
@keyframes bolt-glow {
  0%,100% { filter: drop-shadow(0 0 16px rgba(0,212,170,0.4)); }
  50%      { filter: drop-shadow(0 0 28px rgba(0,212,170,0.7)); }
}
@keyframes splash-pop {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
.splash-tagline {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text3);
  animation: fade-up 0.6s 0.3s var(--ease) both;
}
.splash-loader {
  width: 100px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 32px;
  animation: fade-up 0.4s 0.5s var(--ease) both;
}
.splash-loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  border-radius: 2px;
  animation: load-bar 2s var(--ease) forwards;
}
@keyframes load-bar {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── AUTH ───────────────────────────────────────────── */
.view--auth {
  background: var(--bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.auth-mesh {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(0,212,170,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(167,139,250,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.auth-hero {
  padding: calc(var(--safe-t) + 40px) 28px 32px;
  position: relative;
  z-index: 2;
}
.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.auth-title {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.auth-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-sheet {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 24px 24px 48px;
  flex: 1;
  position: relative;
  z-index: 2;
}

/* Tabs */
.auth-tabs {
  display: flex;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
  position: relative;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text3);
  border-radius: 8px;
  transition: color 0.25s;
  text-align: center;
  position: relative;
  z-index: 2;
}
.auth-tab.active { color: var(--text); }
.tab-ink {
  position: absolute;
  top: 4px; left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 8px;
  transition: transform 0.3s var(--ease);
  z-index: 1;
}
.tab-ink.right { transform: translateX(calc(100%)); }

/* Panels */
.auth-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: panel-slide 0.28s var(--ease) both;
}
.auth-panel.active { display: flex; }
@keyframes panel-slide {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Fields */
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text2);
}
.field-pw-wrap { position: relative; display: flex; align-items: center; }
.field-input {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}
.field-input::placeholder { color: var(--text3); }
.field-input.err { border-color: var(--danger); }

.pw-eye {
  position: absolute;
  right: 14px;
  color: var(--text3);
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.2s;
}
.pw-eye:active { color: var(--teal); }

/* ─── CTA BUTTON ─────────────────────────────────────── */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, #00b894 100%);
  color: #051a14;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: opacity 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.cta-btn:active { transform: scale(0.97); opacity: 0.9; }
.cta-btn.loading { pointer-events: none; }
.cta-btn.loading .cta-text { display: none; }
.cta-btn.loading .cta-spin { display: block; }
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.15s;
}
.cta-btn:active::before { background: rgba(255,255,255,0.08); }

.cta-spin {
  width: 18px; height: 18px;
  border: 2px solid rgba(5,26,20,0.3);
  border-top-color: #051a14;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ghost-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  width: 100%;
  transition: all 0.2s;
}
.ghost-btn:active { background: var(--bg3); transform: scale(0.97); }

.mt-16 { margin-top: 16px; }
.hidden { display: none !important; }

/* ─── APP SHELL ──────────────────────────────────────── */
.view--app { background: var(--bg); }

/* Top Bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--topbar-h) + var(--safe-t));
  padding: calc(var(--safe-t) + 8px) 20px 8px;
  background: rgba(8,12,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 50;
  flex-shrink: 0;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.topbar-greeting {
  font-size: 13px;
  color: var(--text2);
}

/* Page stack */
.page-stack {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.page {
  position: absolute;
  inset: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.page.active {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.page.out {
  opacity: 0;
  transform: translateX(-18px);
}
.page-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 18px calc(var(--safe-b) + var(--bnav-h) + 20px);
  overscroll-behavior: contain;
}

/* Bottom Nav */
.bnav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--bnav-h) + var(--safe-b));
  display: flex;
  align-items: stretch;
  background: rgba(14,20,32,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding-bottom: var(--safe-b);
  z-index: 50;
}
.bnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s, transform 0.15s;
  padding: 6px 4px;
}
.bnav-btn.active { color: var(--teal); }
.bnav-btn svg { transition: transform 0.2s var(--ease); }
.bnav-btn.active svg { transform: scale(1.15); }
.bnav-btn:active { transform: scale(0.9); }

/* ─── HOME PAGE ──────────────────────────────────────── */
.hero-block {
  position: relative;
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  overflow: hidden;
  margin-bottom: 16px;
}
.hero-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.15), transparent 70%);
  top: -60px; right: -60px;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal);
  margin-bottom: 10px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text2);
  white-space: nowrap;
}

/* Active banner */
.active-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,212,170,0.07);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 16px;
  animation: fade-up 0.4s var(--ease) both;
}
.ab-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,212,170,0.15);
  flex-shrink: 0;
  animation: ab-pulse 2s ease-in-out infinite;
}
@keyframes ab-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(0,212,170,0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(0,212,170,0.05); }
}
.ab-text { flex: 1; }
.ab-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 700;
}
.ab-val {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: capitalize;
}
.ab-badge {
  background: var(--teal);
  color: #051a14;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: var(--radius-full);
}

.section-label {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-label h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}
.section-label p {
  font-size: 12px;
  color: var(--text3);
}

/* Plan Cards */
.plan-cards { display: flex; flex-direction: column; gap: 12px; }

.pcard {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.pcard:active { transform: scale(0.985); }
.pcard--hot {
  border-color: rgba(0,212,170,0.3);
  background: linear-gradient(135deg, var(--bg1) 0%, rgba(0,212,170,0.05) 100%);
}
.pcard-hot-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pcard-left {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.pcard-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pcard-icon--base { background: rgba(100,116,139,0.18); color: #94a3b8; }
.pcard-icon--mid  { background: var(--teal-dim); color: var(--teal); }
.pcard-icon--super { background: var(--amber-dim); color: var(--amber); }

.pcard-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}
.pcard-spec { font-size: 12px; color: var(--text2); }

.pcard-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pcard-price {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pcard-price small {
  font-size: 12px;
  color: var(--text2);
  font-family: var(--font-body);
  font-weight: 400;
}

.pcard-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  min-width: 72px;
  transition: all 0.2s;
}
.pcard-btn:active { transform: scale(0.94); }
.pcard-btn--hot {
  background: var(--teal);
  border-color: var(--teal);
  color: #051a14;
}
.pcard-btn--hot:active { background: #00b894; }
.pcard-btn.loading { pointer-events: none; }
.pcard-btn.loading .pcard-btn-text { display: none; }
.pcard-btn.loading .pcard-btn-spin { display: block; }
.pcard-btn-spin {
  width: 14px; height: 14px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
.pcard-btn--hot .pcard-btn-spin {
  border-color: rgba(5,26,20,0.25);
  border-top-color: #051a14;
}

/* ─── ORDERS PAGE ────────────────────────────────────── */
.page-heading {
  margin-bottom: 20px;
}
.page-heading h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2px;
}
.page-heading p { font-size: 13px; color: var(--text2); }

/* Skeletons */
.skel-wrap { display: flex; flex-direction: column; gap: 12px; }
.skel-card {
  height: 110px;
  background: var(--bg1);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.skel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* Order cards */
.orders-list { display: flex; flex-direction: column; gap: 12px; }

.ocard {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  animation: fade-up 0.35s var(--ease) both;
}
.ocard--active { border-color: rgba(0,212,170,0.3); }

.ocard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ocard-plan {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  text-transform: capitalize;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-full);
}
.status-pill--active {
  background: rgba(0,212,170,0.1);
  color: var(--teal);
  border: 1px solid rgba(0,212,170,0.2);
}
.status-pill--active::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.status-pill--done {
  background: rgba(255,255,255,0.05);
  color: var(--text3);
  border: 1px solid var(--border);
}

.ocard-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.ometa {
  background: var(--bg2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.ometa-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 3px;
}
.ometa-val {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
}

.end-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  color: var(--danger);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.end-btn:active { background: rgba(248,113,113,0.14); transform: scale(0.97); }
.end-btn.loading { pointer-events: none; opacity: 0.6; }
.end-btn-spin {
  width: 14px; height: 14px;
  border: 1.5px solid rgba(248,113,113,0.3);
  border-top-color: var(--danger);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 56px 20px 24px;
  text-align: center;
}
.empty-emoji { font-size: 52px; margin-bottom: 4px; }
.empty-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
}
.empty-sub { font-size: 14px; color: var(--text2); line-height: 1.6; margin-bottom: 8px; }

/* ─── PROFILE PAGE ───────────────────────────────────── */
.profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 14px;
}
.profile-av {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,212,170,0.3);
}
.profile-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}
.profile-email { font-size: 13px; color: var(--text2); }

.p-stats {
  display: flex;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px;
  margin-bottom: 14px;
  align-items: center;
}
.p-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.p-stat-n {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
}
.p-stat-l {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.p-stat-sep {
  width: 1px; height: 36px;
  background: var(--border);
}

.p-menu {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
}
.p-menu-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  width: 100%;
  text-align: left;
  transition: background 0.15s;
  color: var(--text);
}
.p-menu-row:last-child { border-bottom: none; }
.p-menu-row:active { background: var(--bg2); }
.p-menu-row--danger .pm-txt { color: var(--danger); }
.pm-ico { font-size: 20px; width: 24px; text-align: center; flex-shrink: 0; }
.pm-txt { flex: 1; }
.pm-arr { color: var(--text3); font-size: 22px; }
.p-version { text-align: center; font-size: 12px; color: var(--text3); }

/* ─── BOOKING SUCCESS OVERLAY ────────────────────────── */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,8,14,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  padding: 0 16px calc(var(--safe-b) + 20px);
  animation: overlay-fade 0.25s ease both;
}
@keyframes overlay-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.success-card {
  width: 100%;
  background: var(--bg1);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: card-rise 0.4s var(--ease) both;
  box-shadow: var(--shadow-lg);
}
@keyframes card-rise {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.success-rings {
  position: relative;
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,212,170,0.2);
  animation: ring-expand 2s ease-in-out infinite;
}
.sring-1 { width: 80px; height: 80px; animation-delay: 0s; }
.sring-2 { width: 60px; height: 60px; animation-delay: 0.3s; }
.sring-3 { width: 40px; height: 40px; animation-delay: 0.6s; }
@keyframes ring-expand {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.success-check {
  width: 52px; height: 52px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #051a14;
  position: relative;
  z-index: 2;
  animation: check-pop 0.45s 0.2s var(--ease) both;
  box-shadow: 0 0 0 0 rgba(0,212,170,0.4);
  animation: check-pop 0.45s 0.2s var(--ease) both, check-glow 1.5s 0.6s ease-in-out infinite;
}
@keyframes check-pop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes check-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,170,0.3); }
  50%      { box-shadow: 0 0 0 12px rgba(0,212,170,0.0); }
}

.success-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.success-sub {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.success-details {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4px;
}
.sd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.sd-row:last-child { border-bottom: none; }
.sd-key { color: var(--text2); }
.sd-val { font-weight: 600; text-align: right; text-transform: capitalize; }
.sd-active {
  color: var(--teal);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── TOAST ──────────────────────────────────────────── */
.toast-root {
  position: fixed;
  top: calc(var(--safe-t) + var(--topbar-h) + 12px);
  left: 14px; right: 14px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20,28,46,0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: var(--shadow-md);
  pointer-events: all;
  animation: toast-drop 0.35s var(--ease) both;
  cursor: pointer;
}
.toast.toast-out {
  animation: toast-fade 0.28s var(--ease) both;
}
@keyframes toast-drop {
  from { opacity: 0; transform: translateY(-12px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes toast-fade {
  to { opacity: 0; transform: translateY(-8px) scale(0.96); }
}
.toast-ico { font-size: 18px; flex-shrink: 0; }
.toast-msg { flex: 1; }
.toast--success { border-color: rgba(52,211,153,0.3); }
.toast--error   { border-color: rgba(248,113,113,0.3); }
.toast--info    { border-color: var(--border2); }

/* ─── SCROLLBAR ──────────────────────────────────────── */
* { scrollbar-width: thin; scrollbar-color: var(--bg3) transparent; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 3px; }
