:root {
  --bg-color: #060911;
  --bg-surface: #0c1220;
  --bg-card: #111a2e;
  --bg-card-stars: #0c121e;
  --bg-card-prem: #121028;
  --border-color: rgba(0, 150, 255, 0.12);
  --border-active: #0084ff;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #0070f3;
  --accent-cyan: #00d2ff;
  --accent-glow: rgba(0, 112, 243, 0.35);
  --accent-yellow: #ffb800;
  --accent-purple: #a855f7;
  --accent-green: #10b981;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Theme */
body.light-theme {
  --bg-color: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-stars: #ffffff;
  --bg-card-prem: #ffffff;
  --border-color: #e2e8f0;
  --border-active: #0070f3;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-cyan: #0284c7;
  --accent-blue: #0060c4;
  --accent-glow: rgba(0, 112, 243, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-top: env(safe-area-inset-top, 0px);
}

/* 1-rasmdagi Moviy neon yorug'lik foni */
.ambient-glow {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 112, 243, 0.22) 0%, rgba(0, 210, 255, 0.12) 40%, transparent 75%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(95px + env(safe-area-inset-bottom, 0px)) 16px;
  position: relative;
  z-index: 1;
}

/* ================= HEADER ================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 16px 0;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.35);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-balance-chip {
  background: rgba(0, 112, 243, 0.1);
  border: 1px solid rgba(0, 112, 243, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.header-balance-chip:active {
  transform: scale(0.96);
  background: rgba(0, 112, 243, 0.2);
}

.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0070f3, #00d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.35);
  cursor: pointer;
}

/* ================= ASOSIY KARTALAR ================= */
.main-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.category-card {
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 20px 14px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 195px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  background: var(--bg-surface);
}

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

/* Telegram Stars Card */
.card-stars {
  background: radial-gradient(circle at 50% 35%, #161822 0%, var(--bg-surface) 85%);
  border-color: rgba(255, 184, 0, 0.2);
}

.card-stars:active {
  border-color: rgba(255, 184, 0, 0.6);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.2);
}

/* Telegram Premium Card */
.card-premium {
  background: radial-gradient(circle at 50% 35%, #181432 0%, var(--bg-surface) 85%);
  border-color: rgba(168, 85, 247, 0.2);
}

.card-premium:active {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.22);
}

.card-icon-area {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.category-card-thumb {
  width: 100%;
  height: 100%;
  max-height: 110px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.card-img-art-box {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stars-art-anim {
  animation: floatSlow 3.2s ease-in-out infinite alternate;
}

.premium-art-anim {
  animation: floatSlow 3.2s ease-in-out infinite alternate-reverse;
  box-shadow: 0 0 20px rgba(0, 195, 255, 0.3);
}

.prem-space-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  filter: contrast(1.08) brightness(1.05);
}

.prem-ambient-aurora {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  background: radial-gradient(circle at 75% 25%, rgba(0, 229, 255, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 25% 75%, rgba(217, 70, 239, 0.28) 0%, transparent 60%);
  mix-blend-mode: screen;
}

.prem-header-space-img {
  filter: contrast(1.08) brightness(1.05);
}

.first-purchase-disc-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(239, 68, 68, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.14);
}

.fpd-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fpd-title {
  font-size: 12px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.2px;
}

.fpd-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.strike-old-price {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.85em;
  margin-right: 6px;
  font-weight: 500;
}

.discount-active-price {
  color: #f59e0b !important;
  font-weight: 800;
}

.disc-badge-pill {
  display: inline-block;
  background: #f59e0b;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.pay-method-icon-box.visa-box {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
}

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

.card-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.card-title-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.card-arrow {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: bold;
}

.stars-art-wrapper, .premium-art-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stars-svg {
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 0 18px rgba(255, 184, 0, 0.65));
  animation: floatSlow 3s ease-in-out infinite alternate;
  will-change: transform;
}

.premium-svg {
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.75));
  animation: floatSlow 3s ease-in-out infinite alternate-reverse;
  will-change: transform;
}

.sparkle-dot {
  position: absolute;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  animation: twinkle 2s infinite ease-in-out;
  text-shadow: 0 0 8px currentColor;
}

.card-stars .sparkle-dot {
  color: #ffd700;
}

.card-premium .sparkle-dot {
  color: #f472b6;
}

