/* Binance-inspired training theme (fictional — not affiliated with Binance) */
body.binance-theme {
  --bn-bg: #0b0e11;
  --bn-bg2: #181a20;
  --bn-card: #1e2329;
  --bn-card2: #2b3139;
  --bn-border: #2b3139;
  --bn-yellow: #f0b90b;
  --bn-yellow-hover: #fcd535;
  --bn-text: #eaecef;
  --bn-muted: #848e9c;
  --bn-danger: #f6465d;
  --bn-success: #0ecb81;
  background: var(--bn-bg);
  color: var(--bn-text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

body.binance-theme .training-banner {
  background: #3c2200;
  border-bottom: 1px solid var(--bn-yellow);
  color: #fff8e0;
  font-size: 0.75rem;
}

body.binance-theme .global-back-bar {
  background: var(--bn-bg2);
  border-color: var(--bn-border);
}

body.binance-theme .btn-back {
  color: var(--bn-yellow);
  border-color: var(--bn-card2);
  background: var(--bn-card);
}

body.binance-theme .btn-back:hover {
  background: var(--bn-yellow);
  color: #000;
}

.binance-header {
  background: var(--bn-bg);
  border-bottom: 1px solid var(--bn-border);
  padding: 0.75rem 0;
}

.binance-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

@import url("logos.css");

.binance-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--bn-text);
}

.binance-logo-mark-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.binance-logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.1;
}

.binance-logo-text-img {
  display: block;
  height: 20px;
  width: auto;
  max-width: 120px;
}

.binance-logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--bn-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.binance-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.binance-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--bn-yellow);
  color: var(--bn-yellow);
  border-radius: 4px;
}

.crypto-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.crypto-hero-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--bn-text);
}

.crypto-hero-lead {
  color: var(--bn-muted);
  font-size: 0.875rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.crypto-panel {
  background: var(--bn-card);
  border: 1px solid var(--bn-border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.crypto-panel h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--bn-text);
}

.crypto-panel p {
  color: var(--bn-muted);
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
}

.crypto-label {
  display: block;
  font-size: 0.75rem;
  color: var(--bn-muted);
  margin: 0.75rem 0 0.35rem;
}

.crypto-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  font-size: 1.125rem;
  font-family: ui-monospace, monospace;
  letter-spacing: 3px;
  text-align: center;
  background: var(--bn-bg2);
  border: 1px solid var(--bn-border);
  border-radius: 4px;
  color: var(--bn-text);
}

.crypto-input:focus {
  outline: none;
  border-color: var(--bn-yellow);
}

.btn-binance {
  display: inline-block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bn-yellow);
  color: #000;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.btn-binance:hover {
  background: var(--bn-yellow-hover);
}

.btn-binance:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-binance-outline {
  background: transparent;
  color: var(--bn-yellow);
  border: 1px solid var(--bn-yellow);
  width: auto;
  margin-top: 0.75rem;
}

.crypto-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bn-card2);
  border-top-color: var(--bn-yellow);
  border-radius: 50%;
  animation: bn-spin 0.7s linear infinite;
  margin: 0 auto 1rem;
}

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

.crypto-timer {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bn-yellow);
  text-align: center;
  margin: 0;
}

#stepLoading p {
  text-align: center;
}

.bio-box {
  background: var(--bn-bg2);
  border: 1px dashed var(--bn-card2);
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  margin: 1rem 0;
}

