/* Banking page — warm dark sync with site */

html .banking-page {
  color: #ccc9c0;
}

html .banking-wrap {
  padding-bottom: 8px !important;
}

/* Heading — match profile section language */
html .banking-page .banking-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(250, 249, 245, 0.08);
}

html .banking-page .banking-heading-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

html .banking-page .banking-heading-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(204, 120, 92, 0.14);
  border: 1px solid rgba(204, 120, 92, 0.28);
  color: #e0a48d;
  font-size: 16px;
}

html .banking-page .banking-heading-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(204, 120, 92, 0.12);
  border: 1px solid rgba(204, 120, 92, 0.24);
  color: #e8b39a;
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

html .banking-page .banking-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

html .banking-page .banking-title {
  margin: 0;
  color: #faf9f5;
  font-family: "Fredoka", "Quicksand", sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

html .banking-page .banking-subtitle {
  margin: 6px 0 0;
  color: #c4c0b6;
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

html .banking-page .banking-count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(204, 120, 92, 0.12);
  border: 1px solid rgba(204, 120, 92, 0.22);
  color: #e0a48d;
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

/* Transfer note */
html .banking-page .transfer-note {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 249, 245, 0.1);
  background:
    radial-gradient(circle at 8% 0%, rgba(204, 120, 92, 0.14), transparent 42%),
    #1f1e1b;
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  text-align: left;
  transition: border-color 180ms ease, transform 200ms ease;
}

html .banking-page .transfer-note:hover {
  border-color: rgba(204, 120, 92, 0.28);
  transform: translateY(-1px);
}

html .banking-page .transfer-note .content-label {
  margin-bottom: 8px;
  color: #9a968c;
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html .banking-page .transfer-note .content-value {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #faf9f5;
  font-family: "Fredoka", "Quicksand", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html .banking-page .copy-content-btn,
html .banking-page .copy-btn {
  border: 1px solid rgba(250, 249, 245, 0.1);
  border-radius: 12px;
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(250, 249, 245, 0.06);
  color: #faf9f5;
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 180ms ease;
}

html .banking-page .copy-content-btn:hover,
html .banking-page .copy-btn:hover {
  background: rgba(204, 120, 92, 0.18);
  border-color: rgba(204, 120, 92, 0.32);
  color: #faf9f5;
  transform: translateY(-1px);
}

/* Bank cards */
html .banking-page .bank-list-row {
  margin-bottom: 0;
}

html .banking-page .bank-card {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  height: 100%;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(250, 249, 245, 0.1);
  background:
    radial-gradient(circle at 0% 0%, rgba(204, 120, 92, 0.12), transparent 46%),
    #252320;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 280ms cubic-bezier(0.22, 1.25, 0.36, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

html .banking-page .bank-card:hover {
  transform: translateY(-3px);
  border-color: rgba(204, 120, 92, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

html .banking-page .bank-card-left {
  width: 64px;
  min-width: 64px;
  position: relative;
  z-index: 1;
}

html .banking-page .bank-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(250, 249, 245, 0.12);
  background: rgba(250, 249, 245, 0.06);
  padding: 6px;
  transition: transform 220ms ease, border-color 180ms ease;
}

html .banking-page .bank-card:hover .bank-logo {
  transform: scale(1.04);
  border-color: rgba(204, 120, 92, 0.35);
}

html .banking-page .btn-qr {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(204, 120, 92, 0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 120, 92, 0.95);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(204, 120, 92, 0.3);
  transition: transform 180ms ease;
  cursor: pointer;
}

html .banking-page .btn-qr:hover {
  transform: scale(1.08);
}

html .banking-page .bank-card-right {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
  padding-right: 28px;
}

html .banking-page .bank-meta {
  margin-bottom: 2px;
  color: #c4c0b6;
  font-family: "Quicksand", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

html .banking-page .bank-name {
  margin-bottom: 10px;
  color: #faf9f5;
  font-family: "Fredoka", "Quicksand", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

html .banking-page .bank-account-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

html .banking-page .account-number {
  margin: 0;
  padding: 6px 11px;
  border-radius: 10px;
  background: rgba(250, 249, 245, 0.06);
  border: 1px solid rgba(250, 249, 245, 0.1);
  color: #faf9f5;
  font-size: 14px;
  font-weight: 600;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  letter-spacing: -0.02em;
}

html .banking-page .transfer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  background: #cc785c;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 180ms ease;
}

html .banking-page .transfer-link:hover {
  color: #fff;
  background: #d8896c;
  transform: translateY(-1px);
}

html .banking-page .bank-owner {
  color: #9a968c;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

html .banking-page .bank-share-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(250, 249, 245, 0.06);
  border: 1px solid rgba(250, 249, 245, 0.1);
  border-radius: 10px;
  color: #9a968c;
  cursor: pointer;
  font-size: 13px;
  opacity: 0.7;
  transition: opacity 160ms ease, background 160ms ease, color 160ms ease, transform 180ms ease;
}

html .banking-page .bank-card:hover .bank-share-btn {
  opacity: 1;
}

html .banking-page .bank-share-btn:hover {
  background: rgba(204, 120, 92, 0.18);
  color: #e0a48d;
  border-color: rgba(204, 120, 92, 0.3);
  transform: translateY(-1px);
}

html .banking-page .bank-empty {
  border-radius: 20px;
  border: 1px dashed rgba(250, 249, 245, 0.14);
  background: #1f1e1b;
  color: #c4c0b6;
  padding: 28px 20px;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
}

/* Copy alert */
html #copyAlert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(84, 168, 118, 0.95);
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.22, 1.25, 0.36, 1);
  pointer-events: none;
}

html #copyAlert.show {
  opacity: 1;
  transform: translateY(0);
}

/* QR modal */
html .banking-page .modal-content {
  background: #252320 !important;
  border: 1px solid rgba(250, 249, 245, 0.1) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4) !important;
  color: #faf9f5;
}

html .banking-page .modal-header {
  border-bottom: 1px solid rgba(250, 249, 245, 0.08) !important;
  padding: 18px 20px 12px !important;
}

html .banking-page .modal-header .modal-title {
  color: #faf9f5 !important;
  font-family: "Fredoka", "Quicksand", sans-serif !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}

html .banking-page .modal-header .btn-close {
  filter: invert(1) brightness(1.2);
  opacity: 0.7;
}

html .banking-page .modal-body {
  padding: 12px 20px 20px !important;
}

html .banking-page .modal-body .bank-qr-frame {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: inline-block;
  border: 1px solid rgba(250, 249, 245, 0.08);
}

html .banking-page .modal-body .text-muted {
  color: #c4c0b6 !important;
}

html .banking-page .btn-main {
  background: #cc785c !important;
  border: none !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-family: "Quicksand", sans-serif !important;
  font-weight: 700 !important;
  padding: 12px 20px !important;
  transition: background 160ms ease, transform 180ms ease !important;
}

html .banking-page .btn-main:hover {
  background: #d8896c !important;
  transform: translateY(-1px);
}

/* Share popup */
.bank-share-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 7, 6, 0.72);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bank-share-overlay.show {
  opacity: 1;
}

.bank-share-popup {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(320px, 92vw);
  padding: 28px 22px 20px;
  text-align: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(204, 120, 92, 0.16), transparent 48%),
    #252320;
  border: 1px solid rgba(250, 249, 245, 0.1);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  transform: translateY(10px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.22, 1.25, 0.36, 1);
}

