/* ==========================================================================
   ELITE MARATHON 2026 - MODERN EXECUTIVE REGISTRATION SYSTEM
   Clean, Premium, High-Performance & Fully Responsive
   Rotary Club of Dharmapuri Elite
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --rotary-navy: #0b1a30;
  --rotary-navy-light: #162a4a;
  --rotary-blue: #005daa;
  --rotary-blue-hover: #004b8a;
  --rotary-gold: #ffaa17;
  --rotary-gold-dark: #d97706;
  --rotary-amber: #f59e0b;
  --rotary-amber-light: #fffbeb;
  
  /* Modern Neutral Scales */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Functional Accents */
  --success: #10b981;
  --success-dark: #059669;
  --success-light: #ecfdf5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --podium-gold: #fbbf24;
  --podium-silver: #94a3b8;
  --podium-bronze: #d97706;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Poppins', var(--font-sans);

  /* Shadows & Elevations */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.reg-page-wrapper {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--slate-700);
  background-color: #f4f6fa;
  background-image: 
    radial-gradient(at 10% 10%, rgba(0, 93, 170, 0.05) 0px, transparent 50%),
    radial-gradient(at 90% 15%, rgba(255, 170, 23, 0.07) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(16, 185, 129, 0.04) 0px, transparent 60%);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   TOP EXECUTIVE BRANDING BAR
   ========================================================================== */
.reg-top-bar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.brand-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-left .logo-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-elite-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo-brand-wrap:hover .brand-elite-img {
  transform: scale(1.04);
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.logo-title-main {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--rotary-gold-dark);
  text-transform: uppercase;
  line-height: 1.1;
}

.logo-title-sub {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--rotary-navy);
  line-height: 1.2;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-help-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--rotary-amber-light);
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}

.btn-help-phone:hover {
  background: #fef3c7;
  color: #78350f;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}

.btn-home-link:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
  color: var(--slate-900);
  text-decoration: none;
}

/* ==========================================================================
   MAIN HERO HEADER SECTION
   ========================================================================== */
.reg-main-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

.reg-page-header {
  text-align: center;
  margin-bottom: 28px;
}

.reg-pill-info {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  color: var(--slate-600);
  margin-bottom: 14px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.pill-text-main {
  font-weight: 700;
  color: var(--slate-800);
}

.pill-sep-dot {
  color: var(--slate-300);
}

.pill-text-sub {
  color: var(--slate-500);
  font-weight: 500;
}

.reg-title-h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--rotary-navy);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.reg-title-h1 .title-gradient-anim {
  background: linear-gradient(135deg, var(--rotary-navy) 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reg-title-h1 .year-badge-anim {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--white);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-left: 6px;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25);
  vertical-align: middle;
}

.reg-tamil-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.tamil-title-lead {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
}

.tamil-slogan-pill {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.reg-instructions-text {
  font-size: 13px;
  color: var(--slate-500);
  margin: 0 0 18px;
}

/* ==========================================================================
   MULTI-STEP TRACKER
   ========================================================================== */
.reg-step-tracker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  gap: 12px;
  margin: 0 auto;
}

.tracker-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-400);
  transition: var(--transition);
}

.tracker-step .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
}

.tracker-step.active {
  color: var(--rotary-navy);
}

.tracker-step.active .step-num {
  background: var(--rotary-blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 93, 170, 0.35);
}

.tracker-divider {
  width: 24px;
  height: 2px;
  background: var(--slate-200);
  border-radius: 2px;
}

/* ==========================================================================
   FOCUSED SINGLE-COLUMN REGISTRATION FORM & CATEGORY TABS
   ========================================================================== */
.reg-single-col-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 50px;
}

.category-switch-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.cat-switch-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--slate-700);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cat-switch-tab:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--slate-900);
}

.cat-switch-tab.active {
  border-color: var(--rotary-blue);
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(0, 93, 170, 0.12);
}

.cat-switch-tab.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--rotary-blue);
}

.cat-switch-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cat-switch-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition);
}

.cat-switch-tab.active .cat-switch-icon {
  background: rgba(0, 93, 170, 0.1);
  color: var(--rotary-blue);
}

