/* ==========================================================================
   DEDICATED DEPOSIT PAGE VIEW STYLES
   Full Dark / Light Theme Fidelity matching Pocketfolio Design System
   ========================================================================== */

.deposit-page-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px 32px;
  gap: 22px;
  box-sizing: border-box;
}

/* --- Breadcrumb: < Wallet --- */
.deposit-breadcrumb-wrap {
  display: flex;
  align-items: center;
}

.deposit-breadcrumb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-secondary, #94a3b8);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.deposit-breadcrumb-btn:hover {
  color: var(--text-primary, #ffffff);
}

/* --- Page Header Deck --- */
.deposit-header-deck {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: -6px;
}

.deposit-main-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.deposit-main-sub {
  font-size: 0.88rem;
  color: var(--text-secondary, #94a3b8);
  margin: 0;
}

.deposit-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-wallet-action-withdraw,
.btn-wallet-action-transfer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-surface, #141b27);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.12));
  color: var(--text-primary, #ffffff);
}

.btn-wallet-action-withdraw {
  position: relative;
}

.wallet-btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e59638;
}

.btn-wallet-action-withdraw:hover,
.btn-wallet-action-transfer:hover {
  border-color: #e59638;
  transform: translateY(-1px);
}

/* --- KYC Level 1 Required Alert Banner --- */
.deposit-kyc-alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(36, 24, 10, 0.85);
  border: 1px solid rgba(229, 150, 56, 0.45);
  border-left: 4px solid #e59638;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.deposit-kyc-alert-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.deposit-kyc-alert-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 150, 56, 0.15);
  flex-shrink: 0;
}

.deposit-kyc-alert-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px;
}

.deposit-kyc-alert-desc {
  font-size: 0.82rem;
  color: #fbd38d;
  margin: 0;
}

.deposit-kyc-alert-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.deposit-kyc-level-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.deposit-level-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.deposit-level-pill.level-0 {
  background: #7f1d1d;
  color: #fca5a5;
}

.deposit-level-chevron {
  color: #64748b;
  font-size: 0.74rem;
}

.deposit-level-pill.level-1 {
  background: #14532d;
  color: #86efac;
}

.btn-deposit-complete-kyc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e59638;
  color: #0f141d;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-deposit-complete-kyc:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* --- Two-Column Layout (Step Rail Left / FAQs Right) --- */
.deposit-interactive-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: start;
}

/* --- Left Column: 3-Step Rail --- */
.deposit-left-rail-deck {
  display: flex;
  gap: 16px;
}

.deposit-step-bullets-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  gap: 0;
  width: 28px;
  flex-shrink: 0;
}

.deposit-bullet-node {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: #1e293b;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.deposit-bullet-node.active {
  background: #e59638;
  color: #0f141d;
  border-color: #e59638;
  box-shadow: 0 0 12px rgba(229, 150, 56, 0.4);
}

.deposit-bullet-line {
  width: 2px;
  height: 90px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 0;
}

.deposit-step-main-card-wrap {
  flex: 1;
}

/* STATE A: LOCKED CARD (Unverified KYC) */
.deposit-step-locked-card {
  background: var(--bg-card, #0a111a);
  border: 1px solid var(--bg-card-border, rgba(41, 182, 246, 0.14));
  border-radius: 14px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.deposit-lock-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 150, 56, 0.12);
  border: 1px solid rgba(229, 150, 56, 0.3);
  margin-bottom: 18px;
}

.deposit-lock-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0 0 6px;
}