.sp1 { top: -2px; left: 8px; animation-delay: 0.15s; }
.sp2 { top: 6px; right: 4px; animation-delay: 0.75s; }
.sp3 { bottom: 8px; left: 2px; animation-delay: 1.25s; }
.sp4 { bottom: 12px; right: 2px; animation-delay: 0.45s; }

@keyframes floatSlow {
  0% { transform: translateY(2px) scale(0.98) rotate(-1.5deg); }
  50% { transform: translateY(-3px) scale(1.02) rotate(1deg); }
  100% { transform: translateY(-7px) scale(1.04) rotate(0deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(15deg); }
}

/* Banner / Quick Stats */
.quick-stats-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 20px;
}

.quick-stat-box {
  text-align: center;
}

.quick-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.quick-stat-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ================= ICHKI SAHIFA ELEMENTLARI ================= */
.page-header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-back {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-back:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.16);
}

.page-title {
  font-size: 18px;
  font-weight: 800;
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.input-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.text-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.text-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-self {
  background: rgba(0, 112, 243, 0.12);
  border: 1px solid rgba(0, 112, 243, 0.3);
  color: var(--accent-cyan);
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-self:active {
  transform: scale(0.95);
  background: rgba(0, 112, 243, 0.25);
}

.target-preview {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.target-preview.active {
  display: flex;
}

.target-preview-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border-color);
  overflow: hidden;
}

.target-preview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.target-preview-info {
  flex: 1;
}

.target-preview-name {
  font-size: 14px;
  font-weight: 700;
}

.target-preview-user {
  font-size: 12px;
  color: var(--text-secondary);
}

.target-preview-badge {
  font-size: 11px;
  background: rgba(16, 185, 129, 0.18);
  color: var(--accent-green);
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.preset-chip {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 9px 4px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.preset-chip:active, .preset-chip.active {
  background: rgba(0, 112, 243, 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-glow);
}

.preset-stars {
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.preset-price {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.preset-price-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.chip-old-price {
  font-size: 9.5px;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.65;
  line-height: 1.1;
  font-weight: 500;
}

.chip-new-price {
  font-size: 11px;
  font-weight: 800;
  color: #f59e0b;
  line-height: 1.1;
}

.chip-regular-price {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

.preset-discount-pill {
  position: absolute;
  top: -6px;
  right: -3px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1.5px 5px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
  pointer-events: none;
}

.preset-price .strike-old-price {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: 9.5px;
}

.preset-price .discount-active-price {
  color: #f59e0b;
  font-weight: 700;
  font-size: 11px;
}

body.light-theme .preset-price .discount-active-price {
  color: #d97706;
}

/* Premium Card Discounts */
.premium-old-price {
  font-size: 11.5px;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.65;
  margin-bottom: 1px;
  font-weight: 500;
}

.premium-discount-tag {
  position: absolute;
  top: -7px;
  right: 14px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.3px;
}

.preset-chip.unavailable,
.premium-card.unavailable {
  opacity: 0.45;
  filter: grayscale(0.7);
  cursor: not-allowed;
  position: relative;
}

.preset-chip.unavailable .preset-price {
  opacity: 0.7;
}

.unavailable-chip-badge {
  font-size: 8.5px;
  font-weight: 700;
  color: #ef4444;
  margin-top: 2px;
  letter-spacing: 0.2px;
}

.unavailable-card-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

.btn-deposit-needed {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35) !important;
  color: #ffffff !important;
}

.premium-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.premium-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition);
}

.premium-card:active, .premium-card.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(0, 112, 243, 0.15));
  border-color: var(--accent-purple);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.25);
}

.premium-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #0070f3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.premium-months {
  font-size: 15px;
  font-weight: 700;
}

.premium-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.premium-price-box {
  text-align: right;
}

.premium-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.premium-per-month {
  font-size: 11px;
  color: var(--accent-cyan);
}

.summary-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}

.summary-label {
  color: var(--text-secondary);
}

.summary-val {
  font-weight: 600;
  color: var(--text-primary);
}

.summary-total {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-cyan);
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%);
  border: none;
  border-radius: 14px;
  padding: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(0, 112, 243, 0.4);
  transition: var(--transition);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ================= 4-TALAB: PROFIL BO'LIMI ================= */
.profile-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.profile-avatar-large {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff, #00d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 112, 243, 0.4);
}

.profile-info-large {
  flex: 1;
}

.profile-name-large {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 2px;
}

.profile-id-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-copy-mini {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: var(--text-primary);
  padding: 2px 6px;
  font-size: 10px;
  cursor: pointer;
}