.cat-switch-text {
  min-width: 0;
}

.cat-switch-title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--slate-900);
  display: block;
  line-height: 1.2;
}

.cat-switch-sub {
  font-size: 11.5px;
  color: var(--slate-500);
  display: block;
}

.cat-switch-fee {
  text-align: right;
  flex-shrink: 0;
  padding-left: 8px;
}

.cat-switch-fee .fee-num {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--rotary-navy);
  display: block;
  line-height: 1.1;
}

.cat-switch-tab.active .cat-switch-fee .fee-num {
  color: var(--rotary-blue);
}

.cat-switch-fee .fee-lbl {
  font-size: 10.5px;
  color: var(--slate-400);
  text-transform: uppercase;
  font-weight: 600;
}

.category-info-highlight-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fd 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.highlight-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-icon {
  font-size: 20px;
  color: var(--rotary-blue);
}

.highlight-text h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0;
}

.highlight-text span {
  font-size: 11.5px;
  color: #3b82f6;
  font-weight: 600;
}

.highlight-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.highlight-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
}

.prizes-cta-banner {
  margin-top: 24px;
  text-align: center;
}

.prizes-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  color: var(--slate-700);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.prizes-cta-link:hover {
  border-color: var(--rotary-gold);
  color: var(--rotary-navy);
  background: #fffbeb;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ==========================================================================
   2-COLUMN EXECUTIVE LAYOUT GRID
   ========================================================================== */
.reg-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN: FORM CARD
   ========================================================================== */
.reg-form-col {
  min-width: 0;
}

.reg-card-container {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}

.reg-card-header {
  padding: 18px 26px;
  background: linear-gradient(135deg, #0b1a30 0%, #162a4a 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-header-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rotary-gold);
  font-size: 18px;
  flex-shrink: 0;
}

.card-header-titles h2 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.card-header-sub {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Slim Progress Bar */
.form-progress-wrapper {
  height: 4px;
  background: var(--slate-100);
  width: 100%;
  overflow: hidden;
}

.form-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #005daa 0%, #f59e0b 100%);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.reg-card-body {
  padding: 26px 28px 32px;
}

/* ==========================================================================
   FORM SECTION LABELS & DIVIDERS
   ========================================================================== */
.form-section-block {
  margin-bottom: 26px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--rotary-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--slate-100);
}

.section-label i {
  color: var(--rotary-blue);
  font-size: 14px;
}

/* ==========================================================================
   CATEGORY CARDS (5K & 10K)
   ========================================================================== */
.category-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.category-radio-label {
  cursor: pointer;
  margin: 0;
  display: block;
  user-select: none;
}

.category-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-radio-card {
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-radio-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-radio-label input[type="radio"]:checked + .category-radio-card,
.category-radio-card.selected {
  border-color: var(--rotary-blue);
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(0, 93, 170, 0.12);
}

.category-radio-label input[type="radio"]:checked + .category-radio-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--rotary-blue);
}

.card-type-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-type-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition);
}

.category-radio-label input[type="radio"]:checked + .category-radio-card .card-type-icon,
.category-radio-card.selected .card-type-icon {
  background: rgba(0, 93, 170, 0.1);
  color: var(--rotary-blue);
}

.card-type-text h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 2px;
  line-height: 1.2;
}

.card-type-text span {
  display: block;
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.card-age-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #1e40af !important;
  background: #eff6ff !important;
  padding: 2px 8px !important;
  border-radius: var(--radius-full) !important;
}

.card-type-fee {
  text-align: right;
  flex-shrink: 0;
}

.fee-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--rotary-navy);
  line-height: 1.1;
}

.category-radio-label input[type="radio"]:checked + .category-radio-card .fee-val,
.category-radio-card.selected .fee-val {
  color: var(--rotary-blue);
}

.fee-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   PARTICIPANT TYPE SEGMENT SELECTOR (Clean, Modern Pills)
   ========================================================================== */
