/* ==========================================================================
   Beyond the Uniform Africa Summit 2026 - Checkout Page Styles
   Matching Mockup (Forest Green #05240e, Gold #faaC1D, Off-White #f7f7f5)
   ========================================================================== */

/* Root & Base */
.checkout-page-root {
  background-color: #f7f7f5;
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1f2937;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Clearance for fixed main-header (header-top + header-upper ~130px) */
  padding-top: 132px;
}

.checkout-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 1. HEADER / BREADCRUMB SECTION ==================== */
.checkout-header-section {
  background-color: #ffffff;
  border-bottom: 1px solid #e8ede9;
  padding: 40px 0 34px;
  position: relative;
  overflow: hidden;
}

.checkout-header-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 0.95fr;
  align-items: center;
  gap: 24px;
  position: relative;
}

/* Header Left: Breadcrumbs & Heading */
.checkout-header-left {
  display: flex;
  flex-direction: column;
}

.checkout-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #6b7280;
  margin-bottom: 12px;
  font-weight: 500;
}

.checkout-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.checkout-breadcrumb a:hover {
  color: #05240e;
}

.bc-separator {
  color: #9ca3af;
  font-size: 12px;
}

.bc-current {
  color: #111827;
  font-weight: 600;
}

.checkout-heading {
  font-size: 44px;
  font-weight: 800;
  color: #05240e;
  letter-spacing: -1px;
  margin: 0 0 6px;
  line-height: 1.12;
}

.checkout-subheading {
  font-size: 14.5px;
  color: #596773;
  margin: 0;
  line-height: 1.45;
}

/* Header Center: 3-Step Progress Indicator */
.checkout-header-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkout-progress-stepper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1.5px solid #d1d5db;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.25s ease;
}

.step-item.active .step-circle {
  background: #05240e;
  border-color: #05240e;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(5, 36, 14, 0.25);
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.step-item.active .step-label {
  color: #05240e;
  font-weight: 700;
}

.step-divider {
  width: 56px;
  height: 1.5px;
  background: #d1d5db;
  margin-top: 18px; /* Aligns with circle center (36px / 2) */
  flex-shrink: 0;
}

/* Header Right: Tagline & Africa Silhouette Graphic */
.checkout-header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  min-height: 85px;
}

.header-africa-watermark {
  position: absolute;
  right: -10px;
  top: -24px;
  width: 170px;
  height: 190px;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 700' fill='%2305240e'%3E%3Cpath d='M280,30 C340,35 390,70 410,120 C425,160 480,180 510,230 C540,280 500,340 470,390 C440,440 400,480 370,540 C340,600 310,650 280,680 C260,650 230,590 220,530 C200,480 180,450 150,420 C120,380 90,340 80,300 C70,250 80,210 110,170 C140,130 180,100 230,60 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.header-tagline-wrap {
  position: relative;
  z-index: 2;
  text-align: left;
}

.header-tagline-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: #1f2937;
  line-height: 1.35;
}

.header-tagline-gold-line {
  width: 52px;
  height: 2.5px;
  background: #faaC1D;
  margin-top: 8px;
  border-radius: 2px;
}

/* ==================== 2. MAIN CONTENT SECTION ==================== */
.checkout-main-section {
  padding: 38px 0 60px;
  background-color: #f7f7f5;
}

.checkout-content-grid {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 28px;
  align-items: start;
}

/* Common Card Styling */
.checkout-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eaeeea;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.025);
}

/* ==================== 3. LEFT COLUMN: REGISTRATION FORM ==================== */
.form-card {
  padding: 36px 40px 42px;
}

.form-section-block {
  margin-bottom: 32px;
}

.form-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #05240e;
  margin: 0 0 4px;
  letter-spacing: -0.4px;
}

.form-section-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 24px;
}

.form-fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 7px;
}

.req-star {
  color: #dc2626;
  font-weight: 700;
  margin-left: 2px;
}

.form-control {
  height: 48px;
  border: 1.5px solid #d5ddd7;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14.5px;
  color: #111827;
  background: #ffffff;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-control::placeholder {
  color: #9ca3af;
  font-size: 14px;
}

