/* Therukkoothu Registration
   Styles | v1.0.0 | NunAxis
   Color scheme: Deep Saffron & Dark Red (traditional Tamil cultural palette)
   Full Unicode / Tamil script support */

*,*::before,*::after{box-sizing:border-box}

.tkr-wrap{
  max-width:820px;
  margin:0 auto;
  font-family:'Segoe UI','Noto Sans Tamil',Arial,sans-serif;
  color:#333;
  line-height:1.6;
}

/* ── Banner Image ────────────────────────────────── */
.tkr-banner{
  width:100%;
  line-height:0;
  border-radius:10px 10px 0 0;
  overflow:hidden;
}
.tkr-banner-img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* ── Header ─────────────────────────────────────── */
.tkr-header{
  background:linear-gradient(135deg,#7B3F00 0%,#c0392b 55%,#e67e22 100%);
  color:#fff;
  border-radius:0;
  padding:28px 28px 22px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.tkr-header-inner{}
.tkr-title-ta{margin:0 0 2px;font-size:1.1em;font-weight:700;letter-spacing:.5px;color:#ffe0c0!important;opacity:.95}
.tkr-title-en{margin:0 0 4px;font-size:1.9em;font-weight:900;color:#fff!important;letter-spacing:3px;text-transform:uppercase}
.tkr-subtitle{margin:0;font-size:.92em;color:#fff!important;opacity:.85;letter-spacing:.5px}

.tkr-event-badge{
  display:flex;
  flex-direction:column;
  gap:10px;
  flex-shrink:0;
}
.tkr-badge-item{
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.35);
  border-radius:8px;
  padding:8px 14px;
  min-width:180px;
}
.tkr-badge-label{display:block;font-size:.72em;text-transform:uppercase;letter-spacing:1px;opacity:.85;margin-bottom:2px}
.tkr-badge-item strong{font-size:.95em}

/* ── Intro ───────────────────────────────────────── */
.tkr-intro{
  background:#fff8f0;
  border:1px solid #f5cba7;
  border-top:none;
  padding:16px 24px;
  font-size:.91em;
  color:#6b3a1f;
  line-height:1.7;
}

/* ── Alerts ──────────────────────────────────────── */
.tkr-alert{padding:13px 18px;border-radius:6px;margin:14px 0;font-weight:600;font-size:.94em;line-height:1.5}
.tkr-alert--ok {background:#fef9ef;color:#7B3F00;border:1px solid #f0a500}
.tkr-alert--err{background:#fce4ec;color:#880e4f;border:1px solid #f48fb1}

/* ── Sections ────────────────────────────────────── */
.tkr-section{
  background:#fff;
  border:1px solid #f5cba7;
  border-top:none;
  padding:0 24px 20px;
}
.tkr-section:last-of-type{border-radius:0}

.tkr-section-head{
  display:flex;align-items:center;gap:12px;
  font-weight:700;font-size:.98em;color:#7B3F00;
  padding:16px 0 12px;
  border-bottom:2px solid #fef0e0;
  margin-bottom:16px;
}
.tkr-section-num{
  background:linear-gradient(135deg,#7B3F00,#c0392b);
  color:#fff;
  width:26px;height:26px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:.82em;flex-shrink:0;
}

/* ── Grid ────────────────────────────────────────── */
.tkr-row{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.tkr-field{display:flex;flex-direction:column}
.tkr-field--full   {flex:0 0 100%}
.tkr-field--half   {flex:1;min-width:230px}
.tkr-field--quarter{flex:1;min-width:140px}

/* ── Labels ──────────────────────────────────────── */
.tkr-field label{
  font-weight:600;font-size:.87em;
  margin-bottom:5px;color:#444;line-height:1.5;
}
.tkr-req{color:#c0392b}

/* ── Inputs ──────────────────────────────────────── */
.tkr-field input[type=text],
.tkr-field input[type=email],
.tkr-field input[type=tel],
.tkr-field input[type=number],
.tkr-field select,
.tkr-field textarea{
  border:1.5px solid #f0a500;
  border-radius:5px;
  padding:9px 12px;font-size:.93em;font-family:inherit;
  background:#fffdf7;width:100%;
  transition:border .18s,box-shadow .18s;outline:none;
}
.tkr-field input:focus,
.tkr-field select:focus,
.tkr-field textarea:focus{
  border-color:#7B3F00;
  box-shadow:0 0 0 3px rgba(123,63,0,.12);
  background:#fff;
}

/* ── Radios ──────────────────────────────────────── */
.tkr-radios{display:flex;gap:10px;flex-wrap:wrap;margin-top:5px}
.tkr-radios--stacked{flex-direction:column;gap:8px}
.tkr-radio{
  display:flex;align-items:center;gap:8px;
  background:#fffdf7;border:1.5px solid #f0a500;
  border-radius:6px;padding:8px 14px;
  cursor:pointer;font-size:.88em;
  transition:background .15s,border .15s;
}
.tkr-radio:hover{background:#fde8c8;border-color:#c0392b}
.tkr-radio input{accent-color:#7B3F00}
.tkr-radio input:checked+span{font-weight:700;color:#7B3F00}

/* ── Errors ──────────────────────────────────────── */
.tkr-err{color:#c0392b;font-size:.82em;margin-top:4px}

/* ── Submit row ──────────────────────────────────── */
.tkr-submit-row{
  padding:28px 24px;
  text-align:center;
  background:#fffdf7;
  border:1px solid #f5cba7;
  border-top:2px solid #f0a500;
  border-radius:0 0 10px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.tkr-turnstile-wrap{
  display:flex;
  justify-content:center;
}
.tkr-btn-wrap{
  display:flex;
  justify-content:center;
  width:100%;
}
#tkr-btn{
  background:linear-gradient(135deg,#7B3F00,#c0392b);
  color:#fff;border:none;
  padding:14px 56px;font-size:1.05em;font-weight:700;
  border-radius:7px;cursor:pointer;letter-spacing:.5px;
  box-shadow:0 3px 14px rgba(123,63,0,.35);
  transition:opacity .18s,transform .1s;
}
#tkr-btn:hover {opacity:.9;transform:translateY(-1px)}
#tkr-btn:active{transform:translateY(0)}
.tkr-privacy{font-size:.79em;color:#999;margin:0;line-height:1.5}

/* ── Cloudflare Turnstile ────────────────────────── */
.cf-turnstile{margin:0 auto 4px;display:inline-block}

/* ── Branding ────────────────────────────────────── */
.tkr-branding{
  text-align:center;padding:10px;
  font-size:.78em;color:#bbb;
}
.tkr-branding a{color:#bbb;text-decoration:none}
.tkr-branding a:hover{color:#7B3F00}

/* ── Responsive ──────────────────────────────────── */
@media(max-width:600px){
  .tkr-header{padding:20px 16px 18px;flex-direction:column}
  .tkr-event-badge{flex-direction:row;flex-wrap:wrap}
  .tkr-badge-item{min-width:140px}
  .tkr-intro{padding:14px 16px}
  .tkr-section{padding:0 14px 16px}
  .tkr-row{flex-direction:column}
  .tkr-field--half,.tkr-field--quarter{min-width:100%}
  .tkr-radios{flex-direction:column;gap:8px}
  #tkr-btn{width:100%;padding:14px}
}