.entry-type-selector-wrap {
  margin-bottom: 24px;
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

.entry-type-label-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.entry-type-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.entry-type-subtitle {
  font-size: 11.5px;
  color: var(--slate-500);
}

.entry-type-segment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fee-badge-card {
  cursor: pointer;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: var(--transition);
  position: relative;
}

.fee-badge-card:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.fee-badge-card.active-fee-card {
  background: #ffffff;
  border-color: var(--success-dark);
  box-shadow: 0 3px 12px rgba(5, 150, 105, 0.12);
}

.fee-badge-card.active-fee-card::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--success);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fee-badge-card .card-type-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--slate-600);
}

.fee-badge-card.active-fee-card .card-type-icon {
  background: var(--success-light);
  color: var(--success-dark);
}

.fee-badge-card .card-type-text h4 {
  font-size: 13.5px;
  margin: 0;
  font-weight: 700;
  color: var(--slate-800);
}

.fee-badge-card .fee-tamil-sub {
  font-size: 11px;
  color: var(--slate-500);
  display: block;
}

.fee-badge-card .fee-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-800);
}

.fee-badge-card.active-fee-card .fee-val {
  color: var(--success-dark);
}

/* Hidden radio fallback for JS compatibility */
.radio-pill-options-hidden {
  display: none !important;
}

/* ==========================================================================
   FORM GRID & INPUT FIELDS
   ========================================================================== */
.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-grid-row.full-width {
  grid-template-columns: 1fr;
}

.form-item {
  position: relative;
}

.item-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-700);
}

.item-label .req {
  color: var(--danger);
  font-weight: 700;
  margin-left: 3px;
}

.item-label .tamil-inline {
  font-size: 11.5px;
  color: var(--slate-500);
  font-weight: 500;
}

.age-rule-tag {
  font-size: 11px;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.age-rule-tag.tag-10k {
  color: #b45309;
  background: #fef3c7;
  border-color: #fde68a;
}

/* Input Wrappers & Modern Styling */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper .lead-icon {
  position: absolute;
  left: 14px;
  color: var(--slate-400);
  font-size: 14px;
  pointer-events: none;
  transition: var(--transition);
  z-index: 2;
}

.form-field {
  width: 100%;
  height: 46px;
  padding: 10px 14px 10px 42px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate-900);
  background: var(--white);
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.form-field:focus {
  border-color: var(--rotary-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 93, 170, 0.12);
}

.form-field:focus ~ .lead-icon,
.input-wrapper:focus-within .lead-icon {
  color: var(--rotary-blue);
}

.form-field.is-invalid {
  border-color: var(--danger);
  background: var(--danger-light);
}

select.form-field {
  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='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}

.field-hint {
  display: block;
  font-size: 11.5px;
  color: var(--slate-500);
  margin-top: 5px;
}

.age-inline-error {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--danger-light);
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

/* T-Shirt Size Guide Link & Alert */
.tshirt-action-row {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.text-link-chart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rotary-blue);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: var(--transition);
}

.text-link-chart:hover {
  color: var(--rotary-blue-hover);
  text-decoration: underline;
}

.tshirt-student-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #991b1b;
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  line-height: 1.4;
}

.tshirt-student-note i {
  color: #dc2626;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   STUDENT VERIFICATION PANEL (Collapsible)
   ========================================================================== */
.student-fields-panel {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 20px;
  animation: fadeInDown 0.3s ease;
}

.student-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.student-panel-header .panel-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.student-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #166534;
  margin: 0;
}

.student-panel-header span {
  font-size: 11.5px;
  color: #15803d;
}

/* Combobox Searchable Dropdown */
.combobox-wrapper {
  position: relative;
}

.combobox-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.combobox-toggle-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--slate-500);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.combobox-toggle-btn:hover {
  color: var(--slate-800);
  background: var(--slate-100);
}

.combobox-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  display: none;
  overflow: hidden;
  max-height: 240px;
}

.combobox-dropdown.active {
  display: block;
}

.combobox-search-box {
  padding: 8px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.combobox-search-field {
  width: 100%;
  padding: 8px 10px;
  font-size: 12.5px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  outline: none;
}

.combobox-search-field:focus {
  border-color: var(--rotary-blue);
}

.combobox-options-list {
  max-height: 180px;
  overflow-y: auto;
}

.dropdown-option {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--slate-700);
  cursor: pointer;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease;
}