.bio-fingerprint {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.bio-scan-label {
  color: var(--bn-yellow);
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.bio-timer {
  margin: 0.25rem 0 0.75rem;
}

.crypto-fill-input {
  text-align: left;
  letter-spacing: normal;
  font-size: 0.9375rem;
}

.bank-fillup-title {
  font-size: 0.9rem;
  color: var(--bn-text);
  margin: 0 0 0.75rem;
}

.legal-requirements {
  background: rgba(240, 185, 11, 0.06);
  border: 1px solid rgba(240, 185, 11, 0.35);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.legal-requirements--compact {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.legal-requirements h3 {
  font-size: 0.9rem;
  color: var(--bn-yellow);
  margin: 0 0 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-requirements-intro {
  font-size: 0.8125rem;
  color: var(--bn-muted);
  margin: 0 0 0.65rem;
  line-height: 1.5;
}

.legal-requirements-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  color: var(--bn-text);
  line-height: 1.55;
}

.legal-requirements-list li {
  margin-bottom: 0.45rem;
}

.legal-requirements-list li:last-child {
  margin-bottom: 0;
}

.fill-error {
  background: rgba(246, 70, 93, 0.12);
  border: 1px solid rgba(246, 70, 93, 0.45);
  color: var(--bn-danger);
  padding: 0.65rem 0.85rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  margin: 0 0 0.75rem;
}

.kyc-documents {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--bn-border);
}

.kyc-documents-title {
  font-size: 0.95rem;
  color: var(--bn-yellow);
  margin: 0 0 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kyc-documents-intro {
  font-size: 0.8125rem;
  color: var(--bn-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.kyc-doc-checklist {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.78rem;
  color: var(--bn-text);
  line-height: 1.5;
}

.kyc-doc-checklist li {
  margin-bottom: 0.4rem;
}

.kyc-upload-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kyc-upload-row {
  padding: 0.75rem 0.85rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--bn-border);
  border-radius: 6px;
}

.kyc-upload-row--conditional.is-business-active {
  border-color: rgba(240, 185, 11, 0.55);
}

.kyc-upload-hint {
  font-size: 0.72rem;
  color: var(--bn-muted);
  margin: -0.25rem 0 0.5rem;
  line-height: 1.4;
}

.kyc-file-input {
  display: block;
  width: 100%;
  font-size: 0.75rem;
  color: var(--bn-muted);
  margin-bottom: 0.35rem;
}

.kyc-file-input::file-selector-button {
  background: var(--bn-bg2);
  border: 1px solid var(--bn-yellow);
  color: var(--bn-yellow);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.72rem;
  cursor: pointer;
  margin-right: 0.5rem;
}

.kyc-file-name {
  display: block;
  font-size: 0.72rem;
  color: var(--bn-muted);
}

.kyc-file-name.is-ok {
  color: #12b76a;
}

.kyc-business-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--bn-text);
  margin-bottom: 0.65rem;
  cursor: pointer;
  line-height: 1.4;
}

.kyc-business-toggle input {
  margin-top: 0.15rem;
  accent-color: var(--bn-yellow);
}

.kyc-privacy-note {
  font-size: 0.72rem;
  color: var(--bn-muted);
  margin: 1rem 0 0.65rem;
  line-height: 1.45;
}

.kyc-certify {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--bn-text);
  line-height: 1.45;
  cursor: pointer;
}

.kyc-certify input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--bn-yellow);
}

.stripe-kyc-panel {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(99, 91, 255, 0.08);
  border: 1px solid rgba(99, 91, 255, 0.45);
  border-radius: 8px;
}

.stripe-sandbox-banner {
  font-size: 0.7rem;
  color: #7a73ff;
  margin: 0 0 0.5rem;
  padding: 0.35rem 0.5rem;
  background: rgba(99, 91, 255, 0.12);
  border-radius: 4px;
}

.stripe-kyc-heading {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: #a5b4fc;
  font-weight: 700;
}

.stripe-kyc-desc {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  color: var(--bn-muted);
  line-height: 1.45;
}

.btn-stripe-identity,
.btn-stripe-deposit {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  border: none;
}

.btn-stripe-identity {
  background: #635bff;
  color: #fff;
}

.btn-stripe-identity:hover {
  background: #4f46e5;
}

.btn-stripe-deposit {
  background: transparent;
  border: 1px solid #635bff;
  color: #a5b4fc;
}

