/* ==========================================================================
   MyTalentPapa — Prelaunch Event Registration Styles
   ========================================================================== */

.event-registration.section {
  padding-block: 50px 80px;
  background: radial-gradient(ellipse at 85% 5%, rgba(0, 210, 211, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 20%, rgba(255, 71, 87, 0.05) 0%, transparent 45%);
}

.event-registration {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: start;
  gap: 52px;
}

@media (max-width: 900px) {
  .event-registration {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Left Column */
.event-intro {
  position: sticky;
  top: 110px;
}

.event-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan, #0284c7);
  margin-bottom: 12px;
}

.event-intro h1 {
  font-family: Jakarta, Inter, sans-serif;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--navy, #081b38);
  margin: 0 0 16px;
}

.event-intro .intro-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}

.tournament-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.tournament-hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  display: inline-block;
}

.event-badge-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 12px;
  font-weight: 750;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.event-photo-showcase {
  margin-bottom: 24px;
}

.event-photo-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(8, 27, 56, 0.12);
  margin-bottom: 10px;
}

.event-photo-main img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.event-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.event-photo-strip-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(8, 27, 56, 0.08);
}

.event-photo-strip-item img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.event-photo-strip-item:hover img {
  transform: scale(1.08);
}

.event-photo-strip-item span {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(180deg, transparent, rgba(8, 27, 56, 0.85));
  color: #ffffff;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
  padding: 8px 2px 3px;
}

.event-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(8, 27, 56, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* Authentic Tournament Highlights (1 -> 2 -> 3 Left to Right) */
.tournament-highlights-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 6px 20px rgba(8, 27, 56, 0.05);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.highlight-step-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.highlight-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.highlight-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-step-badge.badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1.5px solid #bfdbfe;
}

.highlight-step-badge.badge-cyan {
  background: #f0fdfa;
  color: #0d9488;
  border: 1.5px solid #99f6e4;
}

.highlight-step-badge.badge-green {
  background: #f0fdf4;
  color: #166534;
  border: 1.5px solid #bbf7d0;
}

.highlight-step-arrow {
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  margin-right: 4px;
}

.highlight-step-body {
  flex: 1;
}

.highlight-step-kicker {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.highlight-step-body strong {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: #081b38;
  line-height: 1.25;
  margin-bottom: 3px;
}

.highlight-step-body p {
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
  margin: 0;
}

@media (max-width: 640px) {
  .tournament-highlights-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .highlight-step-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .highlight-step-header {
    margin-bottom: 0;
  }

  .highlight-step-arrow {
    display: none;
  }
}

.event-reassurance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-reassurance-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
}

.event-reassurance-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-reassurance-item strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
  margin-bottom: 2px;
}

.event-reassurance-item p {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

/* Right Column: Form Panel */
.event-form-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 32px 36px;
}

@media (max-width: 600px) {
  .event-form-panel {
    padding: 22px 18px;
  }
}

/* Stepper */
.event-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.event-step-node {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
  transition: all 0.25s ease;
}

.event-step-node.active,
.event-step-node.completed {
  opacity: 1;
}

.event-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  border: 2px solid #e2e8f0;
}

.event-step-node.active .event-step-circle {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.35);
}

.event-step-node.completed .event-step-circle {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.event-step-text {
  font-size: 12px;
  font-weight: 750;
  color: #334155;
}

.event-step-node.active .event-step-text {
  color: #0284c7;
}

.event-step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin-inline: 8px;
  transition: background 0.3s ease;
}

.event-step-line.active {
  background: #0284c7;
}

/* Step Header */
.event-step-header {
  margin-bottom: 22px;
}

.event-step-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 6px;
}

.event-step-header h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  color: #081b38;
  margin: 0 0 8px;
}

.event-step-sub {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

/* Player Gender Selector */
.gender-field-group {
  display: flex;
  flex-direction: column;
}

.gender-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.gender-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gender-pill-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.gender-pill-btn.active {
  border-color: #0284c7;
  background: #f0f9ff;
  color: #0369a1;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.gender-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.2s ease;
}

.gender-pill-btn.active .gender-pill-dot {
  background: #0284c7;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.6);
}

/* Clean Category Pill Inline (Replacing AI text notes) */
.category-pill-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  margin-block: 14px 20px;
  width: 100%;
  box-sizing: border-box;
}

