/* --- Custom Checkout Page Styles --- */
.custom-checkout-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}
.checkout-main-title {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}
.checkout-layout {
  display: flex;
  gap: 50px;
}
.checkout-col-left {
  flex: 1.5;
  min-width: 0;
}
.checkout-col-right {
  flex: 1;
  min-width: 0;
}

.event-summary-box {
  display: flex;
  gap: 20px;
  align-items: center;
}
.event-poster {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.event-summary-details h2 {
  font-size: 1.5em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.event-summary-details p {
  margin: 5px 0;
  color: #555;
}
.event-summary-details .event-venue {
  display: flex;
  align-items: center;
}

.checkout-divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 30px 0;
}
.personal-info-section h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}
.form-group input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  background-color: #f7f3fb;
}
.form-group input:focus {
  outline-color: #5a2e9b;
}
.form-note {
  font-size: 0.9em;
  color: #777;
  margin-top: 10px;
}

.order-summary-card {
  background-color: #f7f3fb;
  padding: 30px;
  border-radius: 16px;
  position: -webkit-sticky;
  position: sticky;
  top: 120px; /* Adjust based on your sticky header height */
}
.order-item,
.order-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.order-grand-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.8em;
  font-weight: bold;
}
/* .summary-divider {
  margin: 20px 0;
  border-top-color: #ddd;
} */

.payment-options {
  margin-top: 25px;
}
.payment-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #fff;
}
.payment-option input[type="radio"] {
  margin-right: 15px;
}
.payment-option img {
  margin-left: auto;
  max-height: 24px;
}

.terms-agreement {
  margin-top: 20px;
  font-size: 0.9em;
}
.terms-agreement label {
  display: flex;
  align-items: start;
  gap: 10px;
}
.terms-agreement a {
  color: #5a2e9b;
  text-decoration: underline;
}

.pay-now-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #a512c4, #4f095e);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 20px;
}
.pay-now-button:hover {
  background: linear-gradient(135deg, #b832d6, #7e2baa);
}

/* Responsive */
@media (max-width: 992px) {
  .checkout-layout {
    flex-direction: column;
  }
  .order-summary-card {
    position: static;
    margin-top: 40px;
  }
}
@media (max-width: 576px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .event-summary-box {
    flex-direction: column;
    text-align: center;
  }
}