.dropdown-option:hover {
  background: #f1f5f9;
  color: var(--rotary-blue);
}

.dropdown-option.no-results {
  color: var(--slate-400);
  cursor: default;
  font-style: italic;
}

.api-status {
  font-size: 11px;
  margin-top: 4px;
  font-weight: 600;
}

.api-status.loading { color: #d97706; }
.api-status.success { color: #16a34a; }
.api-status.error { color: #dc2626; }

/* ==========================================================================
   DECLARATION CHECKBOXES (Clean, Structured Rows)
   ========================================================================== */
.terms-agreement-block {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terms-single-row {
  background: #f8fafc;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition);
}

.terms-single-row:hover {
  border-color: #cbd5e1;
  background: var(--white);
}

.terms-single-row.checked-ok {
  border-color: #86efac;
  background: #f0fdf4;
}

.terms-left-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin: 0;
  flex: 1;
}

.terms-left-label input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--rotary-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.terms-text-wrap {
  display: flex;
  flex-direction: column;
}

.terms-text-main {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.3;
}

.terms-text-sub {
  font-size: 11.5px;
  color: var(--slate-500);
}

.btn-read-modal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-read-modal:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--rotary-blue);
}

/* ==========================================================================
   SUBMIT BUTTON & TRUST BADGES
   ========================================================================== */
.btn-submit-elite {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #005daa 0%, #003e73 100%);
  border: none;
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 93, 170, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-submit-elite:hover:not(:disabled) {
  background: linear-gradient(135deg, #004b8a 0%, #002d54 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 93, 170, 0.45);
}

.btn-submit-elite:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.submit-fee-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  color: #fde047;
}

.btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.submit-trust-footer {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.submit-trust-footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   RIGHT COLUMN: SIDEBAR (Prizes & Perks)
   ========================================================================== */
.reg-sidebar-col {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
}

.sidebar-card-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--slate-100);
}

.prize-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rotary-amber-light);
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--rotary-navy);
  margin: 0 0 4px;
}

.sidebar-sub {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.4;
  margin: 0;
}

/* Prize Gender Filter Tabs */
.prize-gender-tabs {
  display: flex;
  background: var(--slate-100);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
  margin-bottom: 14px;
}

.btn-gender-tab {
  flex: 1;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-gender-tab.active {
  background: var(--white);
  color: var(--rotary-navy);
  box-shadow: var(--shadow-xs);
}

/* Prize Gender Callout */
.prize-callout-box {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.callout-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #1e40af;
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.callout-txt {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.3;
}

.callout-sub {
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 3px;
}

/* ==========================================================================
   PODIUM SHOWCASE (1st, 2nd, 3rd)
   ========================================================================== */
.podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 8px;
  align-items: end;
  margin-bottom: 16px;
}

.podium-box {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.podium-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.podium-box.gold {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
  padding: 16px 8px;
}

.podium-box.silver {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
}

.podium-box.bronze {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74;
}

.podium-rank-tag {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 26px;
  margin-bottom: 6px;
}

.podium-box.gold .podium-rank-tag {
  background: #f59e0b;
  color: var(--white);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.podium-box.silver .podium-rank-tag {
  background: #64748b;
  color: var(--white);
}

.podium-box.bronze .podium-rank-tag {
  background: #d97706;
  color: var(--white);
}

.podium-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-600);
  margin-bottom: 4px;
}

.podium-amount {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
  margin-bottom: 4px;
}

.podium-box.gold .podium-amount {
  font-size: 18px;
  color: #b45309;
}

.podium-perks {
  font-size: 10px;
  color: var(--slate-500);
  font-weight: 600;
}

/* Other Prize Tiers */
.prizes-tier-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tier-item-pill {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tier-pos {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
}

.tier-cash {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--slate-800);
}

.tier-extra {
  font-size: 10px;
  color: var(--slate-400);
}

/* ==========================================================================
   RUNNER PERKS LIST
   ========================================================================== */
.perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-100);
}