.category-pill-inline.category-junior {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.category-pill-inline.category-adult {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.category-pill-inline.category-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.category-pill-inline .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.category-pill-inline .dot-junior {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.category-pill-inline .dot-adult {
  background: #0284c7;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.6);
}

.category-pill-inline .dot-error {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

/* Auto-Detection Dynamic Card */
.autodetect-card {
  border-radius: 14px;
  padding: 16px 20px;
  margin-block: 18px 24px;
  transition: all 0.25s ease;
}

.autodetect-idle {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
}

.autodetect-idle-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.autodetect-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.autodetect-idle-body strong {
  display: block;
  font-size: 13.5px;
  color: #081b38;
  margin-bottom: 2px;
}

.autodetect-idle-body p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.autodetect-active {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.autodetect-active.junior-border {
  border-left: 5px solid #10b981;
  background: linear-gradient(90deg, #f0fdf4 0%, #ffffff 45%);
}

.autodetect-active.adult-border {
  border-left: 5px solid #0284c7;
  background: linear-gradient(90deg, #f0f9ff 0%, #ffffff 45%);
}

.autodetect-error {
  border: 1.5px solid #fecaca;
  border-left: 5px solid #ef4444;
  background: #fef2f2;
}

.autodetect-active-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.autodetect-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(8, 27, 56, 0.15);
  flex-shrink: 0;
}

.autodetect-info {
  flex: 1;
}

.autodetect-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 5px;
}

.tag-junior {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.tag-adult {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.tag-warning {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.autodetect-info h4 {
  font-size: 15px;
  color: #081b38;
  margin: 0 0 4px;
  font-weight: 750;
}

.autodetect-info p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

/* Step 2 Summary Banner */
.detected-summary-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 22px;
}

.summary-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(8, 27, 56, 0.12);
  flex-shrink: 0;
}

.summary-details {
  flex: 1;
}

.summary-details strong {
  display: block;
  font-size: 14.5px;
  color: #081b38;
  margin-block: 2px 1px;
}

.summary-meta {
  font-size: 12px;
  color: #64748b;
}

.form-section-banner {
  background: #f8fafc;
  border-left: 4px solid #0284c7;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.form-section-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #081b38;
  margin-bottom: 3px;
}

.form-section-banner p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* Step 3 City Photo Cards */
.city-photo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .city-photo-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.city-card {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-card img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  display: block;
}

.city-card span {
  display: block;
  padding: 5px 2px;
  font-size: 11.5px;
  font-weight: 750;
  color: #334155;
  background: #f8fafc;
}

.city-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.city-card.selected {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
}

.city-card.selected span {
  background: #0284c7;
  color: #ffffff;
}

/* Section Divider in Form */
.form-section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
}

.form-section-divider span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  white-space: nowrap;
}

.form-section-divider hr {
  flex: 1;
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 0;
}

/* Age Calculation Pill */
.age-calc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 12.5px;
  font-weight: 750;
  padding: 6px 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.age-calc-pill.warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

/* Button Row */
.event-btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.btn-back {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-back:hover {
  background: #e2e8f0;
}

/* Fee Summary Table */
.summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 22px;
}

.summary-card h3 {
  font-size: 16px;
  color: #081b38;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  font-size: 13px;
}

@media (max-width: 600px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

.summary-item label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 2px;
}

.summary-item strong {
  color: #0f172a;
}

/* Fee Table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.5px;
}

.fee-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 8px 10px;
  border-bottom: 2px solid #e2e8f0;
}

.fee-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.fee-table td:last-child,
.fee-table th:last-child {
  text-align: right;
}

.fee-table tr.total-row td {
  border-top: 2px solid #e2e8f0;
  border-bottom: 0;
  font-weight: 800;
  font-size: 16px;
  color: #081b38;
  padding-top: 14px;
}

.fee-table .total-amount {
  color: #0284c7;
}

/* Demo Payment Box */
.demo-payment-card {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
}

.demo-payment-card h4 {
  font-size: 15px;
  color: #0369a1;
  margin: 0 0 8px;
}

.demo-payment-card p {
  font-size: 13px;
  color: #475569;
  margin: 0 0 16px;
}

.demo-action-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-pay-success {
  background: #10b981;
  border: 1px solid #059669;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-pay-success:hover {
  background: #059669;
}

.btn-pay-fail {
  background: #ffffff;
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

.btn-pay-fail:hover {
  background: #fef2f2;
}

.btn-pay-cancel {
  background: transparent;
  border: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* Status Callouts */
.event-alert,
.form-status-alert,
.alert-info {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 18px;
}

[hidden],
.event-alert[hidden],
.form-status-alert[hidden],
.alert-info[hidden],
.event-alert:empty,
.form-status-alert:empty,
.alert-info:empty {
  display: none !important;
}

.event-alert.error,
.form-status-alert.error {
  background: #FFDAD6 !important;
  border: 1.5px solid #BA1A1A !important;
  color: #690005 !important;
  font-weight: 600;
}

.event-alert.warning,
.form-status-alert.warning {
  background: #FEF3C7 !important;
  border: 1.5px solid #B45309 !important;
  color: #78350F !important;
  font-weight: 600;
}

.event-alert.success,
.form-status-alert.success {
  background: #DCFCE7 !important;
  border: 1.5px solid #0E7A4B !important;
  color: #065F46 !important;
  font-weight: 600;
}

.alert-info,
.form-status-alert.info {
  background: #E7F2FF !important;
  border: 1.5px solid #00507D !important;
  color: #003352 !important;
  font-weight: 500;
}

.alert-info strong,
.form-status-alert.info strong {
  color: #00507D !important;
  font-weight: 700;
}

/* Confirmation Card */
.event-confirm-card {
  text-align: center;
  padding: 24px 12px;
}

.event-confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 18px;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
}

.event-confirm-card h2 {
  font-size: 26px;
  color: #081b38;
  margin: 0 0 10px;
}

.event-confirm-lead {
  font-size: 15px;
  color: #475569;
  margin-bottom: 24px;
}

.event-confirm-meta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: inline-block;
  text-align: left;
  margin-bottom: 24px;
  min-width: min(100%, 360px);
}

.event-confirm-meta div {
  margin-bottom: 8px;
  font-size: 13px;
}

.event-confirm-meta div:last-child {
  margin-bottom: 0;
}

.event-confirm-meta span {
  color: #64748b;
  display: inline-block;
  width: 130px;
}

.event-confirm-meta strong {
  color: #0f172a;
}

.btn-download-receipt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0284c7;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
}

.btn-download-receipt:hover {
  background: #0369a1;
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness Overrides (< 650px)
   ========================================================================== */
@media (max-width: 650px) {
  .event-registration.section {
    padding-block: 24px 48px;
  }

  .event-intro {
    position: static;
    margin-bottom: 24px;
  }

  .event-intro h1 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .event-intro .intro-lead {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .event-photo-main img {
    height: 180px;
  }

  .event-photo-strip-item img {
    height: 52px;
  }

  .event-photo-strip-item span {
    font-size: 9px;
    padding: 6px 1px 2px;
  }

  .event-form-panel {
    padding: 20px 16px;
    border-radius: 16px;
  }

  /* Stepper on Mobile */
  .event-stepper {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .event-step-text {
    display: none;
  }

  .event-step-node.active .event-step-text {
    display: inline-block;
    font-size: 11px;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .event-step-circle {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .event-step-line {
    margin-inline: 4px;
  }

  /* Headings on Mobile */
  .event-step-header {
    margin-bottom: 18px;
  }

  .event-step-header h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .event-step-sub {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Form Grid on Mobile */
  .event-form-panel .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Inputs and Selects: 16px prevents iOS Safari auto-zoom */
  .event-form-panel .field input,
  .event-form-panel .field select {
    font-size: 16px !important;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Auto-detect card on Mobile */
  .autodetect-card {
    padding: 14px 16px;
    margin-block: 14px 20px;
  }

  .autodetect-active-body {
    gap: 12px;
  }

  .autodetect-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }

  .autodetect-info h4 {
    font-size: 14px;
  }

  .autodetect-info p {
    font-size: 11.5px;
  }

  /* Step 2 summary on Mobile */
  .detected-summary-bar {
    padding: 10px 14px;
    gap: 12px;
    margin-bottom: 18px;
  }

  .summary-avatar {
    width: 40px;
    height: 40px;
  }

  /* Buttons on Mobile: full-width touch targets */
  .event-btn-row {
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 22px;
    padding-top: 16px;
  }

  .event-btn-row .button,
  .event-btn-row .btn-back {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
    justify-content: center;
    text-align: center;
  }

  /* City Cards on Mobile */
  .city-photo-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }

  .city-card img {
    height: 48px;
  }

  .city-card span {
    font-size: 11px;
    padding: 4px 2px;
  }

  /* Summary Card & Fee Table on Mobile */
  .summary-card {
    padding: 16px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fee-table {
    font-size: 13px;
  }

  .fee-table th,
  .fee-table td {
    padding: 8px 6px;
  }

  .fee-table tr.total-row td {
    font-size: 15px;
    padding-top: 10px;
  }

  /* Payment Card on Mobile */
  .demo-payment-card {
    padding: 16px;
  }

  .demo-action-btns button {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }

  .event-confirm-meta {
    width: 100%;
    min-width: 0;
  }

  .event-confirm-meta span {
    width: 100px;
  }

  .event-selection-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .event-card-poster-wrap {
    height: 200px;
  }

  .pathway-selector-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sports-kit-confirmed-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .poster-lightbox-dialog {
    max-height: 96vh;
    border-radius: 12px;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Prelaunch Multi-Event Selection, Posters & Lightbox
   ========================================================================== */

.event-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
  align-items: stretch;
}

.event-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  cursor: pointer;
  position: relative;
  text-align: left;
}

.event-card:hover {
  border-color: #0284c7;
  box-shadow: 0 14px 32px -8px rgba(2, 132, 199, 0.2);
  transform: translateY(-3px);
}

.event-card.selected {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18), 0 16px 34px -8px rgba(2, 132, 199, 0.22);
  background: #fafdff;
}

.event-card.upcoming {
  opacity: 0.92;
  cursor: default;
  border-style: dashed;
}

.event-card.upcoming:hover {
  transform: none;
  box-shadow: none;
  border-color: #cbd5e1;
}

.event-card-poster-wrap {
  position: relative;
  width: 100%;
  height: 224px;
  background: #081b38;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .event-poster-img {
  transform: scale(1.04);
}

.event-card-poster-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 27, 56, 0.18) 0%, rgba(8, 27, 56, 0.02) 45%, rgba(8, 27, 56, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.btn-poster-preview {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(8, 27, 56, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.btn-poster-preview:hover {
  background: #0284c7;
  border-color: #0284c7;
  transform: scale(1.04);
}

.event-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35);
}

.badge-open {
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-card-price-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #081b38;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
  z-index: 2;
}

.badge-upcoming {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.event-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.event-card-sport-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.event-card-sport-tag.tag-tennis {
  background: #eff6ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.event-card-sport-tag.tag-yoga {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.event-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  line-height: 1.3;
}

.event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  color: #334155;
  margin-bottom: 14px;
}

.event-card-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.event-card-meta .meta-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-card-meta .meta-text {
  flex: 1;
  min-width: 0;
}

.event-card-meta .meta-muted {
  color: #64748b;
  font-size: 12px;
}

.event-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.ec-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.ec-pill-soft {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}

.event-card-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.btn-select-event {
  width: 100%;
  height: 44px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  border: 1.5px solid #0284c7;
  background: #ffffff;
  color: #0284c7;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-select-event:hover:not(.disabled) {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.28);
}

.btn-select-event.selected {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.btn-select-event.disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #cbd5e1;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .event-selection-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .event-card-poster-wrap {
    height: 196px;
  }
}

/* Selected Event Context Bar */
.selected-event-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 22px;
  gap: 12px;
}

.selected-event-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #166534;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.selected-event-info strong {
  font-size: 15px;
  color: #14532d;
  font-weight: 800;
}

.selected-event-sub {
  display: block;
  font-size: 12px;
  color: #166534;
  margin-top: 2px;
}

.btn-change-event {
  background: #ffffff;
  border: 1px solid #86efac;
  color: #166534;
  font-size: 12px;
  font-weight: 750;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-change-event:hover {
  background: #dcfce7;
  border-color: #4ade80;
}

/* Who are you registering for? Pathways */
.pathway-section {
  margin-bottom: 20px;
}

.pathway-selector-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.pathway-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.pathway-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

.pathway-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.pathway-card-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.pathway-card.active .pathway-card-radio {
  border-color: #0284c7;
  background: #0284c7;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.pathway-card-content strong {
  display: block;
  font-size: 14px;
  font-weight: 750;
  color: #081b38;
  margin-bottom: 2px;
}

.pathway-card-content p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

/* Fixed Location Display */
.fixed-location-box {
  margin-top: 4px;
}

.fixed-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: #081b38;
}

.fixed-location-pill .loc-pin {
  font-size: 16px;
}

.badge-fixed {
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Confirmed Sport & Kit Grid */
.sports-kit-confirmed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.confirmed-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}

.confirmed-box-kicker {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.confirmed-box-val {
  font-size: 15px;
  font-weight: 800;
  color: #081b38;
  margin-bottom: 4px;
}

.confirmed-box-note {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
}

/* PayU Hosted Checkout Card */
.payu-checkout-card {
  margin-top: 24px;
  padding: 24px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  text-align: center;
}

.payu-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 16px;
}

.payu-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.btn-payu-action {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 22px -4px rgba(224, 90, 0, 0.4);
  cursor: pointer;
}

.payu-subtext {
  font-size: 12px;
  color: #64748b;
  margin: 12px 0 6px;
}

.payu-security-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* Dedicated Payment Failure & Direct Retry Card */
.payment-failure-box {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.06);
}

.payment-failure-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.payment-failure-icon {
  font-size: 26px;
  line-height: 1;
}

/* Poster Lightbox Modal */
.poster-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.poster-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 56, 0.88);
  backdrop-filter: blur(8px);
}

.poster-lightbox-dialog {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 18px;
  max-width: 650px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.poster-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(8, 27, 56, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.poster-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.08);
}

.poster-lightbox-img-wrap {
  flex: 1;
  overflow-y: auto;
  background: #081b38;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 75vh;
}

.poster-lightbox-full {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.poster-lightbox-footer {
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Pre-Launch Tournament 2026 Redesign Styles */
.left-overview-cards {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.left-overview-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(8, 27, 56, 0.05);
}

.left-overview-item strong {
  color: #081b38;
  font-size: 14px;
}

.left-overview-item span {
  color: #475569;
  font-size: 12.5px;
  line-height: 1.45;
}

.left-selected-summary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0;
  display: grid;
  gap: 9px;
  box-shadow: 0 4px 14px rgba(8, 27, 56, 0.06);
}

.left-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  font-size: 13px;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.left-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.left-summary-row span {
  white-space: nowrap;
  font-weight: 600;
  color: #64748b;
}

.left-summary-row strong {
  color: #081b38;
  text-align: right;
  font-weight: 700;
}

.left-summary-row .free-tag {
  color: #059669;
  font-weight: 800;
}

.left-summary-row.fee-highlight strong {
  color: #0284c7;
  font-size: 15px;
  font-weight: 800;
}

.tournament-three-steps {
  margin-top: 18px;
  background: #081b38;
  border: 1px solid #0f294d;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(8, 27, 56, 0.14);
}

.three-step-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 12px;
}

.three-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.three-step-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  opacity: 0.82;
}

.three-step-list li.active {
  opacity: 1;
}

.three-step-list .step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.three-step-list li.active .step-num {
  background: #38bdf8;
  color: #081b38;
}

.three-step-list strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
}

