/* ==========================================================================
   WEREWOLF OTP - TELEGRAM MINI APP STYLESHEET
   Design Theme: Obsidian Dark / Cyber Glassmorphism / Neon Accents
   ========================================================================== */

:root {
  --bg-main: #0a0d14;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 52, 0.85);
  --bg-input: rgba(14, 18, 29, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.3);

  --accent-cyan: #00d2ff;
  --accent-blue: #3a7bd5;
  --accent-emerald: #00e676;
  --accent-emerald-glow: rgba(0, 230, 118, 0.25);
  --accent-purple: #9d4edd;
  --accent-amber: #ffb300;
  --accent-danger: #ff5252;
  --accent-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  --accent-gradient-purple: linear-gradient(135deg, #b5179e 0%, #7209b7 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.2);
}

/* Telegram theme variable overrides */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  min-height: 100vh;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Top Ambient Glow Elements */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.orb-primary {
  width: 250px;
  height: 250px;
  background: #3a7bd5;
  top: -80px;
  right: -50px;
}
.orb-secondary {
  width: 220px;
  height: 220px;
  background: #7209b7;
  top: 150px;
  left: -70px;
}

#app-container {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 80px 16px;
  min-height: 100vh;
}

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.app-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-gradient);
  animation: pulse-ring 3s infinite linear;
}

.user-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #1e293b;
  border: 2px solid var(--bg-main);
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.greeting-sub {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.greeting-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
  color: var(--text-main);
}

.user-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-role {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.badge-id {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

/* ── BALANCE CARD ────────────────────────────────────────────────────────── */
.balance-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.balance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.balance-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.balance-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.icon-svg {
  width: 14px;
  height: 14px;
}

.balance-amount-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency-prefix {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.balance-val {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  color: #ffffff;
}

.balance-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-topup {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
  transition: all 0.2s ease;
}

.btn-topup:active {
  transform: scale(0.96);
  opacity: 0.9;
}

.btn-icon {
  width: 15px;
  height: 15px;
}

.btn-icon-only {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-only:active {
  transform: rotate(180deg) scale(0.9);
  color: var(--text-main);
}

.refresh-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.4s ease;
}

.btn-icon-only.spinning .refresh-icon {
  animation: spin 0.8s linear infinite;
}

/* ── NAV TABS ───────────────────────────────────────────────────────────── */
/* ── NAV TABS (SEGMENTED CONTROL) ────────────────────────────────────────── */
.nav-tabs {
  display: flex;
  background: rgba(15, 20, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 5px;
  gap: 5px;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-tab {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-dim);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  border-radius: var(--radius-md);
  position: relative;
  white-space: nowrap;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.nav-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: stroke 0.2s, filter 0.2s;
}

.nav-tab.active .nav-icon {
  stroke: var(--accent-cyan);
  filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.5));
}

.active-pill {
  display: none;
}

/* ── TAB PANELS ─────────────────────────────────────────────────────────── */
.tab-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tab-panel.active {
  display: block;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px 0;
}

.section-heading {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  white-space: nowrap;
}

.section-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── ACTIVE ORDER CARD & MULTI BULK ORDERS SECTION ──────────────────────── */
.active-orders-section {
  margin-bottom: 24px;
}

.active-orders-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.active-orders-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseCyan 1.8s infinite;
}

@keyframes pulseCyan {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.active-orders-heading {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-main);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-cancel-all-ghost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.28);
  color: var(--accent-danger);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  height: 24px;
}

.btn-cancel-all-ghost svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.btn-cancel-all-ghost:hover {
  background: rgba(255, 82, 82, 0.2);
}

.active-orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.active-order-box, .active-order-card {
  background: linear-gradient(135deg, rgba(26, 34, 52, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.12);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.active-order-card.has-otp {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 22px rgba(0, 230, 118, 0.18);
}

.active-order-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-meta-info {
  display: flex;
  flex-direction: column;
}

.order-meta-service {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.order-meta-country {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
}

.order-timer-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.order-status-badge.waiting {
  color: var(--accent-amber);
}

.order-status-badge.received {
  color: var(--accent-emerald);
  text-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
}

.active-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pulse-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.dot-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.ping-circle {
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.order-status-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.5px;
}

.countdown-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.dot-separator {
  opacity: 0.4;
}

.phone-display-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.phone-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 4px;
}

.phone-number-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.btn-copy {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy svg {
  width: 13px;
  height: 13px;
}

.btn-copy:active {
  background: var(--accent-cyan);
  color: #000;
}

/* ── OTP RESULT CARD ─────────────────────────────────────────────────────── */
.otp-result-card {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15) 0%, rgba(18, 24, 38, 0.9) 100%);
  border: 2px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  text-align: center;
  box-shadow: 0 0 30px var(--accent-emerald-glow);
  animation: popIn 0.3s ease;
}

.otp-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.otp-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.otp-code {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
  flex: 1;
  text-align: center;
}

.btn-copy-otp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--accent-emerald);
  color: #000;
  border: none;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  height: 34px;
}