.deposit-lock-desc {
  font-size: 0.88rem;
  color: var(--text-secondary, #94a3b8);
  margin: 0 0 22px;
}

.btn-deposit-lock-cta {
  background: #e59638;
  color: #0f141d;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-deposit-lock-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.deposit-demo-switch-btn {
  margin-top: 24px;
  background: transparent;
  border: 1px dashed rgba(229, 150, 56, 0.35);
  color: var(--text-secondary, #94a3b8);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.deposit-demo-switch-btn:hover {
  color: var(--text-primary, #ffffff);
  border-color: #e59638;
}

/* STATE B: UNLOCKED LIVE CARD */
.deposit-step-unlocked-card {
  background: var(--bg-card, #0a111a);
  border: 1px solid var(--bg-card-border, rgba(41, 182, 246, 0.14));
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.deposit-unlocked-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  gap: 12px;
}

.dep-status-strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dep-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #102d1d;
  color: #4ade80;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid #14532d;
}

.dep-verified-sub {
  font-size: 0.8rem;
  color: var(--text-secondary, #94a3b8);
}

.deposit-demo-re-lock-btn {
  background: transparent;
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.12));
  color: var(--text-secondary, #94a3b8);
  font-size: 0.74rem;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.deposit-demo-re-lock-btn:hover {
  color: var(--text-primary, #ffffff);
  border-color: rgba(229, 150, 56, 0.5);
}

.dep-workflow-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-card-border-subtle, rgba(255, 255, 255, 0.06));
}

.dep-workflow-step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.dep-workflow-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dep-workflow-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(229, 150, 56, 0.15);
  color: #e59638;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
}

/* Network Selector Buttons */
.dep-networks-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.dep-net-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 4px;
  background: var(--bg-surface, #141a24);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  color: var(--text-primary, #ffffff);
  cursor: pointer;
  transition: all 0.15s ease;
}

.dep-net-btn:hover {
  border-color: #e59638;
  transform: translateY(-1px);
}

.dep-net-btn.active {
  background: rgba(229, 150, 56, 0.1);
  border-color: #e59638;
  color: #e59638;
}

.dep-net-name {
  font-size: 0.84rem;
  font-weight: 700;
}

.dep-net-chain {
  font-size: 0.68rem;
  color: var(--text-secondary, #94a3b8);
}

/* Address Box */
.dep-address-copy-deck {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dep-address-input-wrap {
  position: relative;
  flex: 1;
}

.dep-address-input {
  width: 100%;
  background: var(--bg-surface, #141a24);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  color: var(--text-primary, #ffffff);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.82rem;
  padding: 9px 12px;
  outline: none;
  box-sizing: border-box;
}

.btn-copy-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface, #141a24);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.14));
  color: var(--text-primary, #ffffff);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-copy-address:hover {
  border-color: #e59638;
  color: #e59638;
}

.dep-meta-info-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--text-secondary, #94a3b8);
}

.dep-meta-item strong {
  color: var(--text-primary, #ffffff);
}

.dep-warning-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(229, 150, 56, 0.08);
  border: 1px solid rgba(229, 150, 56, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 4px;
}

.dep-warning-callout svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.dep-warning-callout p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-secondary, #cbd5e1);
}

.dep-warning-callout strong {
  color: #e59638;
}

/* Step 3: Simulator Form */
.dep-sim-desc {
  font-size: 0.82rem;
  color: var(--text-secondary, #94a3b8);
  margin: 0 0 4px;
}

.dep-sim-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dep-amount-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dep-amount-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.dep-currency-prefix {
  position: absolute;
  left: 12px;
  color: var(--text-muted, #64748b);
  font-size: 0.9rem;
  font-weight: 600;
}

.dep-amount-input {
  width: 100%;
  background: var(--bg-surface, #141a24);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  color: var(--text-primary, #ffffff);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 9px 58px 9px 28px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.dep-amount-input:focus {
  border-color: #e59638;
}

.dep-amount-suffix {
  position: absolute;
  right: 12px;
  color: var(--text-secondary, #94a3b8);
  font-size: 0.78rem;
  font-weight: 700;
}

.btn-deposit-submit-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e59638;
  color: #0d1117;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-deposit-submit-now:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.dep-quick-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dep-chip {
  background: var(--bg-surface, #141a24);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #94a3b8);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dep-chip:hover {
  color: var(--text-primary, #ffffff);
  border-color: rgba(229, 150, 56, 0.4);
}

/* --- Right Column: Deposit FAQs Accordion --- */
.deposit-right-column {
  width: 100%;
}

.deposit-faq-deck {
  background: transparent;
  width: 100%;
}

.deposit-faq-header-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.deposit-faq-accordion {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dep-faq-item {
  border-bottom: 1px solid var(--bg-card-border-subtle, rgba(255, 255, 255, 0.08));
  transition: background 0.15s ease;
}

.dep-faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 15px 4px;
  background: none;
  border: none;
  color: var(--text-primary, #d1d5db);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  gap: 14px;
  transition: color 0.15s ease;
}

.dep-faq-question-btn:hover {
  color: var(--text-primary, #ffffff);
}

.dep-faq-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-secondary, #94a3b8);
  flex-shrink: 0;
}

.dep-faq-item.active .dep-faq-chevron {
  transform: rotate(180deg);
  color: #e59638;
}

.dep-faq-item.active .dep-faq-question-btn {
  color: var(--text-primary, #ffffff);
  font-weight: 600;
}

.dep-faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.dep-faq-item.active .dep-faq-answer-panel {
  max-height: 250px;
  opacity: 1;
}

.dep-faq-answer-panel p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary, #94a3b8);
  padding: 0 4px 14px;
  margin: 0;
}

/* --- Recent Deposits Card --- */
.recent-deposits-card {
  background: var(--bg-card, #0a111a);
  border: 1px solid var(--bg-card-border, rgba(41, 182, 246, 0.14));
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.recent-deposits-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.recent-deposits-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
  letter-spacing: -0.01em;
}

.recent-deposits-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-dep-contact-support {
  background: #e59638;
  color: #0d1117;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dep-contact-support:hover {
  filter: brightness(1.1);
}

.btn-dep-export-report,
.btn-dep-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface, #151b26);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.12));
  color: var(--text-secondary, #cbd5e1);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dep-export-report:hover,
.btn-dep-refresh:hover {
  border-color: rgba(229, 150, 56, 0.5);
  color: var(--text-primary, #ffffff);
}

.dep-more-link {
  background: none;
  border: none;
  color: var(--text-secondary, #94a3b8);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
}

.dep-more-link:hover {
  color: var(--text-primary, #ffffff);
}

/* Filter Bar */
.recent-deposits-filters-row {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1.1fr 1.3fr auto;
  gap: 12px;
  align-items: flex-end;
}

.dep-filter-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.dep-filter-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary, #cbd5e1);
}

.dep-input-calendar-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.dep-input-calendar-wrap svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted, #64748b);
  pointer-events: none;
}

.dep-filter-input {
  width: 100%;
  background: var(--bg-surface, #131924);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.1));
  border-radius: 6px;
  color: var(--text-primary, #ffffff);
  font-size: 0.82rem;
  padding: 8px 12px 8px 34px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.dep-filter-input:focus {
  border-color: #e59638;
}

.dep-dropdown-wrap {
  position: relative;
  width: 100%;
}

.dep-filter-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface, #131924);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.1));
  border-radius: 6px;
  color: var(--text-primary, #ffffff);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  box-sizing: border-box;
}

.dep-filter-dropdown-btn:hover {
  border-color: rgba(229, 150, 56, 0.4);
}

.dep-filter-dropdown-btn.open {
  border-color: #e59638;
  box-shadow: 0 0 0 2px rgba(229, 150, 56, 0.2);
}

/* Dropdown Menus */
.dep-dropdown-menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg-surface, #141b27);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.16));
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  z-index: 1000;
  padding: 6px 0;
  list-style: none;
  margin: 0;
}

.dep-dropdown-menu.show {
  display: block !important;
}

.dep-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--text-secondary, #cbd5e1);
  cursor: pointer;
  transition: all 0.12s ease;
}

.dep-dropdown-item:hover {
  background: var(--bg-surface-hover, #1c2536);
  color: var(--text-primary, #ffffff);
}

.dep-dropdown-item.active {
  color: var(--text-primary, #ffffff);
  font-weight: 600;
}

.dep-dropdown-item .check-icon {
  margin-left: 12px;
  color: #e59638;
  display: none;
}

.dep-dropdown-item.active .check-icon {
  display: block;
}

.dep-dropdown-group-header {
  padding: 8px 14px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dep-dropdown-item.sub {
  padding-left: 20px;
}

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

.btn-dep-view-results {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e59638;
  color: #0d1117;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-dep-view-results:hover {
  filter: brightness(1.1);
}

.btn-dep-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.1));
  color: var(--text-secondary, #94a3b8);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-dep-clear-filters:hover {
  border-color: rgba(229, 150, 56, 0.4);
  color: var(--text-primary, #ffffff);
}

/* Deposits Table Deck */
.recent-deposits-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}

.dep-table th {
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary, #94a3b8);
  border-bottom: 1px solid var(--bg-card-border, rgba(255, 255, 255, 0.08));
  white-space: nowrap;
}

.dep-table td {
  padding: 13px 14px;
  color: var(--text-primary, #f1f5f9);
  border-bottom: 1px solid var(--bg-card-border-subtle, rgba(255, 255, 255, 0.05));
  white-space: nowrap;
}

.dep-td-date {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.8rem;
}

.dep-td-currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dep-coin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dep-coin-dot.usdt {
  background: #26a17b;
}

.dep-net-tag {
  font-size: 0.7rem;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary, #94a3b8);
}

.dep-td-source {
  color: var(--text-secondary, #cbd5e1);
}

.dep-status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
}

.dep-status-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.dep-status-badge.pending {
  background: rgba(229, 150, 56, 0.15);
  color: #e59638;
}

.dep-status-badge.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.btn-table-action {
  background: none;
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.12));
  color: var(--text-secondary, #94a3b8);
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-table-action:hover {
  border-color: #e59638;
  color: var(--text-primary, #ffffff);
}

/* Empty State */
.dep-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  text-align: center;
}

.dep-empty-icon-card {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 14px;
}

.dep-empty-msg {
  font-size: 0.88rem;
  color: var(--text-secondary, #94a3b8);
  margin: 0;
}

.dep-table-footer-bar {
  padding: 12px 4px 4px;
  border-top: 1px solid var(--bg-card-border-subtle, rgba(255, 255, 255, 0.06));
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
}

/* --- Page Footer --- */
.dep-page-footer {
  margin-top: 24px;
  padding: 32px 0 16px;
  border-top: 1px solid var(--bg-card-border-subtle, rgba(255, 255, 255, 0.08));
}

.dep-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.2fr;
  gap: 28px;
  margin-bottom: 28px;
}

.dep-footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0 0 14px;
}

.dep-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dep-footer-links a {
  color: var(--text-secondary, #94a3b8);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s ease;
}

.dep-footer-links a:hover {
  color: var(--text-primary, #ffffff);
}

.dep-social-row {
  display: flex;
  gap: 8px;
}

.dep-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary, #94a3b8);
  font-size: 0.74rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.dep-social-icon:hover {
  background: rgba(229, 150, 56, 0.2);
  color: #e59638;
}

.dep-footer-legal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--bg-card-border-subtle, rgba(255, 255, 255, 0.05));
  font-size: 0.76rem;
  color: var(--text-muted, #64748b);
}

.dep-legal-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dep-legal-links a {
  color: var(--text-muted, #64748b);
  text-decoration: none;
}

.dep-legal-links a:hover {
  color: var(--text-primary, #ffffff);
}

/* ==========================================================================
   SPECIFIC LIGHT THEME OVERRIDES ([data-theme="light"])
   ========================================================================== */
[data-theme="light"] .deposit-main-title {
  color: #0f172a !important;
}

[data-theme="light"] .deposit-main-sub {
  color: #475569 !important;
}

[data-theme="light"] .deposit-breadcrumb-btn {
  color: #475569;
}

[data-theme="light"] .deposit-breadcrumb-btn:hover {
  color: #0f172a;
}

[data-theme="light"] .btn-wallet-action-withdraw,
[data-theme="light"] .btn-wallet-action-transfer {
  background: #ffffff;
  border: 1px solid #dae3eb;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .deposit-kyc-alert-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}

[data-theme="light"] .deposit-kyc-alert-title {
  color: #78350f !important;
}

[data-theme="light"] .deposit-kyc-alert-desc {
  color: #92400e !important;
}

[data-theme="light"] .deposit-kyc-level-indicator {
  background: rgba(255, 255, 255, 0.85);
  border-color: #fde68a;
}

[data-theme="light"] .deposit-level-pill.level-0 {
  background: #fef2f2;
  color: #b91c1c;
}

[data-theme="light"] .deposit-level-pill.level-1 {
  background: #f0fdf4;
  color: #15803d;
}

[data-theme="light"] .deposit-bullet-node {
  background: #e2e8f0;
  color: #64748b;
  border-color: #cbd5e1;
}

[data-theme="light"] .deposit-bullet-node.active {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

[data-theme="light"] .deposit-bullet-line {
  background: #cbd5e1;
}

[data-theme="light"] .deposit-step-locked-card,
[data-theme="light"] .deposit-step-unlocked-card,
[data-theme="light"] .recent-deposits-card {
  background: #ffffff;
  border: 1px solid #dae3eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .deposit-lock-title,
[data-theme="light"] .dep-workflow-title,
[data-theme="light"] .recent-deposits-title,
[data-theme="light"] .deposit-faq-header-title {
  color: #0f172a !important;
}

[data-theme="light"] .deposit-lock-desc,
[data-theme="light"] .dep-sim-desc,
[data-theme="light"] .dep-meta-item,
[data-theme="light"] .dep-td-date,
[data-theme="light"] .dep-td-source {
  color: #475569 !important;
}

[data-theme="light"] .deposit-lock-icon-box {
  background: #fffbeb;
  border-color: #fde68a;
}

[data-theme="light"] .deposit-demo-switch-btn {
  border-color: rgba(217, 119, 6, 0.4);
  color: #475569;
}

[data-theme="light"] .deposit-demo-switch-btn:hover {
  color: #0f172a;
}

[data-theme="light"] .dep-workflow-step {
  border-bottom-color: #f1f5f9;
}

[data-theme="light"] .dep-net-btn {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .dep-net-btn.active {
  background: #fffbeb;
  border-color: #d97706;
  color: #92400e;
}

[data-theme="light"] .dep-address-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .btn-copy-address {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .dep-amount-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .dep-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

[data-theme="light"] .dep-faq-item {
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .dep-faq-question-btn {
  color: #1e293b !important;
}

[data-theme="light"] .dep-faq-question-btn:hover,
[data-theme="light"] .dep-faq-item.active .dep-faq-question-btn {
  color: #0f172a !important;
}

[data-theme="light"] .dep-faq-chevron {
  color: #64748b;
}

[data-theme="light"] .dep-faq-answer-panel p {
  color: #475569 !important;
}

[data-theme="light"] .dep-filter-label {
  color: #475569 !important;
}

[data-theme="light"] .dep-filter-input,
[data-theme="light"] .dep-filter-dropdown-btn {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .dep-dropdown-menu {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .dep-dropdown-item {
  color: #334155;
}

[data-theme="light"] .dep-dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .dep-dropdown-item.active {
  color: #0f172a;
  background: #f8fafc;
}

[data-theme="light"] .dep-dropdown-group-header {
  color: #94a3b8;
}

[data-theme="light"] .btn-dep-export-report,
[data-theme="light"] .btn-dep-refresh {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

[data-theme="light"] .btn-dep-clear-filters {
  border-color: #cbd5e1;
  color: #475569;
}

[data-theme="light"] .dep-table-container {
  background: #ffffff !important;
  border: 1px solid #dae3eb !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .dep-data-table {
  background: #ffffff !important;
}

[data-theme="light"] .dep-data-table thead tr {
  background: #f8fafc !important;
}

[data-theme="light"] .dep-data-table th,
[data-theme="light"] .dep-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid #dae3eb !important;
}

[data-theme="light"] .dep-data-table td,
[data-theme="light"] .dep-table td {
  background: #ffffff !important;
  color: #0f172a !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .dep-data-table tr:hover td {
  background: #f8fafc !important;
}

[data-theme="light"] .dep-td-date {
  color: #64748b !important;
}

[data-theme="light"] .dep-td-currency strong {
  color: #0f172a !important;
}

[data-theme="light"] .dep-net-tag {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .dep-td-source {
  color: #475569 !important;
}

[data-theme="light"] .dep-data-table td strong {
  color: #0f172a;
}

[data-theme="light"] .btn-table-action {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .btn-table-action:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

[data-theme="light"] .dep-empty-state {
  background: #ffffff !important;
}

[data-theme="light"] .dep-empty-icon-card {
  background: #f1f5f9 !important;
}

[data-theme="light"] .dep-empty-msg {
  color: #64748b !important;
}

[data-theme="light"] .dep-table-footer-bar {
  background: #ffffff !important;
  border-top: 1px solid #dae3eb !important;
  color: #64748b !important;
}

[data-theme="light"] .dep-page-footer {
  border-top-color: #e2e8f0;
}

[data-theme="light"] .dep-footer-heading {
  color: #0f172a !important;
}

[data-theme="light"] .dep-footer-links a {
  color: #64748b;
}

[data-theme="light"] .dep-footer-links a:hover {
  color: #0f172a;
}

[data-theme="light"] .dep-social-icon {
  background: #f1f5f9;
  color: #475569;
}

[data-theme="light"] .dep-footer-legal-bar {
  border-top-color: #e2e8f0;
  color: #64748b;
}

[data-theme="light"] .dep-legal-links a {
  color: #64748b;
}

[data-theme="light"] .dep-legal-links a:hover {
  color: #0f172a;
}

/* Responsive */
@media (max-width: 1024px) {
  .deposit-interactive-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .recent-deposits-filters-row {
    grid-template-columns: 1fr 1fr;
  }
  .dep-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
