/* ==========================================================================
   MyTalentPapa — Founding Member Registration Page Redesign
   ========================================================================== */

/* Main Container & Layout */
.registration.section {
  padding-block: 60px 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%);
}

.registration {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
  gap: 56px;
}

/* ==========================================================================
   Left Column: Hero Presentation & Trust Badges
   ========================================================================== */

.register-intro {
  position: sticky;
  top: 110px;
}

.register-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 14px;
}

.intro-badge,
.intro-badge .badge-dot {
  display: none !important;
}

.register-intro h1 {
  font-family: Jakarta, Inter, sans-serif;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #081b38;
  margin: 0 0 16px;
}

.brand-gradient-text {
  background: linear-gradient(135deg, #ff4757 0%, #00d2d3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.register-intro .intro-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  max-width: 480px;
  margin-bottom: 28px;
}

/* Image Card */
.register-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(8, 27, 56, 0.12);
  border: 2px solid #ffffff;
  margin-bottom: 28px;
  background-color: #081b38;
}

.register-image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.4s ease;
}

.register-image-card:hover img {
  transform: scale(1.03);
}

.image-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 27, 56, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.image-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 18px 14px;
  background: linear-gradient(0deg, rgba(8, 27, 56, 0.95) 0%, rgba(8, 27, 56, 0.6) 60%, transparent 100%);
  color: #ffffff;
}

.image-card-caption .caption-title {
  font-size: 14px;
  font-weight: 800;
  color: #00d2d3;
  letter-spacing: 0.5px;
}

.image-card-caption .caption-sub {
  font-size: 12px;
  color: #e2e8f0;
  margin-top: 2px;
}

/* Reassurance Perks Cards */
.reassurance-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.reassurance-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(8, 27, 56, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.reassurance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 27, 56, 0.08);
}

.reassurance-icon {
  font-size: 20px;
  line-height: 1;
  padding: 6px;
  background: #f1f5f9;
  border-radius: 8px;
  flex-shrink: 0;
}

.reassurance-card strong {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 2px;
}

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

/* Sports Preview Pills */
.sports-preview-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sports-preview-pills .sport-pill {
  font-size: 12px;
  font-weight: 700;
  color: #081b38;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.2s;
}

.sports-preview-pills .sport-pill:hover {
  background: #e0f2fe;
  border-color: #00d2d3;
  color: #0369a1;
}

/* ==========================================================================
   Right Column: Modern Card & Form Styling
   ========================================================================== */

.form-panel {
  background: #ffffff;
  border: 1px solid rgba(8, 27, 56, 0.1);
  border-radius: 20px;
  padding: 38px 36px;
  box-shadow: 0 20px 45px -12px rgba(8, 27, 56, 0.09), 0 1px 3px rgba(8, 27, 56, 0.04);
  min-width: 0;
  position: relative;
}

/* Step 1: Age Step Header */
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  margin-bottom: 16px;
}

.step-badge .step-num {
  font-size: 10px;
  font-weight: 800;
  background: #16a34a;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.step-badge span:last-child {
  font-size: 11px;
  font-weight: 750;
  color: #15803d;
  letter-spacing: 1px;
}

.form-panel h2 {
  font-family: Jakarta, Inter, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.25;
}

.form-panel .step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 24px;
}

/* Fields & Inputs */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  min-width: 0;
  margin-bottom: 6px;
}

.field .field-label-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background-color: #f8fafc;
  padding: 12px 16px;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
  font-weight: 500;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.field input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.field input:hover,
.field select:hover {
  border-color: #94a3b8;
  background-color: #ffffff;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #0284c7;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.14);
}

.field input:disabled,
.field select:disabled {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}

.field input[readonly] {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
  font-weight: 600;
}

/* Custom Select appearance */
.field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  padding-right: 44px;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-block: 22px 24px;
}

.field.full {
  grid-column: 1 / -1;
}

