@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  /* ZEISS Brand Palette */
  --z-navy:    #001E3C;
  --z-blue:    #0057A8;
  --z-bright:  #0082D4;
  --z-sky:     #00A3E0;
  --z-ice:     #D6EAF8;
  --z-white:   #F7FAFD;
  --z-surface: #EEF4FB;
  --z-gold:    #C49A2A;
  --z-gold-lt: #F5E4B3;
  --z-success: #1A8F5B;
  --z-danger:  #C0392B;
  --z-warn:    #D97706;
  --z-text:    #0A1628;
  --z-muted:   #5A7A99;
  --z-border:  rgba(0,87,168,0.12);

  /* Gradients */
  --g-hero:    linear-gradient(160deg, #001E3C 0%, #00345E 50%, #0057A8 100%);
  --g-card:    linear-gradient(135deg, #001E3C 0%, #0057A8 100%);
  --g-sky:     linear-gradient(135deg, #0057A8 0%, #00A3E0 100%);
  --g-gold:    linear-gradient(135deg, #B8840A 0%, #F0C040 100%);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --r-sm:  8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--z-white);
  color: var(--z-text);
  min-height: 100vh;
  padding-bottom: 90px;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }

.display-num {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -1px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--z-muted);
}

/* ── STATUS BAR ── */
.statusbar {
  background: var(--z-navy);
  padding: 10px 20px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.statusbar-time { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.statusbar-icons { display: flex; gap: 6px; align-items: center; }
.statusbar-icons svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.7); }

/* ── HERO HEADER ── */
.page-hero {
  background: var(--g-hero);
  padding: 18px 20px 28px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border: 1px solid rgba(0,163,224,0.18);
  border-radius: 50%;
  top: -60px; right: -50px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 110px; height: 110px;
  border: 1px solid rgba(0,163,224,0.1);
  border-radius: 50%;
  top: 20px; right: 30px;
  pointer-events: none;
}

.hero-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.z-wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 6px;
  color: #fff;
  text-decoration: none;
}
.z-wordmark sup {
  font-size: 8px;
  letter-spacing: 1px;
  opacity: 0.5;
  vertical-align: super;
}

.hero-actions { display: flex; gap: 8px; }
.hero-icon-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  cursor: pointer; text-decoration: none;
}
.hero-icon-btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.75); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.hero-balance-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
  position: relative; z-index: 2;
}
.hero-balance-amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 3px;
  position: relative; z-index: 2;
}
.hero-balance-amount .currency {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.6;
  margin-right: 4px;
}
.hero-balance-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  position: relative; z-index: 2;
}

.hero-btn-row {
  display: flex;
  gap: 10px;
  position: relative; z-index: 2;
}
.hero-btn {
  flex: 1;
  padding: 11px 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity 0.15s;
}
.hero-btn:active { opacity: 0.8; }
.hero-btn-primary {
  background: var(--z-sky);
  color: #fff;
}
.hero-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ── PAGE TITLE SECTION ── */
.page-title-bar {
  background: var(--g-hero);
  padding: 16px 20px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.back-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07);
  cursor: pointer; text-decoration: none; flex-shrink: 0;
}
.back-btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.8); fill: none; stroke-width: 2; }
.page-title-bar h1 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: #fff; letter-spacing: 1px; }
.page-title-bar .page-sub { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase; }

/* ── CONTENT WRAPPER ── */
.content-wrap { padding: 16px; }

/* ── SECTION HEADER ── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  margin-top: 4px;
}
.section-head h3 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--z-muted);
}
.section-head a {
  font-size: 11px;
  color: var(--z-blue);
  font-weight: 500;
  text-decoration: none;
}

/* ── QUICK GRID ── */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.q-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}
.q-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(0,87,168,0.07);
  border: 1px solid var(--z-border);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.q-item:active .q-icon { transform: scale(0.9); background: rgba(0,87,168,0.14); }