.perks-list li i {
  color: var(--success);
  font-size: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.reg-simple-footer {
  margin-top: 40px;
  padding: 24px 20px;
  text-align: center;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-500);
  font-size: 12.5px;
}

.reg-simple-footer strong {
  color: var(--slate-700);
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.reg-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.reg-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.reg-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.reg-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 540px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.reg-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reg-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

.btn-close-rect,
.btn-close-x {
  background: none;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
}

.btn-close-rect:hover,
.btn-close-x:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

.reg-modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate-600);
}

.reg-modal-body p {
  margin: 0 0 10px;
}

.reg-modal-actions {
  padding: 14px 20px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  justify-content: flex-end;
}

.btn-modal-accept {
  background: var(--success);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-modal-accept:hover {
  background: var(--success-dark);
}

/* T-Shirt Guide Modal Specifics */
.modal-images-panel {
  max-width: 680px;
}

.modal-size-charts-exact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.size-chart-col img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   RESPONSIVE DESIGN (PERFECT MOBILE & DESKTOP ALIGNMENT)
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE DESIGN (FLAWLESS DESKTOP & MOBILE ALIGNMENT)
   Optimized for 360px (Samsung Galaxy A55), 375px, 390px, 414px & Desktop
   ========================================================================== */

/* Global Anti-Overflow Safety */
html, body.reg-page-wrapper {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

@media (max-width: 991px) {
  .reg-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .reg-sidebar-col {
    position: static !important;
  }
}

@media (max-width: 768px) {
  .reg-main-content {
    padding: 14px 10px 40px !important;
  }

  .brand-container {
    padding: 8px 12px !important;
    gap: 8px !important;
  }

  .brand-elite-img {
    height: 34px !important;
  }

  .logo-title-main {
    font-size: 9.5px !important;
    letter-spacing: 0.6px !important;
  }

  .logo-title-sub {
    font-size: 12px !important;
  }

  .brand-actions {
    gap: 8px !important;
  }

  .btn-help-phone {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
    gap: 5px !important;
  }

  .btn-home-link {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
  }

  .btn-home-link span {
    display: none !important;
  }

  .reg-page-header {
    margin-bottom: 20px !important;
  }

  .reg-pill-info {
    font-size: 11px !important;
    padding: 4px 12px !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }

  .reg-title-h1 {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin: 0 0 6px !important;
  }

  .reg-title-h1 .year-badge-anim {
    font-size: 15px !important;
    padding: 2px 8px !important;
  }

  .tamil-title-lead {
    font-size: 13.5px !important;
  }

  .tamil-slogan-pill {
    font-size: 10.5px !important;
    padding: 2px 8px !important;
  }

  .reg-instructions-text {
    font-size: 11.5px !important;
    margin: 0 0 14px !important;
    line-height: 1.4 !important;
  }

  /* Compact Step Tracker */
  .reg-step-tracker {
    display: flex !important;
    max-width: 100% !important;
    width: auto !important;
    padding: 6px 12px !important;
    gap: 6px !important;
  }

  .tracker-step {
    font-size: 11px !important;
    gap: 4px !important;
  }

  .tracker-step .step-num {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
  }

  .tracker-divider {
    width: 12px !important;
  }

  /* Card Container */
  .reg-card-container {
    border-radius: 14px !important;
  }

  .reg-card-header {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .card-header-icon-box {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
  }

  .card-header-titles h2 {
    font-size: 14.5px !important;
  }

  .card-header-sub {
    font-size: 11px !important;
  }

  .card-header-badge {
    font-size: 10.5px !important;
    padding: 3px 8px !important;
  }

  .reg-card-body {
    padding: 16px 12px 22px !important;
  }

  .form-section-block {
    margin-bottom: 20px !important;
  }

  .section-label {
    font-size: 12px !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
  }

  .reg-single-col-container {
    padding: 14px 10px 40px !important;
  }

  .category-switch-nav {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .cat-switch-tab {
    padding: 10px 12px !important;
  }

  .cat-switch-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }

  .cat-switch-title {
    font-size: 13.5px !important;
  }

  .cat-switch-fee .fee-num {
    font-size: 17px !important;
  }

  /* Category Selection Cards (5K / 10K) - Mobile Friendly */
  .category-pill-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .category-radio-card {
    padding: 12px 12px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }

  .card-type-info {
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .card-type-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
  }

  .card-type-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .card-type-text h4 {
    font-size: 13.5px !important;
    line-height: 1.2 !important;
    margin: 0 0 2px !important;
  }

  .card-type-text span {
    font-size: 11px !important;
    margin-bottom: 3px !important;
  }

  .card-age-pill {
    font-size: 10px !important;
    padding: 2px 6px !important;
    display: inline-flex !important;
  }

  .card-type-fee {
    flex-shrink: 0 !important;
    text-align: right !important;
    padding-left: 6px !important;
  }

  .fee-val {
    font-size: 18px !important;
  }

  .fee-sub {
    font-size: 10px !important;
  }

  /* Entry Type Selector */
  .entry-type-selector-wrap {
    padding: 12px 12px !important;
    margin-bottom: 18px !important;
    border-radius: 12px !important;
  }

  .entry-type-label-bar {
    margin-bottom: 8px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }

  .entry-type-title {
    font-size: 11.5px !important;
  }

  .entry-type-subtitle {
    font-size: 10.5px !important;
  }

  .entry-type-segment-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .fee-badge-card {
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  .fee-badge-card .card-type-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  .fee-badge-card .card-type-text h4 {
    font-size: 13px !important;
  }

  .fee-badge-card .fee-tamil-sub {
    font-size: 10.5px !important;
  }

  .fee-badge-card .fee-val {
    font-size: 16px !important;
  }

  /* Form Grid Rows */
  .form-grid-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .form-field {
    height: 44px !important;
    font-size: 13px !important;
    padding: 8px 12px 8px 38px !important;
  }

  .input-wrapper .lead-icon {
    left: 12px !important;
    font-size: 13px !important;
  }

  .item-label {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }

  .item-label .tamil-inline {
    font-size: 11px !important;
  }

  .field-hint {
    font-size: 10.5px !important;
    margin-top: 3px !important;
  }

  .tshirt-student-note {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  /* Terms Checkbox Rows */
  .terms-agreement-block {
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .terms-single-row {
    padding: 10px 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .terms-left-label {
    gap: 10px !important;
  }

  .terms-text-main {
    font-size: 12px !important;
  }

  .terms-text-sub {
    font-size: 10.5px !important;
  }

  .btn-read-modal {
    margin-left: 29px !important;
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  /* Submit Button */
  .btn-submit-elite {
    font-size: 13.5px !important;
    padding: 14px 16px !important;
  }

  .submit-fee-pill {
    font-size: 13px !important;
  }

  .submit-trust-footer {
    font-size: 10.5px !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }

  /* Sidebar Cards */
  .sidebar-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .sidebar-title {
    font-size: 15px !important;
  }

  .prize-gender-tabs {
    padding: 3px !important;
    gap: 3px !important;
  }

  .btn-gender-tab {
    padding: 6px 4px !important;
    font-size: 10.5px !important;
  }

  .podium-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .podium-box.gold {
    order: 1 !important;
    padding: 12px 14px !important;
  }

  .podium-box.silver {
    order: 2 !important;
  }

  .podium-box.bronze {
    order: 3 !important;
  }

  .podium-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    text-align: left !important;
  }

  .podium-rank-tag {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .prizes-tier-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .modal-size-charts-exact {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   EXTRA-SMALL PHONES (<= 400px, e.g. Samsung Galaxy A55 360px, iPhone SE 375px)
   ========================================================================== */
@media (max-width: 400px) {
  .reg-main-content {
    padding: 10px 6px 36px !important;
  }

  .brand-container {
    padding: 6px 8px !important;
  }

  .brand-elite-img {
    height: 30px !important;
  }

  .logo-title-main {
    font-size: 8.5px !important;
  }

  .logo-title-sub {
    font-size: 10.5px !important;
  }

  .btn-help-phone {
    padding: 4px 7px !important;
    font-size: 10.5px !important;
  }

  .btn-home-link {
    padding: 4px 7px !important;
    font-size: 10.5px !important;
  }

  .reg-title-h1 {
    font-size: 18px !important;
  }

  .reg-step-tracker {
    padding: 4px 8px !important;
    gap: 4px !important;
  }

  .tracker-step .step-label {
    display: none !important;
  }

  .tracker-step.active .step-label {
    display: inline-block !important;
    font-size: 10.5px !important;
  }

  .card-header-badge span {
    display: none !important;
  }

  .card-header-badge {
    padding: 4px 6px !important;
  }

  .card-type-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }

  .card-type-text h4 {
    font-size: 12.5px !important;
  }

  .fee-val {
    font-size: 16px !important;
  }

  .fee-sub {
    font-size: 9px !important;
  }
}

/* ==========================================================================
   TOP SPONSORS MARQUEE TICKER (SCROLLING LEFT TO RIGHT)
   ========================================================================== */
.top-sponsors-marquee-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  z-index: 95;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 52px;
}

.marquee-badge-label {
  background: linear-gradient(135deg, #0b1a30 0%, #1e3a8a 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 4px 0 14px rgba(11, 26, 48, 0.12);
  white-space: nowrap;
}

.marquee-badge-label i {
  color: #f59e0b;
  font-size: 13px;
}

.marquee-track-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
}

.marquee-scroll-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: scrollLeftToRight 28s linear infinite;
  will-change: transform;
}

.marquee-scroll-track:hover {
  animation-play-state: paused;
}

/* Left to right keyframes: start shifted left by half, move right to 0 */
@keyframes scrollLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 14px;
  border-radius: 9999px;
  height: 38px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.marquee-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.marquee-tier-tag {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.2;
}

.marquee-tier-tag.tag-title {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.marquee-tier-tag.tag-powered {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.marquee-tier-tag.tag-co {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.marquee-tier-tag.tag-tech {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.marquee-tier-tag.tag-org {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.marquee-logo-img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   FIXED FEE SUMMARY BANNER ON FORM
   ========================================================================== */
.fixed-fee-banner-wrap {
  margin-bottom: 24px;
}

.fixed-fee-banner-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 2px solid #10b981;
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

.fixed-fee-banner-card.card-10k-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  border-color: #ea580c;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.1);
}

.fee-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fee-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.fee-banner-icon.icon-10k {
  background: #ffedd5;
  color: #ea580c;
}

.fee-banner-text {
  display: flex;
  flex-direction: column;
}

.fee-banner-cat {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.fee-banner-rule {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 3px;
}

.fee-banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.fee-banner-amount {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #059669;
  line-height: 1;
}

.fee-banner-amount.amount-10k {
  color: #ea580c;
}

.fee-banner-tag {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .top-sponsors-marquee-bar {
    flex-direction: column !important;
    height: auto !important;
    padding: 7px 0 8px !important;
    gap: 6px !important;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
  }
  .marquee-badge-label {
    width: auto !important;
    height: 25px !important;
    padding: 0 14px !important;
    border-radius: 9999px !important;
    font-size: 10px !important;
    margin: 0 auto !important;
    box-shadow: 0 2px 8px rgba(11, 26, 48, 0.12) !important;
    justify-content: center !important;
  }
  .marquee-track-container {
    width: 100% !important;
    height: 36px !important;
    flex: none !important;
  }
  .marquee-item {
    height: 30px !important;
    padding: 2px 10px !important;
    gap: 7px !important;
  }
  .marquee-logo-img {
    height: 20px !important;
    max-width: 85px !important;
  }
  .fixed-fee-banner-card {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .fee-banner-right {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    border-top: 1px solid #e2e8f0;
    padding-top: 8px;
  }
}

/* ==========================================================================
   ENTRY FEE POPUP & GLOW ANIMATIONS
   ========================================================================== */
@keyframes feePopupPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  75% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes glowPulse5k {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(2, 132, 199, 0);
  }
}

@keyframes glowPulse10k {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(234, 88, 12, 0);
  }
}

.fee-pop-anim {
  animation: feePopupPulse 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.fixed-fee-banner-card {
  animation: feePopupPulse 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.fixed-fee-banner-card .fee-banner-amount {
  display: inline-block;
  animation: feePopupPulse 0.9s ease both;
}

/* ==========================================================================
   PREMIUM CHAMPIONSHIP CASH PRIZES & AWARDS (BELOW REGISTRATION FORM)
   ========================================================================== */
.championship-prizes-wrap {
  width: 100%;
  max-width: 900px;
  margin: 32px auto 20px;
}

.champ-prizes-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px 24px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.champ-prizes-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #005daa 0%, #0284c7 50%, #f59e0b 100%);
}

.champ-prizes-card.theme-10k::before {
  background: linear-gradient(90deg, #ea580c 0%, #f97316 50%, #eab308 100%);
}

.champ-header-box {
  text-align: center;
  margin-bottom: 26px;
}

.champ-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  border: 1.5px solid #fde68a;
  color: #b45309;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.champ-tag-badge i {
  color: #f59e0b;
}

.champ-title-main {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.2;
}

.champ-title-tamil {
  font-size: 15px;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 6px;
}

.champ-prizes-card.theme-10k .champ-title-tamil {
  color: #ea580c;
}

.champ-sub-desc {
  font-size: 13.5px;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.45;
}

/* TOP 3 PODIUM GRID */
.champ-podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 20px;
}

.podium-tier-card {
  border-radius: 20px;
  padding: 24px 16px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: all 0.28s ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.podium-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

/* 1ST PLACE GOLD */
.podium-tier-card.tier-gold {
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  border: 2px solid #facc15;
  order: 2;
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.2);
}

.champion-crown-tag {
  position: absolute;
  top: -12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
  white-space: nowrap;
}

/* 2ND PLACE SILVER */
.podium-tier-card.tier-silver {
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  border: 2px solid #cbd5e1;
  order: 1;
}

/* 3RD PLACE BRONZE */
.podium-tier-card.tier-bronze {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
  border: 2px solid #fdba74;
  order: 3;
}

.podium-medal-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.podium-medal-badge .medal-icon {
  font-size: 28px;
  line-height: 1;
}

.podium-medal-badge .medal-rank {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
}

.podium-runner-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
}

.podium-cash-val {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.podium-cash-val.champion-gold-val {
  color: #b45309;
  text-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.podium-perks-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 5px 10px;
  border-radius: 8px;
  width: 100%;
  line-height: 1.35;
}

.podium-perks-pill.gold-pill {
  background: #ffffff;
  border-color: #fde047;
  color: #854d0e;
}

/* MERIT TIERS ROW (4TH TO 25TH) */
.champ-merit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.merit-tier-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.22s ease;
}

.merit-tier-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.merit-rank-tag {
  display: inline-block;
  background: #e2e8f0;
  color: #334155;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 3px;
}

.merit-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.merit-sub {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.merit-tier-right {
  text-align: right;
  flex-shrink: 0;
}

.merit-cash {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #059669;
  line-height: 1.1;
}

.theme-10k .merit-cash {
  color: #ea580c;
}

.merit-cash .each-text {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.merit-perk {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-top: 3px;
}

/* BOTTOM GENDER NOTICE BANNER */
.champ-gender-notice {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-10k .champ-gender-notice {
  background: #fff7ed;
  border-color: #fed7aa;
}

.notice-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.theme-10k .notice-icon-box {
  background: #ffedd5;
  color: #ea580c;
}

.notice-text {
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.4;
}

.notice-text strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

/* RESPONSIVE FOR MOBILE (< 768px) */
@media (max-width: 768px) {
  .championship-prizes-wrap {
    margin: 24px auto 14px;
  }
  .champ-prizes-card {
    padding: 22px 14px 16px;
    border-radius: 20px;
  }
  .champ-podium-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .podium-tier-card.tier-gold {
    order: 1;
  }
  .podium-tier-card.tier-silver {
    order: 2;
  }
  .podium-tier-card.tier-bronze {
    order: 3;
  }
  .champ-merit-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .merit-tier-card {
    padding: 12px 14px;
  }
  .champ-gender-notice {
    padding: 10px 12px;
    gap: 10px;
  }
  .notice-text {
    font-size: 11.5px;
  }
}