.three-step-list small {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 2px;
}

.event-photo-main img {
  object-fit: cover;
  object-position: center 20%;
}

.event-poster-img {
  object-fit: cover;
  object-position: center 20%;
}

.member-mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.member-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.member-tab-btn.active {
  background: #081b38;
  color: #ffffff;
  border-color: #081b38;
}

.member-active-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

.member-active-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.member-badge-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: #16a34a;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.member-id-mono {
  font-family: monospace;
  font-size: 13px;
  color: #166534;
  font-weight: 700;
  margin: 2px 0 0;
}

.member-active-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 13px;
  color: #334155;
}

.eligibility-readonly-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 18px;
}

.elig-item span {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.elig-item strong {
  display: block;
  font-size: 14px;
  color: #081b38;
  margin-top: 2px;
}

.elig-cat-badge {
  color: #0284c7 !important;
}

.elig-fee-badge {
  color: #059669 !important;
}

.yoga-entry-box {
  margin-bottom: 20px;
}

.yoga-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.yoga-cat-card {
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  background: #ffffff;
  display: block;
  transition: all 0.15s ease;
}

.yoga-cat-card input {
  display: none;
}

.yoga-cat-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

.yoga-cat-card.selected {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
  box-shadow: 0 0 0 1px #0284c7;
}

.yoga-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.yoga-cat-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yoga-cat-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: transparent;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.yoga-cat-card.selected .yoga-cat-checkbox {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.yoga-fee-tag {
  font-weight: 800;
  color: #081b38;
  font-size: 14px;
}

.yoga-cat-card p {
  margin: 0;
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

.coc-prereq-alert {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.coc-prereq-alert.warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.coc-prereq-alert.ok {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.config-form-section {
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.config-sec-header h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #081b38;
}

.config-sec-header p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #64748b;
}

.rules-box-card {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #ffffff;
}

.rules-box-header {
  background: #f1f5f9;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cbd5e1;
  font-size: 13.5px;
  color: #081b38;
}

.rules-version-badge {
  background: #081b38;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.rules-text-pre {
  margin: 0;
  padding: 14px;
  max-height: 190px;
  overflow-y: auto;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}

.rules-acceptance-checks {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.guardian-inline-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  margin-top: 14px;
}

/* ==========================================================================
   Editorial Light-Mode Redesign for /prelaunch-event/register (v20261125-9)
   ========================================================================== */
.reg-editorial-event-page.event-registration.section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  gap: 40px;
  padding-block: 44px 72px;
  padding-inline: clamp(16px, 3vw, 40px);
  background: #F7F9FE;
  max-width: 1280px;
  margin-inline: auto;
}

.evt-header-title-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: -8px;
}

.evt-header-title-block h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.evt-header-title-block .intro-lead {
  font-size: 1.05rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.evt-editorial-hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: start;
}

.reg-editorial-event-page .event-intro {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reg-editorial-event-page .tournament-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E7F2FF;
  border: 1px solid #C0C7D1;
  color: #00507D;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.reg-editorial-event-page .tournament-hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0E7A4B;
}

.reg-editorial-event-page .event-intro h1 {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #191C20;
  margin: 0;
}

.reg-editorial-event-page .event-intro .intro-lead {
  font-size: 15px;
  line-height: 1.55;
  color: #40474F;
  margin: 0;
  max-width: 58ch;
}

/* Event Key Facts Strip */
.evt-key-facts-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  border-radius: 12px;
  padding: 14px 16px;
}

.evt-key-facts-strip .fact-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.evt-key-facts-strip .fact-label {
  font-size: 11px;
  font-weight: 600;
  color: #40474F;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.evt-key-facts-strip .fact-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #191C20;
}

.evt-key-facts-strip .fact-free {
  color: #0E7A4B;
}

.evt-key-facts-strip .fact-fee {
  color: #00507D;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Horizontal 3-Step Strip */
.reg-editorial-event-page .tournament-three-steps {
  background: #F2F3F9;
  border: 1px solid #C0C7D1;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0;
}

.reg-editorial-event-page .three-step-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #00507D;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.reg-editorial-event-page .three-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.reg-editorial-event-page .three-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.reg-editorial-event-page .three-step-list .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00507D;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-editorial-event-page .three-step-list strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #191C20;
  line-height: 1.35;
}

.reg-editorial-event-page .three-step-list small {
  display: block;
  font-size: 11px;
  color: #40474F;
  margin-top: 2px;
}

/* Photo Showcase Card */
.reg-editorial-event-page .left-selected-summary,
.reg-editorial-event-page .left-overview-cards {
  margin-bottom: 0 !important;
}

.reg-editorial-event-page .event-photo-showcase {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #C0C7D1;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.06);
}

.reg-editorial-event-page .event-photo-main {
  width: 100%;
  height: 260px;
  background: #0D1B2A;
  overflow: hidden;
}

.reg-editorial-event-page .event-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.reg-editorial-event-page .event-photo-caption {
  padding: 12px 18px;
  background: #FFFFFF;
  border-top: 1px solid #C0C7D1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reg-editorial-event-page .photo-caption-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reg-editorial-event-page .photo-badge {
  background: #0D1B2A;
  color: #FFFFFF;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reg-editorial-event-page .photo-dates {
  font-size: 12.5px;
  color: #40474F;
}

.reg-editorial-event-page .photo-sport-icon {
  color: #00507D;
  flex-shrink: 0;
}

/* Event Form Panel (Main Center Card) */
.reg-editorial-event-page .event-form-panel {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(13, 27, 42, 0.06);
  padding: 24px;
}

/* Stepper (Light Theme) */
.reg-editorial-event-page .event-stepper {
  background: #F2F3F9;
  border: 1px solid #C0C7D1;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 24px;
}

.reg-editorial-event-page .event-step-circle {
  background: #ECEEF3;
  color: #40474F;
  border: 1px solid #C0C7D1;
}

.reg-editorial-event-page .event-step-node.active .event-step-circle {
  background: #00507D;
  color: #FFFFFF;
  border-color: #00507D;
}

.reg-editorial-event-page .event-step-node.completed .event-step-circle {
  background: #0E7A4B;
  color: #FFFFFF;
  border-color: #0E7A4B;
}

.reg-editorial-event-page .event-step-node.active .event-step-text {
  color: #00507D;
  font-weight: 700;
}

/* Read-Only Eligibility Banner */
.reg-editorial-event-page .eligibility-readonly-card {
  background: #F2F3F9;
  border: 1px solid #C0C7D1;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.reg-editorial-event-page .elig-item span {
  font-size: 11px;
  font-weight: 600;
  color: #40474F;
}

.reg-editorial-event-page .elig-item strong {
  font-size: 14px;
  color: #191C20;
}

.reg-editorial-event-page .elig-cat-badge {
  color: #00507D !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.reg-editorial-event-page .elig-fee-badge {
  color: #00507D !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Yoga Category Radios */
.reg-editorial-event-page .yoga-cat-card {
  border: 1.5px solid #C0C7D1;
  border-radius: 12px;
  background: #F2F3F9;
  padding: 14px 16px;
  transition: all 0.15s ease;
}

.reg-editorial-event-page .yoga-cat-card:hover {
  border-color: #00507D;
  background: #FFFFFF;
}

.reg-editorial-event-page .yoga-cat-card.selected {
  border-color: #00507D;
  border-width: 2px;
  background: #E7F2FF;
}

.reg-editorial-event-page .yoga-cat-head strong {
  font-size: 15px;
  color: #191C20;
}

.reg-editorial-event-page .yoga-cat-card.selected .yoga-cat-head strong,
.reg-editorial-event-page .yoga-cat-card.selected .yoga-fee-tag {
  color: #00507D;
}

.reg-editorial-event-page .yoga-fee-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #191C20;
}

.reg-editorial-event-page .yoga-cat-card p {
  font-size: 12.5px;
  color: #40474F;
  margin-top: 4px;
}

/* Config Sections & Form Grid */
.reg-editorial-event-page .config-form-section {
  border-top: 1px solid #DCE3ED;
  padding-top: 18px;
  margin-bottom: 22px;
}

.reg-editorial-event-page .config-sec-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #191C20;
  margin: 0 0 2px;
}

