.deposit-page {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.deposit-account-card {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border-radius: 10px;
  background: #2f3344;
  color: #f8fafc;
  font-weight: 900;
  border: 1px solid rgba(148, 163, 184, .18);
}

.deposit-account-card small {
  color: #aeb6c7;
  font-size: .88rem;
  font-weight: 700;
}

.deposit-alert-box {
  padding: 24px 22px;
  background: #e7e7e7;
  color: #3f4a54;
  border: 1px solid #c9c9c9;
  font-size: 1.02rem;
  line-height: 1.65;
}

.deposit-section-card {
  overflow: hidden;
  border-radius: 12px;
  background: #171a25;
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .32);
}

.deposit-section-card h2 {
  margin: 0;
  padding: 22px 26px;
  background: #2c3040;
  font-size: 1.32rem;
  color: #f8fafc;
}

.deposit-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 20px;
}

.deposit-method-card {
  min-height: 164px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 10px;
  background: #f3f4f7;
  color: #f8fafc;
  display: grid;
  grid-template-rows: 1fr 58px;
  box-shadow: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.deposit-method-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, .42);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
}

.deposit-method-logo-box {
  min-height: 106px;
  display: grid;
  place-items: center;
  background: #f5f6fa;
  color: #111827;
  font-size: 2rem;
  font-weight: 1000;
}

.deposit-method-logo-box img {
  max-width: 74%;
  max-height: 74px;
  object-fit: contain;
}

.deposit-method-title {
  display: grid;
  place-items: center;
  background: #a9b1bb;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.deposit-empty {
  padding: 22px;
  color: #cbd5e1;
  line-height: 1.6;
}

.deposit-info-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}


.money-info-card {
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.money-info-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}


.deposit-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 28px);
  overflow-y: auto;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(2px);
}

.deposit-popup {
  position: relative;
  width: min(620px, calc(100vw - 40px));
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 34px 32px 30px;
  border-radius: 12px;
  background: #1b1f2b;
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: 0 26px 90px rgba(0, 0, 0, .62);
}

.deposit-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
}

.deposit-popup-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f5f6fa;
  color: #111827;
  font-weight: 1000;
}

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

.deposit-popup-line,
.deposit-popup-warning,
.deposit-number-row,
.deposit-agent-note,
.deposit-confirm-btn,
.full-field {
  grid-column: 1 / -1;
}

.deposit-popup-line {
  height: 1px;
  background: rgba(148, 163, 184, .16);
  margin-top: 8px;
}

.deposit-popup-warning {
  color: #fb6472;
  font-size: 1.08rem;
  line-height: 1.42;
  margin: 0;
  font-weight: 700;
}

.deposit-number-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #f8fafc;
  font-size: 1.02rem;
}

.deposit-number-row strong {
  font-weight: 1000;
}

.deposit-number-row span {
  word-break: break-word;
}

.deposit-number-row button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #f8fafc;
  display: grid;
  place-items: center;
}

.deposit-agent-note {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(250, 204, 21, .12);
  border: 1px solid rgba(250, 204, 21, .22);
  color: #fef3c7;
  line-height: 1.5;
  white-space: pre-wrap;
}

.deposit-popup-field {
  display: grid;
  grid-template-columns: minmax(180px, 235px) minmax(0, 1fr);
  align-items: start;
  gap: 10px 18px;
  color: #f8fafc;
  font-weight: 800;
}

.deposit-popup-field span {
  line-height: 1.35;
  padding-top: 8px;
  overflow-wrap: anywhere;
}

.deposit-popup-field input,
.deposit-popup-field textarea {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  background: #303447;
  color: #fff;
  padding: 0 16px;
  outline: none;
  font-weight: 800;
}

.deposit-popup-field textarea {
  min-height: 86px;
  padding-top: 12px;
  resize: vertical;
}

.amount-field input {
  text-align: center;
  font-size: 1.08rem;
}

.deposit-confirm-btn {
  min-height: 72px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7c2cff, #6d12f4);
  margin-top: 4px;
}

.deposit-confirm-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}


