/* ===== DEPOSIT MODAL STYLES ===== */

.deposit-modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 30px 0;
}

.deposit-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.deposit-modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 25px;
  max-width: 550px;
  width: 90%;
  position: relative;
  border: 2px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

.deposit-modal-header {
  background: linear-gradient(135deg, #00ffff, #00ccff);
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.deposit-modal-header i {
  font-size: 32px;
  color: #000;
}

.deposit-modal-header h2 {
  font-size: 26px;
  color: #000;
  margin: 0;
  font-weight: bold;
  flex: 1;
}

.close-deposit-modal {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000;
  font-size: 24px;
  border: none;
}

.close-deposit-modal:hover {
  background: rgba(255, 71, 87, 0.9);
  color: #fff;
  transform: translateY(-50%) rotate(90deg);
}

.deposit-modal-body {
  padding: 30px;
}

/* ===== DEPOSIT INFO CARD ===== */
.deposit-info-card {
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
}

.deposit-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-label {
  font-size: 14px;
  color: #aaa;
}

.balance-amount {
  font-size: 24px;
  color: #00ffff;
  font-weight: bold;
}

.deposit-requirement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.req-label {
  font-size: 13px;
  color: #ccc;
}

.req-amount {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

.deposit-shortage {
  background: rgba(255, 107, 107, 0.2);
  border: 2px solid rgba(255, 107, 107, 0.4);
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.deposit-shortage i {
  font-size: 24px;
  color: #ff6b6b;
}

.shortage-text {
  flex: 1;
}

.shortage-text h4 {
  font-size: 14px;
  color: #ff6b6b;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.shortage-text p {
  font-size: 13px;
  color: #ffaaaa;
  margin: 0;
}

.shortage-amount {
  font-size: 18px;
  color: #ff6b6b;
  font-weight: bold;
}

/* ===== TOPUP SECTION ===== */
.topup-section {
  margin-bottom: 25px;
}

.topup-section h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topup-section h3 i {
  color: #00ffff;
}

.topup-input-group {
  margin-bottom: 15px;
}

.topup-input-group label {
  display: block;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 8px;
  font-weight: 600;
}

.topup-input-wrapper {
  position: relative;
}

.topup-input-wrapper .currency {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #00ffff;
  font-weight: bold;
}

.topup-input-wrapper input {
  width: 100%;
  padding: 14px 15px 14px 50px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 18px;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.topup-input-wrapper input:focus {
  border-color: #00ffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* ===== QUICK AMOUNT BUTTONS ===== */
.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.quick-amount-btn {
  padding: 12px;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  color: #00ffff;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.quick-amount-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  transform: translateY(-2px);
}

.quick-amount-btn.active {
  background: linear-gradient(135deg, #00ffff, #00ccff);
  color: #000;
  border-color: transparent;
}

/* ===== PAYMENT METHOD ===== */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.payment-method-btn {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-method-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.5);
}

.payment-method-btn.selected {
  background: rgba(0, 255, 255, 0.15);
  border-color: #00ffff;
}

.payment-method-btn i {
  font-size: 24px;
  color: #00ffff;
}

.payment-method-info {
  flex: 1;
}

.payment-method-info h4 {
  font-size: 14px;
  color: #fff;
  margin: 0 0 4px 0;
  font-weight: 600;
}

.payment-method-info p {
  font-size: 11px;
  color: #999;
  margin: 0;
}

/* ===== ACTION BUTTONS ===== */
.deposit-actions {
  display: flex;
  gap: 12px;
}

.btn-cancel-deposit {
  flex: 1;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel-deposit:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-topup-now {
  flex: 2;
  padding: 15px;
  background: linear-gradient(135deg, #00ffff, #00ccff);
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-topup-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.6);
}

.btn-topup-now:disabled {
  background: #555;
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.btn-topup-now i {
  font-size: 18px;
}

/* ===== DEPOSIT SUCCESS MESSAGE ===== */
.deposit-success-message {
  background: rgba(46, 213, 115, 0.15);
  border: 2px solid rgba(46, 213, 115, 0.4);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
}

.deposit-success-message.show {
  display: flex;
}

.deposit-success-message i {
  font-size: 24px;
  color: #5efc82;
}

.deposit-success-message p {
  flex: 1;
  color: #5efc82;
  font-size: 14px;
  margin: 0;
  font-weight: 600;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .deposit-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .deposit-modal-body {
    padding: 20px;
  }
  
  .quick-amounts {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .payment-methods {
    grid-template-columns: 1fr;
  }
  
  .balance-amount {
    font-size: 20px;
  }
  
  .deposit-actions {
    flex-direction: column;
  }
  
  .btn-cancel-deposit,
  .btn-topup-now {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .deposit-modal-header h2 {
    font-size: 20px;
  }
  
  .quick-amounts {
    grid-template-columns: 1fr;
  }
  
  .deposit-shortage {
    flex-direction: column;
    text-align: center;
  }
}