.stripe-identity-status {
  font-size: 0.75rem;
  margin: 0.35rem 0;
}

.stripe-identity-status.is-ok {
  color: var(--bn-success, #0ecb81);
}

.stripe-identity-status.is-warn {
  color: var(--bn-danger);
}

.stripe-identity-badge {
  font-size: 0.75rem;
  color: var(--bn-success, #0ecb81);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.kyc-upload-row.kyc-row-satisfied {
  opacity: 0.65;
  border-color: rgba(14, 203, 129, 0.4);
}

.kyc-upload-row.kyc-row-satisfied::after {
  content: "✓ Stripe ID verified";
  display: block;
  font-size: 0.68rem;
  color: var(--bn-success, #0ecb81);
  margin-top: 0.25rem;
}

.crypto-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 520px) {
  .crypto-choice-grid {
    grid-template-columns: 1fr;
  }
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  padding: 1rem;
  background: var(--bn-bg2);
  border: 1px solid var(--bn-border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--bn-text);
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.choice-card:hover {
  border-color: var(--bn-yellow);
  background: rgba(240, 185, 11, 0.06);
}

.choice-card strong {
  font-size: 0.9rem;
  color: var(--bn-yellow);
}

.choice-card span:last-child {
  font-size: 0.75rem;
  color: var(--bn-muted);
  line-height: 1.4;
}

.choice-card-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.bio-ref {
  color: var(--bn-yellow);
  font-family: ui-monospace, monospace;
  font-size: 1.125rem;
}

.subject-card {
  background: var(--bn-bg2);
  border: 1px solid var(--bn-border);
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--bn-muted);
}

.subject-card strong {
  color: var(--bn-text);
}

.text-muted {
  color: var(--bn-muted) !important;
  font-size: 0.75rem !important;
  margin-top: 0.75rem !important;
}

.alert-training {
  background: rgba(240, 185, 11, 0.12);
  border: 1px solid rgba(240, 185, 11, 0.45);
  color: var(--bn-yellow);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.compliance-body {
  background: var(--bn-bg2);
  border: 1px solid var(--bn-border);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--bn-muted);
}

.compliance-body strong {
  color: var(--bn-text);
}

.compliance-amount {
  color: var(--bn-yellow);
  font-weight: 700;
  font-size: 1.1rem;
}

.bank-register-card,
.kyc-flow-card {
  background: var(--bn-bg2);
  border: 1px solid rgba(240, 185, 11, 0.35);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1rem 0;
}

.kyc-contact-fields {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bn-border);
}

.bank-register-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.bank-register-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.bank-register-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bn-muted);
  margin: 0 0 0.25rem;
}

.bank-register-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bn-yellow);
  margin: 0;
  letter-spacing: 0.02em;
}

.bank-register-scope {
  font-size: 0.75rem;
  color: var(--bn-muted);
  margin: 0.35rem 0 0;
}

.bank-register-body {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--bn-muted);
  margin-bottom: 1rem;
}

.bank-register-body strong {
  color: var(--bn-text);
}

.bank-requirements {
  border-top: 1px solid var(--bn-border);
  padding-top: 0.75rem;
  margin-bottom: 1rem;
}

.bank-requirements h3 {
  font-size: 0.8125rem;
  color: var(--bn-text);
  margin: 0 0 0.5rem;
}

.bank-requirements ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  color: var(--bn-muted);
}

.bank-register-fields {
  margin-top: 0.75rem;
}