@media (max-width: 720px) {
  .deposit-page {
    max-width: none;
  }

  .deposit-alert-box {
    margin: 0 12px;
    padding: 20px 16px;
    font-size: .98rem;
  }

  .deposit-account-card,
  .deposit-section-card,
  .deposit-info-card {
    margin-left: 12px;
    margin-right: 12px;
  }

  .deposit-method-grid {
    gap: 14px;
    padding: 16px;
  }

  .deposit-method-card {
    min-height: 138px;
    grid-template-rows: 1fr 48px;
  }

  .deposit-method-logo-box {
    min-height: 90px;
  }

  .deposit-method-logo-box img {
    max-height: 58px;
  }

  .deposit-popup {
    width: min(672px, 100%);
    grid-template-columns: 1fr;
    padding: 34px 18px 22px;
    gap: 13px;
    max-height: calc(100dvh - 28px);
  }

  .deposit-popup-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .deposit-number-row {
    grid-template-columns: 1fr auto;
  }

  .deposit-number-row strong,
  .deposit-number-row span {
    grid-column: 1 / 2;
  }

  .deposit-number-row button {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
}

@media (max-width: 420px) {
  .deposit-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
  }

  .deposit-method-card {
    min-height: 122px;
  }

  .deposit-method-title {
    font-size: .9rem;
  }
}


/* Crypto deposit method styles */
.crypto-method-card .deposit-method-logo-box {
  background:
    radial-gradient(circle at 30% 20%, rgba(34, 211, 238, .22), transparent 6rem),
    linear-gradient(135deg, #0c1c2c, #10172a);
  color: #e0f2fe;
}

.crypto-method-card .deposit-method-logo-box strong {
  font-size: 1.55rem;
  letter-spacing: -.04em;
  color: #67e8f9;
}

.crypto-method-card .deposit-method-title {
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
}

.crypto-deposit-popup {
  grid-template-columns: 1fr;
  width: min(580px, 100%);
}

.crypto-popup-logo {
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  color: #fff;
}



.crypto-pending-box {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 16px;
  color: #cbd5e1;
}

.crypto-pending-box svg {
  color: #67e8f9;
}

.crypto-pending-box h3,
.crypto-pending-box p {
  margin: 0;
}


/* Colorful crypto token logos for Deposit and Withdraw */
.crypto-logo-token.crypto-btc {
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .42), transparent 4.5rem), linear-gradient(135deg, #f59e0b, #f97316) !important;
  color: #111827 !important;
}

.crypto-logo-token.crypto-eth {
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .36), transparent 4.5rem), linear-gradient(135deg, #64748b, #6366f1) !important;
  color: #ffffff !important;
}

.crypto-logo-token.crypto-usdt {
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .34), transparent 4.5rem), linear-gradient(135deg, #14b8a6, #22c55e) !important;
  color: #042f2e !important;
}

.crypto-logo-token.crypto-ltc {
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .34), transparent 4.5rem), linear-gradient(135deg, #94a3b8, #475569) !important;
  color: #ffffff !important;
}

.crypto-logo-token.crypto-bnb {
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .38), transparent 4.5rem), linear-gradient(135deg, #fde047, #eab308) !important;
  color: #1f2937 !important;
}

.crypto-logo-token.crypto-trx {
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .32), transparent 4.5rem), linear-gradient(135deg, #ef4444, #be123c) !important;
  color: #ffffff !important;
}

.crypto-logo-token.crypto-default {
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .28), transparent 4.5rem), linear-gradient(135deg, #0ea5e9, #7c3aed) !important;
  color: #ffffff !important;
}

.crypto-logo-token strong {
  color: inherit !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.18);
}

/* Real crypto icon cards: Deposit + Withdraw */
.crypto-method-card .deposit-method-logo-box {
  position: relative;
  min-height: 126px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .24), transparent 5.5rem),
    radial-gradient(circle at 86% 82%, rgba(59, 130, 246, .28), transparent 6rem),
    linear-gradient(135deg, #101827, #172033 50%, #0b1220) !important;
  overflow: hidden;
}

.crypto-method-card .deposit-method-logo-box::before {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 52%);
  pointer-events: none;
}

.crypto-method-card .deposit-method-logo-box::after {
  content: '';
  position: absolute;
  width: 96px;
  height: 96px;
  right: -28px;
  bottom: -30px;
  border-radius: 999px;
  background: rgba(59, 130, 246, .16);
  filter: blur(2px);
  pointer-events: none;
}