.q-icon svg { width: 20px; height: 20px; stroke: var(--z-blue); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.q-lbl {
  font-size: 10px;
  color: var(--z-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ── STAT CARDS ── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--z-border);
  border-radius: var(--r-lg);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g-sky);
}
.stat-card-gold::before { background: var(--g-gold); }
.stat-card-success::before { background: linear-gradient(90deg, #1A8F5B, #27AE60); }

.stat-label {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--z-muted);
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--z-text);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-value small { font-size: 12px; color: var(--z-muted); font-family: var(--font-body); font-weight: 400; }
.stat-trend { font-size: 10px; font-weight: 500; }
.stat-trend.up { color: var(--z-success); }
.stat-trend.neutral { color: var(--z-muted); }

/* ── PRODUCT CARD ── */
.product-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--z-border);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 2px 16px rgba(0,30,60,0.06);
  transition: transform 0.2s;
}
.product-card:active { transform: scale(0.99); }

.prod-visual {
  height: 96px;
  background: var(--g-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-visual::before {
  content: '';
  position: absolute;
  width: 130px; height: 130px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  right: -30px; top: -30px;
}
.prod-visual-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  letter-spacing: 8px;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.prod-tier-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--z-sky);
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}
.prod-tier-badge.gold { background: var(--g-gold); }

.prod-body {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.prod-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--z-text);
  margin-bottom: 3px;
}
.prod-info p {
  font-size: 11px;
  color: var(--z-muted);
  line-height: 1.5;
}
.prod-price { text-align: right; }
.prod-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--z-blue);
  line-height: 1;
}
.prod-price span { font-size: 10px; color: var(--z-muted); }