.optional {
  font-weight: 500;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Guardian Stage Card */
.guardian-stage-wrap {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.guardian-stage-header {
  margin-bottom: 20px;
}

.badge-guardian {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.guardian-stage-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.guardian-stage-header p {
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* OTP Verification Box */
.otp-box {
  background: linear-gradient(135deg, #081b38 0%, #0f2b5c 100%);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(8, 27, 56, 0.15);
}

.otp-box .otp-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.otp-box h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.otp-box p {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

#guardian-verify input[name="code"] {
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 10px;
  text-align: center;
  min-height: 56px;
  border: 2px solid #00d2d3;
  background-color: #ffffff;
  color: #081b38;
}

/* Verified Success Banner */
.verified-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 12px 16px;
  color: #15803d;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.verified-banner .verified-check {
  font-size: 20px;
  flex-shrink: 0;
}

.verified-banner strong {
  display: block;
  font-weight: 750;
  color: #166534;
}

/* Checkboxes */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
  margin: 16px 0;
  cursor: pointer;
}

.check input[type="checkbox"] {
  margin-top: 3px;
  flex: none;
  width: 19px;
  height: 19px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  accent-color: #081b38;
  cursor: pointer;
}

.check a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.check a:hover {
  color: #0369a1;
}

/* Marketing Fieldset */
.marketing {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 22px 0 20px;
  padding: 16px 18px;
  min-width: 0;
}

.marketing legend {
  font-weight: 750;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #1e293b;
  padding: 0 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.marketing legend span {
  font-weight: 400;
  color: #64748b;
}

.marketing .check {
  margin: 10px 0;
  font-size: 12.5px;
}

.marketing .small-note {
  font-size: 11px;
  color: #64748b;
  margin: 8px 0 0;
}

/* Security Math Check */
.security-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 22px;
}

.security-label [data-question] {
  color: #0284c7;
  font-weight: 800;
  font-size: 15px;
  font-family: monospace;
}

.security-label input {
  max-width: 90px;
  min-height: 40px;
  padding: 8px 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  background: #ffffff;
}

/* Buttons */
.form-panel .button.primary,
.form-panel button.button.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  background: linear-gradient(135deg, #ff4757 0%, #e02438 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 14px;
}

.form-panel .button.primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff3344 0%, #c81d2f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.45);
}

.form-panel .button.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Errors & Results */
#form-result {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
  background: transparent !important;
}
#form-result:not([hidden]):not(:empty) {
  display: block !important;
  margin-block: 20px 10px !important;
  padding: 14px 18px !important;
  background: #FFDAD6 !important;
  color: #690005 !important;
  border: 1.5px solid #BA1A1A !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  height: auto !important;
}
#form-result[hidden],
#form-result:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  height: 0 !important;
  background: transparent !important;
}

.field-error {
  display: block;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.field [aria-invalid="true"] {
  border-color: #ef4444;
  background-color: #fff5f5;
}

/* Success Section */
#success {
  text-align: center;
  padding: 10px 0;
}

#success .eyebrow {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
}

#success h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

#success p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

#success hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
}

#success h3 {
  font-size: 20px;
  font-weight: 800;
  color: #081b38;
  margin-bottom: 8px;
}

#success #referral-link {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  background: #f8fafc;
  border: 1.5px solid #00d2d3;
  color: #081b38;
  text-align: center;
  letter-spacing: 0.5px;
}

#success .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

#success #whatsapp-share {
  background: #25d366;
  color: #ffffff;
  border: none;
  font-weight: 750;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

#success #copy-referral {
  background: #081b38;
  color: #ffffff;
  border: none;
  font-weight: 750;
  border-radius: 10px;
}

/* Responsive adjustments */
.otp-note {
  text-align: center;
  margin-top: 10px;
}

.form-limit-note {
  color: #64748b;
  margin-bottom: 16px;
}

.copy-status-msg {
  margin-top: 10px;
  font-weight: 600;
  color: #10b981;
}

@media (max-width: 960px) {
  .registration {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .register-intro {
    position: static;
  }
  .form-panel {
    padding: 28px 24px;
  }
}

@media (max-width: 580px) {
  .registration.section {
    padding-block: 36px 50px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-panel {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .register-image-card img {
    height: 200px;
  }
  #success .actions {
    grid-template-columns: 1fr;
  }
}


/* 2026-11-18 Register Redesign Additions */
.multi-sport-card {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  margin-top: 24px;
  background: #081b38;
}
.sport-slides-track {
  position: relative;
  width: 100%;
  height: 320px;
}
.sport-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
}
.sport-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.sport-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sport-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 27, 56, 0.88) 35%, rgba(8, 27, 56, 0.98) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sport-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
}
.sport-caption strong {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.s-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}
.s-dot.active {
  width: 22px;
  background: #38bdf8;
}