.crypto-method-card .deposit-method-title {
  min-height: 58px;
  padding: 8px 10px;
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 118, 110, .98), rgba(37, 99, 235, .96)) !important;
  font-weight: 1000;
  letter-spacing: -.02em;
}

.crypto-method-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .34);
  transition: transform .18s ease, filter .18s ease;
}

.crypto-method-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.crypto-method-icon--card {
  width: 78px;
  height: 78px;
}

.crypto-method-icon--popup {
  width: 94px;
  height: 94px;
}

.crypto-method-card:hover .crypto-method-icon {
  transform: scale(1.06) rotate(-2deg);
  filter: saturate(1.08);
}

.crypto-logo-token.crypto-brand-btc .crypto-method-icon,
.crypto-method-icon.crypto-brand-btc {
  filter: drop-shadow(0 0 22px rgba(247, 147, 26, .48));
}

.crypto-logo-token.crypto-brand-eth .crypto-method-icon,
.crypto-method-icon.crypto-brand-eth {
  filter: drop-shadow(0 0 22px rgba(99, 102, 241, .52));
}

.crypto-logo-token.crypto-brand-usdt .crypto-method-icon,
.crypto-method-icon.crypto-brand-usdt {
  filter: drop-shadow(0 0 22px rgba(38, 161, 123, .48));
}

.crypto-logo-token.crypto-brand-ltc .crypto-method-icon,
.crypto-method-icon.crypto-brand-ltc {
  filter: drop-shadow(0 0 22px rgba(59, 130, 246, .42));
}

.crypto-logo-token.crypto-brand-bnb .crypto-method-icon,
.crypto-method-icon.crypto-brand-bnb {
  filter: drop-shadow(0 0 22px rgba(243, 186, 47, .52));
}

.crypto-logo-token.crypto-brand-trx .crypto-method-icon,
.crypto-method-icon.crypto-brand-trx {
  filter: drop-shadow(0 0 22px rgba(235, 0, 41, .48));
}

.crypto-popup-logo {
  min-height: 118px;
  display: inline-grid;
  place-items: center;
  gap: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, .2), transparent 5rem),
    linear-gradient(135deg, #101827, #172033) !important;
}

.crypto-popup-logo .crypto-popup-symbol {
  color: #f8fafc !important;
  font-size: .92rem;
  letter-spacing: .08em;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .28);
}

.crypto-popup-logo > strong:not(.crypto-popup-symbol) {
  display: none;
}

.crypto-logo-token.crypto-brand-btc { border-color: rgba(247, 147, 26, .54) !important; }
.crypto-logo-token.crypto-brand-eth { border-color: rgba(99, 102, 241, .54) !important; }
.crypto-logo-token.crypto-brand-usdt { border-color: rgba(38, 161, 123, .54) !important; }
.crypto-logo-token.crypto-brand-ltc { border-color: rgba(59, 130, 246, .5) !important; }
.crypto-logo-token.crypto-brand-bnb { border-color: rgba(243, 186, 47, .58) !important; }
.crypto-logo-token.crypto-brand-trx { border-color: rgba(235, 0, 41, .5) !important; }
.crypto-logo-token.crypto-brand-crypto { border-color: rgba(56, 189, 248, .5) !important; }

@media (max-width: 620px) {
  .crypto-method-card .deposit-method-logo-box {
    min-height: 112px;
  }

  .crypto-method-icon--card {
    width: 64px;
    height: 64px;
  }

  .crypto-method-icon--popup {
    width: 78px;
    height: 78px;
  }
}

/* =========================================================
   7XBET FIX: Crypto deposit modal logo full-visible
   Fixes popup logo clipping caused by deposit-popup-logo base
   width/height/overflow rules. Safe for mobile + desktop.
   ========================================================= */
.crypto-deposit-popup .crypto-popup-logo.deposit-popup-logo,
.crypto-deposit-popup .deposit-popup-logo.crypto-popup-logo,
.deposit-popup.crypto-deposit-popup .crypto-popup-logo {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  height: auto !important;
  min-height: 114px !important;
  max-height: none !important;
  padding: 10px !important;
  margin: 0 0 6px 0 !important;
  overflow: visible !important;
  border-radius: 24px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(148, 163, 184, .26) !important;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .18), transparent 5.5rem),
    linear-gradient(135deg, #101827, #172033) !important;
}