.bank-field {
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.bank-register-note {
  font-size: 0.75rem;
  color: var(--bn-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.register-success {
  background: rgba(14, 203, 129, 0.12);
  border: 1px solid rgba(14, 203, 129, 0.45);
  color: var(--bn-success);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.btn-binance-outline {
  background: transparent;
  border: 1px solid var(--bn-yellow);
  color: var(--bn-yellow);
  margin-top: 0.5rem;
}

.btn-binance-outline:hover {
  background: rgba(240, 185, 11, 0.12);
}

.review-status-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--bn-bg2);
  border: 1px solid var(--bn-border);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.review-status-icon {
  margin-bottom: 0.75rem;
}

.review-spinner {
  display: inline-block;
  width: 48px;
  height: 48px;
  border: 3px solid rgba(240, 185, 11, 0.25);
  border-top-color: var(--bn-yellow);
  border-radius: 50%;
  animation: review-spin 1s linear infinite;
}

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

.review-status-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0ecb81;
  background: rgba(14, 203, 129, 0.12);
  border: 1px solid rgba(14, 203, 129, 0.4);
  border-radius: 999px;
}

.review-status-title {
  font-size: 1.05rem;
  color: var(--bn-text);
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.review-status-lead {
  font-size: 0.8125rem;
  color: var(--bn-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
  text-align: left;
}

.review-status-meta {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  text-align: left;
}

.review-status-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--bn-border);
  font-size: 0.78rem;
}

.review-status-meta div:last-child {
  border-bottom: none;
}

.review-status-meta dt {
  color: var(--bn-muted);
  font-weight: 600;
}

.review-status-meta dd {
  margin: 0;
  color: var(--bn-yellow);
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

.review-email-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
  padding: 0.85rem 1rem;
  background: rgba(240, 185, 11, 0.08);
  border: 1px solid rgba(240, 185, 11, 0.35);
  border-radius: 6px;
  margin-bottom: 1rem;
}

.review-email-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.review-email-notice p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bn-text);
  line-height: 1.5;
}

.review-email-status {
  font-size: 0.78rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  text-align: left;
}

.review-email-status.is-ok {
  background: rgba(14, 203, 129, 0.12);
  border: 1px solid rgba(14, 203, 129, 0.45);
  color: var(--bn-success, #0ecb81);
}

.review-email-status.is-warn {
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.4);
  color: var(--bn-yellow);
}

.review-next-steps {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  text-align: left;
  font-size: 0.75rem;
  color: var(--bn-muted);
  line-height: 1.5;
}

.review-next-steps li {
  margin-bottom: 0.4rem;
}

.review-hold-note {
  font-size: 0.72rem;
  color: var(--bn-muted);
  margin: 0;
  line-height: 1.45;
  text-align: left;
}

.review-home-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.crypto-live-agent-inline {
  margin-top: 0.75rem;
  width: 100%;
}

body.binance-theme .crypto-main {
  padding-bottom: 5.5rem;
}

#btnReviewLiveAgent {
  width: 100%;
}

.inline-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--bn-muted);
  font-size: 0.8125rem;
}

.d-none {
  display: none !important;
}

body.binance-theme .site-footer {
  background: var(--bn-bg2);
  border-top: 1px solid var(--bn-border);
  color: var(--bn-muted);
}

body.binance-theme .lovescm-brand {
  color: var(--bn-yellow);
}

body.binance-theme .lang-switcher button {
  background: var(--bn-card);
  border-color: var(--bn-border);
  color: var(--bn-text);
}

body.binance-theme .lang-switcher button.is-active {
  background: var(--bn-yellow);
  color: #000;
}

/* —— Binance-style recovery wallet —— */
.crypto-main--wallet {
  max-width: 480px;
  padding-bottom: 6.5rem;
}

.crypto-panel--wallet,
.wallet-shell {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.wallet-app {
  background: var(--bn-bg);
  border: 1px solid var(--bn-border);
  border-radius: 12px;
  overflow: hidden;
}

.wallet-recovery-banner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, rgba(240, 185, 11, 0.18), rgba(240, 185, 11, 0.05));
  border-bottom: 1px solid rgba(240, 185, 11, 0.35);
}

.wallet-recovery-icon {
  font-size: 1.5rem;
  color: var(--bn-yellow);
  line-height: 1;
}