.refer-team-intent-banner {
  background: linear-gradient(135deg, #0f2b48, #0a4060);
  border: 1px solid #38bdf8;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(8, 123, 153, 0.15);
}
.intent-badge {
  display: inline-block;
  background: #38bdf8;
  color: #081b38;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.refer-team-intent-banner h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}
.refer-team-intent-banner p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e0f2fe;
  margin: 0;
}
.refer-team-intent-banner strong {
  color: #ffffff;
}

.refer-earn-success-card {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
  text-align: left;
}
.ref-earn-badge {
  display: inline-block;
  background: #15803d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.refer-earn-success-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #14532d;
  margin: 0 0 6px;
}
.refer-earn-success-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #166534;
  margin: 0 0 10px;
}
.anti-duplicate-success-pill {
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
}

@media (max-width: 580px) {
  .sport-slides-track {
    height: 240px;
  }
}


/* ==========================================================================
   2026-11-18 Visual Pathway & Stepper Redesign
   ========================================================================== */
.registration-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

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

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

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.step-node.active .step-circle {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}

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

.step-text {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.step-node.active .step-text {
  color: #0ea5e9;
  font-weight: 800;
}

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

.step-line.active {
  background: #0ea5e9;
}

.pathway-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.pathway-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 18px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pathway-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.08);
}

.pathway-card.selected {
  border-color: #0ea5e9;
  background: #f0f9ff;
  box-shadow: 0 0 0 1px #0ea5e9, 0 8px 20px rgba(14, 165, 233, 0.12);
}

.pathway-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pathway-emoji {
  font-size: 26px;
  line-height: 1;
}

.pathway-chip {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}

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

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

.pathway-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.pathway-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 14px;
  flex: 1;
}

.pathway-quick-buttons {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.pathway-btn {
  flex: 1;
  padding: 7px 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.pathway-btn:hover {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
}

.pathway-btn.active {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.age-dropdown-field {
  margin-top: 6px;
}

.sports-preview-pills .sport-pill {
  cursor: pointer;
  transition: all 0.2s ease;
}

.sports-preview-pills .sport-pill:hover {
  transform: translateY(-2px);
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
}

@media (max-width: 640px) {
  .pathway-cards {
    grid-template-columns: 1fr;
  }
  .registration-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .step-line {
    display: none;
  }
}

/* Existing Registration & Lookup View Cards */
.existing-registration-card,
.view-lookup-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #f8fafc;
}

.existing-reg-header,
.view-lookup-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.existing-reg-header h2,
.view-lookup-header h2 {
  margin: 8px 0 4px;
  font-size: 1.5rem;
  color: #ffffff;
}

.member-id-mono {
  font-family: monospace;
  font-size: 0.95rem;
  color: #38bdf8;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.existing-reg-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.reg-detail-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reg-detail-item span {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.reg-detail-item strong {
  font-size: 1rem;
  color: #ffffff;
  word-break: break-word;
}

.reg-detail-item strong.gold {
  color: #f59e0b;
}

.existing-reg-actions,
.lookup-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.reg-tab-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #EBF3FC !important;
  border: 1.5px solid #93C5FD !important;
  border-radius: 12px;
  margin-bottom: 22px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.reg-tab-prompt {
  font-size: 14.5px;
  font-weight: 800;
  color: #0A2540 !important;
  letter-spacing: -0.01em;
}

.link-view-reg {
  color: #00507D !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}
.link-view-reg:hover {
  color: #002B49 !important;
}

/* Sign Out button styling */
.btn-signout {
  transition: all 0.2s ease;
  background: rgba(239, 68, 68, 0.12) !important;
}
.btn-signout:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #f87171 !important;
  color: #ffffff !important;
}

/* Tournament Pass Item inside Member Details Card */
.tournament-pass-item {
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tournament-pass-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

/* Payment failure retry box */
.payment-failure-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}
.payment-failure-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.payment-failure-icon {
  font-size: 26px;
  line-height: 1;
}

/* Tournament Passes Popup Modal */
.passes-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.passes-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 56, 0.7);
  backdrop-filter: blur(8px);
}
.passes-modal-dialog {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  color: #0f172a;
  overflow: hidden;
  animation: modalPopIn 0.2s ease-out;
}
@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.passes-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #ffffff;
}
.passes-modal-header h3 {
  color: #0f172a;
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
}
.passes-modal-header p {
  color: #64748b;
  margin: 0;
  font-size: 13px;
}
.passes-modal-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s ease;
}
.passes-modal-close:hover {
  color: #0f172a;
}
.passes-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  background: #ffffff;
}
.passes-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  background: #ffffff;
}
#passes-modal .btn-editorial-secondary,
#btn-passes-modal-done {
  background: #f8fafc;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