.reg-editorial-event-page .config-sec-header p {
  font-size: 12.5px;
  color: #40474F;
  margin: 0 0 14px;
}

.reg-editorial-event-page .field input,
.reg-editorial-event-page .field select {
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  border-radius: 8px;
  color: #191C20;
  padding: 10px 14px;
  font-size: 14px;
}

.reg-editorial-event-page .field input:focus,
.reg-editorial-event-page .field select:focus {
  border-color: #00507D;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 80, 125, 0.2);
}

.reg-editorial-event-page .field input[readonly] {
  background: #F2F3F9;
  color: #40474F;
}

.reg-editorial-event-page .field-label-text {
  font-size: 13px;
  font-weight: 600;
  color: #191C20;
  margin-bottom: 4px;
}

.reg-editorial-event-page .field-note {
  font-size: 11.5px;
  color: #40474F;
  margin-top: 3px;
}

/* Selected Event Bar */
.reg-editorial-event-page .selected-event-bar {
  background: #F2F3F9;
  border: 1px solid #C0C7D1;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.reg-editorial-event-page .selected-event-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #00507D;
}

.reg-editorial-event-page .bar-event-name {
  font-size: 15px;
  color: #191C20;
}

.reg-editorial-event-page .bar-event-sub {
  font-size: 12.5px;
  color: #40474F;
}

