/* ═══════════════════════════════════════════
   POPUP NẠP TIỀN (V2) — light theme (lite)
   ═══════════════════════════════════════════ */

.deposit-modal__backdrop {
  background: rgba(15, 23, 42, 0.35);
}

.deposit-modal__panel {
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  border-color: #e2e8f0;
  box-shadow: 0 20px 60px -15px rgba(15, 23, 42, 0.18);
  color: #334155;
  overflow: visible;
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, 720px);
}

.deposit-modal__body {
  color: #334155;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}

.deposit-modal__header {
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 55%, #ffffff 100%);
  border-radius: 14px 14px 0 0;
}

.deposit-modal__title {
  color: #0f172a !important;
}

.deposit-modal__title span:not(.deposit-title-icon) {
  color: #0f172a !important;
}

.deposit-title-icon {
  background-color: #ecfeff;
  border-color: #a5f3fc;
  color: #0891b2;
}

.deposit-modal__close {
  color: #64748b;
}

.deposit-modal__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.deposit-label {
  color: #475569;
}

.deposit-input-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.deposit-input,
.deposit-input--amount {
  color: #0f172a;
  background: transparent;
}

.deposit-currency-label {
  color: #059669;
}

.quick-deposit-btn {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}

.quick-deposit-btn:hover {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #059669;
}

.deposit-promo-chip {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #334155;
}

.deposit-promo-chip strong {
  color: #0f172a;
}

.deposit-promo-chip span {
  color: #64748b;
}

.deposit-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.deposit-btn--muted {
  background: #f1f5f9;
  color: #64748b;
}

.deposit-btn--ghost {
  border-color: #e2e8f0;
  color: #64748b;
}

.deposit-lixi-panel {
  border-top-color: #e2e8f0;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.deposit-lixi-panel:not(.deposit-hidden) {
  display: block;
}

.deposit-lixi-panel__head {
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.deposit-lixi-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.deposit-lixi-panel__item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.deposit-lixi-panel__line--range {
  color: #334155;
}

.deposit-lixi-panel__line--bonus {
  color: #059669;
}

.deposit-preview {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.deposit-sepay-card {
  /* background: #ffffff; */
  border-color: #e2e8f0;
}

.deposit-sepay-line {
  color: #334155;
}

.deposit-glow-tr,
.deposit-glow-bl {
  opacity: 0.35;
}

.deposit-hint,
.deposit-loading,
.deposit-lucky-wheel-notice {
  color: #64748b;
}

.deposit-lucky-wheel-notice {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  text-align: left;
  line-height: 1.45;
}

.deposit-lucky-wheel-notice:not(.deposit-hidden) {
  display: flex;
}

.deposit-lucky-wheel-notice__icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

#deposit-lucky-wheel-text {
  flex: 1;
  min-width: 0;
}

.deposit-preview,
.deposit-preview-item {
  color: #059669;
}

.deposit-preview-item strong {
  color: #047857;
}

.deposit-tier-badge {
  border-color: #0891b2;
  color: #0e7490;
  background: #ecfeff;
}

.deposit-alert {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.deposit-error-text,
.deposit-bad {
  color: #dc2626;
}

.deposit-ok {
  color: #059669;
}

.deposit-input:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.15);
}

.deposit-input--amount {
  color: #0f172a;
}

.deposit-amount-divider {
  background: linear-gradient(to right, transparent, rgba(16, 185, 129, 0.45), transparent);
}

.deposit-btn--primary {
  background: linear-gradient(to right, #10b981, #059669) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.deposit-btn--primary:hover {
  background: linear-gradient(to right, #059669, #047857) !important;
}

.deposit-btn--icon {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.deposit-btn--icon:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.deposit-btn--ghost:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.deposit-method span {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}

.deposit-method input:checked + span {
  background: #0891b2;
  border-color: #0891b2;
  color: #ffffff;
}

.deposit-sepay-title {
  color: #0f172a;
}

.deposit-sepay-line {
  color: #64748b;
  border-bottom-color: #e2e8f0;
}

.deposit-sepay-line strong {
  color: #0f172a;
}

.deposit-sepay-copyable {
  color: #0e7490;
  text-decoration-color: rgba(14, 116, 144, 0.45);
}

.deposit-sepay-copyable:hover,
.deposit-sepay-copyable:focus-visible {
  color: #0891b2;
}

.deposit-sepay-switch .deposit-btn.is-active {
  background: #ecfeff;
  border-color: #0891b2;
  color: #0e7490;
  box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.15);
}

.deposit-sepay-status.pending {
  color: #059669;
}

.deposit-sepay-status.success {
  color: #16a34a;
}

.deposit-status-spinner {
  border-color: rgba(100, 116, 139, 0.35);
  border-top-color: #0891b2;
}

.deposit-lixi-panel__line--muted,
.deposit-lixi-panel__desc {
  color: #64748b;
}

.quick-deposit-btn--success {
  border-color: #6ee7b7;
  color: #059669;
}

.quick-deposit-btn--warning {
  border-color: #fcd34d;
  color: #b45309;
}

.quick-deposit-btn--danger {
  border-color: #fca5a5;
  color: #dc2626;
}

/* ── Layout / dynamic sections ── */

.deposit-modal__footer {
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.deposit-lucky-wheel-notice {
  width: 100%;
  flex: 0 0 100%;
  border: 1px solid #e2e8f0;
  text-align: center;
}

#deposit-bonus-tiers-display:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  text-align: center;
}

.deposit-preview:not(:empty) {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.deposit-input-wrap .deposit-input {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.deposit-input-wrap .deposit-input:focus {
  box-shadow: none;
}
