/**
 * Pocketfolio Withdraw & Transfer to PF User Styles
 * Supports seamless Dark Mode & Light Mode (Screenshots 2-5)
 */

/* Container & Layout */
.withdraw-page-container {
  display: block;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

.withdraw-content-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 60px 24px;
}

/* Header & Breadcrumb */
.withdraw-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.withdraw-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.withdraw-breadcrumb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card, #131922);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.withdraw-breadcrumb-btn:hover {
  color: var(--text-primary, #ffffff);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.withdraw-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

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

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

.btn-withdraw-action-transfer:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Destination Selector */
.withdraw-destination-section {
  margin-bottom: 22px;
}

.withdraw-section-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary, #cbd5e1);
  margin-bottom: 10px;
}

.withdraw-dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 14px;
}

.withdraw-dest-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--bg-card, #131922);
  border: 1.5px solid var(--border-color, rgba(255, 255, 255, 0.1));
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.withdraw-dest-card:hover {
  border-color: #dfa86a;
}

.withdraw-dest-card.active {
  background: #dfa86a !important;
  border-color: #dfa86a !important;
}

.withdraw-dest-card.active .dest-card-title {
  color: #1e293b !important;
}

.withdraw-dest-card.active .dest-card-sub {
  color: #334155 !important;
}

.dest-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dest-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dest-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
}

.dest-badge-new {
  font-size: 0.68rem;
  font-weight: 700;
  color: #dfa86a;
  background: rgba(223, 168, 106, 0.18);
  padding: 2px 7px;
  border-radius: 12px;
  border: 1px solid rgba(223, 168, 106, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.withdraw-dest-card.active .dest-badge-new {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(0, 0, 0, 0.15);
}

.badge-dot {
  font-size: 0.55rem;
}

.dest-card-sub {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.4;
}

/* Alert Banners */
.withdraw-banners-deck {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.withdraw-alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 10px;
  background: rgba(229, 150, 56, 0.05);
  border: 1px solid rgba(229, 150, 56, 0.25);
  transition: all 0.2s ease;
}

.withdraw-alert-banner.alert-2fa {
  background: rgba(224, 98, 98, 0.05);
  border-color: rgba(224, 98, 98, 0.22);
}

.withdraw-alert-banner.alert-invest {
  background: rgba(229, 150, 56, 0.05);
  border-color: rgba(229, 150, 56, 0.25);
}

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

.alert-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-icon-warning {
  background: rgba(229, 150, 56, 0.15);
}

.alert-icon-shield {
  background: rgba(224, 98, 98, 0.15);
}

.alert-icon-invest {
  background: rgba(229, 150, 56, 0.15);
}

.alert-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.alert-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.alert-desc {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  margin: 0;
}

.alert-banner-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kyc-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 600;
}

.prog-pill.pill-blue {
  color: #60a5fa;
}

.prog-arrow {
  color: var(--text-muted, #94a3b8);
}

.prog-pill.pill-green {
  color: #4ade80;
}

.btn-banner-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #dfa86a;
  border: none;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-banner-action:hover {
  background: #cb8f4e;
  transform: translateY(-1px);
}

/* Two Column Grid */
.withdraw-main-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 32px;
  margin-bottom: 40px;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .withdraw-main-grid {
    grid-template-columns: 1fr;
  }
}

/* Requirements Card (Left Column) */
.withdraw-requirements-card,
.withdraw-live-card {
  background: var(--bg-card, #131922);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.req-card-emblem {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.req-lock-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(223, 168, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(223, 168, 106, 0.3);
}

.req-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  text-align: center;
  margin: 0 0 6px 0;
}

.req-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  text-align: center;
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.req-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.req-item-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(229, 150, 56, 0.2);
  gap: 12px;
}

.req-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.req-item-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(223, 168, 106, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.req-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.req-item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.req-item-sub {
  font-size: 0.74rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.3;
}

.btn-req-item-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #dfa86a;
  border: none;
  color: #1e293b;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-req-item-action:hover {
  background: #cb8f4e;
}

/* Demo Mode Switcher Strip */
.withdraw-demo-strip {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-strip-text {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
}

.btn-withdraw-demo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(223, 168, 106, 0.12);
  border: 1px solid rgba(223, 168, 106, 0.3);
  color: #dfa86a;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-withdraw-demo-toggle:hover {
  background: rgba(223, 168, 106, 0.22);
}

/* Live Withdrawal Form (Left Column Unlocked) */
.live-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.live-card-subtitle {
  font-size: 0.76rem;
  color: #10b981;
  margin: 2px 0 0 0;
  font-weight: 500;
}

.withdraw-flow-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label-custom {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary, #cbd5e1);
}

