/**
 * Portal Deposit Enhancement Styles
 */

/* ==================== DEPOSIT PAGE ==================== */

.deposit-page {
  padding: 20px 0;
}

.deposit-header {
  text-align: center;
  margin-bottom: 30px;
}

.deposit-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.deposit-header p {
  color: #94a3b8;
}

/* ==================== PAYMENT METHODS GRID ==================== */

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-method-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.payment-method-card.selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: #6366f1;
}

.payment-method-card .method-icon {
  font-size: 28px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.payment-method-card .method-info {
  flex: 1;
}

.payment-method-card .method-name {
  font-weight: 600;
  color: #fff;
  font-size: 14px;
}

.payment-method-card .method-time {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.payment-method-card .method-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.2s;
}

.payment-method-card.selected .method-check {
  background: #6366f1;
  color: #fff;
}

/* ==================== DEPOSIT FORM ==================== */

.deposit-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.deposit-form-card {
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
}

.deposit-form-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== PAYMENT DETAILS ==================== */

.payment-details {
  margin-bottom: 25px;
}

.instructions-box {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  padding: 15px;
  color: #c7d2fe;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Crypto Details */
.crypto-details {
  text-align: center;
}

.crypto-details label {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 10px;
}

.wallet-address-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

.wallet-address-box code {
  flex: 1;
  font-size: 12px;
  color: #10b981;
  word-break: break-all;
  text-align: left;
}

.copy-btn {
  padding: 8px 16px;
  background: #6366f1;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

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

.qr-code {
  margin: 20px 0;
}

.qr-code img {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}

.network-warning {
  color: #fbbf24;
  font-size: 13px;
  margin-top: 15px;
}

/* Bank Details */
.bank-details {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
}

.bank-detail-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bank-detail-row:last-child {
  border-bottom: none;
}

.bank-detail-row .label {
  width: 140px;
  color: #94a3b8;
  font-size: 13px;
  flex-shrink: 0;
}

.bank-detail-row .value {
  flex: 1;
  color: #fff;
  font-size: 14px;
}

.bank-detail-row .value code {
  background: rgba(99, 102, 241, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  color: #a5b4fc;
  font-size: 13px;
}

.bank-detail-row.reference {
  background: rgba(251, 191, 36, 0.1);
  margin: 15px -20px -20px;
  padding: 15px 20px;
  border-radius: 0 0 10px 10px;
}

.bank-detail-row.reference .value {
  color: #fbbf24;
}

.copy-btn-sm {
  padding: 4px 8px;
  background: rgba(99, 102, 241, 0.3);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  margin-left: 10px;
}

.copy-btn-sm:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* Card Payment */
.card-payment-info {
  text-align: center;
  padding: 20px;
}

.card-payment-info p {
  color: #94a3b8;
  margin-bottom: 15px;
}

.supported-cards {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.supported-cards span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 13px;
  color: #fff;
}

/* ==================== AMOUNT SECTION ==================== */

.amount-section {
  margin-bottom: 25px;
}

.amount-section .form-label {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 8px;
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 15px;
  font-size: 20px;
  color: #6366f1;
  font-weight: 600;
}

.amount-input {
  width: 100%;
  padding: 18px 20px 18px 40px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  transition: border-color 0.2s;
}

.amount-input:focus {
  outline: none;
  border-color: #6366f1;
}

.amount-limits {
  text-align: center;
  color: #64748b;
  font-size: 12px;
  margin-top: 8px;
}

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.quick-amount-btn {
  flex: 1;
  min-width: 80px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-amount-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.quick-amount-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #a5b4fc;
}

/* ==================== PROOF UPLOAD ==================== */

.proof-section {
  margin-bottom: 25px;
}

.proof-section .form-label {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 8px;
}

.file-upload-area {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: pointer;
  transition: background 0.2s;
}

.upload-placeholder:hover {
  background: rgba(255, 255, 255, 0.05);
}

.upload-placeholder .upload-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.upload-placeholder span {
  color: #94a3b8;
  font-size: 13px;
}

.upload-preview {
  padding: 15px;
  background: rgba(16, 185, 129, 0.1);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-info .file-icon {
  font-size: 24px;
}

.file-info .file-name {
  flex: 1;
  color: #10b981;
  font-size: 14px;
}

.file-info .remove-file {
  padding: 5px 10px;
  background: rgba(239, 68, 68, 0.2);
  border: none;
  border-radius: 4px;
  color: #ef4444;
  cursor: pointer;
}

/* ==================== SUBMIT BUTTON ==================== */

.btn-deposit {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-deposit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

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

.deposit-note {
  text-align: center;
  margin-top: 15px;
  color: #64748b;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .deposit-form-card {
    padding: 20px;
  }

  .bank-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .bank-detail-row .label {
    width: auto;
  }

  .quick-amounts {
    flex-wrap: wrap;
  }

  .quick-amount-btn {
    flex: 0 0 calc(33.33% - 10px);
  }
}