#passes-modal .btn-editorial-secondary:hover,
#btn-passes-modal-done:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   Add Child Modal Unified Light Theme (Identical to Tournament Modal)
   ========================================================================== */
#add-child-modal .passes-modal-dialog {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}
#add-child-modal .passes-modal-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
#add-child-modal .passes-modal-header h3 {
  color: #0f172a !important;
}
#add-child-modal .passes-modal-header p {
  color: #64748b !important;
}
#add-child-modal .passes-modal-close {
  color: #64748b !important;
}
#add-child-modal .passes-modal-close:hover {
  color: #0f172a !important;
}
#add-child-modal .field-label-text {
  color: #334155 !important;
  font-weight: 600 !important;
}
#add-child-modal input,
#add-child-modal select {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
#btn-cancel-add-child,
.btn-child-cancel {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 600 !important;
}
#btn-cancel-add-child:hover,
.btn-child-cancel:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
#btn-save-child {
  background: #059669 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
}
#btn-save-child:hover {
  background: #047857 !important;
}

/* ==========================================================================
   Segmented Navigation Menu for Registration View Card
   ========================================================================== */
.view-segmented-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 5px;
  margin: 20px 0 22px;
  gap: 6px;
}

.view-segment-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.view-segment-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.view-segment-btn.active {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.38);
}

@media (max-width: 680px) {
  .view-segmented-nav {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .view-segment-btn {
    justify-content: flex-start;
    padding: 10px 14px;
  }
}

.view-segment-panel {
  animation: fadeInPanel 0.22s ease-out;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.passes-inline-container {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}

.passes-inline-container::-webkit-scrollbar {
  width: 6px;
}
.passes-inline-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}
.passes-inline-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.event-tile-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.event-tile-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.35);
}

/* ==========================================================================
   Editorial Light-Mode Center Redesign (v20261125-8)
   ========================================================================== */
.reg-editorial-page.registration.section {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-block: 24px 64px;
  padding-inline: clamp(16px, 3vw, 32px);
  box-sizing: border-box;
  background: #F7F9FE;
  max-width: 1280px;
  margin-inline: auto;
}

.reg-hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: center;
}

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

.reg-editorial-page .register-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00507D;
  margin: 0 0 6px;
}

.reg-editorial-page .register-intro h1 {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #191C20;
  margin: 0 0 10px;
}

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

.reg-editorial-page .reassurance-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: #F2F3F9;
  border: 1px solid #C0C7D1;
  border-radius: 16px;
  padding: 16px;
  margin: 0;
}

.reg-editorial-page .reassurance-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.reg-editorial-page .reassurance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  color: #00507D;
  flex-shrink: 0;
}

.reg-editorial-page .reassurance-point-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #191C20;
  margin-bottom: 2px;
}

.reg-editorial-page .reassurance-point-item p {
  font-size: 12.5px;
  color: #40474F;
  margin: 0;
}

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

.reg-editorial-page .register-hero-photo-wrap img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

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

.reg-editorial-page .register-photo-caption-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

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

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

/* Portal / Form Card */
.reg-editorial-page .form-panel {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(13, 27, 42, 0.06);
  overflow: hidden;
  padding: 0;
  color: #191C20;
}

.reg-editorial-page .form-card-header {
  background: #F2F3F9;
  border-bottom: 1px solid #C0C7D1;
  padding: 22px 24px 16px;
  margin: 0;
}

.reg-editorial-page .form-card-header .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #00507D;
  margin: 0 0 4px;
}

.reg-editorial-page .form-card-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #191C20;
  margin: 0 0 4px;
}

.reg-editorial-page .form-card-header .form-card-sub {
  font-size: 13px;
  color: #40474F;
  margin: 0;
}

/* Existing Member Portal */
.reg-editorial-page .existing-registration-card {
  background: #FFFFFF;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.reg-editorial-page .existing-reg-header {
  background: #F2F3F9;
  border-bottom: 1px solid #C0C7D1;
  padding: 0 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reg-editorial-page .existing-reg-top-row {
  display: flex;
  justify-content: flex-end;
}

.reg-editorial-page .badge-guardian {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #065F46;
  font-size: 12px;
  font-weight: 600;
  border: none;
}

.reg-editorial-page .status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0E7A4B;
}

