/* Quickpay overlay */
.quickpay-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: auto;
}

/* Quickpay content box */
.quickpay-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
  max-height: 90vh;
  overflow-y: auto;
}

/* Close button */
.quickpay-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Form styles */
#topupForm {
  margin-top: 20px;
}

.amount-input {
  display: flex;
  align-items: center;
  background: #f0f2f5;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 20px;
}

.amount-input span {
  font-size: 18px;
  color: #333;
  margin-right: 8px;
}

.amount-input input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 16px;
  outline: none;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* Payment icons */
.accepted-payments {
  text-align: center;
  margin-top: 20px;
}

.accepted-payments .icons img {
  width: 50px;
  margin: 0 6px;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* Mobile adaptation */
@media (max-width: 480px) {
  .quickpay-content {
    max-width: 95%;
    padding: 20px;
  }

  .accepted-payments .icons img {
    width: 40px;
  }
}