.label-with-bal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.avail-bal-text {
  font-size: 0.76rem;
  color: var(--text-muted, #94a3b8);
}

.avail-bal-text strong {
  color: #dfa86a;
}

.input-with-action {
  position: relative;
  display: flex;
  align-items: center;
}

.input-custom {
  width: 100%;
  padding: 11px 54px 11px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary, #ffffff);
  font-size: 0.86rem;
  outline: none;
  box-sizing: border-box;
}

.input-custom:focus {
  border-color: #dfa86a;
}

.btn-paste-addr,
.btn-max-amount {
  position: absolute;
  right: 8px;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(223, 168, 106, 0.15);
  border: none;
  color: #dfa86a;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-paste-addr:hover,
.btn-max-amount:hover {
  background: rgba(223, 168, 106, 0.28);
}

.network-pills-row {
  display: flex;
  gap: 8px;
}

.net-pill {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #cbd5e1);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.net-pill.active {
  background: rgba(223, 168, 106, 0.15);
  border-color: #dfa86a;
  color: #dfa86a;
}

.recipient-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #4ade80;
  font-size: 0.74rem;
}

.input-help-text {
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 4px;
}

.verify-methods-row {
  display: flex;
  gap: 10px;
}

.verify-method-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #cbd5e1);
  font-size: 0.78rem;
  cursor: pointer;
}

.verify-method-pill input {
  accent-color: #dfa86a;
}

.withdraw-fee-summary-box {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
}

.fee-row strong {
  color: var(--text-primary, #ffffff);
}

.fee-row strong.highlight-net {
  color: #dfa86a;
  font-size: 0.88rem;
}

.fee-row strong.highlight-free {
  color: #10b981;
}

.btn-submit-withdraw-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #dfa86a;
  border: none;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit-withdraw-main:hover {
  background: #cb8f4e;
  transform: translateY(-1px);
}

/* Right Column: FAQs Accordion */
.withdraw-faqs-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.withdraw-faqs-heading {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0 0 8px 0;
}

.faqs-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.withdraw-faq-item {
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  transition: all 0.2s ease;
}

.withdraw-faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 16px 4px;
  background: none;
  border: none;
  color: var(--text-primary, #ffffff);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
  gap: 16px;
}

.withdraw-faq-question-btn:hover {
  color: #dfa86a;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted, #94a3b8);
  transition: transform 0.22s ease;
}

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

.withdraw-faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.withdraw-faq-item.active .withdraw-faq-answer-panel {
  max-height: 250px;
}

.withdraw-faq-answer-panel p {
  margin: 0 0 16px 4px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted, #94a3b8);
}

/* Bottom Section: Recent Withdrawals Table */
.recent-withdrawals-card {
  background: var(--bg-card, #131922);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.recent-with-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

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

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

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

.btn-with-export-report:hover,
.btn-with-refresh:hover,
.btn-with-more:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary, #ffffff);
}

/* Filter Toolbar */
.withdraw-filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}

.with-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}

.with-filter-addr-group {
  flex: 1;
  min-width: 200px;
}

.with-filter-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
}