.form-control:focus {
  border-color: #05240e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 36, 14, 0.08);
}

.form-control.has-error {
  border-color: #dc2626 !important;
  background-color: #fffbfa;
}

.field-error-msg {
  display: none;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
}

/* Phone Input with Country Code Selector */
.phone-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.country-code-select-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 12px;
  border: 1.5px solid #d5ddd7;
  border-radius: 8px;
  background: #ffffff;
  position: relative;
  flex-shrink: 0;
}

.flag-icon {
  font-size: 17px;
  line-height: 1;
}

.country-code-select {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 14px;
}

.select-chevron {
  font-size: 9px;
  color: #6b7280;
  position: absolute;
  right: 9px;
  pointer-events: none;
}

.phone-input {
  flex: 1;
}

/* Custom Dropdown Wrapper */
.select-dropdown-wrap {
  position: relative;
  width: 100%;
}

.custom-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.select-dropdown-wrap .select-chevron {
  font-size: 11px;
  color: #6b7280;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ==================== 4. TICKET SELECTION CARDS ==================== */
.ticket-selection-block {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid #edf1ee;
  margin-bottom: 0;
}

.ticket-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.ticket-type-card {
  position: relative;
  border: 1.5px solid #d5ddd7;
  border-radius: 12px;
  padding: 22px 20px 24px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
}

.ticket-type-card:hover {
  border-color: #8fa894;
}

/* Card Header: Radio + Icon Badge */
.card-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* Card Radio Indicator */
.card-radio-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.radio-inner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.2s ease;
}

/* Ghana Flag Circular Badge */
.ghana-flag-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.flag-stripe {
  flex: 1;
}

.flag-stripe.red {
  background: #ce1126;
}

.flag-stripe.yellow {
  background: #fcd116;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flag-stripe.yellow .black-star {
  font-size: 8px;
  color: #000000;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.flag-stripe.green {
  background: #006b3f;
}

/* Globe Circular Badge */
.globe-icon-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef7f0;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid #d1fae5;
  flex-shrink: 0;
}

/* Card Text */
.card-text-wrap {
  display: flex;
  flex-direction: column;
}

.ticket-name {
  font-size: 17px;
  font-weight: 800;
  color: #05240e;
  margin: 0 0 5px;
}

.ticket-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 14px;
  line-height: 1.4;
  min-height: 36px;
}

.ticket-price {
  font-size: 21px;
  font-weight: 800;
  color: #05240e;
  letter-spacing: -0.3px;
}

/* Selected State */
.ticket-type-card.selected {
  border-color: #05240e;
  border-width: 2px;
  background-color: #f4f8f5;
}

.ticket-type-card.selected .card-radio-indicator {
  border-color: #05240e;
}

.ticket-type-card.selected .radio-inner-dot {
  background: #05240e;
}

/* ==================== 5. RIGHT COLUMN: SIDEBAR STACK ==================== */
.checkout-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #05240e;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.sidebar-card-desc {
  font-size: 13.5px;
  color: #6b7280;
  margin: -10px 0 16px;
}

/* Summary Card */
.summary-card {
  padding: 26px 26px 28px;
}

.event-mini-preview {
  display: flex;
  gap: 14px;
  align-items: center;
}

.event-thumb-wrap {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eaedea;
}

.event-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-info-meta {
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 14px;
  font-weight: 700;
  color: #05240e;
  margin: 0 0 6px;
  line-height: 1.35;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #525f6e;
  margin-bottom: 3px;
}

.event-meta-row i {
  font-size: 11px;
  color: #05240e;
  width: 12px;
  text-align: center;
}

.summary-divider {
  height: 1px;
  background: #edf1ee;
  margin: 16px 0;
}

/* Line items */
.summary-line-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.line-label {
  color: #525f6e;
  font-weight: 500;
}

.line-val {
  font-weight: 700;
  color: #111827;
}

/* Quantity Stepper */
.quantity-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.stepper-btn {
  width: 32px;
  height: 30px;
  border: none;
  background: #f9fafb;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  user-select: none;
}

.stepper-btn:hover {
  background: #eef1f0;
  color: #05240e;
}