.prod-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--z-border);
  margin: 0 16px;
}
.prod-stat {
  padding: 10px 0;
  text-align: center;
  border-right: 1px solid var(--z-border);
}
.prod-stat:last-child { border-right: none; }
.prod-stat-label { font-size: 9px; color: var(--z-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.prod-stat-value { font-size: 13px; font-weight: 600; color: var(--z-text); }
.prod-stat-value.highlight { color: var(--z-blue); }

.prod-action {
  padding: 12px 16px 14px;
}
.btn-rent {
  width: 100%;
  background: var(--z-navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-rent:active { transform: scale(0.98); background: var(--z-blue); }
.btn-rent svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 2; }

/* ── TAB BAR ── */
.tab-bar {
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--z-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-item {
  flex: 1;
  padding: 13px 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--z-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}
.tab-item.active {
  color: var(--z-blue);
  border-bottom-color: var(--z-blue);
}

/* ── BOTTOM NAVIGATION ── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 72px;
  background: #fff;
  border-top: 1px solid var(--z-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 1000;
}
.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  min-width: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.2s;
}
.bnav-item:active { background: var(--z-surface); }
.bnav-icon {
  width: 44px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.bnav-icon svg { width: 20px; height: 20px; stroke: var(--z-muted); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.bnav-label { font-size: 10px; font-weight: 500; color: var(--z-muted); letter-spacing: 0.3px; transition: color 0.2s; }
.bnav-item.active .bnav-icon svg { stroke: var(--z-blue); }
.bnav-item.active .bnav-label { color: var(--z-blue); }

/* ── GLASS CARD (for income/team cards) ── */
.glass-card {
  background: linear-gradient(135deg, rgba(0,30,60,0.96) 0%, rgba(0,87,168,0.92) 100%);
  border-radius: var(--r-xl);
  padding: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.glass-card::before {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  top: -60px; right: -40px;
  pointer-events: none;
}
.glass-card-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.45; margin-bottom: 6px; }
.glass-card-value { font-family: var(--font-display); font-size: 32px; font-weight: 300; line-height: 1; margin-bottom: 4px; }
.glass-card-sub { font-size: 11px; opacity: 0.4; }
.glass-card-row { display: flex; gap: 24px; margin-top: 14px; }
.glass-card-item .label { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.4; margin-bottom: 2px; }
.glass-card-item .value { font-family: var(--font-display); font-size: 20px; font-weight: 300; }

/* ── LEVEL CARD ── */
.level-card {
  background: #fff;
  border: 1px solid var(--z-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 10px;
}
.level-header {
  background: var(--z-navy);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.level-title { font-size: 11px; font-weight: 500; color: #fff; letter-spacing: 1px; }
.level-rate {
  font-size: 13px;
  font-weight: 600;
  color: var(--z-sky);
  font-family: var(--font-display);
}
.level-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.level-stat {
  padding: 12px 0;
  text-align: center;
  border-right: 1px solid var(--z-border);
}
.level-stat:last-child { border-right: none; }
.level-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--z-text);
  line-height: 1;
  margin-bottom: 3px;
}
.level-stat span { font-size: 9px; color: var(--z-muted); text-transform: uppercase; letter-spacing: 1px; }
.level-footer {
  padding: 8px 14px;
  background: rgba(0,87,168,0.03);
  border-top: 1px solid var(--z-border);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--z-muted);
}
.level-footer strong { color: var(--z-blue); }

/* ── INVITE BOX ── */
.invite-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.invite-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.invite-code {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--z-sky);
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.invite-url {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  word-break: break-all;
  margin-bottom: 10px;
}
.invite-btn-row { display: flex; gap: 8px; }
.invite-btn {
  flex: 1;
  padding: 9px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.invite-btn-primary { background: var(--z-sky); color: #fff; }
.invite-btn-ghost { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.12); }

/* ── MENU LIST ── */
.menu-list { padding: 8px 0; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.menu-item:active { background: var(--z-surface); }
.menu-icon-wrap {
  width: 36px; height: 36px;
  background: rgba(0,87,168,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.menu-icon-wrap svg { width: 16px; height: 16px; stroke: var(--z-blue); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.menu-icon-wrap.danger { background: rgba(192,57,43,0.08); }
.menu-icon-wrap.danger svg { stroke: var(--z-danger); }
.menu-text { font-size: 13px; font-weight: 500; color: var(--z-text); flex: 1; }
.menu-text.danger { color: var(--z-danger); }
.menu-arrow { font-size: 16px; color: var(--z-muted); }
.menu-badge {
  background: var(--z-sky);
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.menu-divider { height: 1px; background: var(--z-border); margin: 4px 16px; }

/* ── ME PROFILE HEADER ── */
.me-hero {
  background: var(--g-hero);
  padding: 20px 20px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.me-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.me-avatar img { width: 100%; height: 100%; object-fit: cover; }
.me-avatar svg { width: 34px; height: 34px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 1.3; }
.me-phone { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 3px; }
.me-tag {
  display: inline-block;
  background: rgba(0,163,224,0.2);
  border: 1px solid rgba(0,163,224,0.3);
  color: var(--z-sky);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.me-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  overflow: hidden;
}
.me-stat {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.me-stat:last-child { border-right: none; }
.me-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 3px;
}
.me-stat span { font-size: 9px; color: rgba(255,255,255,0.35); letter-spacing: 1px; text-transform: uppercase; }

/* ── FORM ELEMENTS ── */
.form-card {
  background: #fff;
  border: 1px solid var(--z-border);
  border-radius: var(--r-xl);
  padding: 20px;
  margin-bottom: 14px;
}
.field-group { margin-bottom: 20px; }
.field-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--z-muted);
  margin-bottom: 8px;
}
.field-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--z-border);
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--z-text);
  font-family: var(--font-body);
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}
.field-input:focus { border-bottom-color: var(--z-blue); }
.field-input::placeholder { color: #BCC8D8; font-weight: 400; }

.field-input-box {
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s;
}
.field-input-box:focus-within { border-color: var(--z-blue); background: #fff; }
.field-input-box input, .field-input-box select {
  border: none; outline: none; background: transparent;
  font-size: 14px; font-weight: 500; color: var(--z-text);
  font-family: var(--font-body); flex: 1; width: 100%;
}
.field-input-box svg { width: 16px; height: 16px; stroke: var(--z-muted); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.field-input-box .prefix { font-size: 14px; font-weight: 600; color: var(--z-blue); flex-shrink: 0; }

/* ── BUTTONS ── */
.btn-primary {
  width: 100%;
  background: var(--z-navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
.btn-primary:active { transform: scale(0.98); background: var(--z-blue); }

.btn-sky {
  background: var(--g-sky);
  color: #fff;
}
.btn-danger { background: var(--z-danger); }

/* ── AMOUNT GRID ── */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.amt-pill {
  background: var(--z-surface);
  border: 1.5px solid var(--z-border);
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--z-text);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.amt-pill.active {
  border-color: var(--z-blue);
  color: var(--z-blue);
  background: rgba(0,87,168,0.06);
}

/* ── ACCOUNT CARD ── */
.account-card {
  background: #fff;
  border: 2px solid var(--z-border);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.account-card.selected {
  border-color: var(--z-blue);
  background: rgba(0,87,168,0.04);
}
.account-card-info h4 { font-size: 14px; font-weight: 600; color: var(--z-text); margin-bottom: 3px; }
.account-card-info p { font-size: 11px; color: var(--z-muted); }
.account-card-info .acc-num { font-size: 13px; font-weight: 600; color: var(--z-blue); margin-top: 3px; }
.account-card-icon {
  width: 44px; height: 44px;
  background: var(--z-surface);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.account-card-icon svg { width: 20px; height: 20px; stroke: var(--z-blue); fill: none; stroke-width: 1.5; }

/* ── TOAST ── */
#z-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--z-navy);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(0,30,60,0.3);
}
#z-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,10,20,0.85);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-box {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 24px;
  text-align: center;
  width: 100%;
  max-width: 340px;
  animation: modalPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalPop { from { transform: scale(0.75); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-icon { font-size: 56px; margin-bottom: 16px; }
.modal-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin-bottom: 8px; color: var(--z-text); }
.modal-body { font-size: 14px; color: var(--z-muted); line-height: 1.6; margin-bottom: 24px; }
.modal-btn {
  width: 100%;
  background: var(--z-navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
}
.modal-success .modal-title { color: var(--z-success); }
.modal-error .modal-title { color: var(--z-danger); }

/* ── TASK CARD ── */
.task-card {
  background: #fff;
  border: 1px solid var(--z-border);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.task-info h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.task-info p { font-size: 11px; color: var(--z-muted); }
.task-progress { text-align: right; }
.task-reward {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--z-blue);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 2px;
}
.task-bar {
  width: 80px; height: 4px;
  background: var(--z-surface);
  border-radius: 2px;
  margin: 4px 0 0 auto;
  overflow: hidden;
}
.task-bar-fill { height: 100%; background: var(--g-sky); border-radius: 2px; }

/* ── TRANSACTION ITEM ── */
.tx-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--z-border);
}
.tx-item:last-child { border-bottom: none; }
.tx-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}
.tx-icon.credit { background: rgba(26,143,91,0.1); }
.tx-icon.debit  { background: rgba(192,57,43,0.1); }
.tx-icon svg { width: 16px; height: 16px; fill: none; stroke-width: 2; stroke-linecap: round; }
.tx-icon.credit svg { stroke: var(--z-success); }
.tx-icon.debit  svg { stroke: var(--z-danger); }
.tx-info { flex: 1; }
.tx-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.tx-date  { font-size: 11px; color: var(--z-muted); }
.tx-amount { text-align: right; }
.tx-amount strong { display: block; font-size: 14px; font-weight: 600; }
.tx-amount strong.cr { color: var(--z-success); }
.tx-amount strong.dr { color: var(--z-danger); }
.tx-status {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.tx-status.done { color: var(--z-success); }
.tx-status.pending { color: var(--z-warn); }
.tx-status.fail { color: var(--z-danger); }

/* ── PROGRESS STEPPER ── */
.stepper {
  display: flex;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--z-border);
  overflow: hidden;
}
.step {
  flex: 1;
  height: 3px;
  background: var(--z-border);
  transition: background 0.3s;
}
.step.done { background: var(--z-blue); }
.step.active { background: var(--z-sky); }

/* ── CHECKIN ── */
.checkin-hero {
  background: var(--g-hero);
  padding: 24px 20px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.checkin-days-ring {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(0,163,224,0.4);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 16px auto;
}
.checkin-days-ring .days-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--z-sky);
}
.checkin-days-ring .days-label { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 1px; }

/* ── CHECKIN BUTTON ── */
.btn-checkin {
  background: var(--g-sky);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  margin-top: 10px;
}

/* ── WITHDRAW SPECIFIC ── */
.w-balance-hero {
  background: var(--g-hero);
  padding: 20px 20px 30px;
  position: relative;
  overflow: hidden;
}
.w-bal-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.w-bal-amount { font-family: var(--font-display); font-size: 36px; font-weight: 300; color: #fff; line-height: 1; }
.w-rule-box {
  background: rgba(0,163,224,0.06);
  border: 1px solid rgba(0,87,168,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 12px;
}
.w-rule {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 11px;
  color: var(--z-muted);
  margin-bottom: 6px;
  line-height: 1.5;
}
.w-rule:last-child { margin-bottom: 0; }
.w-rule-dot { width: 5px; height: 5px; background: var(--z-blue); border-radius: 50%; margin-top: 4px; flex-shrink: 0; }

/* ── INCOME ORDER CARD ── */
.income-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--z-border);
  overflow: hidden;
  margin-bottom: 14px;
}
.income-card-header {
  background: var(--g-card);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.income-card-header::before {
  content: '';
  position: absolute;
  width: 100px; height: 100px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  right: -20px; top: -30px;
}
.income-card-name { font-family: var(--font-display); font-size: 16px; font-weight: 400; color: #fff; letter-spacing: 1px; }
.income-card-badge {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.income-card-body { padding: 14px 16px; }
.income-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 12px; }
.income-stat { text-align: center; padding: 8px 0; border-right: 1px solid var(--z-border); }
.income-stat:last-child { border-right: none; }
.income-stat .label { font-size: 9px; color: var(--z-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.income-stat .value { font-family: var(--font-display); font-size: 16px; font-weight: 400; color: var(--z-text); }
.income-stat .value.blue { color: var(--z-blue); }

/* ── ANNOUNCEMENT SHEET ── */
.announce-overlay {
  position: fixed; inset: 0;
  background: rgba(0,10,20,0.8);
  backdrop-filter: blur(10px);
  z-index: 8000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.announce-sheet {
  background: #fff;
  border-radius: 28px 28px 0 0;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  animation: sheetUp 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.announce-handle {
  width: 36px; height: 4px;
  background: var(--z-border);
  border-radius: 2px;
  margin: 12px auto 0;
}
.announce-top {
  background: var(--g-hero);
  padding: 24px 20px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.announce-top-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}
.announce-top h2 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 4px; }
.announce-top p { font-size: 12px; color: rgba(255,255,255,0.5); }
.announce-body { padding: 20px 20px 28px; }
.announce-body p { font-size: 13px; color: var(--z-muted); line-height: 1.7; margin-bottom: 18px; text-align: center; }
.tg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.tg-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 12px;
  font-size: 12px; font-weight: 500;
  text-decoration: none; border: 1.5px solid;
  transition: transform 0.15s;
}
.tg-btn:active { transform: scale(0.96); }
.tg-btn-cs   { background: #F0FDF4; border-color: #A7E3C0; color: #1A6B40; }
.tg-btn-chan  { background: #EEF6FF; border-color: #A5C8F0; color: #0057A8; }
.btn-start {
  width: 100%;
  padding: 16px;
  background: var(--z-navy);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
}

/* ── NOTICE BOX ── */
.notice-box {
  background: rgba(0,87,168,0.05);
  border: 1px solid rgba(0,87,168,0.15);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 11px;
  color: var(--z-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.notice-box strong { color: var(--z-blue); }

/* Utilities */
.d-none { display: none; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-0  { margin-bottom: 0; }
.fw-600 { font-weight: 600; }
.color-blue { color: var(--z-blue); }
.color-success { color: var(--z-success); }
.color-danger { color: var(--z-danger); }
.color-muted { color: var(--z-muted); }

/* Divider */
.divider { height: 8px; background: var(--z-surface); margin: 4px 0; border-top: 1px solid var(--z-border); border-bottom: 1px solid var(--z-border); }

/* Error Banner */
.error-banner {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--z-danger);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--z-muted);
}
.empty-state svg { width: 48px; height: 48px; stroke: var(--z-border); fill: none; stroke-width: 1; margin-bottom: 12px; }
.empty-state p { font-size: 13px; }