.deposit-method-modal {
  position: relative;
  background: #020617;
  border-radius: 16px;
  padding: 24px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.deposit-method-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.deposit-method-header {
  margin-bottom: 20px;
  padding-right: 36px;
}

.deposit-method-title {
  font-size: 22px;
  font-weight: 700;
  color: #e5e7eb;
  margin: 0 0 4px 0;
}

.deposit-method-subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
}

.deposit-method-min {
  font-size: 13px;
  color: #a5b4fc;
  margin: 10px 0 0 0;
}

.deposit-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.deposit-method-card {
  width: 100%;
  padding: 11px 12px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #020617;
  color: #e5e7eb;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

#depositMethodModal.is-open {
  z-index: 99999 !important;
  pointer-events: auto !important;
}

#depositMethodModal .deposit-method-modal {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  max-height: 90vh;
  overflow-y: auto;
}

.method-card-row {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.method-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-logo-svg {
  display: block;
}

.method-logo-mpesa {
  width: 36px;
  height: auto;
  max-height: 12px;
}

.method-logo-bank {
  width: 30px;
  height: auto;
  max-height: 14px;
}

.method-logo-paypal {
  width: 27px;
  height: auto;
  max-height: 9px;
}

.method-text-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  min-width: 0;
}

.deposit-method-card .method-title {
  font-size: 12px;
  font-weight: 600;
}

.deposit-method-card .method-subtitle {
  font-size: 11px;
  color: #9ca3af;
}

.deposit-method-card.mpesa {
  border-color: #3b82f6;
}

.deposit-method-card.bank {
  border-color: rgba(234, 88, 12, 0.75);
}

.deposit-method-card.paypal {
  border-color: #0ea5e9;
}

.deposit-method-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.9);
}

/* Mobile: only when open (avoid invisible full-screen click blocker) */
@media (max-width: 768px) {
  #depositMethodModal.modal-overlay.is-open {
    z-index: 99999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    pointer-events: auto !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  #depositMethodModal.modal-overlay.is-open .deposit-method-modal {
    max-width: 100% !important;
    width: calc(100% - 32px) !important;
    margin: auto !important;
  }
}