.stepper-btn:active {
  background: #e2e7e4;
}

.stepper-val {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

/* Total Amount */
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2px;
}

.total-label {
  font-size: 17px;
  font-weight: 800;
  color: #05240e;
}

.total-amount {
  font-size: 23px;
  font-weight: 800;
  color: #05240e;
  letter-spacing: -0.3px;
}

/* ==================== 6. PAYMENT METHOD CARD ==================== */
.payment-method-card {
  padding: 26px 26px 28px;
}

/* Paystack Option Box */
.paystack-option-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1.5px solid #05240e;
  background-color: #f4f8f5;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.paystack-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.paystack-option-left .card-radio-indicator {
  width: 20px;
  height: 20px;
  border-color: #05240e;
  flex-shrink: 0;
}

.paystack-option-left .radio-inner-dot {
  background: #05240e;
}

.option-icon-wrap {
  font-size: 16px;
  color: #05240e;
}

.option-text-wrap {
  display: flex;
  flex-direction: column;
}

.option-title {
  font-size: 14px;
  font-weight: 700;
  color: #05240e;
}

.option-sub {
  font-size: 11.5px;
  color: #6b7280;
}

.paystack-logo-wrap {
  display: flex;
  align-items: center;
}

.paystack-logo-svg {
  width: 90px;
  height: 22px;
}

/* Decorative Logos Row */
.payment-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
  padding: 0 4px;
}

.payment-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Visa Badge */
.visa-badge .logo-text-visa {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 18px;
  color: #1a1f71;
  letter-spacing: -0.5px;
}

/* Mastercard Badge */
.mc-badge {
  position: relative;
  width: 32px;
  height: 20px;
}

.mc-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
}

.mc-circle.red {
  background: #eb001b;
  left: 0;
}

.mc-circle.yellow {
  background: #f79e1b;
  right: 0;
  opacity: 0.9;
}

/* MTN MoMo Badge */
.momo-badge {
  background: #ffcc00;
  border-radius: 4px;
  padding: 2px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.momo-pill {
  font-size: 9px;
  font-weight: 900;
  color: #000000;
}

.momo-sub {
  font-size: 7.5px;
  font-weight: 800;
  color: #000000;
}

/* Vodafone Badge */
.voda-badge {
  display: flex;
  align-items: center;
  gap: 3px;
}

.voda-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e60000;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voda-sub {
  font-size: 11px;
  font-weight: 700;
  color: #e60000;
}

/* Bank Transfer Badge */
.bank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #374151;
}

.bank-badge i {
  font-size: 14px;
}

.bank-sub {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

/* CTA Button */
.btn-proceed-payment {
  width: 100%;
  height: 52px;
  background: #d97706;
  background: linear-gradient(135deg, #faaC1D 0%, #d97706 100%);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28);
}

.btn-proceed-payment:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.38);
}

.btn-proceed-payment:active {
  transform: translateY(1px);
}

.btn-proceed-payment:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* Trust Note */
.payment-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: #6b7280;
  margin-top: 14px;
}

.payment-trust-note i {
  font-size: 13px;
  color: #05240e;
}

/* ==================== 7. TRUST BADGES ROW ==================== */
.checkout-trust-badges-row {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eaeeea;
  padding: 22px 30px;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef6f0;
  color: #05240e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.trust-text-box {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #05240e;
  margin: 0 0 2px;
}

.trust-sub {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  line-height: 1.35;
}

/* ==================== 8. RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .checkout-page-root {
    padding-top: 110px;
  }

  .checkout-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .checkout-header-center {
    justify-content: flex-start;
  }

  .checkout-header-right {
    justify-content: flex-start;
  }

  .checkout-content-grid {
    grid-template-columns: 1fr;
  }

  .checkout-trust-badges-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .checkout-page-root {
    padding-top: 100px;
  }

  .checkout-heading {
    font-size: 32px;
  }

  .form-card {
    padding: 24px 20px 28px;
  }

  .form-row-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ticket-cards-grid {
    grid-template-columns: 1fr;
  }

  .checkout-trust-badges-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .step-divider {
    width: 24px;
  }
}

.ticket-price .usd-approx {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-left: 4px;
}
