/* ============================================
   ZAKZZ NOKOS — Premium White Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Variables ─────────────────────────── */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --secondary: #7C3AED;
  --gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --gradient-soft: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  --success: #10B981;
  --success-light: #ECFDF5;
  --warning: #F59E0B;
  --warning-light: #FFFBEB;
  --danger: #EF4444;
  --danger-light: #FEF2F2;
  --info: #06B6D4;
  --info-light: #ECFEFF;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --light: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --text-dark: #0F172A;
  --text: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.05), 0 10px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 8px 16px rgba(0,0,0,0.06), 0 24px 48px rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --sidebar-w: 240px;
  --navbar-h: 60px;
  --bottomnav-h: 64px;
  --transition: 0.2s ease;
}

/* ─── Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography Utilities ──────────────────── */
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fs-xs  { font-size: 11px !important; }
.fs-sm  { font-size: 12px !important; }
.fs-base { font-size: 14px !important; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Background Soft Colors ────────────────── */
.bg-primary-soft  { background: var(--primary-light) !important; }
.bg-success-soft  { background: var(--success-light) !important; }
.bg-warning-soft  { background: var(--warning-light) !important; }
.bg-danger-soft   { background: var(--danger-light) !important; }
.bg-info-soft     { background: var(--info-light) !important; }

/* ─── Navbar ────────────────────────────────── */
.navbar {
  height: var(--navbar-h);
  border-bottom: 1px solid var(--border-light) !important;
  z-index: 1030;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}
.brand-icon-sm {
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.brand-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text);
  border: 1px solid var(--border);
  background: white;
  transition: var(--transition);
  position: relative;
}
.btn-icon:hover { background: var(--light); color: var(--primary); }

.badge-notif {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--danger);
  color: white;
  font-size: 9px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.btn-user {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  transition: var(--transition);
}
.btn-user:hover { background: var(--light); }

.avatar-sm {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.avatar-lg {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.avatar-xl {
  width: 72px;
  height: 72px;
  background: var(--gradient);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 28px;
}

.badge-saldo {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Notification dropdown */
.dropdown-notif { min-width: 320px !important; }
.notif-item { transition: background var(--transition); }
.notif-item:hover { background: var(--light); }
.notif-unread { background: #EFF6FF; border-left: 3px solid var(--primary); }
.notif-dot-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}

/* ─── App Layout ────────────────────────────── */
.app-layout {
  display: flex;
  min-height: calc(100vh - var(--navbar-h));
}
.app-main {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
}
.app-content {
  padding: 1.5rem;
  max-width: 1400px;
}
@media (max-width: 991px) {
  .app-content {
    padding: 1rem;
    padding-bottom: calc(var(--bottomnav-h) + 1rem);
  }
}

/* ─── Sidebar ───────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: white;
  border-right: 1px solid var(--border-light);
  height: calc(100vh - var(--navbar-h));
  position: sticky;
  top: var(--navbar-h);
  overflow: hidden;
}
.sidebar-user {
  background: var(--off-white);
}
.sidebar-nav {
  padding: 8px;
}
.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
  padding: 12px 12px 4px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 1px;
}
.sidebar-link i { font-size: 16px; flex-shrink: 0; }
.sidebar-link:hover {
  background: var(--light);
  color: var(--primary);
}
.sidebar-link.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.sidebar-link.text-danger:hover {
  background: var(--danger-light);
  color: var(--danger);
}

/* ─── Bottom Navigation (Mobile) ───────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottomnav-h);
  background: white;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  z-index: 1020;
  padding: 0 4px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  gap: 3px;
  transition: var(--transition);
  border-radius: 10px;
}
.bottom-nav-item i { font-size: 20px; }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-center {
  position: relative;
  flex: 1.2;
}
.bottom-nav-fab {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 2px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.bottom-nav-fab i { font-size: 20px; }
.bottom-nav-center.active .bottom-nav-fab {
  box-shadow: 0 6px 16px rgba(37,99,235,0.4);
}

/* ─── Page Header ───────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.saldo-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

/* ─── Cards ─────────────────────────────────── */
.card-modern {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.card-modern-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  background: white;
}
.card-modern-body { padding: 16px; }

/* ─── Dashboard Stat Cards ──────────────────── */
.stat-dashboard-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.stat-dashboard-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.stat-dashboard-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.stat-primary .stat-dashboard-icon   { background: var(--primary-light); color: var(--primary); }
.stat-success .stat-dashboard-icon   { background: var(--success-light); color: var(--success); }
.stat-warning .stat-dashboard-icon   { background: var(--warning-light); color: var(--warning); }
.stat-info    .stat-dashboard-icon   { background: var(--info-light);    color: var(--info);    }
.stat-dashboard-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.stat-dashboard-value { font-size: 18px; font-weight: 700; color: var(--text-dark); line-height: 1.2; }

/* ─── Status Badges ─────────────────────────── */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.status-pending      { background: #FEF3C7; color: #D97706; }
.status-paid         { background: var(--success-light); color: var(--success); }
.status-otp_received { background: var(--primary-light); color: var(--primary); }
.status-success      { background: var(--success-light); color: var(--success); }
.status-cancelled    { background: var(--danger-light); color: var(--danger); }
.status-expired      { background: var(--light); color: var(--text-muted); }

/* ─── OTP Display ───────────────────────────── */
.otp-code {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--success);
  font-family: 'Courier New', monospace;
  background: var(--success-light);
  padding: 8px 12px;
  border-radius: 8px;
  border: 2px solid var(--success);
}
.otp-code-small {
  font-size: 14px;
  font-weight: 700;
  color: var(--success);
  font-family: 'Courier New', monospace;
  background: var(--success-light);
  padding: 2px 8px;
  border-radius: 4px;
}
.otp-waiting {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 8px 12px;
  background: var(--light);
  border-radius: 8px;
}

/* ─── Order Cards ───────────────────────────── */
.order-card { transition: background var(--transition); }
.order-card:hover { background: var(--off-white); }
.btn-xs {
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 6px;
  font-weight: 600;
}

/* ─── Country & Service Grid ────────────────── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .country-grid { grid-template-columns: repeat(5, 1fr); }
}
.country-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.country-item:hover { background: var(--light); }
.country-item.active {
  background: var(--primary-light);
  border-color: var(--primary);
}
.country-flag { font-size: 20px; line-height: 1; }
.country-name {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-height: 180px;
  overflow-y: auto;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.service-item:hover { background: var(--light); }
.service-item.active {
  background: var(--primary-light);
  border-color: var(--primary);
}
.service-emoji { font-size: 22px; line-height: 1; }

.step-num {
  display: inline-flex;
  width: 20px;
  height: 20px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-right: 6px;
}

.cursor-pointer { cursor: pointer; }
.operator-item { cursor: pointer; transition: var(--transition); }
.operator-item:hover { background: var(--off-white); }

/* ─── Form & Input ──────────────────────────── */
.form-control, .form-select {
  border-radius: 10px;
  border-color: var(--border);
  font-size: 13px;
  padding: 9px 12px;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.input-icon-group { position: relative; }
.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.input-with-icon { padding-left: 38px; }
.input-icon-right {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 6px;
  color: var(--text-muted);
  background: none;
  border: none;
  z-index: 1;
}
.input-icon-right:hover { color: var(--primary); }

/* ─── Buttons ───────────────────────────────── */
.btn-primary {
  background: var(--gradient);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, #1D4ED8 0%, #6D28D9 100%);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  transform: translateY(-1px);
}
.btn-outline-primary {
  border-radius: 10px;
  font-weight: 600;
  border-color: var(--border);
}
.btn-success {
  background: var(--success);
  border-color: var(--success);
  border-radius: 10px;
  font-weight: 600;
}

/* ─── Deposit ───────────────────────────────── */
.info-box {
  background: var(--gradient-soft);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border-light);
}
.deposit-summary {
  background: var(--off-white);
  border-radius: 10px;
  padding: 12px;
  border: 1px dashed var(--border);
}
.qris-code-box {
  background: var(--light);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.countdown-box {
  background: var(--warning-light);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}

/* ─── Filter Badges ─────────────────────────── */
.badge-filter {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  background: var(--light);
  color: var(--text);
  transition: var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.badge-filter:hover { background: var(--primary-light); color: var(--primary); }
.badge-filter.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ─── Info Steps ────────────────────────────── */
.info-steps { display: flex; flex-direction: column; gap: 10px; }
.info-step { display: flex; align-items: center; gap: 10px; }
.info-step-num {
  width: 22px;
  height: 22px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Profile ───────────────────────────────── */
.saldo-display-card {
  background: var(--gradient-soft);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border-light);
}
.saldo-big {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

/* ─── Contact Cards ─────────────────────────── */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  gap: 8px;
  height: 100%;
  color: var(--text-dark);
}
.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--primary);
}
.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* ─── Hero Section ──────────────────────────── */
.hero-section {
  position: relative;
  background: white;
  overflow: hidden;
  min-height: calc(100vh - var(--navbar-h));
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.06) 0%, transparent 70%),
              radial-gradient(ellipse at 30% 80%, rgba(124,58,237,0.04) 0%, transparent 60%);
}
.min-vh-75 { min-height: 75vh; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(37,99,235,0.15);
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}
.hero-countries { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.country-flag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  gap: 4px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}
.btn-hero-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: white;
  color: var(--primary);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--border);
}
.btn-hero-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.hero-visual { position: relative; padding: 20px; }
.hero-card-float { animation: float 3s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mock-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  max-width: 320px;
  margin: 0 auto;
}
.mock-phone {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  font-family: 'Courier New', monospace;
  background: var(--light);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.mock-otp {
  background: var(--success-light);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.mock-timer {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Stats Section ─────────────────────────── */
.stat-card {
  padding: 24px 16px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
}
.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ─── Section Styles (Landing) ──────────────── */
.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Service Chips (Landing) ───────────────── */
.service-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-chip:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-chip-icon { font-size: 24px; flex-shrink: 0; }

/* ─── Pricing Cards ─────────────────────────── */
.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  height: 100%;
}
.pricing-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pricing-featured {
  background: var(--gradient);
  border: none;
  color: white;
}
.pricing-featured .pricing-price span { color: white !important; }
.pricing-featured .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-featured .bi-check2 { color: white !important; }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warning);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}
.pricing-header { text-align: center; margin-bottom: 20px; }
.pricing-icon { font-size: 32px; margin-bottom: 8px; }
.pricing-price {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.pricing-price span { font-size: 22px; font-weight: 800; color: var(--primary); }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
}