.btn-copy-otp svg {
  width: 13px;
  height: 13px;
}

.btn-copy-otp:active {
  transform: scale(0.95);
}

/* Polling Radar Bar */
.radar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.3), transparent);
  animation: sweep 2s infinite linear;
}

/* Order Action Buttons */
.order-action-buttons {
  display: flex;
  gap: 10px;
}

.btn-danger-outline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 82, 82, 0.1);
  color: var(--accent-danger);
  border: 1px solid rgba(255, 82, 82, 0.3);
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger-outline svg {
  width: 15px;
  height: 15px;
}

.btn-danger-outline:active {
  background: var(--accent-danger);
  color: #fff;
}

.btn-success {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--accent-emerald);
  color: #000;
  border: none;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  min-height: 38px;
}

.btn-success:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.btn-success:active {
  transform: scale(0.97);
}

.btn-success svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.order-action-dual {
  display: flex;
  gap: 8px;
  width: 100%;
}

.order-action-dual button {
  flex: 1;
  min-width: 0;
}

.btn-repeat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.35);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  min-height: 38px;
}

.btn-repeat:hover {
  background: rgba(0, 210, 255, 0.22);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.btn-repeat:active {
  transform: scale(0.97);
}

.btn-repeat svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── SERVICE SELECTOR ────────────────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.service-card:active {
  transform: scale(0.97);
}

.service-card.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.svc-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.service-card:hover .svc-icon-box {
  transform: scale(1.06);
}

.official-app-logo {
  width: 100%;
  height: 100%;
  display: block;
}

.pill-app-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 4px;
}

.modal-app-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: block;
  margin: 0 auto 10px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.svc-details {
  display: flex;
  flex-direction: column;
}

.svc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.svc-tag {
  font-size: 10px;
  color: var(--text-dim);
}

.country-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-refresh-prices-ghost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-refresh-prices-ghost:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--accent-cyan);
}

.btn-refresh-prices-ghost svg.spinning {
  animation: spin 0.7s linear infinite;
}

/* ── PRICE UPDATE & NOTICE BANNER ────────────────────────────────────────── */
.price-update-banner {
  background: linear-gradient(135deg, rgba(20, 28, 48, 0.9) 0%, rgba(13, 20, 36, 0.95) 100%);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.price-banner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.price-banner-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  white-space: nowrap;
  flex: 1;
}

.price-banner-item:last-child {
  justify-content: flex-end;
}

.banner-label {
  color: var(--text-dim);
  font-size: 10px;
  white-space: nowrap;
}

.banner-val {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.price-banner-notice {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  color: var(--accent-amber);
  line-height: 1.35;
}

.price-banner-notice::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 5px var(--accent-amber);
  flex-shrink: 0;
}

/* ── SEARCH BOX ──────────────────────────────────────────────────────────── */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.search-box:focus-within {
  border-color: var(--accent-cyan);
}

.search-icon {
  width: 16px;
  height: 16px;
  color: var(--text-dim);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  font-family: var(--font-body);
}

.search-box input::placeholder {
  color: var(--text-dim);
}

.btn-clear {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
}

/* ── COUNTRY LIST ────────────────────────────────────────────────────────── */
.country-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.country-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  gap: 12px;
  min-height: 64px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.country-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.country-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.country-flag-box {
  width: 36px;
  height: 25px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.country-flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pill-flag-img {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  vertical-align: middle;
  display: inline-block;
}

.country-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.country-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.country-code-sub {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-top: 3px;
  white-space: nowrap;
}

.country-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.country-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
}

.country-price-val {
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--accent-emerald);
  white-space: nowrap;
}

.country-stock-tag {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
  white-space: nowrap;
}

.btn-buy-country {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  min-width: 58px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 210, 255, 0.25);
  transition: all 0.15s ease;
}

.btn-buy-country:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.btn-buy-country:active {
  transform: scale(0.95);
}