.profile-balance-banner {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 210, 255, 0.1));
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.profile-balance-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.btn-profile-topup {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Settings Items in Profile */
.profile-setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.profile-setting-item:last-child {
  border-bottom: none;
}

.profile-setting-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* Toggle Switches */
.lang-toggle-box {
  display: flex;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 2px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

.theme-toggle-box {
  display: flex;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 2px;
  border: 1px solid var(--border-color);
}

.theme-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

.profile-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

/* ================= 2-RASMDAGI FOYDALANISH SHARTLARI MODALI ================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.terms-card-modal {
  background: #101322;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  max-width: 440px;
  width: 100%;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  max-height: 85vh;
  overflow-y: auto;
}

.terms-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.terms-title-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.terms-time-chip {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 2-rasmdagi Stepper ro'yxati */
.terms-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.terms-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.terms-step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #201a45;
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.terms-step-text {
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.5;
  padding-top: 3px;
}

.terms-step-highlight {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
}

/* ================= BOTTOM NAVIGATION ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 18, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  padding: 8px 6px calc(14px + env(safe-area-inset-bottom, 0px)) 6px;
  z-index: 100;
}

body.light-theme .bottom-nav {
  background: rgba(255, 255, 255, 0.95);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #64748b;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 10.5px;
  font-weight: 700;
  transition: var(--transition);
  padding: 4px 8px;
}

.nav-item svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.nav-item.active {
  color: var(--accent-cyan);
}

.nav-item.active svg {
  stroke: var(--accent-cyan);
}

/* ================= 2-TALAB BO'YICHA TOAST XABARLAR TUZATISH ================= */
.toast-msg {
  position: fixed;
  bottom: 74px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(12, 18, 32, 0.95);
  border: 1px solid var(--border-active);
  backdrop-filter: blur(16px);
  padding: 12px 22px;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none; /* Foydalanuvchi bosishini bloklamaydi! */
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  z-index: 9999;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ================= YUZUPIN USLUBIDAGI BALANS VA TO'LOV TIZIMI (DIGITAL PIN DIZAYN) ================= */

/* TO'LOV USULLARI HUBI (1-RASMDAGI 2x2 ANIQ DIZAYN) */
.payment-methods-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.pay-method-card-2x2 {
  background: #111927;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.pay-method-card-2x2:active {
  transform: scale(0.97);
  border-color: #0070f3;
  background: #162032;
}

.pay-method-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.humo-mini-badge {
  background: linear-gradient(135deg, #1b3d2f, #0d2319);
  border: 1.5px solid #d4af37;
  border-radius: 7px;
  padding: 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.humo-mini-badge span {
  font-size: 10px;
  font-weight: 900;
  color: #f6c854;
  letter-spacing: 0.5px;
}

.bankomat-icon-cube {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visa-badge-cube {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-method-info-2x2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.pay-method-title-2x2 {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.pay-method-sub-2x2 {
  font-size: 10.5px;
  color: #8da2be;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deposit-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  margin-top: 6px;
}

.hub-help-link {
  font-size: 13px;
  font-weight: 700;
  color: #0070f3;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hub-help-link:active {
  opacity: 0.7;
}

body.light-theme .pay-method-card-2x2 {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

body.light-theme .pay-method-title-2x2 {
  color: #0f172a;
}

body.light-theme .pay-method-sub-2x2 {
  color: #64748b;
}

body.light-theme .hub-help-link {
  color: #0284c7;
}

.manual-upload-dropzone {
  border: 2px dashed rgba(0, 112, 243, 0.4);
  background: rgba(0, 112, 243, 0.05);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.manual-upload-dropzone:active {
  border-color: var(--accent-cyan);
  background: rgba(0, 112, 243, 0.12);
}

.manual-upload-dropzone.has-file {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

body.light-theme .pay-method-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

body.light-theme .pay-method-title {
  color: #0f172a;
}

body.light-theme .pay-method-sub {
  color: #64748b;
}

body.light-theme .hub-help-link {
  color: #0284c7;
}

body.light-theme .manual-upload-dropzone {
  border-color: #cbd5e1;
  background: #f8fafc;
}

body.light-theme .manual-upload-dropzone.has-file {
  border-color: #10b981;
  background: #f0fdf4;
}

/* 2-RASM: QO'LLANMA VA SUMMANI KIRITISH */
.guide-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.guide-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 112, 243, 0.16);
  border: 1px solid rgba(0, 112, 243, 0.35);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-title-text {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

body.light-theme .guide-title-text {
  color: #0f172a;
}

/* Stepper va Vertikal ulanish chizig'i */
.deposit-stepper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  padding-left: 6px;
}

.deposit-stepper::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 14px;
  bottom: 24px;
  width: 2px;
  background: rgba(0, 150, 255, 0.22);
  z-index: 1;
}

.stepper-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.stepper-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--accent-blue);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 112, 243, 0.25);
}

.stepper-content {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.48;
  padding-top: 3px;
  font-weight: 500;
}

body.light-theme .stepper-content {
  color: #334155;
}

.stepper-step-alert .stepper-num {
  border-color: #f59e0b;
  color: #f59e0b;
  background: #1c1917;
}

.stepper-alert-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.stepper-alert-text {
  font-size: 13px;
  color: #fde68a;
  line-height: 1.45;
}

body.light-theme .stepper-alert-text {
  color: #b45309;
}

/* Kiritish inputi */
.topup-input-wrapper {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  transition: var(--transition);
}

.topup-input-wrapper:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.25);
}

.topup-amount-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  font-family: inherit;
}

body.light-theme .topup-amount-input {
  color: #0f172a;
}

.topup-currency-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-left: 8px;
}

.topup-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.topup-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 13px;
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.topup-pill-btn:hover, .topup-pill-btn:active {
  background: rgba(0, 112, 243, 0.2);
  border-color: var(--border-active);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ================= 1-RASM: FAOL BAND VA TO'LOV EKRANI (DIGITAL PIN MOVIY DIZAYN) ================= */

.active-wallet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.active-wallet-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 112, 243, 0.2);
  border: 1px solid rgba(0, 112, 243, 0.4);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.active-wallet-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

body.light-theme .active-wallet-title {
  color: #0f172a;
}

/* Balans karta */
.active-user-balance-card {
  background: linear-gradient(135deg, #0e1e3b 0%, #132a54 100%);
  border: 1px solid rgba(0, 150, 255, 0.25);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
}

body.light-theme .active-user-balance-card {
  background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
}

.active-user-balance-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.active-user-balance-sub {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}

body.light-theme .active-user-balance-sub {
  color: #e2e8f0;
}

.active-user-balance-amount {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
}

.active-user-balance-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

body.light-theme .active-user-balance-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* FAOL BAND Barchasi */
.active-booked-banner {
  background: rgba(245, 158, 11, 0.08);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.booked-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booked-hourglass-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.booked-title-tag {
  font-size: 11px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.8px;
}

.booked-amount-display {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

body.light-theme .booked-amount-display {
  color: #0f172a;
}

.booked-banner-right {
  text-align: right;
}

.booked-instruction-text {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.booked-timer-chip {
  font-size: 13.5px;
  font-weight: 800;
  color: #fbbf24;
  margin-top: 2px;
}

/* Kartaga o'tkazing sarlavhasi */
.card-transfer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
}

body.light-theme .card-transfer-heading {
  color: #1e293b;
}

/* Punktir ramkali to'lov qutisi */
.dashed-transfer-box {
  border: 1.5px dashed rgba(0, 168, 255, 0.45);
  background: rgba(0, 112, 243, 0.05);
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  margin-bottom: 18px;
}

.dashed-transfer-hint {
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.dashed-exact-amount {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 14px rgba(0, 210, 255, 0.35);
}

body.light-theme .dashed-exact-amount {
  color: #0f172a;
}

.dashed-warning-pill {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  border-radius: 24px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

/* Digital Pin Moviy Bank Kartasi */
.digitalpin-payment-card {
  background: linear-gradient(135deg, #093b7a 0%, #0060c4 50%, #00a0e2 100%);
  border-radius: 20px;
  padding: 22px 24px;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 98, 196, 0.4);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.digitalpin-payment-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.bankcard-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.bankcard-holder {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.bankcard-number-row {
  margin-bottom: 20px;
}

.bankcard-number {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 3px;
  font-family: monospace, -apple-system;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.bankcard-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bankcard-network {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

.bankcard-copy-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.bankcard-copy-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.3);
}

/* Yangilash tugmasi */
.btn-refresh-transfer {
  width: 100%;
  background: rgba(14, 24, 46, 0.9);
  border: 1.5px solid var(--border-active);
  color: #ffffff;
  border-radius: 16px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(0, 112, 243, 0.2);
}

body.light-theme .btn-refresh-transfer {
  background: #ffffff;
  color: #0f172a;
}

.btn-refresh-transfer:hover, .btn-refresh-transfer:active {
  background: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-cancel-transfer {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  transition: var(--transition);
}

.btn-cancel-transfer:hover {
  color: #ffffff;
}

/* ================= 2 DAQIQALIK AVTOMATIK TEKSHIRISH VA CHEK YUKLASH BO'LIMI ================= */
.auto-verify-card {
  background: rgba(6, 26, 26, 0.75);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

body.light-theme .auto-verify-card {
  background: rgba(240, 253, 244, 0.95);
  border-color: rgba(16, 185, 129, 0.4);
}

.auto-verify-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.auto-verify-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.16);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.auto-verify-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auto-verify-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

body.light-theme .auto-verify-title {
  color: #065f46;
}

.auto-verify-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2dd4bf;
  font-weight: 600;
}

body.light-theme .auto-verify-sub-row {
  color: #047857;
}

.auto-verify-timer-text {
  font-size: 15px;
  font-weight: 900;
  color: #10b981;
  font-family: monospace, inherit;
}

.auto-verify-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

body.light-theme .auto-verify-progress-track {
  background: rgba(0, 0, 0, 0.08);
}

.auto-verify-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00d2ff, #10b981);
  border-radius: 4px;
  transition: width 0.4s linear;
}

.auto-verify-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 12px;
}

body.light-theme .auto-verify-desc {
  color: #334155;
}

.auto-verify-countdown-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

body.light-theme .auto-verify-countdown-footer {
  color: #64748b;
}

.auto-verify-upload-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upload-alert-note {
  font-size: 12.5px;
  color: #fde68a;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

body.light-theme .upload-alert-note {
  color: #b45309;
}

.btn-upload-receipt {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: #ffffff;
  border-radius: 14px;
  padding: 13px;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-upload-receipt:hover, .btn-upload-receipt:active {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.receipt-status-banner {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

/* ================= SEHRLI +1 ANIQ SUMMA KARTASI VA TAQQOSLASH (SEHRLI DUMCHA) ================= */
.magic-amount-card {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 70%), #0c1322;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 20px;
  padding: 18px 20px;
  margin-top: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

body.light-theme .magic-amount-card {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.5);
}

.magic-amount-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.magic-amount-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
}

body.light-theme .magic-amount-title {
  color: #1e293b;
}

.magic-sparkle {
  font-size: 16px;
  color: #fbbf24;
}

.magic-badge {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  white-space: nowrap;
}

body.light-theme .magic-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #b45309;
}

.magic-amount-display-row {
  margin-top: 14px;
  background: #070b14;
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.light-theme .magic-amount-display-row {
  background: #ffffff;
  border-color: #f59e0b;
}

.magic-amount-digits {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.magic-num-base {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  font-family: inherit;
}

body.light-theme .magic-num-base {
  color: #0f172a;
}

.magic-num-tail {
  background: rgba(245, 158, 11, 0.22);
  border: 1.5px solid #f59e0b;
  color: #fbbf24;
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 24px;
  font-weight: 800;
  margin: 0 3px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

body.light-theme .magic-num-tail {
  background: rgba(245, 158, 11, 0.25);
  color: #b45309;
  border-color: #d97706;
}

.magic-num-curr {
  font-size: 16px;
  font-weight: 600;
  color: #cbd5e1;
  margin-left: 2px;
}

body.light-theme .magic-num-curr {
  color: #64748b;
}

.magic-copy-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

body.light-theme .magic-copy-btn {
  background: #fef3c7;
  color: #b45309;
  border-color: #f59e0b;
}

.magic-copy-btn:active {
  transform: scale(0.95);
  background: rgba(245, 158, 11, 0.3);
}

.magic-amount-caption {
  margin-top: 12px;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
}

body.light-theme .magic-amount-caption {
  color: #64748b;
}

/* 2 TA SOLISHTIRMA KARTA (Yaxlit summa vs Sehrli dumcha) */
.magic-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.magic-comp-card {
  border-radius: 16px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.magic-comp-card.error-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

body.light-theme .magic-comp-card.error-card {
  background: #fef2f2;
  border-color: #fca5a5;
}

.magic-comp-card.success-card {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

body.light-theme .magic-comp-card.success-card {
  background: #f0fdf4;
  border-color: #86efac;
}

.magic-comp-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
}

.error-card .magic-comp-title {
  color: #f87171;
}

body.light-theme .error-card .magic-comp-title {
  color: #dc2626;
}

.success-card .magic-comp-title {
  color: #34d399;
}

body.light-theme .success-card .magic-comp-title {
  color: #16a34a;
}

.magic-comp-amount {
  font-size: 16px;
  font-weight: 800;
  margin: 7px 0 5px;
}

.magic-comp-amount.strikethrough {
  color: #fca5a5;
  text-decoration: line-through;
}

body.light-theme .magic-comp-amount.strikethrough {
  color: #ef4444;
}

.magic-comp-amount.highlight {
  color: #34d399;
  letter-spacing: 0.5px;
}

body.light-theme .magic-comp-amount.highlight {
  color: #16a34a;
}

.magic-comp-sub {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.35;
}

body.light-theme .magic-comp-sub {
  color: #64748b;
}

/* ================= 0. YANGILIKLAR (RASMDAGIDEK BITTA-BITTA 1 QATORDA CHIQADIGAN HERO SLAYDER) ================= */
.news-slider-section {
  margin-bottom: 18px;
  position: relative;
  width: 100%;
}

.news-slider-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 22px;
}

.news-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.news-slider-track {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 0;
}

.news-slide-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: center;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  min-height: 155px;
  max-height: 175px;
  background: linear-gradient(135deg, rgba(16, 26, 52, 0.95) 0%, rgba(10, 16, 32, 0.95) 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 112, 243, 0.22);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border: 1.5px solid rgba(0, 112, 243, 0.35);
}

body.light-theme .news-slide-card {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Agar to'liq maxsus rasm yuklangan bo'lsa */
.news-slide-card.full-img-card {
  padding: 0;
  background: #0b1220;
}

.news-slide-card.full-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.news-slide-card.full-img-card .news-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Digital Pin dizaynidagi split kartochka */
.news-hero-content {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 12px 16px;
  gap: 12px;
  box-sizing: border-box;
}

.news-hero-left {
  flex: 0 0 35%;
  max-width: 110px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero-left img {
  width: 100%;
  height: 100%;
  max-height: 120px;
  object-fit: contain;
}

.news-hero-badge-art {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0, 112, 243, 0.22) 0%, rgba(0, 112, 243, 0.06) 100%);
  border: 1.5px solid rgba(0, 112, 243, 0.4);
  box-shadow: 0 8px 22px rgba(0, 112, 243, 0.25);
}

.news-hero-badge-art.uzcard-art {
  background: radial-gradient(circle at center, rgba(0, 112, 243, 0.25) 0%, rgba(0, 112, 243, 0.06) 100%);
  border-color: rgba(0, 112, 243, 0.45);
}

.news-hero-badge-art.stars-art {
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.25);
}

body.light-theme .news-hero-badge-art {
  background: #eff6ff;
  border-color: #dbeafe;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.1);
}

body.light-theme .news-hero-badge-art.stars-art {
  background: #fffbeb;
  border-color: #fef3c7;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.badge-art-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.news-hero-tag {
  background: rgba(0, 112, 243, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(0, 112, 243, 0.4);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}

body.light-theme .news-hero-tag {
  background: #eff6ff;
  color: #0070f3;
  border-color: #bfdbfe;
}

.news-hero-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

body.light-theme .news-hero-title {
  color: #0f172a;
}

.news-hero-subtitle {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 9px;
  line-height: 1.3;
}

body.light-theme .news-hero-subtitle {
  color: #0284c7;
}

.news-hero-btn {
  background: linear-gradient(135deg, #0070f3 0%, #00a0e2 100%);
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.45);
  transition: transform 0.15s ease;
}

body.light-theme .news-hero-btn {
  background: linear-gradient(135deg, #0060c4 0%, #0080f0 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 96, 196, 0.25);
}

.news-hero-btn:active {
  transform: scale(0.96);
}

/* ================= CATEGORY TOP HEADER BANNERS ================= */
.category-header-banner {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.category-banner-img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: center;
  display: block;
}

body.light-theme .category-header-banner {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border-color: #e2e8f0;
}

/* Rasmdagidek pastda markazlashgan indikator nuqtalar (dots) */
.news-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.news-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.news-dot.active {
  width: 20px;
  border-radius: 10px;
  background: #f97316;
}

body.light-theme .news-dot {
  background: rgba(0, 0, 0, 0.2);
}

body.light-theme .news-dot.active {
  background: #ea580c;
}

/* ================= 3. OTZIVLAR (REVIEWS) WIDGETI ================= */
.reviews-widget-card {
  background: #090e1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

body.light-theme .reviews-widget-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.reviews-widget-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 210, 255, 0.3);
}

/* Fon qo'shtirnoq belgisi (Watermark) */
.rw-watermark {
  position: absolute;
  right: 12px;
  top: -8px;
  font-size: 75px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

body.light-theme .rw-watermark {
  color: rgba(0, 0, 0, 0.04);
}

/* Chap qism: Katta baho va yulduzchalar */
.rw-left-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 90px;
  flex-shrink: 0;
}

.rw-score {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
}

body.light-theme .rw-score {
  color: #0f172a;
}

.rw-stars-row {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 2px;
  margin: 5px 0 3px;
}

.rw-count-text {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

body.light-theme .rw-count-text {
  color: #94a3b8;
}

/* Vertikal ajratuvchi chiziq */
.rw-divider {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

body.light-theme .rw-divider {
  background: rgba(0, 0, 0, 0.08);
}

/* O'ng qism: Sharh matni va muallif */
.rw-right-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.rw-comment-text {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
  transition: opacity 0.3s ease;
}

body.light-theme .rw-comment-text {
  color: #1e293b;
}

.rw-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rw-author-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.rw-author-avatar-chip {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 112, 243, 0.2);
  border: 1px solid rgba(0, 112, 243, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.rw-author-name {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.light-theme .rw-author-name {
  color: #64748b;
}

.rw-single-stars {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 1.5px;
  flex-shrink: 0;
}

/* ================= BIZNI BAHOLANG MODALI ================= */
.rate-modal-card {
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  width: 90%;
  max-width: 380px;
  padding: 22px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  animation: modalScaleUp 0.25s ease-out;
}

body.light-theme .rate-modal-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}

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

.rate-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rate-title-text {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

body.light-theme .rate-title-text {
  color: #0f172a;
}

.btn-rate-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.rate-prompt-text {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 16px;
}

body.light-theme .rate-prompt-text {
  color: #64748b;
}

.rate-stars-picker {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rate-star-btn {
  background: transparent;
  border: none;
  font-size: 34px;
  color: #475569;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.rate-star-btn.active {
  color: #f59e0b;
}

.rate-star-btn:active {
  transform: scale(1.25);
}

.rate-score-hint {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 14px;
}

.rate-comment-input {
  width: 100%;
  background: #070b14;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

body.light-theme .rate-comment-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.rate-comment-input:focus {
  border-color: var(--accent-cyan);
}

.btn-rate-later {
  width: 100%;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  cursor: pointer;
  margin-top: 6px;
}

/* ================= ADMIN BANNER ELEMENTI ================= */
.adm-banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 12px;
  gap: 10px;
}

.adm-banner-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
}

.adm-btn-del-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ================= TO'LIQ VA YUQORI KONTRASTLI OQ FON (LIGHT THEME) DIZAYNI ================= */
body.light-theme .ambient-glow {
  opacity: 0.22;
}

body.light-theme .brand-title {
  color: #0f172a;
}

body.light-theme .brand-sub {
  color: #0284c7;
}

body.light-theme .header-balance-chip {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 112, 243, 0.08);
}

body.light-theme .category-card {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

body.light-theme .card-stars {
  background: radial-gradient(circle at 50% 35%, #fffdf0 0%, #ffffff 85%);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.08);
}

body.light-theme .card-premium {
  background: radial-gradient(circle at 50% 35%, #fbf8ff 0%, #ffffff 85%);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.08);
}

body.light-theme .card-title-text {
  color: #0f172a;
}

body.light-theme .card-arrow {
  color: #64748b;
}

body.light-theme .quick-stats-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

body.light-theme .quick-stat-val {
  color: #0f172a;
}

body.light-theme .quick-stat-sub {
  color: #64748b;
}

body.light-theme .glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  color: #0f172a;
}

body.light-theme .page-title {
  color: #0f172a;
}

body.light-theme .btn-back {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-theme .btn-back:active {
  background: #f1f5f9;
}

body.light-theme .input-label {
  color: #475569;
  font-weight: 700;
}

body.light-theme .text-input {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}

body.light-theme .text-input:focus {
  border-color: #0070f3;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.15);
}

body.light-theme .text-input::placeholder {
  color: #94a3b8;
}

body.light-theme .btn-self {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0284c7;
}

body.light-theme .btn-self:active {
  background: #dbeafe;
}

body.light-theme .preset-chip {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
}

body.light-theme .preset-chip.active {
  background: #eff6ff;
  border-color: #0070f3;
  color: #0070f3;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.15);
}

body.light-theme .preset-stars {
  color: #0f172a;
}

body.light-theme .preset-chip.active .preset-stars {
  color: #0070f3;
}

body.light-theme .preset-price {
  color: #64748b;
}

body.light-theme .premium-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
}

body.light-theme .premium-card.active {
  background: #faf5ff;
  border-color: #a855f7;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
}

body.light-theme .premium-months {
  color: #0f172a;
}

body.light-theme .premium-desc {
  color: #64748b;
}

body.light-theme .premium-price {
  color: #0f172a;
}

body.light-theme .premium-per-month {
  color: #0284c7;
}

body.light-theme .summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

body.light-theme .summary-label {
  color: #64748b;
}

body.light-theme .summary-val {
  color: #0f172a;
}

body.light-theme .summary-total {
  color: #0060c4;
  font-weight: 900;
}

body.light-theme .topup-pill-btn {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
}

body.light-theme .topup-pill-btn:hover,
body.light-theme .topup-pill-btn:active {
  background: #eff6ff;
  border-color: #0070f3;
  color: #0070f3;
}

body.light-theme .topup-input-wrapper {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
}

body.light-theme .topup-amount-input {
  color: #0f172a;
}

body.light-theme .topup-currency-label {
  color: #64748b;
}

body.light-theme .btn-cancel-transfer {
  color: #64748b;
}

body.light-theme .btn-cancel-transfer:hover,
body.light-theme .btn-cancel-transfer:active {
  color: #0f172a;
}

body.light-theme .dashed-transfer-box {
  background: #f0f7ff;
  border-color: rgba(0, 112, 243, 0.45);
}

body.light-theme .dashed-transfer-hint {
  color: #475569;
}

body.light-theme .dashed-exact-amount {
  color: #0f172a;
  text-shadow: none;
}

body.light-theme .guide-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

body.light-theme .guide-icon-badge {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #0070f3;
}

body.light-theme .stepper-num {
  background: #eff6ff;
  border-color: #0070f3;
  color: #0070f3;
  box-shadow: none;
}

body.light-theme .deposit-stepper::before {
  background: #cbd5e1;
}

body.light-theme .stepper-content {
  color: #1e293b;
}

body.light-theme .active-booked-banner {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
}

body.light-theme .booked-instruction-text {
  color: #78350f;
}

body.light-theme .booked-hourglass-icon {
  background: #fef3c7;
  border-color: #fcd34d;
}

body.light-theme .profile-balance-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1.5px solid #bae6fd;
}

body.light-theme .profile-balance-val {
  color: #0369a1;
}

body.light-theme .profile-name-large {
  color: #0f172a;
}

body.light-theme .profile-id-row {
  color: #64748b;
}

body.light-theme .btn-copy-mini {
  background: #e2e8f0;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

body.light-theme .profile-link-btn {
  border-bottom-color: #e2e8f0;
  color: #0f172a;
}

body.light-theme .lang-toggle-box,
body.light-theme .theme-toggle-box {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

body.light-theme .lang-btn,
body.light-theme .theme-btn {
  color: #475569;
}

body.light-theme .terms-card-modal {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.light-theme .terms-title-badge {
  color: #0f172a;
}

body.light-theme .terms-step-num {
  background: #f3e8ff;
  color: #7e22ce;
  border-color: #d8b4fe;
}

body.light-theme .terms-step-text {
  color: #1e293b;
}

body.light-theme .terms-step-highlight {
  background: #fffbeb;
  border-color: #fde68a;
}

body.light-theme .terms-step-highlight .terms-step-text {
  color: #92400e;
}

body.light-theme .rate-modal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

body.light-theme .rate-title-text {
  color: #0f172a;
}

body.light-theme .rate-prompt-text {
  color: #64748b;
}

body.light-theme .rate-star-btn {
  color: #cbd5e1;
}

body.light-theme .rate-star-btn.active {
  color: #f59e0b;
}

body.light-theme .rate-score-hint {
  color: #d97706;
}

body.light-theme .rate-comment-input {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}

body.light-theme .btn-rate-later {
  color: #64748b;
}

body.light-theme .bottom-nav {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.05);
}

body.light-theme .nav-item {
  color: #64748b;
}

body.light-theme .nav-item.active {
  color: #0070f3;
}

body.light-theme .adm-banner-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-theme .adm-btn-del-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

body.light-theme #admin-main-menu div[style*="background:var(--bg-card)"] {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}