/* ─── Feature Cards ─────────────────────────── */
.feature-card {
  padding: 24px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

/* ─── CTA Section ───────────────────────────── */
.cta-section {
  background: var(--gradient);
  padding: 64px 0;
}
.btn-white {
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 24px;
  transition: var(--transition);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-white-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 24px;
  transition: var(--transition);
}
.btn-white-outline:hover { border-color: white; background: rgba(255,255,255,0.1); color: white; }

/* ─── Footer ────────────────────────────────── */
.footer-main {
  background: var(--text-dark);
  color: white;
  padding: 48px 0 24px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}
.footer-links a:hover { color: white; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}
.contact-link:hover { color: white; }
.btn-social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  font-size: 15px;
}
.btn-social:hover { background: rgba(255,255,255,0.2); color: white; }

/* ─── Auth Pages ────────────────────────────── */
.auth-page { background: var(--off-white); position: relative; }
.auth-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(37,99,235,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 40% 70%, rgba(124,58,237,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.auth-card-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--off-white);
}
.auth-card-body { padding: 20px 24px; }
.auth-card-footer {
  padding: 14px 24px;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
}
.auth-divider {
  position: relative;
  text-align: center;
  color: var(--text-light);
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-divider span { background: white; padding: 0 8px; }

/* ─── Error Page ────────────────────────────── */
.error-code {
  font-size: 96px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ─── Accordion (FAQ) ───────────────────────── */
.accordion-button {
  font-size: 14px;
  background: white;
  color: var(--text-dark);
}
.accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: none;
}
.accordion-button::after {
  filter: none;
}

/* ─── Table ─────────────────────────────────── */
.table { font-size: 13px; }
.table th { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.table-light th { background: var(--light); }
.table-hover tbody tr:hover td { background: var(--off-white); }

/* ─── Custom Scrollbar ──────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ─── Responsive ────────────────────────────── */
@media (max-width: 576px) {
  .stat-dashboard-value { font-size: 15px; }
  .hero-title { font-size: 1.8rem; }
  .app-content { padding: 12px 12px calc(var(--bottomnav-h) + 12px); }
}

/* ─── Utility ───────────────────────────────── */
.flex-1 { flex: 1; }
.border-primary { border-color: var(--primary) !important; }
.bg-primary-soft { background-color: var(--primary-light) !important; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger  { color: var(--danger) !important; }
.text-info    { color: var(--info) !important; }
.border-y { border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

/* ════════════════════════════════════════════════
   LANDING PAGE — New Styles
════════════════════════════════════════════════ */

/* Hero */
.hero-wrap {
  position: relative;
  background: white;
  overflow: hidden;
  padding: 0;
}
.min-vh-80 { min-height: 80vh; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(37,99,235,0.07);
  top: -100px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(124,58,237,0.05);
  bottom: 0; left: 10%;
}
.hero-h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
}
.hero-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
}
.pulse-tiny {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulseTiny 1.5s ease-in-out infinite;
}
@keyframes pulseTiny {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}
.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--light);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}
.btn-cta-primary:hover { color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: white;
  color: var(--primary);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.btn-cta-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: white;
  color: var(--primary);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-cta-glass {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.btn-cta-glass:hover { background: rgba(255,255,255,0.25); color: white; border-color: white; }
.btn-cta-tg {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: #229ED9;
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid #229ED9;
  transition: var(--transition);
}
.btn-cta-tg:hover { color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,158,217,0.35); background: #1a8fbe; border-color: #1a8fbe; }

/* Phone mockup */
.hero-phone-mockup { position: relative; padding: 40px; }
.phone-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid var(--border-light);
  max-width: 300px;
  margin: 0 auto;
  animation: float 3.5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.phone-header { display: flex; align-items: center; margin-bottom: 16px; }
.phone-dot { width: 10px; height: 10px; border-radius: 50%; }
.phone-notif { display: flex; align-items: center; background: var(--light); border-radius: 10px; padding: 10px; }
.phone-otp-box { background: var(--success-light); border-radius: 10px; padding: 14px; text-align: center; margin: 10px 0; border: 1px solid rgba(16,185,129,0.2); }
.phone-otp-code { font-size: 28px; font-weight: 800; color: var(--success); font-family: 'Courier New', monospace; letter-spacing: 4px; }
.phone-timer { display: flex; align-items: center; background: var(--warning-light); border-radius: 8px; padding: 8px 10px; }
.timer-bar-sm { flex: 1; height: 4px; background: var(--border); border-radius: 2px; margin: 0 8px; }
.timer-fill-sm { height: 100%; background: var(--warning); border-radius: 2px; }
.float-badge {
  position: absolute;
  background: white;
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.float-badge-1 { top: 20px; right: 10px; animation-delay: 0.5s; }
.float-badge-2 { bottom: 60px; left: 0; animation-delay: 1s; }

/* Stats Strip */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-strip-item { text-align: center; padding: 16px 28px; }
.stat-strip-val { font-size: 22px; font-weight: 800; color: var(--text-dark); }
.stat-strip-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.stat-strip-sep { width: 1px; height: 40px; background: var(--border-light); }
@media (max-width: 768px) {
  .stat-strip-item { padding: 12px 16px; }
  .stat-strip-val { font-size: 18px; }
  .stat-strip-sep { display: none; }
}

/* Price Hero Card */
.price-hero-card {
  display: flex;
  gap: 32px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  align-items: center;
  flex-wrap: wrap;
}
.price-hero-left { flex: 1; min-width: 200px; }
.price-hero-right { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--off-white);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.price-from { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.price-from strong { color: var(--primary); }
.cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Country Cards */
.country-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  text-align: center;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  height: 100%;
}
.country-card:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-2px); }
.country-card-flag { font-size: 36px; margin-bottom: 8px; }
.country-card-name { font-size: 13px; margin-bottom: 2px; }
.country-card-services { font-size: 11px; margin-bottom: 4px; }
.country-card-price { font-size: 11px; }
.country-hot-badge {
  position: absolute;
  top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--danger);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

/* Service Landing Cards */
.service-landing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  height: 100%;
}
.service-landing-card:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-2px); }
.svc-logo-wrap { width: 52px; height: 52px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.svc-logo-img { width: 40px; height: 40px; object-fit: contain; }
.svc-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.svc-stock, .svc-price { font-size: 11px; }
.svc-hot {
  position: absolute;
  top: -8px; right: 10px;
  background: var(--warning);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

/* Features Grid */
.feat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.feat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

/* Testimonials */
.testi-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.testi-text { font-size: 13px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 36px; height: 36px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   DASHBOARD — New Components
════════════════════════════════════════════════ */

.dash-greeting {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dash-avatar {
  width: 48px; height: 48px;
  background: var(--gradient);
  color: white;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; flex-shrink: 0;
}

/* Saldo Card */
.saldo-card {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 20px;
  color: white;
  height: 100%;
}
.saldo-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.saldo-card-label { font-size: 12px; font-weight: 600; opacity: 0.85; margin-bottom: 4px; }
.saldo-card-amount { font-size: 24px; font-weight: 800; }
.saldo-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.saldo-card-actions { display: flex; gap: 8px; }
.btn-white-sm {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  background: white; color: var(--primary);
  border-radius: 8px; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: var(--transition);
  border: none;
}
.btn-white-sm:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-white-outline-sm {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  background: rgba(255,255,255,0.15); color: white;
  border-radius: 8px; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: var(--transition);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-white-outline-sm:hover { background: rgba(255,255,255,0.25); color: white; }

/* Mini Stats */
.mini-stat {
  background: white;
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}
.mini-stat:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.mini-stat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 8px;
}
.mini-stat-val { font-size: 18px; font-weight: 800; color: var(--text-dark); line-height: 1.2; }
.mini-stat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Active Order Row (dashboard) */
.active-order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}
.active-order-row:hover { background: var(--off-white); }
.aor-left { display: flex; align-items: center; gap: 10px; flex: 1; }
.aor-flag { font-size: 24px; }
.aor-phone { font-size: 13px; font-weight: 700; }
.aor-service { font-size: 11px; color: var(--text-muted); }
.aor-center { flex: 1; }
.otp-inline { display: flex; align-items: center; font-size: 16px; font-weight: 800; color: var(--success); font-family: 'Courier New', monospace; }
.otp-waiting-sm { display: flex; align-items: center; font-size: 12px; color: var(--text-muted); }
.aor-right { text-align: right; }
.aor-timer { font-size: 12px; font-weight: 600; }
.btn-link-sm { font-size: 11px; font-weight: 600; color: var(--primary); text-decoration: none; }

/* Deposit row */
.deposit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
}

/* Quick action grid */
.quick-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--off-white);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}
.quick-action-item i { font-size: 20px; }
.quick-action-item:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