.reg-editorial-page .athlete-identity-bar {
  background: #FFFFFF;
  border: 1px solid #C0C7D1;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reg-editorial-page .athlete-identity-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reg-editorial-page .athlete-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #00507D;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.reg-editorial-page .athlete-identity-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.reg-editorial-page #view-reg-name {
  font-size: 18px;
  font-weight: 700;
  color: #191C20;
  margin: 0;
}

.reg-editorial-page .member-id-mono {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: #E7F2FF;
  color: #003352;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  margin: 0;
}

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

.reg-editorial-page .athlete-identity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.reg-editorial-page .existing-reg-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Segmented Tabs (Light Mode) */
.reg-editorial-page .view-segmented-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #ECEEF3;
  border: 1px solid #C0C7D1;
  border-radius: 10px;
  padding: 4px;
  margin: 0;
  gap: 4px;
}

.reg-editorial-page .view-segment-btn {
  background: transparent;
  border: none;
  color: #40474F;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}

.reg-editorial-page .view-segment-btn:hover {
  color: #191C20;
  background: rgba(255, 255, 255, 0.55);
}

.reg-editorial-page .view-segment-btn.active {
  background: #00507D;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 80, 125, 0.25);
}

.reg-editorial-page .segment-panel-intro h3 {
  font-size: 18px;
  font-weight: 700;
  color: #191C20;
  margin: 0 0 4px;
}

.reg-editorial-page .segment-panel-intro p {
  font-size: 13px;
  color: #40474F;
  margin: 0;
}

.reg-editorial-page .existing-reg-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  background: #F2F3F9;
  border: 1px solid #C0C7D1;
  border-radius: 14px;
  padding: 18px;
  margin-top: 14px;
}

.reg-editorial-page .reg-detail-item {
  background: transparent;
  border: none;
  padding: 0;
}

.reg-editorial-page .reg-detail-item span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #40474F;
  margin-bottom: 3px;
}

.reg-editorial-page .reg-detail-item strong {
  font-size: 14.5px;
  font-weight: 600;
  color: #191C20;
}

.reg-editorial-page .reg-detail-item strong.status-active-text {
  color: #0E7A4B;
}

.reg-editorial-page .segment-quick-bar {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #DCE3ED;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #40474F;
}

.reg-editorial-page .segment-quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Upcoming Events Cards */
.reg-editorial-page .events-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 18px;
}

.reg-editorial-page .event-tile-card {
  background: #F2F3F9;
  border: 1px solid #C0C7D1;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.reg-editorial-page .event-tile-card:hover {
  border-color: #00507D;
  background: rgba(231, 242, 255, 0.35);
}

.reg-editorial-page .event-tile-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #00507D;
  background: #E7F2FF;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.reg-editorial-page .event-tile-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #191C20;
  margin: 0 0 6px;
}

.reg-editorial-page .event-tile-card p {
  font-size: 13px;
  color: #40474F;
  margin: 0;
  line-height: 1.45;
}

.reg-editorial-page .event-tile-link {
  font-size: 13px;
  font-weight: 700;
  color: #00507D;
  text-decoration: none;
}

.reg-editorial-page .event-tile-link:hover {
  text-decoration: underline;
}

.reg-editorial-page .segment-footer-action {
  text-align: center;
  padding-top: 6px;
}

/* Editorial Buttons */
.btn-editorial-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #00507D;
  color: #FFFFFF;
  border: 1px solid #00507D;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-editorial-primary:hover {
  background: #0369A1;
}

.btn-editorial-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #FFFFFF;
  color: #191C20;
  border: 1px solid #C0C7D1;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-editorial-secondary:hover {
  background: #ECEEF3;
}

.btn-editorial-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #FFDAD6;
  color: #93000A;
  border: 1px solid rgba(186, 26, 26, 0.2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-editorial-danger:hover {
  background: #BA1A1A;
  color: #FFFFFF;
}

.btn-editorial-danger-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #BA1A1A;
  color: #FFFFFF;
  border: 1px solid #BA1A1A;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Waitlist Form & Lookup Panel inside Light Card */
.reg-editorial-page #adult-form-container,
.reg-editorial-page #view-reg-lookup-panel,
.reg-editorial-page #guardian-stage {
  padding: 24px;
  background: #FFFFFF;
  color: #191C20;
}