.reg-editorial-event-page .btn-change-event {
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  color: #191C20;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
}

.reg-editorial-event-page .btn-change-event:hover {
  background: #ECEEF3;
}

/* Action Buttons */
.reg-editorial-event-page .button.primary {
  background: #00507D;
  border-color: #00507D;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
}

.reg-editorial-event-page .button.primary:hover {
  background: #0369A1;
}

.reg-editorial-event-page .btn-back {
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  color: #191C20;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.reg-editorial-event-page .btn-back:hover {
  background: #ECEEF3;
}

/* Error Modal Popup */
.error-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.error-modal-wrap[hidden] {
  display: none !important;
}

.error-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.65);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.15s ease-out;
}

.error-modal-dialog {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(13, 27, 42, 0.25);
  max-width: 480px;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.error-modal-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFDAD6;
  color: #BA1A1A;
  border: 1px solid rgba(186, 26, 26, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.error-modal-icon-wrap.is-warning {
  background: #FEF3C7;
  color: #B45309;
  border-color: rgba(180, 83, 9, 0.2);
}

.error-modal-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-modal-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #191C20;
  margin: 0;
  line-height: 1.25;
}

.error-modal-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #40474F;
  margin: 0;
}

.error-modal-extra {
  margin-top: 8px;
  padding: 10px 14px;
  background: #F2F3F9;
  border: 1px solid #C0C7D1;
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: #00507D;
  font-weight: 600;
}