/* Notification row */
.notif-row {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}
.notif-row:hover { background: var(--off-white); }
.notif-row-unread { background: var(--primary-light); border-left: 3px solid var(--primary); }

/* ════════════════════════════════════════════════
   ORDER PAGE — Unified Design
════════════════════════════════════════════════ */

/* Server Tabs */
.order-server-tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0; margin: 0;
}
.order-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  color: var(--text);
}
.order-tab-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.order-tab-btn:hover:not(.active) { background: var(--light); }
.tab-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-blue { background: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.2); }
.dot-green { background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }

/* Order Step Cards */
.order-step-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0.7;
}
.order-step-card.active-step {
  opacity: 1;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
}
.step-card-body { padding: 12px; }
.step-circle {
  width: 24px; height: 24px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.active-circle { background: var(--gradient); }

/* Search box */
.search-box {
  position: relative;
}
.search-icon {
  position: absolute;
  left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 13px;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

/* Country Grid (new) */
.country-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
}
@media (min-width: 480px) { .country-grid-new { grid-template-columns: repeat(5, 1fr); } }
.cg-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.cg-item:hover { background: var(--light); }
.cg-item.selected { background: var(--primary-light); border-color: var(--primary); }
.cg-green.selected { background: var(--success-light); border-color: var(--success); }
.cg-flag { font-size: 22px; line-height: 1; }
.cg-name { font-size: 9px; color: var(--text-muted); margin-top: 2px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.cg-price { font-size: 8px; color: var(--primary); font-weight: 700; }

/* Service Grid (new) */
.service-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
}
.sg-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 4px;
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.sg-item:hover { background: var(--light); }
.sg-item.selected { background: var(--primary-light); border-color: var(--primary); }
.sg-green.selected { background: var(--success-light); border-color: var(--success); }
.sg-logo { width: 32px; height: 32px; object-fit: contain; margin-bottom: 4px; }
.sg-emoji { font-size: 24px; margin-bottom: 4px; }
.sg-name { font-size: 10px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.sg-price { font-size: 9px; color: var(--primary); font-weight: 700; }
.sg-stock { font-size: 9px; }
.sg-empty { color: var(--danger); }
.sg-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.op-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.grid-loading { padding: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }

/* Operator / Product Rows */
.operator-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: var(--transition);
}
.operator-row:hover { background: var(--off-white); border-color: var(--primary); }
.op-selected { background: var(--primary-light) !important; border-color: var(--primary) !important; }
.op-green:hover { border-color: var(--success); }
.op-green.op-selected { background: var(--success-light) !important; border-color: var(--success) !important; }
.op-info { flex: 1; }
.op-stock { color: var(--text-muted); }
.op-price { text-align: right; }
.order-btn {
  border-radius: 12px;
  font-size: 15px;
  transition: var(--transition);
}
.order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.25); }