.crypto-deposit-popup .crypto-popup-logo .crypto-method-icon,
.crypto-deposit-popup .crypto-popup-logo .crypto-method-icon--popup {
  width: 84px !important;
  height: 84px !important;
  min-width: 84px !important;
  min-height: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  transform: none !important;
}

.crypto-deposit-popup .crypto-popup-logo .crypto-method-icon svg,
.crypto-deposit-popup .crypto-popup-logo svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 84px !important;
  max-height: 84px !important;
  display: block !important;
  object-fit: contain !important;
  overflow: visible !important;
}

.crypto-deposit-popup .crypto-popup-logo .crypto-popup-symbol {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: .76rem !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  letter-spacing: .08em !important;
}

.crypto-deposit-popup .crypto-popup-title {
  min-width: 0 !important;
  margin-top: 2px !important;
}

@media (max-width: 620px) {
  .crypto-deposit-popup {
    width: min(100%, calc(100vw - 26px)) !important;
    padding: 30px 18px 22px !important;
  }

  .crypto-deposit-popup .crypto-popup-logo.deposit-popup-logo,
  .crypto-deposit-popup .deposit-popup-logo.crypto-popup-logo,
  .deposit-popup.crypto-deposit-popup .crypto-popup-logo {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    min-height: 106px !important;
    padding: 9px !important;
    border-radius: 22px !important;
  }

  .crypto-deposit-popup .crypto-popup-logo .crypto-method-icon,
  .crypto-deposit-popup .crypto-popup-logo .crypto-method-icon--popup,
  .crypto-deposit-popup .crypto-popup-logo .crypto-method-icon svg,
  .crypto-deposit-popup .crypto-popup-logo svg {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
  }
}



.crypto-create-note {
  margin-top: 0;
}


.crypto-method-card {
  content-visibility: auto;
  contain-intrinsic-size: 190px;
}


.crypto-method-card.is-provider-disabled {
  border-color: rgba(245, 158, 11, .24);
}

.crypto-method-card.is-provider-disabled:hover {
  border-color: rgba(245, 158, 11, .5);
}



.crypto-live-fx-note {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 14px;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.5;
}

.crypto-live-fx-note {
  padding: 11px 13px;
  border: 1px solid rgba(34, 197, 94, .28);
  background: rgba(34, 197, 94, .1);
  color: #bbf7d0;
}


/* =====================================================
   CURRENT-LIVE Mobile Crypto UI Refresh — 2026-06-23
   Compact 3-column crypto catalogue and two-step popups.
   ===================================================== */

.deposit-method-grid--crypto {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.crypto-compact-card {
  min-height: 132px;
  padding: 9px 7px 10px;
  grid-template-rows: 54px minmax(30px, auto) auto auto;
  align-content: start;
  gap: 6px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .48);
  background: #f8fafc;
  box-shadow: none;
}

.crypto-compact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, .62);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}

.crypto-compact-card .deposit-method-logo-box,
.crypto-method-card.crypto-compact-card .deposit-method-logo-box {
  min-height: 54px;
  height: 54px;
  padding: 5px;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.crypto-compact-card .deposit-method-logo-box::before,
.crypto-compact-card .deposit-method-logo-box::after {
  display: none;
}

.crypto-compact-card .crypto-method-icon--card {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 4px 7px rgba(15, 23, 42, .16));
}

.crypto-compact-card .deposit-method-title {
  min-height: 30px;
  padding: 0 2px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  background: transparent;
  color: #111827;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.crypto-confirm-popup {
  width: min(430px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 22px 18px 20px;
  gap: 15px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 22px;
}

.crypto-confirm-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 38px;
}

.crypto-confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .22);
  background: rgba(255, 255, 255, .07);
}

.crypto-confirm-badge .crypto-method-icon--popup {
  width: 44px;
  height: 44px;
}

.crypto-confirm-badge strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 1000;
}

.crypto-confirm-copy {
  display: grid;
  gap: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  color: #f8fafc;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.55;
}