.error-modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.btn-error-modal-close {
  flex: 1;
  padding: 11px 20px;
  border-radius: 10px;
  background: #ECEEF3;
  color: #191C20;
  border: 1px solid #C0C7D1;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-error-modal-close:hover {
  background: #E0E2E8;
}

.btn-error-modal-action {
  flex: 1;
  padding: 11px 20px;
  border-radius: 10px;
  background: #00507D;
  color: #FFFFFF;
  border: 1px solid #00507D;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-error-modal-action:hover {
  background: #0369A1;
}

@media (max-width: 960px) {
  .evt-editorial-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .evt-key-facts-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reg-editorial-event-page .three-step-list {
    grid-template-columns: 1fr;
  }
}

/* Guarantee hidden or empty alerts never render empty red boxes */
.reg-editorial-event-page .event-alert[hidden],
.reg-editorial-event-page .event-alert:empty,
.event-alert[hidden],
.event-alert:empty,
.form-status-alert[hidden],
.form-status-alert:empty,
div[id$="-alert"][hidden],
div[id$="-alert"]:empty,
#evt-init-error[hidden],
#evt-init-error:empty {
  display: none !important;
  visibility: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  height: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .event-shell,
  .reg-editorial-event-page .container,
  .evt-editorial-hero .container {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
  }
  .event-card,
  .tshirt-summary-card,
  .payu-checkout-card,
  .review-summary-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }
  .event-stepper,
  .stepper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
  }
  .dob-triple-row,
  .dob-select-grid,
  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  #payment-method-selector {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 540px) {
  .evt-key-facts-strip {
    grid-template-columns: 1fr !important;
  }
  .btn-payu-action,
  .event-card .button.primary,
  .event-card .button.secondary {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }
  .event-card input,
  .event-card select,
  .event-card textarea {
    font-size: 16px !important;
    min-height: 44px;
  }
  .gender-pills,
  .tshirt-size-grid {
    flex-wrap: wrap;
    gap: 8px;
  }
}

#btn-evt-cancel-add-child,
.btn-evt-child-cancel {
  color: #334155 !important;
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 600 !important;
}

#btn-evt-cancel-add-child:hover,
.btn-evt-child-cancel:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}