.deposit-method-modal {
  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-header {
  margin-bottom: 20px;
}

.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;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.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-mastercard {
  width: 15px;
  height: auto;
  max-height: 11px;
}

.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.mastercard {
  border-color: rgba(235, 0, 27, 0.65);
}

.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-specific fixes for deposit method modal */
@media (max-width: 768px) {
  #depositMethodModal.modal-overlay {
    z-index: 10002 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  
  .deposit-method-modal {
    max-width: 100% !important;
    width: calc(100% - 32px) !important;
    margin: auto !important;
  }
}