/* Payments Styles */

.payment-system-selector {
  margin-bottom: 30px;
}

.payment-system-selector h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.payment-systems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.payment-system-btn {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.payment-system-btn:hover {
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
}

.payment-system-btn.active {
  border-color: #007bff;
  background: #f0f7ff;
}

.payment-system-btn .payment-logo {
  font-size: 40px;
  margin-bottom: 10px;
}

.payment-system-btn .payment-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.payment-system-btn .payment-description {
  font-size: 14px;
  color: #666;
}

.payment-form-container {
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.balance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.amount-input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amount-input-group input {
  flex: 1;
}

.currency-sign {
  font-weight: bold;
  color: #495057;
  font-size: 1.1rem;
}

.suggested-amounts {
  margin: 1.5rem 0;
}

.suggested-amounts p {
  margin-bottom: 1rem;
  font-weight: 500;
  color: #495057;
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.amount-btn {
  padding: 0.75rem 1rem;
  border: 2px solid #007bff;
  background: white;
  color: #007bff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}

.amount-btn:hover {
  background: #007bff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.amount-btn.active {
  background: #007bff;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.payment-info {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.payment-info h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #212529;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  border: 2px solid #e9ecef;
}

.payment-logo {
  font-size: 2rem;
  min-width: 60px;
  text-align: center;
}

.payment-description {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions .btn {
  flex: 1;
}

/* Success page */
.success-container {
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-container h1 {
  color: #28a745;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.1rem;
  color: #495057;
  margin-bottom: 2rem;
}

.success-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.success-info p {
  margin-bottom: 0.5rem;
  color: #6c757d;
  line-height: 1.6;
}

.success-info p:last-child {
  margin-bottom: 0;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.success-actions .btn {
  min-width: 200px;
}

/* Alert styles */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.alert-warning {
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
}

/* Responsive */
@media (max-width: 768px) {
  .payment-form-container {
    padding: 1.5rem;
    margin: 1rem;
  }

  .balance-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .amount-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-actions {
    flex-direction: column;
  }

  .success-actions {
    flex-direction: column;
  }

  .success-actions .btn {
    width: 100%;
  }
}