/* ══════════════════════════════════════════════════════
   shakthi.css — shared styles for the landing & registration pages
══════════════════════════════════════════════════════ */
:root {
  --maroon:      #7a0f2b;
  --maroon-deep: #4f0719;
  --crimson:     #a8123e;
  --rose:        #d6336c;
  --pink-soft:   #f4b8c8;
  --blush:       #fdf0f2;
  --gold:        #c3922e;
  --gold-light:  #e8c56b;
  --gold-pale:   #f6e6bf;
  --cream:       #fffaf3;
  --ink:         #3a0d1c;
  --muted:       #85606b;
  --line:        #efd9de;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; font-family: "Poppins", sans-serif; color: var(--ink);
  background:
    radial-gradient(ellipse at 12% 20%, rgba(214, 51, 108, 0.10) 0%, transparent 42%),
    radial-gradient(ellipse at 88% 18%, rgba(195, 146, 46, 0.12) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 105%, rgba(244, 184, 200, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, #fffaf3 0%, #fcefe8 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* ── Watercolour figures (faded, like a watermark) ── */
.figure {
  position: absolute; top: 0; z-index: 0; pointer-events: none;
  opacity: 0.5; filter: saturate(0.9);
}
.figure img { display: block; height: 100%; width: auto; }
.figure.left {
  top: auto; bottom: 0; left: 1vw; height: 64vh;
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 65%, #000 50%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 85% at 50% 65%, #000 50%, transparent 100%);
}
.figure.right {
  right: 0; height: 74vh;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 28%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 70% at 55% 28%, #000 40%, transparent 100%);
}


/* ── Script quotes ── */
.quote {
  font-family: "Great Vibes", cursive; color: var(--crimson);
  font-size: clamp(1.6rem, 4.2vh, 2.5rem); line-height: 1.12; margin: 0;
}

/* ── Register button (top right) ── */
.register-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; color: #fff; border: none;
  padding: 0.7rem 1.7rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--crimson), var(--maroon));
  box-shadow: 0 10px 24px rgba(122, 15, 43, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.register-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }

/* ══════════════════════════════════════════════════════
   REGISTRATION FORM CARD
══════════════════════════════════════════════════════ */
.reg-card {
  position: relative; isolation: isolate; overflow: hidden;
  background: rgba(255, 255, 255, 0.94); border-radius: 26px;
  box-shadow: 0 24px 60px rgba(122, 15, 43, 0.14), 0 4px 18px rgba(195, 146, 46, 0.12);
  padding: 2rem 2.2rem 1.8rem;
}
.reg-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--maroon), var(--gold-light), var(--rose), var(--gold-light), var(--maroon));
}
.reg-card .watermark {
  position: absolute; z-index: -1; pointer-events: none;
  right: -30px; bottom: -10px; width: 62%; height: 88%;
  object-fit: contain; object-position: right bottom; opacity: 0.09;
}
.reg-card .form-control, .reg-card .toggle-label, .reg-card .terms-box { background-color: rgba(255, 255, 255, 0.82); }

.reg-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.reg-head img { width: 84px; height: auto; flex-shrink: 0; }
.reg-kicker { font-family: "Cinzel", serif; font-size: 0.64rem; letter-spacing: 3px; font-weight: 700; color: var(--gold); }
.reg-title { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.65rem; color: var(--maroon); margin: 0.1rem 0; line-height: 1.15; }
.reg-title em { font-family: "Great Vibes", cursive; font-style: normal; font-weight: 400; color: var(--crimson); font-size: 1.2em; }
.reg-sub { color: var(--muted); font-size: 0.78rem; margin: 0; }