/* ── TAB 2: TOPUP QRIS ───────────────────────────────────────────────────── */
.topup-intro-card {
  background: rgba(26, 34, 52, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.qris-brand-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

.qris-title {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #fff;
}

.qris-pill {
  font-size: 11px;
  color: var(--accent-cyan);
}

.qris-desc {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Active QRIS Box */
.qris-active-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
  animation: popIn 0.3s ease;
}

.qris-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.qris-status-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.qris-timer {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-amber);
}

.qr-code-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 16px auto;
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.qris-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff;
  animation: scan 2s infinite alternate ease-in-out;
}

.qris-details-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-input);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.qris-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.qris-row.subtle {
  font-size: 11px;
  color: var(--text-dim);
}

.qris-total-amount {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--accent-emerald);
}

.qris-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Preset Amount Chips */
.preset-amounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.chip-amount {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 6px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.chip-amount.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

.custom-amount-box {
  margin-bottom: 20px;
}

.input-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.input-currency-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.input-currency-wrapper:focus-within {
  border-color: var(--accent-cyan);
}

.currency-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-right: 8px;
}

.input-currency-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #fff;
}

/* Generic Buttons */
.btn-primary,
.btn-primary-gradient {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
  transition: transform 0.2s, opacity 0.2s;
}

.btn-primary:active,
.btn-primary-gradient:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.btn-primary svg,
.btn-primary-gradient svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-large {
  padding: 14px 20px;
  font-size: 15px;
}

.full-width {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  padding: 8px;
  cursor: pointer;
}

/* ── TAB 3: RIWAYAT TRANSAKSI ────────────────────────────────────────────── */
.history-filter-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
}

.filter-pill.active {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.history-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 210, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.history-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.history-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.history-app-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.history-generic-icon {
  font-size: 20px;
}

.history-icon-box.topup {
  background: rgba(0, 230, 118, 0.12);
  border-color: rgba(0, 230, 118, 0.25);
  color: var(--accent-emerald);
}

.history-icon-box.order {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.25);
  color: var(--accent-cyan);
}

.history-icon-box.refund {
  background: rgba(255, 179, 0, 0.12);
  border-color: rgba(255, 179, 0, 0.25);
  color: var(--accent-amber);
}

.history-icon-box.bot {
  background: rgba(157, 78, 221, 0.12);
  border-color: rgba(157, 78, 221, 0.25);
  color: var(--accent-purple);
}

.history-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.history-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.history-service-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.history-badge-type {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 1px 6px;
  border-radius: 5px;
  text-transform: uppercase;
}