.with-input-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.with-input-date-wrap svg {
  position: absolute;
  left: 10px;
  color: var(--text-muted, #94a3b8);
  pointer-events: none;
}

.with-filter-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
  color: var(--text-primary, #ffffff);
  font-size: 0.8rem;
  outline: none;
  box-sizing: border-box;
}

.with-input-date-wrap .with-filter-input {
  padding-left: 32px;
}

.with-filter-input:focus {
  border-color: #dfa86a;
}

/* Dropdown */
.with-dropdown-wrap {
  position: relative;
}

.with-filter-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
  color: var(--text-primary, #ffffff);
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.with-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 160px;
  background: var(--bg-card, #131922);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 50;
}

.with-dropdown-menu.show {
  display: flex;
}

.with-dropdown-item {
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 0.78rem;
  color: var(--text-secondary, #cbd5e1);
  cursor: pointer;
  transition: all 0.15s ease;
}

.with-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #dfa86a;
}

.with-dropdown-item.active {
  background: rgba(223, 168, 106, 0.15);
  color: #dfa86a;
  font-weight: 600;
}

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

.btn-with-view-results {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 7px;
  background: #dfa86a;
  border: none;
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-with-view-results:hover {
  background: #cb8f4e;
}

.btn-with-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 7px;
  background: transparent;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  color: var(--text-muted, #94a3b8);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-with-clear-filters:hover {
  color: var(--text-primary, #ffffff);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Table */
.with-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  background: #0c1017;
}

.with-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.with-data-table thead tr {
  background: #141a24;
}

.with-data-table th {
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.with-data-table td {
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.with-data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.with-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  gap: 14px;
}

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

.with-empty-msg {
  font-size: 0.86rem;
  color: var(--text-muted, #94a3b8);
  margin: 0;
}

.with-table-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px 4px 4px;
}

.with-showing-count {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
}

.with-pagination-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-with-page {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #cbd5e1);
  cursor: pointer;
  font-size: 0.8rem;
}

.btn-with-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.with-page-indicator {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  padding: 0 4px;
}

/* Footer Links */
.with-page-footer {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.with-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

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

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

.with-footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.with-footer-links a:hover {
  color: #dfa86a;
}

.with-footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.with-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #94a3b8);
  transition: all 0.2s ease;
}

.with-social-icon:hover {
  color: #dfa86a;
  background: rgba(223, 168, 106, 0.15);
}

/* ==========================================================================
   LIGHT THEME OVERRIDES ([data-theme="light"])
   Matches user screenshots 2, 3, 4, 5 pixel-perfect!
   ========================================================================== */
[data-theme="light"] .withdraw-main-title {
  color: #0f172a;
}

[data-theme="light"] .withdraw-main-sub {
  color: #64748b;
}

[data-theme="light"] .withdraw-breadcrumb-btn {
  background: #ffffff;
  border-color: #dae3eb;
  color: #475569;
}

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

[data-theme="light"] .btn-withdraw-action-transfer {
  background: #ffffff;
  border-color: #dae3eb;
  color: #334155;
}

[data-theme="light"] .btn-withdraw-action-transfer:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

[data-theme="light"] .withdraw-section-label {
  color: #0f172a;
}

[data-theme="light"] .withdraw-dest-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .withdraw-dest-card .dest-card-title {
  color: #0f172a;
}

[data-theme="light"] .withdraw-dest-card .dest-card-sub {
  color: #64748b;
}

[data-theme="light"] .withdraw-dest-card.active {
  background: #dfa86a !important;
  border-color: #dfa86a !important;
}

[data-theme="light"] .withdraw-dest-card.active .dest-card-title {
  color: #1e293b !important;
}

[data-theme="light"] .withdraw-dest-card.active .dest-card-sub {
  color: #334155 !important;
}

/* Banners in Light Mode */
[data-theme="light"] .withdraw-alert-banner {
  background: #fffdf9;
  border-color: #fde68a;
  box-shadow: 0 1px 3px rgba(229, 150, 56, 0.05);
}

[data-theme="light"] .withdraw-alert-banner.alert-2fa {
  background: #fffafa;
  border-color: #fecaca;
}

[data-theme="light"] .alert-title {
  color: #0f172a;
}

[data-theme="light"] .alert-desc {
  color: #64748b;
}

[data-theme="light"] .kyc-progress-pill {
  background: #f1f5f9;
}

[data-theme="light"] .prog-pill.pill-blue {
  color: #2563eb;
}

[data-theme="light"] .prog-pill.pill-green {
  color: #16a34a;
}

/* Left Requirements Card in Light Mode */
[data-theme="light"] .withdraw-requirements-card,
[data-theme="light"] .withdraw-live-card,
[data-theme="light"] .recent-withdrawals-card {
  background: #ffffff;
  border-color: #dae3eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .req-card-title {
  color: #0f172a;
}

[data-theme="light"] .req-card-subtitle {
  color: #64748b;
}

[data-theme="light"] .req-item-box {
  background: #ffffff;
  border-color: #fde68a;
}

[data-theme="light"] .req-item-title {
  color: #0f172a;
}

[data-theme="light"] .req-item-sub {
  color: #64748b;
}

[data-theme="light"] .withdraw-demo-strip {
  border-top-color: #e2e8f0;
}

/* FAQs in Light Mode */
[data-theme="light"] .withdraw-faqs-heading {
  color: #0f172a;
}

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

[data-theme="light"] .withdraw-faq-question-btn {
  color: #0f172a;
}

[data-theme="light"] .withdraw-faq-question-btn:hover {
  color: #cb8f4e;
}

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

/* Recent Withdrawals in Light Mode */
[data-theme="light"] .recent-with-title {
  color: #0f172a;
}

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

[data-theme="light"] .btn-with-export-report:hover,
[data-theme="light"] .btn-with-refresh:hover,
[data-theme="light"] .btn-with-more:hover {
  background: #f1f5f9;
  color: #0f172a;
}

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

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

[data-theme="light"] .with-dropdown-menu {
  background: #ffffff;
  border-color: #dae3eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

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

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

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

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

[data-theme="light"] .btn-with-clear-filters:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

/* Table Light Mode Overrides */
[data-theme="light"] .with-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"] .with-data-table {
  background: #ffffff !important;
}

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

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

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

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

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

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

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

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

[data-theme="light"] .with-showing-count {
  color: #64748b !important;
}

[data-theme="light"] .btn-with-page {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

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

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

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

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