.step-indicator { position: relative; display: flex; justify-content: space-between; gap: 0.4rem; margin-bottom: 1.3rem; }
.step-track { position: absolute; top: 12px; left: 12%; right: 12%; height: 2px; background: var(--line); }
.step-dot { position: relative; z-index: 1; flex: 1; text-align: center; font-size: 0.64rem; font-weight: 600; color: #b39aa2; }
.step-dot.completed { cursor: pointer; }
.step-circle {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0 auto 0.3rem;
  border-radius: 50%; background: var(--blush); border: 2px solid var(--line); color: #a3848d;
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 0.74rem; transition: all 0.3s ease;
}
.step-dot.completed .step-circle { background: var(--gold); border-color: var(--gold); color: #fff; }
.step-dot.active .step-circle { background: var(--maroon); border-color: var(--maroon); color: #fff; transform: scale(1.12); box-shadow: 0 4px 12px rgba(122, 15, 43, 0.35); }
.step-dot.active .step-label { color: var(--maroon); font-weight: 700; }

.form-step { display: none; flex-direction: column; }
.form-step.active { display: flex; animation: stepIn 0.3s ease-out; }
@keyframes stepIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.form-label { font-size: 0.76rem; font-weight: 600; color: #5a2a38; margin-bottom: 0.18rem; }
.form-control, .form-select {
  border-radius: 12px; border: 1.5px solid var(--line); padding: 0.46rem 0.8rem;
  font-size: 0.84rem; color: var(--ink); background: #fff;
}
.form-control::placeholder { color: #bfa3ab; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195, 146, 46, 0.2); }
.form-check-input:checked { background-color: var(--maroon); border-color: var(--maroon); }
.reg-card .form-check-label { font-size: 0.8rem; color: #5a2a38; line-height: 1.5; }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(122, 15, 43, 0.15); border-color: var(--maroon); }
.reg-card .mb-3 { margin-bottom: 0.65rem !important; }

.toggle-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.toggle-input { display: none; }
.toggle-label {
  cursor: pointer; padding: 0.32rem 1.15rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  border: 1.5px solid var(--line); color: var(--muted); background: #fff; transition: all 0.2s;
}
.toggle-label:hover { border-color: #e6b9c5; }
.toggle-input:checked + .toggle-label { background: linear-gradient(135deg, var(--crimson), var(--maroon)); border-color: var(--maroon); color: #fff; }

.fee-note {
  display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.76rem; color: #5a2a38;
  background: linear-gradient(135deg, #fff9ec, var(--blush));
  border: 1px dashed rgba(195, 146, 46, 0.6); border-radius: 12px; padding: 0.7rem 0.9rem; margin-bottom: 0.7rem;
}
.fee-note i { color: var(--gold); margin-top: 0.15rem; }
.fee-note a { color: var(--crimson); font-weight: 700; text-decoration: none; }
.terms-box { max-height: 170px; overflow-y: auto; padding: 0.9rem 1rem; background: var(--blush); border: 1px solid var(--line); border-radius: 12px; font-size: 0.77rem; color: #5a3a44; line-height: 1.6; }
.terms-box ol { padding-left: 1.1rem; margin: 0; }

.step-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.8rem; margin-top: 0.9rem; }
.btn-next-gold {
  display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; border: none;
  background: linear-gradient(135deg, var(--crimson), var(--maroon)); color: #fff; font-weight: 600; font-size: 0.85rem;
  border-radius: 999px; padding: 0.52rem 1.7rem; box-shadow: 0 6px 16px rgba(122, 15, 43, 0.3); transition: all 0.2s;
}
.btn-next-gold:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); }
.btn-prev-outline {
  background: transparent; color: var(--maroon); font-weight: 600; font-size: 0.84rem; cursor: pointer;
  border-radius: 999px; padding: 0.5rem 1.2rem; border: 1.5px solid var(--gold-pale); transition: all 0.2s;
}
.btn-prev-outline:hover { background: #fff8e8; border-color: var(--gold); }
.alert { border-radius: 12px; font-size: 0.83rem; }
.text-danger { font-size: 0.74rem; margin-top: 0.2rem; color: #c0392b !important; }

@media (max-width: 575.98px) {
  .reg-card { padding: 1.8rem 1.1rem 1.4rem; }
  .reg-head img { width: 64px; }
  .reg-title { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