/* S2 Product list — scrollable so long lists don't make the card too tall */
#s2ProductList { max-height: 280px; overflow-y: auto; padding-right: 2px; }

/* Active Orders Panel */
.active-orders-container { min-height: 100px; }
.empty-orders { text-align: center; padding: 32px 16px; color: var(--text-muted); font-size: 13px; }
.pulse-dot {
  width: 10px; height: 10px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseTiny 1.5s ease-in-out infinite;
}
.pulse-green { background: var(--success); }

/* Active Order Card */
.active-order-card {
  padding: 14px;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}
.active-order-card:hover { background: var(--off-white); }
.ao-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.ao-left { display: flex; align-items: center; gap: 10px; }
.ao-flag { font-size: 26px; }
.ao-phone { font-size: 15px; font-weight: 800; color: var(--text-dark); }
.ao-meta { font-size: 11px; color: var(--text-muted); }
.ao-otp { margin-bottom: 10px; }
.otp-box-inline {
  display: flex; align-items: center;
  background: var(--success-light);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(16,185,129,0.25);
  gap: 6px;
}
.otp-value { font-size: 20px; font-weight: 800; color: var(--success); font-family: 'Courier New', monospace; letter-spacing: 3px; }
.btn-copy { background: none; border: none; padding: 0 4px; color: var(--text-muted); cursor: pointer; font-size: 14px; }
.btn-copy:hover { color: var(--primary); }
.otp-waiting-inline { display: flex; align-items: center; font-size: 12px; color: var(--text-muted); padding: 8px 12px; background: var(--light); border-radius: 8px; }
.ao-timer { margin-bottom: 10px; }
.ao-urgent { background: rgba(239,68,68,0.04); border-radius: 6px; padding: 4px; }
.timer-bar { height: 4px; background: var(--border); border-radius: 2px; }
.timer-fill { height: 100%; background: var(--gradient); border-radius: 2px; transition: width 1s linear; }
.timer-urgent { background: linear-gradient(to right, var(--danger), #F87171); }
.ao-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-ao {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid;
  transition: var(--transition);
  background: white;
}
.btn-ao:hover { transform: translateY(-1px); }
.btn-ao-cancel { color: var(--danger); border-color: var(--danger); }
.btn-ao-cancel:hover { background: var(--danger); color: white; }
.btn-ao-refresh { color: var(--primary); border-color: var(--primary); }
.btn-ao-refresh:hover { background: var(--primary); color: white; }
.btn-ao-resend { color: var(--info); border-color: var(--info); }
.btn-ao-resend:hover { background: var(--info); color: white; }
.btn-ao-finish { color: var(--success); border-color: var(--success); }
.btn-ao-finish:hover { background: var(--success); color: white; }

/* Order Rules Grid */
.order-rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rule-item { padding: 10px; border-radius: 8px; text-align: center; }
.rule-green { background: var(--success-light); }
.rule-yellow { background: #FFFDE7; }
.rule-orange { background: #FFF3E0; }
.rule-red { background: var(--danger-light); }
.rule-time { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; color: var(--text-muted); }
.rule-desc { font-size: 11px; line-height: 1.4; }
.feature-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--success-light);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text);
}

/* ════════════════════════════════════════════════
   SIDEBAR — Order active page
════════════════════════════════════════════════ */
.sidebar-link[href="/order"] { }



/* ════════════════════════════════════════════════
   CONTACT / SUPPORT MODAL (used in Order page)
════════════════════════════════════════════════ */
.a-modal-ov {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.a-modal {
  background: #0F172A; border: 1px solid #1E293B; border-radius: 16px;
  width: 92%; max-width: 420px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.a-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #1E293B;
  color: #F1F5F9;
}
.a-modal-body { padding: 8px 20px 20px; }

/* ═══════════════════════════════════════════��════
   ORDER PAGE — PREMIUM REDESIGN v2
══════════════════════════════��═════════════════ */

/* ── Server Selector Cards ─────────────────── */
.server-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.server-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  text-align: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.server-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}
.server-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12), 0 8px 24px rgba(37,99,235,0.15);
}
.server-card.active-s2 {
  border-color: var(--success);
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12), 0 8px 24px rgba(16,185,129,0.15);
}
.server-card.active-s2:hover {
  border-color: var(--success);
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
}
.server-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--light);
  transition: all 0.25s ease;
}
.server-card.active .server-card-icon { background: var(--primary); color: white; }
.server-card.active-s2 .server-card-icon { background: var(--success); color: white; }
.server-card-name {
  font-size: 13px; font-weight: 700;
  color: var(--text-dark);
}
.server-card.active .server-card-name { color: var(--primary); }
.server-card.active-s2 .server-card-name { color: var(--success); }
.server-online-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600;
  color: var(--success);
  background: var(--success-light);
  padding: 2px 8px;
  border-radius: 99px;
}
.server-online-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulseTiny 1.5s ease-in-out infinite;
}
.server-card-check {
  position: absolute;
  top: 8px; right: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 11px;
  display: none;
  align-items: center; justify-content: center;
}
.server-card.active .server-card-check { display: flex; }
.server-card.active-s2 .server-card-check { display: flex; background: var(--success); }

/* ── Page Header v2 ────────────────────────── */
.order-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.order-title-block h4 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin: 0 0 2px; }
.order-live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  color: var(--success);
}
.saldo-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.saldo-pill i { color: var(--primary); }

/* ── Step Cards v2 ─────────────────────────── */
.step-card-v2 {
  background: white;
  border-radius: 16px;
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.step-card-v2.step-locked { opacity: 0.55; pointer-events: none; }
.step-card-v2.step-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08), var(--shadow-sm);
  opacity: 1;
  pointer-events: auto;
}
.step-card-v2.step-active-s2 {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.08), var(--shadow-sm);
  opacity: 1;
  pointer-events: auto;
}
.step-card-v2.step-done {
  border-color: var(--border);
  opacity: 1;
  pointer-events: auto;
}
.step-head-v2 {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
  cursor: default;
}
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  background: var(--border);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s;
}
.step-card-v2.step-active .step-num { background: var(--primary); color: white; }
.step-card-v2.step-active-s2 .step-num { background: var(--success); color: white; }
.step-card-v2.step-done .step-num { background: var(--success); color: white; }
.step-body-v2 { padding: 10px; }