.reg-editorial-page .field-label-text {
  color: #191C20;
}

.reg-editorial-page input,
.reg-editorial-page select {
  background: #F7F9FE;
  border: 1px solid #C0C7D1;
  color: #191C20;
}

.reg-editorial-page .check span,
.reg-editorial-page .small-note,
.reg-editorial-page .marketing legend {
  color: #40474F;
}

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

@media (max-width: 680px) {
  .reg-editorial-page .reassurance-points,
  .reg-editorial-page .events-grid-compact,
  .reg-editorial-page .view-segmented-nav {
    grid-template-columns: 1fr;
  }
}

/* Universal High-Contrast Alert Banners */
.alert-info,
.form-status-alert,
.event-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 16px;
}

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

.alert-info strong,
.form-status-alert.info strong,
.alert-info #lookup-otp-email-display,
.alert-info #member-otp-email-display {
  color: #003352 !important;
  font-weight: 800 !important;
}

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

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

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

/* Strict hide rules: NEVER display when hidden or empty */
[hidden],
.alert-info[hidden],
.form-status-alert[hidden],
.event-alert[hidden],
.alert-info:empty,
.form-status-alert:empty,
.event-alert:empty,
#form-result[hidden],
#form-result:empty,
#lookup-result-msg[hidden],
#lookup-result-msg:empty,
#lookup-email-result-msg[hidden],
#lookup-email-result-msg:empty,
#lookup-otp-result-msg[hidden],
#lookup-otp-result-msg:empty,
div[id$="-alert"][hidden],
div[id$="-alert"]:empty,
div[id$="-msg"][hidden],
div[id$="-msg"]:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  height: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
}

.btn-back,
#btn-lookup-back-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #C0C7D1;
  border-radius: 8px;
  background: #FFFFFF;
  color: #191C20;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-back:hover,
#btn-lookup-back-email:hover {
  background: #ECEEF4;
  border-color: #00507D;
  color: #00507D;
}

/* Error Modal Popup for /register */
.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;
}

.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-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;
}

/* ==========================================================================
   Player Profile Share Link & Referral Feature
   ========================================================================== */
.member-share-card {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.member-share-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.member-share-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.member-share-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.member-share-title-wrap h4 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
}

.member-share-title-wrap p {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

.share-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #00507D;
  border-radius: 10px;
  padding: 4px 6px 4px 14px;
}

.share-url-input {
  border: none !important;
  background: transparent !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 13px !important;
  color: #003352 !important;
  font-weight: 600 !important;
  width: 100% !important;
  outline: none !important;
  padding: 6px 0 !important;
}

.btn-share-copy {
  background: #00507D;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.btn-share-copy:hover {
  background: #0369A1;
}

.share-actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-share-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #FFFFFF !important;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 750;
  font-size: 13px;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
}

.btn-share-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
}

.btn-share-native {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  color: #00507D;
  border: 1.5px solid #00507D;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-share-native:hover {
  background: #E7F2FF;
}

.btn-share-trigger {
  background: #0E7A4B !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: background 0.15s ease !important;
}

.btn-share-trigger:hover {
  background: #09613A !important;
}

.share-copy-toast {
  background: #DCFCE7;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  animation: fadeInPanel 0.2s ease-out;
}