.crypto-confirm-copy p {
  margin: 0;
}

.crypto-confirm-copy p:first-child {
  color: #fca5a5;
}

.crypto-mini-confirm-btn,
.withdraw-mini-confirm-btn {
  min-height: 58px;
  margin-top: 0;
  border-radius: 12px;
  font-size: 1.08rem;
}

.crypto-popup-title--compact h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 1000;
  line-height: 1.3;
}

.crypto-popup-title--compact p {
  margin: 4px 0 0;
  color: #aebbd0;
  font-size: .9rem;
  font-weight: 800;
}

.crypto-address-compact-box {
  display: grid;
  gap: 9px;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .17);
  background: rgba(2, 6, 23, .42);
}

.crypto-address-compact-box span {
  color: #94a3b8;
  font-size: .82rem;
  font-weight: 850;
}

.crypto-address-compact-box strong {
  color: #ffffff;
  font-size: .96rem;
  font-weight: 900;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.crypto-address-compact-box .btn {
  width: 100%;
  justify-content: center;
}

.compact-single-field {
  grid-template-columns: 1fr;
  gap: 7px;
}

.compact-single-field span {
  padding-top: 0;
}

.compact-note {
  margin: 0;
  font-size: .9rem;
}

@media (max-width: 980px) {
  .deposit-method-grid--crypto {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .deposit-method-grid--crypto {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .crypto-compact-card {
    min-height: 124px;
    padding: 7px 5px 8px;
    grid-template-rows: 48px minmax(29px, auto) auto auto;
    gap: 5px;
    border-radius: 10px;
  }

  .crypto-compact-card .deposit-method-logo-box,
  .crypto-method-card.crypto-compact-card .deposit-method-logo-box {
    min-height: 48px;
    height: 48px;
  }

  .crypto-compact-card .crypto-method-icon--card {
    width: 42px;
    height: 42px;
  }

  .crypto-compact-card .deposit-method-title {
    font-size: .67rem;
  }

  .crypto-confirm-popup {
    width: calc(100vw - 18px);
    max-height: calc(100dvh - 18px);
    padding: 18px 14px 16px;
    gap: 13px;
    border-radius: 18px;
  }

}

@media (max-width: 390px) {
  .deposit-method-grid--crypto {
    gap: 6px;
    padding: 10px;
  }

  .crypto-compact-card {
    min-height: 118px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .crypto-compact-card .deposit-method-title {
    font-size: .62rem;
  }

}

/* =====================================================
   FINAL compact NOWPayments-style crypto catalogue
   and minimal deposit details popup — 2026-06-23
   ===================================================== */

.crypto-method-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deposit-method-grid--crypto {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  align-items: stretch;
}

.crypto-compact-card.crypto-chip-card,
.crypto-method-card.crypto-chip-card {
  position: relative;
  min-width: 0;
  min-height: 64px;
  height: 64px;
  padding: 7px 8px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  align-content: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid #b9d5df;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  color: #0f172a;
  text-align: left;
}

.crypto-chip-card:hover {
  transform: translateY(-1px);
  border-color: #60a5fa;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .13);
}

.crypto-chip-logo {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.crypto-chip-logo::before,
.crypto-chip-logo::after {
  display: none !important;
}

.crypto-chip-logo .crypto-method-icon--card {
  width: 32px;
  height: 32px;
  filter: none;
}

.crypto-chip-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: center;
}

.crypto-chip-code-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.crypto-chip-code-row strong {
  min-width: 0;
  overflow: hidden;
  color: #1f2937;
  font-size: .72rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-chip-code-row em {
  flex: 0 0 auto;
  max-width: 58px;
  padding: 2px 4px;
  overflow: hidden;
  border-radius: 2px;
  background: #42b4ca;
  color: #ffffff;
  font-size: .46rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .01em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-chip-copy > small {
  min-width: 0;
  overflow: hidden;
  color: #9ca3af;
  font-size: .56rem;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-chip-disabled {
  position: absolute;
  right: 3px;
  bottom: 3px;
  padding: 1px 4px;
  border-radius: 999px;
  background: rgba(239, 68, 68, .12);
  color: #dc2626;
  font-size: .43rem;
  font-weight: 950;
}

.crypto-simple-popup {
  width: min(390px, calc(100vw - 22px));
  max-height: calc(100dvh - 20px);
  padding: 20px 18px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 18px;
}

.crypto-simple-brand-row {
  min-width: 0;
  padding-right: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crypto-simple-brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.crypto-simple-brand-icon::before,
.crypto-simple-brand-icon::after {
  display: none !important;
}

.crypto-simple-brand-icon .crypto-method-icon--popup {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
}

.crypto-simple-brand-row > span:last-child {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.crypto-simple-brand-row strong {
  color: #f8fafc;
  font-size: .92rem;
  font-weight: 950;
}

.crypto-simple-brand-row em {
  padding: 3px 6px;
  border-radius: 3px;
  background: #42b4ca;
  color: #ffffff;
  font-size: .58rem;
  font-style: normal;
  font-weight: 950;
}

.crypto-simple-divider {
  height: 1px;
  background: rgba(148, 163, 184, .18);
}

.crypto-simple-rate {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

.crypto-simple-address-label {
  color: #f8fafc;
  font-size: .92rem;
  font-weight: 750;
}

.crypto-simple-address-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
}

.crypto-simple-address-row strong {
  min-width: 0;
  color: #ffffff;
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.crypto-simple-address-row button,
.crypto-simple-note button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #e2e8f0;
  cursor: pointer;
}

.crypto-simple-qr {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
}

.crypto-simple-qr img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.crypto-simple-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #2c3142;
  color: #f1f5f9;
  font-size: .83rem;
  font-weight: 650;
  line-height: 1.48;
}

.crypto-simple-note strong {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .deposit-method-grid--crypto {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .deposit-method-grid--crypto {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 10px;
  }

  .crypto-compact-card.crypto-chip-card,
  .crypto-method-card.crypto-chip-card {
    min-height: 61px;
    height: 61px;
    padding: 6px;
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 5px;
    border-radius: 7px;
  }

  .crypto-chip-logo,
  .crypto-chip-logo .crypto-method-icon--card {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .crypto-chip-code-row {
    gap: 3px;
  }

  .crypto-chip-code-row strong {
    font-size: .62rem;
  }

  .crypto-chip-code-row em {
    max-width: 43px;
    padding: 2px 3px;
    font-size: .39rem;
  }

  .crypto-chip-copy > small {
    font-size: .48rem;
  }

  .crypto-simple-popup {
    width: calc(100vw - 16px);
    padding: 17px 14px 15px;
    gap: 11px;
    border-radius: 16px;
  }

  .crypto-simple-qr img {
    width: min(52vw, 180px);
    height: min(52vw, 180px);
  }
}

@media (max-width: 370px) {
  .deposit-method-grid--crypto {
    gap: 5px;
    padding: 8px;
  }

  .crypto-compact-card.crypto-chip-card,
  .crypto-method-card.crypto-chip-card {
    grid-template-columns: 26px minmax(0, 1fr);
    padding: 5px;
    gap: 4px;
  }

  .crypto-chip-logo,
  .crypto-chip-logo .crypto-method-icon--card {
    width: 25px;
    height: 25px;
    min-width: 25px;
  }

  .crypto-chip-code-row strong {
    font-size: .56rem;
  }

  .crypto-chip-copy > small {
    font-size: .44rem;
  }
}


/* =====================================================
   7XBET mobile compact agent deposit popup — 2026-07-02
   Keeps desktop and crypto popups unchanged.
   ===================================================== */
@media (max-width: 720px) {
  .deposit-modal-backdrop:has(.deposit-popup--agent) {
    padding: 5px 7px;
    align-items: center;
  }

  .deposit-popup--agent {
    width: min(430px, calc(100vw - 14px));
    max-height: calc(100dvh - 10px);
    padding: 13px 12px 12px;
    gap: 7px;
    border-radius: 14px;
    overscroll-behavior: contain;
  }

  .deposit-popup--agent .deposit-popup-close {
    top: 5px;
    right: 7px;
    width: 34px;
    height: 34px;
  }

  .deposit-popup--agent .deposit-popup-close svg {
    width: 22px;
    height: 22px;
  }

  .deposit-popup--agent .deposit-popup-logo {
    width: 38px;
    height: 38px;
  }

  .deposit-popup--agent .deposit-popup-logo img {
    padding: 5px;
  }

  .deposit-popup--agent .deposit-popup-line {
    display: none;
  }

  .deposit-popup--agent .deposit-popup-warning {
    padding-right: 30px;
    font-size: .82rem;
    line-height: 1.3;
  }

  .deposit-popup--agent .deposit-number-row {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 3px 8px;
    font-size: .84rem;
    line-height: 1.22;
  }

  .deposit-popup--agent .deposit-number-row button {
    width: 34px;
    height: 34px;
  }

  .deposit-popup--agent .deposit-number-row button svg {
    width: 19px;
    height: 19px;
  }

  .deposit-popup--agent .deposit-agent-note {
    max-height: 52px;
    overflow-y: auto;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: .76rem;
    line-height: 1.25;
  }

  .deposit-popup--agent .deposit-popup-field {
    gap: 4px;
    font-size: .82rem;
  }

  .deposit-popup--agent .deposit-popup-field span {
    padding-top: 0;
    line-height: 1.2;
  }

  .deposit-popup--agent .deposit-popup-field input,
  .deposit-popup--agent .deposit-popup-field textarea {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: .92rem;
  }

  .deposit-popup--agent .deposit-popup-field textarea {
    height: 48px;
    min-height: 48px;
    padding-top: 10px;
    resize: none;
  }

  .deposit-popup--agent .amount-field input {
    font-size: 1rem;
  }

  .deposit-popup--agent .deposit-confirm-btn {
    min-height: 48px;
    margin-top: 1px;
    border-radius: 10px;
    font-size: 1rem;
  }
}

@media (max-width: 390px) {
  .deposit-popup--agent {
    padding: 11px 10px 10px;
    gap: 6px;
  }

  .deposit-popup--agent .deposit-popup-warning,
  .deposit-popup--agent .deposit-popup-field,
  .deposit-popup--agent .deposit-number-row {
    font-size: .77rem;
  }

  .deposit-popup--agent .deposit-popup-field input,
  .deposit-popup--agent .deposit-popup-field textarea {
    min-height: 40px;
  }

  .deposit-popup--agent .deposit-popup-field textarea {
    height: 44px;
  }
}

/* PhonePe-style INR deposit popup */
.deposit-popup--phonepe {
  width: min(640px, calc(100vw - 28px));
  border-radius: 18px;
}

.deposit-popup--phonepe .deposit-popup-logo {
  width: 54px;
  height: 54px;
}

.phonepe-popup-heading {
  margin-top: -48px;
  padding-left: 72px;
  min-height: 54px;
  display: flex;
  align-items: center;
}

.phonepe-popup-heading h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.55rem;
  font-weight: 1000;
}

.phonepe-popup-warning {
  color: #fb6472;
  font-size: 1.08rem;
  font-weight: 900;
}

.phonepe-detail-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  color: #f8fafc;
}

.phonepe-detail-row strong {
  font-size: 1.05rem;
  font-weight: 1000;
}

.phonepe-detail-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1.02rem;
}

.phonepe-detail-row button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: #f8fafc;
  display: grid;
  place-items: center;
  cursor: pointer;
}

@media (max-width: 720px) {
  .deposit-popup--phonepe {
    width: calc(100vw - 18px);
    padding: 24px 18px 20px;
    gap: 13px;
  }

  .phonepe-popup-heading {
    margin-top: -52px;
    padding-left: 68px;
  }

  .phonepe-popup-heading h3 {
    font-size: 1.25rem;
  }

  .phonepe-detail-row {
    grid-template-columns: 1fr auto;
  }

  .phonepe-detail-row strong,
  .phonepe-detail-row span {
    grid-column: 1 / 2;
  }

  .phonepe-detail-row button {
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
  }
}


/* Deposit notice text only. */
.deposit-alert-box > p {
  margin: 0;
}

.deposit-alert-box > p + p {
  margin-top: 7px;
}

.deposit-alert-box .deposit-support-email {
  display: inline-block;
  padding: 1px 6px 2px;
  border-radius: 6px;
  background: #fff2a8;
  color: #1f2937;
  font-weight: 900;
  line-height: 1.35;
}
