/* Container Styling */
.checkout-title {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* margin-top: 80px; */
}

.checkout-title-text {
  font-size: 1.8rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 0;
}

.event-summary {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.event-summary h3 {
  font-size: 1.5rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.event-summary p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.3rem;
}

.back-button {
  text-align: left;
}

.btn-back {
  margin-top: 80px;
  background-color: #006B98;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-back:hover {
  background-color: #005f86;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 107, 152, 0.2);
}

.btn-back:active {
  background-color: #004f72;
  transform: translateY(0);
}

/* Form Styling */
#checkoutForm {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #006B98;
  box-shadow: 0 0 5px rgba(0, 107, 152, 0.2);
}

/* Payment Options */
.payment-options {
  margin-top: 1.5rem;
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.payment-options h4 {
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.payment-options select {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 0.75rem;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.3s ease;
}

/* Coupon Section */
.coupon-section {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.coupon-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.coupon-input:focus {
  border-color: #006B98;
  box-shadow: 0 0 5px rgba(0, 107, 152, 0.2);
}

.btn-apply-coupon {
  background-color: #006B98;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-apply-coupon:hover {
  background-color: #005580;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 107, 152, 0.2);
}

.btn-apply-coupon:active {
  background-color: #004666;
  transform: translateY(0);
}

/* Coupon Feedback */
.coupon-feedback {
  font-size: 0.9rem;
  color: #28a745;
  font-weight: 600;
  display: none; /* Hidden by default */
}

.coupon-feedback.error {
  color: #dc3545; /* Red for error messages */
}

/* Responsive Design */
@media (max-width: 768px) {
  .coupon-section {
      flex-direction: column;
      gap: 0.5rem;
  }

  .btn-apply-coupon {
      width: 100%;
      padding: 0.75rem;
  }
}

/* Total Price */
.total-price {
  background-color: #f0f0f0;
  border-radius: 5px;
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
  margin-top: 1.5rem;
}

/* Button Styling */
.btn-primary {
  background-color: #006B98;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #005580;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 107, 152, 0.2);
}

.btn-primary:active {
  background-color: #004666;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .checkout-title, .event-summary, #checkoutForm {
      padding: 1rem;
  }

  .btn-primary {
      width: 100%;
      padding: 0.75rem;
  }
}

.text-success {
  color: green;
  font-weight: bold;
  font-size: 1rem;
}

.text-danger {
  color: red;
  font-weight: bold;
  font-size: 1rem;
}

/* Confirm Button */
.btn-success {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-success:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

.btn-success:active {
  background-color: #1e7e34;
  transform: translateY(0);
}

/* Modal Animation */
.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content.show {
  transform: translateY(0);
}

.modal-content.hide {
  transform: translateY(-20px);
  opacity: 0;
}