.wallet-recovery-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bn-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wallet-recovery-desc {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--bn-text);
  line-height: 1.45;
}

.wallet-app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1rem 0.5rem;
  gap: 0.5rem;
}

.wallet-app-label {
  margin: 0;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bn-muted);
}

.wallet-app-subject {
  margin: 0.2rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bn-text);
}

.wallet-app-subject-meta {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bn-muted);
  line-height: 1.35;
}

.wallet-app-subject-addr {
  font-size: 0.6875rem;
}

.wallet-app-ref {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bn-yellow);
  font-family: ui-monospace, monospace;
}

.wallet-total-card {
  margin: 0 1rem 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--bn-card);
  border-radius: 10px;
  border: 1px solid var(--bn-border);
}

.wallet-total-label {
  margin: 0;
  font-size: 0.75rem;
  color: var(--bn-muted);
}

.wallet-total-value {
  margin: 0.35rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bn-text);
  line-height: 1.15;
}

.wallet-total-value small {
  font-size: 1rem;
  color: var(--bn-muted);
  font-weight: 600;
}

.wallet-hold-line {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--bn-yellow);
  font-weight: 600;
}

.wallet-balances {
  margin: 0 1rem 0.75rem;
  background: var(--bn-card);
  border-radius: 10px;
  border: 1px solid var(--bn-border);
  overflow: hidden;
}

.wallet-coin-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--bn-border);
}

.wallet-coin-row:last-child {
  border-bottom: none;
}

.coin-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
}

.coin-eth {
  background: #627eea;
  color: #fff;
}

.coin-sol {
  background: linear-gradient(135deg, #9945ff, #14f195);
  color: #fff;
}

.coin-sgd {
  background: var(--bn-yellow);
  color: #000;
}

.coin-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.coin-meta strong {
  font-size: 0.9375rem;
  color: var(--bn-text);
}

.coin-meta span {
  font-size: 0.6875rem;
  color: var(--bn-muted);
}

.coin-amt {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bn-text);
  font-variant-numeric: tabular-nums;
}

.wallet-history-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0.35rem;
  flex-wrap: wrap;
}

.wallet-history-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bn-text);
}

.wallet-history-note {
  font-size: 0.6875rem;
  color: var(--bn-muted);
}

.wallet-tx-list {
  list-style: none;
  margin: 0;
  padding: 0 0.5rem 0.75rem;
  max-height: 340px;
  overflow-y: auto;
}

.wallet-tx-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--bn-border);
  animation: wallet-tx-in 0.35s ease;
}

@keyframes wallet-tx-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wallet-tx-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
}

.wallet-tx-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.wallet-tx-label {
  font-size: 0.8125rem;
  color: var(--bn-text);
  line-height: 1.3;
}

.wallet-tx-amt {
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wallet-tx-deposit .wallet-tx-amt {
  color: var(--bn-success);
}

.wallet-tx-sell .wallet-tx-amt,
.wallet-tx-withdraw .wallet-tx-amt {
  color: var(--bn-text);
}

.wallet-tx-item.is-cancelled .wallet-tx-amt {
  color: var(--bn-muted);
  text-decoration: line-through;
}

.wallet-tx-item.is-hold .wallet-tx-amt {
  color: var(--bn-yellow);
}

.wallet-tx-status {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.wallet-tx-status.cancelled {
  background: rgba(246, 70, 93, 0.15);
  color: var(--bn-danger);
}

.wallet-tx-status.hold {
  background: rgba(240, 185, 11, 0.15);
  color: var(--bn-yellow);
}

.wallet-sync-msg {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--bn-success);
  font-weight: 600;
  margin: 0.75rem 0 0;
}

.wallet-shell .btn-binance {
  margin: 1rem;
  width: calc(100% - 2rem);
  min-height: 52px;
  font-size: 1.0625rem;
}

@media (max-width: 768px) {
  .crypto-main--wallet {
    max-width: 100%;
    padding: 0.75rem 0.65rem 7rem;
  }

  .wallet-total-value {
    font-size: 2rem;
  }

  .coin-amt {
    font-size: 1.0625rem;
  }

  .wallet-tx-list {
    max-height: 42vh;
  }

  .wallet-tx-label {
    font-size: 0.875rem;
  }

  .wallet-tx-amt {
    font-size: 1rem;
  }

  body.binance-theme .ec3-live-agent-fab {
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.05rem;
    padding: 1rem 1.25rem;
    min-height: 52px;
  }

  body.binance-theme .ec3-live-agent-fab::before {
    width: 10px;
    height: 10px;
    margin-right: 0.5rem;
  }
}

/* ——— Sequential flow stepper ——— */
.crypto-flow-track {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bn-border);
  overflow-x: auto;
}