/* ── Order Button v2 ───────────────────────── */
.order-btn-v2 {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  background: var(--gradient);
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.order-btn-v2:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.order-btn-v2:active:not(:disabled) { transform: translateY(0); }
.order-btn-v2:disabled { opacity: 0.6; cursor: not-allowed; }
.order-btn-v2.s2 { background: linear-gradient(135deg, #10B981 0%, #059669 100%); box-shadow: 0 4px 16px rgba(16,185,129,0.25); }
.order-btn-v2.s2:hover:not(:disabled) { box-shadow: 0 8px 24px rgba(16,185,129,0.35); }

/* ── Active Orders v2 ──────────────────────── */
.ao-card-v2 {
  background: white;
  border-radius: 14px;
  border: 1.5px solid var(--border-light);
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.ao-card-v2:hover { box-shadow: var(--shadow); }
.ao-top-v2 { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.ao-phone-v2 { font-size: 16px; font-weight: 800; color: var(--text-dark); }
.ao-sub-v2 { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.ao-status-pill {
  font-size: 10px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.pill-pending { background: #FEF3C7; color: #D97706; }
.pill-otp { background: var(--success-light); color: var(--success); }
.pill-cancelled { background: var(--danger-light); color: var(--danger); }
.otp-reveal {
  background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
  border: 1.5px solid rgba(16,185,129,0.3);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.otp-code-v2 {
  font-size: 22px; font-weight: 800;
  color: var(--success);
  font-family: 'Courier New', monospace;
  letter-spacing: 4px;
}
.otp-waiting-v2 {
  background: var(--light);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 10px;
}
.ao-timer-v2 { margin-bottom: 10px; }
.timer-label-v2 { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.timer-track { height: 5px; background: var(--light); border-radius: 99px; overflow: hidden; }
.timer-track-fill { height: 100%; background: var(--gradient); border-radius: 99px; transition: width 1s linear; }
.timer-track-fill.urgent { background: linear-gradient(to right, #EF4444, #F87171); }
.ao-actions-v2 { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-ao-v2 {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  border-radius: 10px; font-size: 11px; font-weight: 600;
  border: 1.5px solid; background: white;
  cursor: pointer; transition: all 0.2s;
}
.btn-ao-v2:hover { transform: translateY(-1px); }
.btn-ao-v2.cancel { color: var(--danger); border-color: var(--danger); }
.btn-ao-v2.cancel:hover { background: var(--danger); color: white; }
.btn-ao-v2.refresh { color: var(--primary); border-color: var(--primary); }
.btn-ao-v2.refresh:hover { background: var(--primary); color: white; }
.btn-ao-v2.resend { color: var(--info); border-color: var(--info); }
.btn-ao-v2.resend:hover { background: var(--info); color: white; }
.btn-ao-v2.finish { color: var(--success); border-color: var(--success); }
.btn-ao-v2.finish:hover { background: var(--success); color: white; }
.btn-ao-v2.copy-num { color: #64748B; border-color: #64748B; }
.btn-ao-v2.copy-num:hover { background: #64748B; color: white; }

/* ── Info Rules v2 ─────────────────────────── */
.rules-grid-v2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rule-v2 { border-radius: 12px; padding: 12px 10px; text-align: center; }
.rule-v2-time { font-size: 11px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.rule-v2-desc { font-size: 11px; line-height: 1.5; color: var(--text); }

/* ── Floating Contact Button ───────────────── */
.fab-contact {
  position: fixed;
  bottom: calc(var(--bottomnav-h) + 12px);
  right: 16px;
  z-index: 1025;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4), 0 2px 6px rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  -webkit-tap-highlight-color: transparent;
}
.fab-contact:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.5), 0 4px 10px rgba(0,0,0,0.15);
}
.fab-contact:active { transform: scale(0.94); }
.fab-contact-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.3);
  animation: fabRing 2.5s ease-in-out infinite;
}
@keyframes fabRing {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
}
/* Hide FAB on desktop (headset already in navbar area) */
@media (min-width: 992px) { .fab-contact { display: none; } }

/* ── Contact Modal v2 ──────────────────────── */
.contact-modal-ov {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,23,42,0.7); backdrop-filter: blur(6px);
  align-items: flex-end; justify-content: center;
  padding: 0;
}
@media (min-width: 576px) {
  .contact-modal-ov { align-items: center; padding: 20px; }
}
.contact-modal-box {
  background: white;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.2);
  animation: slideUp 0.3s cubic-bezier(.4,0,.2,1);
}
@media (min-width: 576px) {
  .contact-modal-box { border-radius: 20px; animation: fadeScaleIn 0.25s ease; }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fadeScaleIn { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
@keyframes spinLoop { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spin-anim { animation: spinLoop 0.65s linear infinite; display: inline-block; }
.contact-modal-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 99px;
  margin: 10px auto 0;
}
@media (min-width: 576px) { .contact-modal-handle { display: none; } }
.contact-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border-light);
}
.contact-modal-title { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.contact-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%; border: none;
  background: var(--light); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; transition: all 0.2s;
}
.contact-modal-close:hover { background: var(--border); color: var(--text-dark); }
.contact-modal-body { padding: 12px 20px 24px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.15s;
  margin-bottom: 4px;
}
.contact-item:hover { background: var(--off-white); color: var(--text-dark); }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-item-label { font-size: 13px; font-weight: 600; }
.contact-item-val { font-size: 12px; color: var(--text-muted); }
.contact-hours {
  margin-top: 12px;
  background: var(--warning-light);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px; color: var(--text-muted);
  text-align: center;
}

/* ── Section Label ─────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   FAQ ACCORDION — Order Guide Section
══════════════════════════════════════════════════════════════════ */
.faq-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1.5px solid var(--border-light);
}
.faq-section-head {
  text-align: center;
  margin-bottom: 24px;
}
.faq-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.faq-section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.faq-section-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-light), #F5F3FF);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
}

/* Accordion list */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual FAQ item */
.faq-item {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(15,23,42,0.05);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.07), 0 4px 16px rgba(37,99,235,0.1);
}

/* Trigger / header row */
.faq-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: background 0.15s;
}
.faq-trigger:hover {
  background: var(--off-white);
}
.faq-item.open .faq-trigger {
  background: var(--primary-light);
  border-bottom: 1px solid rgba(37,99,235,0.1);
}

/* Category icon box */
.faq-icon-box {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon-box {
  transform: scale(1.08);
}

/* Question text block */
.faq-trigger-text {
  flex: 1;
  min-width: 0;
}
.faq-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0;
}
.faq-item.open .faq-q {
  color: var(--primary);
}
.faq-q-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin: 2px 0 0;
}

/* Chevron */
.faq-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), background 0.2s, color 0.2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

/* Answer body — CSS height animation */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(.4,0,.2,1), opacity 0.28s ease;
  opacity: 0;
}
.faq-item.open .faq-body {
  max-height: 1200px;
  opacity: 1;
}
.faq-body-inner {
  padding: 16px 18px 20px;
}

/* Answer typography */
.faq-body-inner p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 10px;
}
.faq-body-inner p:last-child { margin-bottom: 0; }
.faq-body-inner ul,
.faq-body-inner ol {
  padding-left: 20px;
  margin: 8px 0 10px;
}
.faq-body-inner li {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 4px;
}
.faq-body-inner strong { color: var(--text-dark); }