.badge-order {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.badge-topup {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.badge-refund {
  background: rgba(255, 179, 0, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 179, 0, 0.25);
}

.badge-bot {
  background: rgba(157, 78, 221, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(157, 78, 221, 0.25);
}

.history-sub-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 1px;
}

.history-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.history-phone-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.history-otp-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: rgba(0, 210, 255, 0.14);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: #00d2ff;
  padding: 2px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

.history-otp-pill:hover {
  background: rgba(0, 210, 255, 0.25);
  border-color: rgba(0, 210, 255, 0.6);
  transform: translateY(-1px);
}

.history-otp-pill b {
  color: #fff;
  letter-spacing: 0.5px;
}

.history-copy-svg {
  width: 11px;
  height: 11px;
  opacity: 0.75;
}

.history-ref-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

.history-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.history-meta {
  font-size: 11px;
  color: var(--text-dim);
}

.history-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: 10px;
  flex-shrink: 0;
}

.history-amount {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.history-amount.plus {
  color: var(--accent-emerald);
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.history-amount.minus {
  color: #f1f5f9;
}

.history-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
}

.status-success {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.status-warning {
  background: rgba(255, 179, 0, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 179, 0, 0.25);
}

.status-danger {
  background: rgba(255, 82, 82, 0.12);
  color: var(--accent-danger);
  border: 1px solid rgba(255, 82, 82, 0.25);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ── MODAL OVERLAY ───────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  width: 100%;
  max-width: 380px;
  background: #111624;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  animation: popIn 0.25s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.confirm-service-icon {
  font-size: 32px;
  text-align: center;
  margin-bottom: 6px;
}

.confirm-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.confirm-item-row.subtle {
  font-size: 11px;
  color: var(--text-dim);
}

.confirm-price {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--accent-emerald);
}

/* ── MODAL BULK QUANTITY CONTROLS ────────────────────────────────────────── */
.modal-qty-control {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2px;
}

.btn-qty-step {
  width: 32px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-qty-step:active {
  background: var(--accent-cyan);
  color: #000;
}

.qty-display {
  min-width: 36px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.quick-qty-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.chip-qty {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  padding: 5px 0;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.chip-qty.active, .chip-qty:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.confirm-item-row.total-highlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin: 4px 0;
  align-items: center;
}

.confirm-item-row.total-highlight .confirm-price {
  font-size: 17px;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.confirm-note {
  font-size: 11px;
  color: var(--accent-amber);
  margin-top: 8px;
  line-height: 1.4;
}

.modal-footer {
  display: flex;
  gap: 10px;
}

.modal-footer button {
  flex: 1;
}

/* ── CANCEL ALL CONFIRM MODAL STYLES ── */
.cancel-all-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.3);
  margin: 4px auto 10px auto;
  box-shadow: 0 0 25px rgba(255, 82, 82, 0.15);
}

.cancel-all-summary-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 10px;
}

.btn-danger-gradient {
  background: linear-gradient(135deg, #ff5252 0%, #c62828 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 82, 82, 0.35);
  transition: all 0.2s ease;
}

.btn-danger-gradient:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(255, 82, 82, 0.5);
  transform: translateY(-1px);
}

.btn-danger-gradient:active {
  transform: scale(0.97);
}

.btn-danger-gradient:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── FLOATING TOAST ──────────────────────────────────────────────────────── */
.app-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  z-index: 200;
  white-space: nowrap;
  animation: slideUpToast 0.3s ease;
}

/* ── UTILITIES & ANIMATIONS ──────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px;
  color: var(--text-dim);
  font-size: 12px;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(450%); }
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUpToast {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ═══════════════════════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════════════════════ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0d14;
  overflow: hidden;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.ls-hidden {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

/* Ambient orbs */
.ls-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0;
  animation: ls-orb-appear 1s ease forwards;
}
.ls-orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #3a7bd5 0%, transparent 70%);
  top: -80px;
  right: -60px;
  animation-delay: 0.1s;
}
.ls-orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #7209b7 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
  animation-delay: 0.25s;
}
.ls-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #00d2ff 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.4s;
}

@keyframes ls-orb-appear {
  to { opacity: 0.3; }
}

/* Inner content */
.ls-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 32px;
  animation: ls-enter 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes ls-enter {
  from { opacity: 0; transform: translateY(24px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ── Logo ── */
.ls-logo-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #00d2ff, #3a7bd5) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: ls-spin 2.4s linear infinite;
}

.ls-logo-ring-2 {
  inset: 10px;
  border-width: 2px;
  background: linear-gradient(225deg, #b5179e, #7209b7) border-box;
  animation: ls-spin 3.6s linear infinite reverse;
  opacity: 0.7;
}

@keyframes ls-spin {
  to { transform: rotate(360deg); }
}

.ls-logo-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  background: rgba(0, 210, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.15),
              inset 0 0 20px rgba(0, 210, 255, 0.05);
  animation: ls-icon-pulse 2s ease-in-out infinite;
}

@keyframes ls-icon-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 210, 255, 0.15), inset 0 0 20px rgba(0, 210, 255, 0.05); }
  50%       { box-shadow: 0 0 50px rgba(0, 210, 255, 0.35), inset 0 0 30px rgba(0, 210, 255, 0.12); }
}

/* ── Brand ── */
.ls-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ls-brand-main {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #00d2ff 0%, #ffffff 50%, #3a7bd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ls-brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Status text ── */
.ls-status-wrap {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-status-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  transition: opacity 0.3s ease;
  text-align: center;
}

/* ── Progress bar ── */
.ls-progress-track {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.ls-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.ls-progress-bar::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: ls-shimmer 1.2s ease infinite;
}

@keyframes ls-shimmer {
  from { transform: translateX(-40px); }
  to   { transform: translateX(200px); }
}

/* ── Step indicators ── */
.ls-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 220px;
  margin-top: 4px;
}

.ls-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-dim);
  transition: color 0.4s ease;
}

.ls-step.active {
  color: var(--text-muted);
}

.ls-step.done {
  color: var(--accent-emerald);
}

.ls-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.ls-step.active .ls-step-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
  animation: ls-dot-pulse 1s ease-in-out infinite;
}

.ls-step.done .ls-step-dot {
  background: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
  animation: none;
}

@keyframes ls-dot-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}