.crypto-flow-steps {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: min-content;
}

.crypto-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 4.5rem;
  opacity: 0.45;
  font-size: 0.625rem;
  text-align: center;
  color: var(--bn-muted);
}

.crypto-flow-step.is-done {
  opacity: 0.85;
  color: var(--bn-text);
}

.crypto-flow-step.is-done .crypto-flow-num {
  background: rgba(14, 203, 129, 0.2);
  border-color: #0ecb81;
  color: #0ecb81;
}

.crypto-flow-step.is-current {
  opacity: 1;
  color: var(--bn-yellow);
  font-weight: 600;
}

.crypto-flow-step.is-current .crypto-flow-num {
  background: rgba(240, 185, 11, 0.2);
  border-color: var(--bn-yellow);
  color: var(--bn-yellow);
}

.crypto-flow-step.is-locked {
  opacity: 0.3;
}

.crypto-flow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--bn-border);
  font-size: 0.6875rem;
  font-weight: 700;
}

.crypto-flow-label {
  line-height: 1.2;
  max-width: 5.5rem;
}

.crypto-step-kicker {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bn-yellow);
  margin: 0 0 0.35rem;
}

.choice-certify {
  margin: 1rem 0;
  padding: 0.75rem;
  background: var(--bn-bg2);
  border-radius: 6px;
  border: 1px solid var(--bn-border);
}

.kyc-pack-ref-line {
  font-size: 0.8125rem;
  color: var(--bn-muted);
  margin: 0 0 1rem;
}

.kyc-pack-ref-line strong {
  color: var(--bn-yellow);
  font-family: ui-monospace, monospace;
}

.kyc-doc-status-panel {
  margin: 1rem 0 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bn-border);
  border-radius: 6px;
}

.kyc-doc-status-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
  color: var(--bn-muted);
}

.kyc-doc-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kyc-doc-status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.35rem 0;
  color: var(--bn-muted);
}

.kyc-doc-status-item.is-complete {
  color: var(--bn-text);
}

.kyc-doc-status-mark {
  width: 1.25rem;
  text-align: center;
  color: var(--bn-muted);
}

.kyc-doc-status-item.is-complete .kyc-doc-status-mark {
  color: #0ecb81;
}

.kyc-doc-status-state {
  margin-left: auto;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kyc-doc-status-item.is-complete .kyc-doc-status-state {
  color: #0ecb81;
}

.aml-deposit-card {
  background: var(--bn-bg2);
  border: 1px solid rgba(240, 185, 11, 0.35);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.aml-deposit-kicker {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bn-muted);
  margin: 0 0 0.25rem;
}

.aml-deposit-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bn-yellow);
  margin: 0.5rem 0 1rem;
}

.aml-wire-box {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.aml-wire-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.aml-wire-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--bn-border);
}

.aml-wire-list li span:first-child {
  color: var(--bn-muted);
}

.aml-wire-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--bn-muted);
}

.aml-certify {
  margin-top: 1rem;
}