/* Inline highlight/tip boxes inside answers */
.faq-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--primary-light);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 10px 0;
  font-size: 13px;
  color: var(--primary);
  line-height: 1.6;
}
.faq-tip i { flex-shrink: 0; margin-top: 2px; }
.faq-tip.warning {
  background: #FFFBEB;
  color: #B45309;
}
.faq-tip.success {
  background: #ECFDF5;
  color: #065F46;
}
.faq-tip.danger {
  background: #FEF2F2;
  color: #991B1B;
}

/* Time-rule mini-grid inside FAQ */
.faq-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.faq-time-cell {
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}
.faq-time-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.faq-time-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 575px) {
  .faq-trigger { padding: 13px 14px; gap: 11px; }
  .faq-icon-box { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
  .faq-q { font-size: 13.5px; }
  .faq-body-inner { padding: 14px 14px 18px; }
  .faq-body-inner p,
  .faq-body-inner li { font-size: 13px; }
  .faq-section-title { font-size: 18px; }
  .faq-time-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE — Premium Redesign
   ═══════════════════════════════════════════════════════════ */

/* Avatar Circle */
.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.profile-avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(99,102,241,.25);
  display: block;
}
.profile-avatar-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(99,102,241,.25);
  letter-spacing: -1px;
}
.profile-avatar-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  border: 2px solid #fff;
  transition: background .2s, transform .2s;
}
.profile-avatar-overlay:hover {
  background: var(--primary-dark, #4f46e5);
  transform: scale(1.1);
}
.profile-avatar-menu {
  position: absolute;
  bottom: 36px;
  right: -60px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 6px;
  min-width: 160px;
  z-index: 100;
  display: none;
}
.profile-avatar-menu.open { display: block; }
.profile-avatar-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.profile-avatar-menu button:hover { background: var(--hover-bg, rgba(99,102,241,.08)); }
.profile-avatar-menu button.danger { color: #ef4444; }
.profile-avatar-menu button.danger:hover { background: rgba(239,68,68,.08); }

/* Saldo gradient card */
.saldo-grad-card {
  background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
  border-radius: 14px;
  padding: 18px 20px;
  color: #fff;
  margin-top: 18px;
  position: relative;
  overflow: hidden;
}
.saldo-grad-card::before {
  content: '';
  position: absolute;
  top: -24px; right: -24px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.saldo-grad-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 4px;
}
.saldo-grad-amount {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.1;
}
.saldo-grad-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 9px;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
  text-decoration: none;
  transition: background .2s;
}
.saldo-grad-btn:hover {
  background: rgba(255,255,255,.28);
  color: #fff;
}

/* 6-stat order grid */
.order-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.ostat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  transition: box-shadow .2s, transform .15s;
}
.ostat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.ostat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 0 auto 6px;
}
.ostat-num {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
}
.ostat-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* Account info badges */
.acc-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 8px;
}
.acc-info-row:last-child { border-bottom: none; }
.acc-info-label {
  font-size: 12.5px;
  color: var(--text-muted, #6b7280);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.acc-info-value {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}
.ref-code-box {
  font-family: 'Courier New', monospace;
  background: var(--hover-bg, rgba(99,102,241,.06));
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .15s;
}
.ref-code-box:hover { background: rgba(99,102,241,.12); }

/* Login history table */
.login-hist-table { width: 100%; border-collapse: collapse; }
.login-hist-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted, #6b7280);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--hover-bg, rgba(99,102,241,.04));
}
.login-hist-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  vertical-align: middle;
}
.login-hist-table tbody tr:last-child td { border-bottom: none; }
.login-hist-table tbody tr:hover td { background: var(--hover-bg, rgba(99,102,241,.04)); }
.login-ip-badge {
  font-family: 'Courier New', monospace;
  background: var(--hover-bg, rgba(99,102,241,.06));
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.login-device-info { font-size: 12px; color: var(--text-muted, #6b7280); }
.login-badge-latest {
  font-size: 10px;
  font-weight: 700;
  background: rgba(16,185,129,.12);
  color: #10b981;
  border-radius: 20px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: middle;
}
.btn-login-hist-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: rgba(239,68,68,.1);
  color: #ef4444;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.btn-login-hist-delete:hover { background: #ef4444; color: #fff; }

/* Password strength */
.pwd-strength-bar {
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  margin-top: 8px;
  overflow: hidden;
}
.pwd-strength-fill {
  height: 100%;
  border-radius: 4px;
  transition: width .3s, background .3s;
  width: 0%;
}
.pwd-strength-label {
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 4px;
  min-height: 18px;
}
.pwd-validation-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.pwd-validation-list li {
  font-size: 12px;
  color: var(--text-muted, #6b7280);
  display: flex;
  align-items: center;
  gap: 5px;
}
.pwd-validation-list li.ok { color: #10b981; }
.pwd-validation-list li.ok::before { content: '✓'; font-weight: 700; }
.pwd-validation-list li:not(.ok)::before { content: '○'; }

/* Profile section card header accent */
.profile-section-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* Logout button */
.logout-btn-wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.btn-logout-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,.08);
  border: 1.5px solid rgba(239,68,68,.25);
  color: #ef4444;
  border-radius: 12px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-logout-premium:hover {
  background: rgba(239,68,68,.14);
  border-color: rgba(239,68,68,.5);
  color: #ef4444;
  transform: translateY(-1px);
}

@media (max-width: 575px) {
  .order-stats-grid { grid-template-columns: 1fr 1fr; }
  .ostat-num { font-size: 18px; }
  .profile-avatar-circle,
  .profile-avatar-initials { width: 80px; height: 80px; }
  .profile-avatar-initials { font-size: 30px; }
  .saldo-grad-amount { font-size: 22px; }
  .login-hist-table th, .login-hist-table td { padding: 8px 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   LANDING STATS SECTION v2 — Premium Redesign
   ═══════════════════════════════════════════════════════════════ */

.stats-section-wrap {
  padding: 28px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-strip-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-v2-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 28px;
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

.stat-v2-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-v2-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading, #0f172a);
  line-height: 1;
  letter-spacing: -0.5px;
}

.stat-v2-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #6b7280);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.stat-v2-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .stats-strip-v2 {
    gap: 0;
  }
  .stat-v2-item {
    padding: 12px 16px;
    min-width: 44%;
    flex: none;
  }
  .stat-v2-sep {
    display: none;
  }
  .stat-v2-icon {
    width: 38px;
    height: 38px;
    font-size: 17px;
    border-radius: 10px;
  }
  .stat-v2-val {
    font-size: 19px;
  }
  .stat-v2-label {
    font-size: 10.5px;
  }
}

@media (max-width: 400px) {
  .stat-v2-item {
    min-width: 50%;
    padding: 10px 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HISTORY PAGE — Card Layout
   ═══════════════════════════════════════════════════════════════ */

/* ── Filter bar ─────────────────────────────────────────────── */
.hist-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 16px;
}
.hist-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted, #6b7280);
  background: transparent;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.hist-filter-btn:hover {
  background: rgba(99,102,241,.07);
  color: var(--primary);
  border-color: rgba(99,102,241,.4);
}
.hist-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(99,102,241,.3);
}

/* ── Summary bar ────────────────────────────────────────────── */
.hist-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(99,102,241,.025);
}

/* ── Order Card ─────────────────────────────────────────────── */
.hist-card {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.hist-card:last-child { border-bottom: none; }
.hist-card:hover { background: rgba(99,102,241,.025); }

/* Card head row */
.hist-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hist-time {
  font-size: 11.5px;
  color: var(--text-muted, #9ca3af);
  font-weight: 500;
}

/* Server badge */
.hist-server-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.hist-server-badge.sv1 {
  background: rgba(99,102,241,.1);
  color: var(--primary);
}
.hist-server-badge.sv2 {
  background: rgba(16,185,129,.1);
  color: #10b981;
}

/* Status chip */
.hist-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.hist-status.pending        { background: rgba(245,158,11,.12); color: #d97706; }
.hist-status.otp-received   { background: rgba(139,92,246,.12); color: #7c3aed; }
.hist-status.success        { background: rgba(16,185,129,.12); color: #059669; }
.hist-status.cancelled      { background: rgba(239,68,68,.12);  color: #dc2626; }
.hist-status.expired        { background: rgba(107,114,128,.12);color: #4b5563; }

/* Phone + service */
.hist-main { margin-bottom: 10px; }
.hist-phone {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--heading, #0f172a);
  letter-spacing: -.3px;
  margin-bottom: 2px;
}
.hist-service {
  font-size: 12px;
  color: var(--text-muted, #6b7280);
}

/* OTP row */
.hist-otp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hist-otp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16,185,129,.08);
  border: 1.5px solid rgba(16,185,129,.25);
  border-radius: 8px;
  padding: 4px 12px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 800;
  color: #059669;
  letter-spacing: .5px;
}
.hist-otp-copy {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #059669;
  opacity: .55;
  font-size: 13px;
  line-height: 1;
  transition: opacity .15s;
}
.hist-otp-copy:hover { opacity: 1; }

/* Detail grid */
.hist-details {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.hist-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hist-detail-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted, #9ca3af);
}
.hist-detail-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #374151);
}

/* Refund chip */
.hist-refund-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 7px;
  padding: 3px 9px;
}

/* ── Empty state ─────────────────────────────────────────────── */
.hist-empty {
  text-align: center;
  padding: 52px 20px;
}
.hist-empty-icon {
  font-size: 48px;
  color: var(--border);
  margin-bottom: 14px;
  line-height: 1;
}
.hist-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading, #0f172a);
  margin-bottom: 6px;
}
.hist-empty-sub {
  font-size: 13px;
  color: var(--text-muted, #6b7280);
}

/* ── Pagination ──────────────────────────────────────────────── */
.hist-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 16px;
  flex-wrap: wrap;
}
.hist-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted, #6b7280);
  background: var(--card-bg, #fff);
  border: 1.5px solid var(--border);
  transition: all .15s;
  cursor: pointer;
}
.hist-page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99,102,241,.05);
}
.hist-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99,102,241,.3);
}
.hist-page-btn.disabled {
  opacity: .3;
  pointer-events: none;
}
.hist-page-ellipsis {
  font-size: 13px;
  color: var(--text-muted, #9ca3af);
  padding: 0 2px;
  align-self: flex-end;
  line-height: 34px;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .hist-filter-bar {
    gap: 6px;
    padding: 10px 12px;
  }
  .hist-filter-btn {
    font-size: 11.5px;
    padding: 5px 11px;
  }
  .hist-card {
    padding: 12px 12px;
  }
  .hist-card-head {
    flex-wrap: wrap;
    gap: 6px;
  }
  .hist-time {
    font-size: 10.5px;
    width: 100%;
    order: 1;
  }
  .hist-card-head .d-flex {
    order: 0;
    margin-left: 0 !important;
    width: 100%;
    justify-content: flex-start;
  }
  .hist-phone { font-size: 14px; }
  .hist-service { font-size: 11.5px; }
  .hist-details { gap: 14px; }
  .hist-detail-val { font-size: 12.5px; }
  .hist-otp-chip { font-size: 13px; padding: 3px 10px; }
  .hist-summary-bar { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ─── Telegram Auth UI ─────────────────────────── */
.tg-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #229ED9;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  border: none;
  transition: background .18s, transform .14s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(34,158,217,.25);
  user-select: none;
}
.tg-login-btn:hover {
  background: #1a8bbf;
  box-shadow: 0 4px 16px rgba(34,158,217,.35);
  transform: translateY(-1px);
}
.tg-login-btn:active { transform: translateY(0); }

.tg-help-link {
  color: var(--text-muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: color .15s;
}
.tg-help-link:hover { color: var(--primary); }

/* Telegram Register Page */
.tg-identity-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #e8f5ff 0%, #f0f7ff 100%);
  border-bottom: 1.5px solid #cde4f7;
  padding: 14px 22px;
  border-radius: 16px 16px 0 0;
  flex-wrap: wrap;
}
.tg-identity-icon {
  width: 44px;
  height: 44px;
  background: #229ED9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.tg-verified-chip {
  margin-left: auto;
  background: rgba(16,185,129,.12);
  color: #10b981;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(16,185,129,.2);
  white-space: nowrap;
}
.tg-legacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 22px;
  font-size: 13px;
  border-bottom: 1.5px solid var(--border-light);
}
.tg-legacy-notice.has-saldo {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border-bottom-color: rgba(16,185,129,.18);
  color: #065f46;
}
.tg-legacy-notice.no-saldo {
  background: var(--off-white);
  color: var(--text-muted);
}
.tg-legacy-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.tg-legacy-notice.has-saldo .tg-legacy-icon {
  background: rgba(16,185,129,.15);
  color: #10b981;
}
.tg-legacy-notice.no-saldo .tg-legacy-icon {
  background: var(--light);
  color: var(--text-muted);
}

/* ─── Browser Notification Settings UI ────────── */
.notif-perm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text);
}
.notif-perm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.dot-red   { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.15); }
.dot-warn  { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
.notif-perm-action {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.notif-perm-action:hover { text-decoration: underline; }

/* Toggle row */
.notif-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 14px;
}
.notif-toggle-info { flex: 1; min-width: 0; }

/* Toggle switch */
.notif-toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}
.notif-toggle-switch input { opacity: 0; width: 0; height: 0; }
.notif-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 26px;
  transition: background .2s;
}
.notif-toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .2s;
}
.notif-toggle-switch input:checked + .notif-toggle-slider { background: #10b981; }
.notif-toggle-switch input:checked + .notif-toggle-slider::before { transform: translateX(22px); }

/* Main status chip (header) */
.notif-main-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.chip-on   { background: rgba(16,185,129,.12); color: #10b981; border: 1px solid rgba(16,185,129,.2); }
.chip-off  { background: var(--light); color: var(--text-muted); border: 1px solid var(--border); }
.chip-warn { background: rgba(245,158,11,.1); color: #f59e0b; border: 1px solid rgba(245,158,11,.2); }

/* Hint / info box */
.notif-hint-box {
  font-size: 12.5px;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.hint-success { background: rgba(16,185,129,.08); color: #065f46; border: 1px solid rgba(16,185,129,.15); }
.hint-danger  { background: rgba(239,68,68,.07); color: #991b1b; border: 1px solid rgba(239,68,68,.15); }
.hint-warn    { background: rgba(245,158,11,.08); color: #92400e; border: 1px solid rgba(245,158,11,.15); }
.hint-info    { background: rgba(99,102,241,.07); color: #3730a3; border: 1px solid rgba(99,102,241,.15); }

/* ─── Notification toggle button (replaces checkbox approach) ── */
.notif-toggle-btn {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  min-width: 50px;
  background: #d1d5db;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.notif-toggle-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(16,185,129,.35);
}
.notif-toggle-btn.notif-btn-on {
  background: #10b981;
}
.notif-toggle-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.notif-toggle-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: transform .2s ease;
  pointer-events: none;
  display: block;
}
.notif-toggle-btn.notif-btn-on .notif-toggle-knob {
  transform: translateX(22px);
}
/* Override any stale notif-toggle-switch label rules */
.notif-toggle-switch { display: none !important; }

/* ─── RumahOTP S1 — Operator icon styles ── */
.op-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--off-white);
  flex-shrink: 0;
}
.op-icon-fallback {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
}

/* ─── Cancel-wait info chip (S1 before 3 min) ── */
.cancel-wait-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--warning-light);
  color: #92400e;
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* ─── Country grid disabled item ── */
.cg-item.cg-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   ZNK TOAST — Custom Notification System
   Custom DOM-based toasts; SweetAlert2 is only used for
   confirmation modals (showCancelButton / input dialogs).
   ══════════════════════════════════════════════════════ */

/* ─── Container ─────────────────────────────────────── */
#znk-toasts {
  position: fixed;
  top: 70px;
  right: 16px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: 300px;
  max-width: calc(100vw - 24px);
}

/* ─── Individual toast ──────────────────────────────── */
.znk-toast {
  pointer-events: all;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px 15px 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.09), 0 1px 4px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
  /* slide-in from right */
  transform: translateX(calc(100% + 24px));
  opacity: 0;
  transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1), opacity .24s ease-out;
  will-change: transform, opacity;
}
.znk-toast.znk-in {
  transform: translateX(0);
  opacity: 1;
}
.znk-toast.znk-out {
  transform: translateX(calc(100% + 24px));
  opacity: 0;
  transition: transform .24s ease-in, opacity .18s ease-in;
}

/* ─── Left colour accent ────────────────────────────── */
.znk-toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
}
.znk-t-success::before  { background: #10B981; }
.znk-t-error::before    { background: #EF4444; }
.znk-t-warning::before  { background: #F59E0B; }
.znk-t-info::before,
.znk-t-loading::before,
.znk-t-question::before { background: #3B82F6; }

/* ─── Icon column ───────────────────────────────────── */
.znk-t-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 17px;
  line-height: 1;
  margin-top: 1px;
}
.znk-t-success  .znk-t-icon { color: #10B981; }
.znk-t-error    .znk-t-icon { color: #EF4444; }
.znk-t-warning  .znk-t-icon { color: #F59E0B; }
.znk-t-info     .znk-t-icon,
.znk-t-loading  .znk-t-icon,
.znk-t-question .znk-t-icon { color: #3B82F6; }

/* ─── Body ──────────────────────────────────────────── */
.znk-t-body { flex: 1; min-width: 0; }

.znk-t-title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.4;
  letter-spacing: -.01em;
  word-break: break-word;
}
.znk-t-text {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.4;
  margin-top: 2px;
  word-break: break-word;
}

/* ─── Close button ──────────────────────────────────── */
.znk-t-close {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0 0 0 4px;
  margin-top: 0;
  cursor: pointer;
  color: #94A3B8;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color .15s;
}
.znk-t-close:hover { color: #334155; }

/* ─── Progress bar ──────────────────────────────────── */
.znk-t-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(0,0,0,.06);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.znk-t-bar-fill {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  animation: znkBarShrink linear forwards;
}
@keyframes znkBarShrink { to { width: 0; } }
.znk-t-success  .znk-t-bar-fill { background: #10B981; }
.znk-t-error    .znk-t-bar-fill { background: #EF4444; }
.znk-t-warning  .znk-t-bar-fill { background: #F59E0B; }
.znk-t-info     .znk-t-bar-fill,
.znk-t-loading  .znk-t-bar-fill { background: #3B82F6; }

/* ─── Loading spinner ───────────────────────────────── */
.znk-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(59,130,246,.22);
  border-top-color: #3B82F6;
  border-radius: 50%;
  animation: znkSpin .7s linear infinite;
}
@keyframes znkSpin { to { transform: rotate(360deg); } }

/* ─── Mobile (≤ 576 px) ─────────────────────────────── */
@media (max-width: 576px) {
  #znk-toasts {
    top: 64px;
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
  }
  .znk-toast { padding: 11px 11px 14px 14px; }
  .znk-t-title { font-size: 12.5px; }
  .znk-t-text  { font-size: 11px; }
}

/* ══════════════════════════════════════════════════════
   SALDO FLASH — Real-time balance change indicator
   ══════════════════════════════════════════════════════ */
@keyframes saldoFlash {
  0%   { color: inherit; }
  15%  { color: #28c76f; }
  100% { color: inherit; }
}
.saldo-flash {
  animation: saldoFlash 1.4s ease-out;
}

/* ── QRIS Method Selector ── */
.qris-method-btn {
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--off-white);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.qris-method-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.qris-method-btn:hover:not(.active) {
  border-color: var(--border);
  background: var(--light);
}

/* ── Desktop layout — match mobile style ── */
@media (min-width: 992px) {
  .app-layout {
    display: flex;
    min-height: calc(100vh - var(--navbar-h));
  }
  .app-main {
    flex: 1;
    min-width: 0;
    padding-top: var(--navbar-h);
  }
  .app-content {
    padding: 24px;
    max-width: 100%;
  }
  .sidebar {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    width: var(--sidebar-w);
    height: calc(100vh - var(--navbar-h));
    padding-top: 0;
  }
  .app-main {
    margin-left: var(--sidebar-w);
  }
}

/* ── Announcement popup backdrop animation ── */
.modal-overlay-custom {
  animation: fadeInOverlay 0.2s ease;
}
.modal-box-custom {
  animation: slideUpModal 0.25s ease;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUpModal {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