/* ==========================================================================
   Comprehensive Mobile Responsive Enhancements
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent horizontal viewport overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Segmented Navigation 2x2 Grid */
  .reg-editorial-page .view-segmented-nav,
  .view-segmented-nav {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 6px !important;
  }

  .reg-editorial-page .view-segment-btn,
  .view-segment-btn {
    padding: 10px 8px !important;
    font-size: 12px !important;
    text-align: center !important;
    justify-content: center !important;
    word-break: break-word !important;
  }

  /* Athlete Identity Bar */
  .reg-editorial-page .athlete-identity-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  .reg-editorial-page .athlete-identity-left {
    width: 100% !important;
  }

  .reg-editorial-page .athlete-identity-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 8px !important;
  }

  .reg-editorial-page .athlete-identity-actions button {
    width: 100% !important;
    padding: 8px 4px !important;
    font-size: 11.5px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Details Grid Mobile Styling */
  .reg-editorial-page .existing-reg-details-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
  }

  .reg-detail-item {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 12px !important;
  }

  .reg-detail-item span {
    font-size: 11.5px !important;
  }

  .reg-detail-item strong {
    font-size: 13.5px !important;
    text-align: right !important;
  }

  /* Share Card Mobile */
  .share-input-group {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px !important;
  }

  .share-url-input {
    padding: 6px 0 !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .btn-share-copy {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px !important;
  }

  .share-actions-row {
    flex-direction: column !important;
  }

  .btn-share-whatsapp,
  .btn-share-native {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px !important;
  }

  /* Linked Children Mobile */
  .member-child-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  .member-child-card > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr auto !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .member-child-card a {
    text-align: center !important;
    justify-content: center !important;
    padding: 8px 6px !important;
    font-size: 12px !important;
  }

  /* Tournament Passes Mobile */
  .tournament-pass-item {
    padding: 14px !important;
  }

  .tournament-pass-item .btn-editorial-primary,
  .tournament-pass-item .btn-editorial-secondary,
  .tournament-pass-item .btn-editorial-danger-solid {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 10px !important;
  }

  /* Mobile Inputs Font-Size 16px to prevent iOS auto-zoom */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  select {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  /* Ultra-compact screens */
  .reg-editorial-page .existing-reg-header {
    padding: 12px 14px 16px !important;
  }

  .reg-editorial-page .existing-reg-body {
    padding: 14px 12px !important;
  }

  .reg-editorial-page .athlete-identity-actions {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .passes-modal-wrap {
    padding: 8px !important;
  }

  .passes-modal-dialog {
    max-height: 95vh !important;
    width: 100% !important;
    border-radius: 12px !important;
  }

  .passes-modal-header {
    padding: 14px !important;
  }

  .passes-modal-header h3 {
    font-size: 1.1rem !important;
  }

  .passes-modal-body {
    padding: 14px !important;
  }

  .passes-modal-footer {
    padding: 12px 14px !important;
  }

  .segment-quick-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .segment-quick-actions button {
    width: 100% !important;
    justify-content: center !important;
  }
}



/* Ensure all interactive buttons meet 44px touch target minimum */
.btn-signout,
.btn-view-passes-trigger,
.btn-share-trigger,
.view-segmented-nav button,
.view-segmented-nav a,
.btn-share-copy,
.btn-share-whatsapp,
.btn-share-native {
  min-height: 44px !important;
  box-sizing: border-box !important;
}

footer a[href*="instagram"],
footer a[href*="youtube"],
footer a[href*="facebook"],
footer a[href*="linkedin"],
footer a[href*="twitter"],
footer a[href*="pinterest"] {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Structured DD / MM / YYYY Date of Birth Input */
.dob-triple-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.dob-triple-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr) auto minmax(0, 1.1fr);
  align-items: center;
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
}

.dob-triple-row .dob-select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
  box-sizing: border-box;
  cursor: pointer;
}

.dob-triple-row .dob-select:focus {
  outline: none;
  border-color: #00507d;
  box-shadow: 0 0 0 3px rgba(0, 80, 125, 0.14);
}

.dob-triple-row .dob-sep {
  color: #64748b;
  font-weight: 700;
  font-size: 14px;
  user-select: none;
}

.dob-triple-error {
  font-size: 12.5px;
  font-weight: 600;
  color: #dc2626;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .dob-triple-row {
    grid-template-columns: 1fr auto 1.25fr auto 1.1fr;
    gap: 4px;
  }
  .dob-triple-row .dob-select {
    padding: 9px 6px;
    font-size: 13px;
  }
}

/* PDF-aligned Multi-Role & Multi-Athlete Registration Sections */
.reg-section-block {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}
.reg-section-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.reg-section-heading {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #00507d;
  margin: 0 0 12px;
}
.reg-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.reg-role-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.reg-role-card.active {
  border-color: #00507d;
  background: #eff6ff;
  color: #003352;
}
.reg-role-card input[type="radio"] {
  accent-color: #00507d;
  width: 17px;
  height: 17px;
  margin: 0;
  flex-shrink: 0;
}
.reg-role-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
}
.athlete-count-pills {
  display: inline-flex;
  gap: 6px;
}
.ath-count-btn {
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ath-count-btn.active {
  border-color: #00507d;
  background: #00507d;
  color: #ffffff;
}
.athlete-entry-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.athlete-entry-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 720px) {
  .reg-role-grid {
    grid-template-columns: 1fr;
  }
}