.bank-share-overlay.show .bank-share-popup {
  transform: translateY(0) scale(1);
}

.bank-shop-bg {
  display: none;
}

.bank-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(250, 249, 245, 0.06);
  border: 1px solid rgba(250, 249, 245, 0.1);
  border-radius: 50%;
  color: #faf9f5;
  cursor: pointer;
  font-size: 14px;
}

.bank-popup-close:hover {
  background: rgba(204, 120, 92, 0.2);
  color: #fff;
}

.bank-popup-qr {
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-popup-qr img {
  max-width: min(220px, 72vw);
  max-height: 220px;
  width: auto;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}

.bank-popup-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(250, 249, 245, 0.06);
  border: 1px solid rgba(250, 249, 245, 0.12);
}

.bank-popup-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.bank-popup-name {
  margin: 0 0 4px;
  color: #faf9f5;
  font-family: "Fredoka", "Quicksand", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.bank-popup-owner {
  margin: 0 0 12px;
  color: #e0a48d;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.bank-popup-acc {
  margin: 0 auto 14px;
}

.bank-popup-acc-num {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(250, 249, 245, 0.06);
  border: 1px solid rgba(250, 249, 245, 0.1);
  border-radius: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 600;
  color: #faf9f5;
}

.bank-popup-actions {
  display: grid;
  gap: 8px;
}

.bank-popup-copy,
.bank-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 160ms ease;
}

.bank-popup-copy {
  background: rgba(250, 249, 245, 0.06);
  border: 1px solid rgba(250, 249, 245, 0.12);
  color: #faf9f5;
}

.bank-popup-copy:hover {
  background: rgba(204, 120, 92, 0.16);
  border-color: rgba(204, 120, 92, 0.3);
}

.bank-popup-copy.is-copied {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
}

.bank-popup-btn {
  background: #cc785c;
  border: none;
  color: #fff !important;
}

.bank-popup-btn:hover {
  background: #d8896c;
  transform: translateY(-1px);
}

@media (max-width: 575.98px) {
  html .banking-page .banking-title {
    font-size: 26px;
  }

  html .banking-page .bank-card {
    padding: 14px;
    gap: 12px;
    border-radius: 18px;
  }

  html .banking-page .bank-card-left,
  html .banking-page .bank-logo {
    width: 54px;
    min-width: 54px;
    height: 54px;
  }

  html .banking-page .bank-name {
    font-size: 16px;
  }

  html .banking-page .transfer-note {
    padding: 14px 16px;
    border-radius: 16px;
  }

  html .banking-page .transfer-note .content-value {
    font-size: 16px;
  }

  html .banking-page .bank-share-btn {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html .banking-page .bank-card,
  html .banking-page .transfer-note,
  .bank-share-popup {
    transition: none !important;
  }
}
