/* =========================================================
   Kathak Ashwamedh — Registration (registration.css)
   ========================================================= */

  
  .btn {
    display: inline-block;
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 6px;
    border: 0;
    cursor: pointer;
    font-family: var(--sans);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .btn:hover { transform: translateY(-2px); }
  
  .btn-register {
    padding: .65rem 2.2rem;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--pink-dark));
    box-shadow: 0 6px 20px rgba(236, 45, 140, .45);
  }
  
  /* shared page title + cyan divider */
  .page-title {
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    color: var(--blue-title);
    letter-spacing: 1px;
  }
  .title-line {
    width: min(680px, 80%);
    height: 2px;
    margin: .9rem auto 0;
    background: var(--cyan);
  }
  
  /* =========================================================
     HERO (same as ashwamedh home, without bottom CTA)
     ========================================================= */
  .hero {
    color: #fff;
    background:
      linear-gradient(rgba(30, 10, 60, .55), rgba(30, 10, 60, .55)),
      url('images/ashwamedh-hero.jpg') center / cover no-repeat,
      linear-gradient(120deg, #86198f 0%, #4c1d95 45%, #1e3a8a 100%);
  }
  .hero-inner { text-align: center; padding: 2.2rem 0 3rem; }
  
  .partner-logos {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
  }
  .p-logo {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.3rem;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .5);
    backdrop-filter: blur(2px);
  }
  .l1 { background: linear-gradient(140deg, #f59e0b, #b45309); }
  .l2 { background: linear-gradient(140deg, #ef4444, #991b1b); }
  .l3 { background: linear-gradient(140deg, #10b981, #065f46); }
  .l4 { background: linear-gradient(140deg, #f97316, #7c2d12); }
  .l5 { background: linear-gradient(140deg, #8b5cf6, #4c1d95); }
  
  .hero-sub {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 1px;
  }
  .hero-title {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 4.4vw, 3.3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .45);
  }
  
  .season-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .season-logo .kathak {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 5.2rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 0 rgba(0, 0, 0, .18), 0 10px 30px rgba(0, 0, 0, .5);
  }
  .season-logo .season {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--pink);
    -webkit-text-stroke: 1.5px #fff;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .5);
  }
  .season-logo .ribbon {
    position: absolute;
    left: 8%; bottom: -26px;
    transform: rotate(-5deg);
    background: linear-gradient(90deg, var(--gold), #fde047, var(--gold));
    color: #1e293b;
    font-weight: 700;
    font-size: clamp(.85rem, 1.6vw, 1.1rem);
    letter-spacing: 1px;
    padding: .3rem 1.2rem;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
  }
  
  .info-bar {
    margin-top: 3.4rem;
    background: linear-gradient(90deg, #fbbf24, var(--gold) 40%, #f59e0b);
    color: #1e293b;
    padding: 1.1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
  .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .info-col { text-align: center; padding: 0 1rem; }
  .info-col + .info-col { border-left: 2px solid rgba(30, 41, 59, .35); }
  .info-col p { font-size: .95rem; font-weight: 500; }
  .info-col p .red { color: #dc2626; font-weight: 600; }
  .info-col strong { font-size: clamp(.95rem, 1.8vw, 1.25rem); font-weight: 700; }
  
  /* =========================================================
     RULES & REGULATIONS
     ========================================================= */
  .rules-section { padding: 3rem 0 3.5rem; }
  
  .rules-heading {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 2.2rem 0 2rem;
  }
  
  .rules-list {
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
  }
  .rules-list li {
    position: relative;
    font-size: .88rem;
    font-weight: 300;
    color: #334155;
    padding-left: 1.4rem;
    margin-bottom: .9rem;
  }
  .rules-list li::before {
    content: '';
    position: absolute;
    left: 0; top: .5em;
    width: 8px; height: 8px;
    background: #334155;
  }
  
  /* =========================================================
     REGISTRATION FORM
     ========================================================= */
  .form-section { padding: 0 0 4rem; }
  
  #regForm { text-align: center; margin-top: 2.6rem; }
  
  .agree-row {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--slate);
    cursor: pointer;
    margin-bottom: 1.8rem;
  }
  .agree-row input[type="checkbox"] {
    width: 22px; height: 22px;
    accent-color: var(--pink);
    cursor: pointer;
  }
  
  .form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: min(460px, 100%);
    margin: 0 auto 1.4rem;
  }
  .form-fields input,
  .form-fields select {
    width: 100%;
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 400;
    color: var(--slate);
    padding: .8rem 1.1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .form-fields input::placeholder { color: #64748b; }
  .form-fields input:focus,
  .form-fields select:focus {
    border-color: var(--blue-title);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  }
  .form-fields select {
    appearance: none;
    background-image:
      linear-gradient(45deg, transparent 50%, #64748b 50%),
      linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
      calc(100% - 20px) 50%,
      calc(100% - 14px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    color: #64748b;
  }
  .form-fields select:valid { color: var(--slate); }
  
  .fees-line {
    font-size: .92rem;
    color: var(--slate);
    margin-bottom: 1.6rem;
  }
  .fees-line strong { font-weight: 600; }
  .fees-line em { color: #64748b; font-weight: 300; }
  
  .consent {
    font-size: .95rem;
    font-weight: 600;
    color: var(--slate);
    line-height: 2;
    margin-bottom: 1.8rem;
  }
  
  .form-note {
    font-size: .8rem;
    font-style: italic;
    color: #64748b;
    margin-top: 1.2rem;
  }
  
  /* success message card */
  .success-card {
    width: min(640px, 100%);
    margin: 3rem auto 0;
    background: #fff;
    border: 3px solid var(--pink);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
    padding: 1rem;
  }
  .success-inner {
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    padding: 2.4rem 1.6rem 2rem;
    text-align: center;
  }
  .check {
    width: 64px; height: 64px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #16a34a;
    border: 5px solid #16a34a;
  }
  .success-title {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 700;
    color: var(--pink);
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }
  .success-title span { color: var(--slate); }
  .success-text { font-size: .9rem; font-weight: 500; color: var(--slate); margin-bottom: .4rem; }
  .email-note { text-align: center; }
  

  
.registration-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}

.registration-success-popup {
  position: relative;
  width: 100%;
  max-width: 650px;
  box-sizing: border-box;
  padding: 35px 25px;
  background: #fff;
  border: 4px solid #ff2990;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
  text-align: center;
  font-family: inherit;
}

.success-check {
  width: 76px;
  height: 76px;
  margin: 0 auto 15px;
  color: #00b568;
}

.success-check svg {
  width: 100%;
  height: 100%;
}

.registration-success-popup h2 {
  margin: 0 0 35px;
  color: #111;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
}

.registration-success-popup h2 span {
  color: #ff2990;
}

.registration-number,
.reporting-message {
  margin: 12px 0;
  color: #111;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.registration-number strong {
  overflow-wrap: anywhere;
}

.success-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 28px;
  cursor: pointer;
}

.success-ok {
  margin-top: 15px;
  padding: 10px 28px;
  border: 0;
  border-radius: 6px;
  background: #ff2990;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .registration-success-popup {
      padding: 35px 18px 25px;
  }

  .registration-success-popup h2 {
      font-size: 19px;
      margin-bottom: 25px;
  }

  .registration-number,
  .reporting-message {
      font-size: 14px;
  }
}

.registration-errors {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  border-radius: 6px;
  color: #991b1b;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.registration-errors ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.registration-errors li {
  position: relative;
  padding-left: 22px;
}

.registration-errors li + li {
  margin-top: 6px;
}

/* Small "!" icon before each message */
.registration-errors li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  line-height: 14px;
  text-align: center;
}

.registration-fail-popup .fail-cross { color: #d93025; }
.registration-fail-popup .success-ok { background: #d93025; }