/* 🏆 UI CONNECT — student ID card, private report, contest-form helpers (public + admin). */
.uic-cardbox { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 14px 26px rgba(16,36,59,.18)); }
.uic-card { display: block; width: 100%; height: auto; aspect-ratio: 1012 / 638; border-radius: 3.4% / 5.4%; background: #fff6ea; }
.uic-card-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.uic-wa { background: #1fa855; color: #fff; }
.uic-wa:hover { background: #178a45; color: #fff; }

/* report page */
.uic-rp { padding: 34px 0 56px; background: linear-gradient(180deg, #fff6ea 0, #fffdf8 320px); }
.uic-rp-head { text-align: center; margin-bottom: 22px; }
.uic-eb { display: inline-block; background: #10243B; color: #F4C430; font-weight: 800; font-size: .82rem; padding: 6px 14px; border-radius: 999px; }
.uic-rp-head h1 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); margin: 12px 0 4px; color: #10243B; }
.uic-rp-head h1 small { font-size: .55em; color: #7a6f5f; font-weight: 600; }
.uic-sub { color: #5c5345; margin: 0; }
.uic-code { font-family: Inter, sans-serif; letter-spacing: .04em; color: #C44619; }
.uic-rp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.uic-note { font-size: .82rem; color: #7a6f5f; text-align: center; margin: 10px auto 0; max-width: 520px; }
.uic-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.uic-kpi { background: #fff; border: 1px solid #eadfcd; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.uic-kpi b { font-family: Inter, sans-serif; font-size: 1.9rem; line-height: 1.1; color: #10243B; }
.uic-kpi span { font-size: .84rem; font-weight: 700; color: #3a3226; line-height: 1.35; }
.uic-kpi small { display: block; font-weight: 500; color: #8a7f6e; font-size: .74rem; }
.uic-kpi.k-main { background: #10243B; border-color: #10243B; }
.uic-kpi.k-main b { color: #F4C430; } .uic-kpi.k-main span { color: #fff; } .uic-kpi.k-main small { color: #9fb3c8; }
.uic-kpi.k-rank b { color: #C44619; }
.uic-award { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; padding: 14px 16px; border-radius: 14px; border: 1.5px dashed #d9b98a; background: #fffaf0; }
.uic-award.is-on { border-style: solid; border-color: #E0A100; background: linear-gradient(135deg, #fff4cf, #fffaf0); }
.uic-award-ic { font-size: 1.8rem; line-height: 1; }
.uic-award b { color: #10243B; } .uic-award p { margin: 4px 0 0; font-size: .9rem; color: #5c5345; }
.uic-kv { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #eadfcd; font-size: .92rem; }
.uic-kv th, .uic-kv td { padding: 8px 12px; border-bottom: 1px solid #f1e8da; text-align: left; vertical-align: top; }
.uic-kv th { width: 36%; color: #7a6f5f; font-weight: 600; background: #fffaf3; }
.uic-kv tr:last-child th, .uic-kv tr:last-child td { border-bottom: 0; }
.uic-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.uic-h2 { font-size: 1.25rem; color: #10243B; margin: 36px 0 14px; }
.uic-h2 small { color: #8a7f6e; font-weight: 600; }
.uic-ents { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: start; }
.uic-ent { background: #fff; border: 1px solid #eadfcd; border-left: 5px solid #1E7A45; border-radius: 14px; padding: 12px 14px; }
.uic-ent.st-self { border-left-color: #B9271C; } .uic-ent.st-other { border-left-color: #E0A100; } .uic-ent.st-void { border-left-color: #9aa3ad; opacity: .8; }
.uic-ent header { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 10px; align-items: start; }
.uic-ent header > div { min-width: 0; }
.uic-ent header b { display: block; color: #10243B; line-height: 1.35; overflow-wrap: anywhere; }
.uic-ent header small { display: block; color: #6b6253; overflow-wrap: anywhere; }
.uic-ent header .uic-badge { grid-column: 2; justify-self: start; white-space: normal; }
.uic-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #10243B; color: #fff; font: 700 .8rem/28px Inter, sans-serif; text-align: center; }
.uic-ent ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: .86rem; color: #4a4438; display: grid; gap: 3px; }
.uic-badge { flex: none; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.uic-badge.b-ok { background: #e6f4ea; color: #1E7A45; } .uic-badge.b-self { background: #fde8e6; color: #B9271C; } .uic-badge.b-other { background: #fff4d6; color: #8a6200; } .uic-badge.b-void { background: #eef0f2; color: #5b6570; }
.uic-legend { font-size: .82rem; color: #7a6f5f; margin-top: 14px; }

/* thank-you page + form page */
.uic-thx { margin: 20px 0 6px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #10243B, #1d4a74); color: #fff; text-align: left; }
.uic-thx h2 { color: #F4C430; font-size: 1.15rem; margin: 0 0 6px; }
.uic-thx p { margin: 0 0 10px; color: #dbe7f5; }
.uic-thx .uic-code { color: #F4C430; font-size: 1.35rem; }
.uic-thx .uic-cardbox { max-width: 420px; margin: 12px auto; }
.uic-thx .btn-row, .uic-thx-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.uic-thx-st { display: inline-block; font-weight: 800; padding: 6px 12px; border-radius: 10px; margin: 4px 0 10px; }
.uic-thx-st.s-ok { background: #e6f4ea; color: #1E7A45; } .uic-thx-st.s-other { background: #fff4d6; color: #8a6200; } .uic-thx-st.s-self { background: #fde8e6; color: #B9271C; }
.uic-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: #10243B; color: #fff; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; }
.uic-strip b.uic-code { color: #F4C430; font-size: 1.1rem; }
.uic-strip a { color: #F4C430; font-weight: 700; margin-left: auto; }
.uic-find { margin: 0 0 16px; border: 1px dashed #d9b98a; border-radius: 14px; background: #fffaf3; }
.uic-find summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: #7A4A22; }
.uic-find form { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.uic-find input { flex: 1 1 180px; min-width: 0; padding: 10px 12px; border: 1px solid #d8cdbb; border-radius: 10px; font: inherit; }
.uic-live { margin: -4px 0 12px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: .92rem; line-height: 1.5; grid-column: 1 / -1; }
.uic-live.s-new { background: #e6f4ea; color: #1E7A45; }
.uic-live.s-other { background: #fff4d6; color: #7a5600; border: 1px solid #f0d27a; }
.uic-live.s-self, .uic-live.is-block { background: #fde8e6; color: #9b1d14; border: 1px solid #f2b8b2; }
.uic-live.shake { animation: uicShake .45s; }
@keyframes uicShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.form-alert.uic-dup { background: #fde8e6; border-color: #f2b8b2; color: #9b1d14; font-weight: 700; }

@media (max-width: 860px) {
  .uic-rp-grid { grid-template-columns: 1fr; }
  .uic-rp { padding-top: 22px; }
}
@media print {
  .no-print, header.site-header, .site-footer, .topbar, .bn-mbar, .quiz-fab, .promo-fab, .wa-float, .to-top { display: none !important; }
  .uic-rp { background: #fff; padding: 0; }
  .uic-ent { break-inside: avoid; }
}
.uic-more { margin-top: 10px; border-top: 1px dashed #eadfcd; padding-top: 8px; }
.uic-more summary { cursor: pointer; font-weight: 700; font-size: .84rem; color: #7A4A22; }
.uic-more dl { margin: 8px 0 0; display: grid; gap: 2px; font-size: .84rem; }
.uic-more dt { color: #7a6f5f; font-weight: 600; margin-top: 6px; }
.uic-more dd { margin: 0; color: #2f2a22; overflow-wrap: anywhere; }
@media print { .uic-more { display: block; } .uic-more summary { display: none; } .uic-more dl { display: grid !important; } }

/* v4.03 returning student: “hello · details filled · locked” box, locked fields, continue box */
.uic-me { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #e9f6ee; border: 1px solid #bfe0c9; grid-column: 1 / -1; }
.uic-me-ic { font-size: 1.4rem; line-height: 1.2; }
.uic-me-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.uic-me-t b { color: #10243B; }
.uic-me-t small { color: #3b5a46; font-size: .84rem; line-height: 1.45; }
.uic-me-t .uic-code { color: #C44619; font-weight: 800; }
.uic-me-lock { color: #7A4A22 !important; font-weight: 700; }
.uic-me-x { flex: none; text-align: center; font-weight: 700; font-size: .82rem; color: #9b1d14; background: #fff; border: 1px solid #f2b8b2; border-radius: 10px; padding: 6px 10px; line-height: 1.25; }
.uic-me-x small { font-weight: 600; color: #7a6f5f; }
.form-field.is-locked > label::after { content: ' 🔒'; font-size: .8em; }
.form-field.is-locked input, .form-field.is-locked select { background: #f3efe7 !important; color: #3a3226; cursor: not-allowed; }
.form-field.is-locked select { pointer-events: none; }
.uic-find .uic-find-tel { flex: 1 1 220px; min-width: 0; }
.uic-find .uic-find-tel input { width: 100%; padding-left: 92px; }
.uic-find .uic-find-tel .tel-cc { border-radius: 10px 0 0 10px; }
.uic-find[open] { background: #fff8ec; border-style: solid; border-color: #f0d2a8; }
.uic-find-new { margin: 0; padding: 0 14px 12px; font-size: .82rem; color: #7a6f5f; }
@media (max-width: 640px) { .uic-me { flex-wrap: wrap; } .uic-me-x { width: 100%; } .uic-find form .btn { flex: 1 1 100%; } }

/* 📘 student guide page (/uic/guide) */
.ug-hero { background: linear-gradient(135deg, #10243B, #1d4a74); color: #fff; padding: 26px 0 30px; text-align: center; }
.ug-hero .breadcrumbs, .ug-hero .breadcrumbs a { color: #c8d4e2; }
.ug-hero .uic-eb { background: #F4C430; color: #10243B; }
.ug-hero h1 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); margin: 12px 0 8px; }
.ug-hero p { color: #dbe7f5; margin: 0 auto 14px; max-width: 680px; }
.ug-hero p small { display: block; color: #9fb3c8; }
.ug-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 16px; }
.ug-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.ug-steps { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 760px; }
.ug-steps a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; line-height: 1.3; }
.ug-steps a:hover { background: rgba(255,255,255,.2); }
.ug-steps b { width: 28px; height: 28px; border-radius: 50%; background: #C44619; display: grid; place-items: center; font-family: Inter, sans-serif; }
.ug-demo { font-size: .78rem !important; color: #9fb3c8 !important; margin: 12px auto 0 !important; }
.ug-body { padding: 26px 0 50px; background: #fffdf8; }
.ug-card { background: #fff; border: 1px solid #eadfcd; border-radius: 18px; padding: 18px 18px 14px; margin: 0 0 18px; box-shadow: 0 4px 18px rgba(16,36,59,.05); scroll-margin-top: 90px; }
.ug-card h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.2rem; color: #10243B; margin: 0 0 10px; }
.ug-card h2 > span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #10243B; color: #F4C430; display: grid; place-items: center; font: 800 1rem Inter, sans-serif; }
.ug-card h2 small { color: #8a7f6e; font-weight: 600; font-size: .78rem; }
.ug-card p { color: #3a3226; line-height: 1.7; }
.ug-img { display: block; margin: 10px 0; border-radius: 12px; overflow: hidden; border: 1px solid #e8dccb; box-shadow: 0 6px 18px rgba(16,36,59,.08); background: #fff; }
.ug-img img { display: block; width: 100%; height: auto; }
.ug-mid { max-width: 460px; margin-left: auto; margin-right: auto; }
.ug-pts { list-style: none; padding: 0; margin: 8px 0 6px; display: grid; gap: 6px; }
.ug-pts li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; line-height: 1.55; color: #2f2a22; }
.ug-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #E11D48; color: #fff; display: grid; place-items: center; font: 800 .76rem Inter, sans-serif; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.2); margin-top: 1px; }
.ug-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ug-side .ug-narrow { margin: 0; }
.ug-side .ug-tall { max-height: 720px; overflow-y: auto; }
.ug-side .ug-wide { margin: 0; } .ug-side .ug-phone { margin: 0; max-width: 260px; justify-self: center; }
.ug-states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.ug-st { border-radius: 12px; padding: 10px 12px; border: 1px solid; font-size: .88rem; display: flex; flex-direction: column; gap: 4px; }
.ug-st .ug-img { margin: 0 0 4px; }
.ug-st.ok { background: #e9f6ee; border-color: #bfe0c9; } .ug-st.other { background: #fff8e0; border-color: #f0d27a; } .ug-st.self { background: #fdeeee; border-color: #f2b8b2; }
.ug-tip { background: #fff8ec; border-left: 4px solid #E0A100; padding: 8px 12px; border-radius: 8px; font-size: .9rem; }
.ug-h3 { font-size: 1rem; color: #10243B; margin: 18px 0 4px; } .ug-h3 small { color: #8a7f6e; font-weight: 600; }
.ug-rules ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.ug-rules li { line-height: 1.6; color: #2f2a22; }
.ug-cta-end { margin-top: 24px; }
@media (max-width: 760px) {
  .ug-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ug-side, .ug-states { grid-template-columns: 1fr; }
  .ug-card { padding: 14px 12px 10px; border-radius: 14px; }
  .ug-cta .btn { flex: 1 1 100%; justify-content: center; }
}
.ug-card h2 { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.ug-card h2 small { grid-column: 2; }

.uic-me.is-reg { background: linear-gradient(135deg, #eef4fb, #f6fbf7); border-color: #b9cde0; }
.uic-regdone .uic-next { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 14px; border-radius: 14px; background: #fff; color: #10243B; }
.uic-regdone .uic-next .uic-step-n { position: static; flex: none; background: #C44619; }
.uic-regdone .uic-next > div { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.uic-regdone .uic-next small { color: #7a6f5f; }
.uic-regdone .uic-next .btn { flex: none; }
.ug-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; margin: 8px auto; }
.ug-phones .ug-img { margin: 0; }
.ug-list { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 8px; }
.ug-list li { line-height: 1.6; color: #2f2a22; background: #fbf7ef; border-radius: 10px; padding: 8px 12px; }

/* ---------- ① register first → ② Swadeshi ID + mobile — contest form page (v4.06b: even boxes, opening form, phone) ---------- */
.uic-gate { display: flex; flex-direction: column; gap: 14px; }
.uic-gate-msg { margin: 0; }
.uic-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.uic-flow li { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fbf6ec; border: 1px solid #efe2cc; font-weight: 700; font-size: .84rem; line-height: 1.3; color: #3b3126; }
.uic-flow li b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #C44619; color: #fff; font: 800 .8rem/1 Inter, system-ui, sans-serif; }
.uic-flow li:nth-child(2) b { background: #10243B; } .uic-flow li:nth-child(3) b { background: #1E7A45; }
.uic-flow li small { display: block; font: 600 .7rem/1.3 Inter, system-ui, sans-serif; color: #9a7b55; }
.uic-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.uic-step { display: flex; flex-direction: column; min-width: 0; padding: 18px; border-radius: 18px; border: 1.5px solid #e6d6bd; background: #fffaf3; box-shadow: 0 6px 18px rgba(16,36,59,.05); }
.uic-step.st1 { border-color: #f0c9a8; background: linear-gradient(165deg, #fff6ec 0, #fff 60%); }
.uic-step.st2 { border-color: #b7c7d8; background: linear-gradient(165deg, #edf3fa 0, #fff 60%); scroll-margin-top: 96px; }
.uic-step-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed rgba(16,36,59,.14); }
.uic-step-h h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; color: #10243B; }
.uic-step-en { margin: 2px 0 0; color: #9a7b55; font: 600 .78rem/1.3 Inter, system-ui, sans-serif; }
.uic-step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1.15rem/1 Inter, system-ui, sans-serif; color: #fff; background: #C44619; box-shadow: 0 4px 10px rgba(196,70,25,.3); }
.uic-step.st2 .uic-step-n { background: #10243B; box-shadow: 0 4px 10px rgba(16,36,59,.3); }
.uic-step-b { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; }
.uic-step-b > p { margin: 0; color: #4b3f2e; font-size: .9rem; line-height: 1.6; }
.uic-pane, .uic-step-f { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.uic-gate.js .uic-pane.is-off { display: none; }
.uic-step-foot { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.uic-btn { width: 100%; min-height: 50px; justify-content: center; text-align: center; font-size: 1rem; border-radius: 12px; }
.uic-btn2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.uic-btn2 .uic-btn { font-size: .95rem; padding-left: 8px; padding-right: 8px; }
.uic-btn2 .btn-ghost { background: #fff; border: 1.5px solid #b7c7d8; color: #10243B; }
.uic-step-note { min-height: 22px; text-align: center; font-size: .82rem; line-height: 1.4; color: #8a7a62; }
.uic-pane-link { color: #7A4A22; font-weight: 700; text-decoration: none; border-bottom: 1px dashed currentColor; }
.uic-pane-link:hover { color: #C44619; }
.uic-pane-link small { font: 600 .74rem Inter, system-ui, sans-serif; color: #9a7b55; }
.uic-pane-t { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff8ec; border: 1px solid #f0d9b5; font-size: .86rem !important; line-height: 1.55; }
.uic-pane-t small { display: block; color: #9a7b55; font: 600 .74rem/1.4 Inter, system-ui, sans-serif; margin-top: 2px; }
.uic-need-h { margin: 2px 0 -2px !important; font-size: .78rem !important; font-weight: 800; color: #9a7b55 !important; text-transform: uppercase; letter-spacing: .02em; }
.uic-need { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.uic-need li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid #f1dcc6; font-size: .86rem; line-height: 1.4; color: #3b3126; }
.uic-need li i { flex: none; width: 26px; text-align: center; font-style: normal; font-size: 1.05rem; }
.uic-f { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: .86rem; color: #10243B; }
.uic-f small { color: #8a7a62; font-weight: 600; font-size: .76rem; }
.uic-f input[name=code], .uic-f input[name=idno] { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1.5px solid #c9d4e1; border-radius: 10px; background: #fff; font: 700 1.05rem/1.2 Inter, system-ui, sans-serif; color: #10243B; }
.uic-f input[name=code] { letter-spacing: .06em; text-transform: uppercase; }
.uic-f input[name=idno] { font-weight: 600; }
.uic-f input:focus { outline: none; border-color: #2B5D93; box-shadow: 0 0 0 3px rgba(43,93,147,.16); }
.uic-gate .tel-in input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px 10px 92px; border: 1.5px solid #c9d4e1; border-radius: 10px; background: #fff; font: 600 1.05rem/1.2 Inter, system-ui, sans-serif; letter-spacing: .03em; }
.uic-gate .tel-in input:focus { outline: none; border-color: #2B5D93; box-shadow: 0 0 0 3px rgba(43,93,147,.16); }
.uic-gate .tel-in .tel-cc { border-radius: 10px 0 0 10px; }
.uic-step .uic-gate-msg { font-size: .86rem; padding: 10px 12px; }
/* ① registration form: opens below when “Register” is pressed (always open without JavaScript) */
.uic-reg { margin-top: 4px; padding: 18px; border-radius: 18px; border: 1.5px solid #f0c9a8; background: #fff; box-shadow: 0 10px 28px rgba(196,70,25,.08); scroll-margin-top: 96px; }
.uic-gate.js:not(.reg-open) .uic-reg { display: none; }
.uic-gate.js.reg-open .uic-reg { animation: uicRegIn .35s ease both; }
@keyframes uicRegIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.uic-gate.reg-open .uic-step.st1 { border-color: #C44619; box-shadow: 0 0 0 3px rgba(196,70,25,.12); }
.uic-reg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.uic-reg-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.15rem; color: #10243B; flex-wrap: wrap; }
.uic-reg-h span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #C44619; color: #fff; font: 800 .95rem/1 Inter, system-ui, sans-serif; }
.uic-reg-h small { color: #9a7b55; font: 600 .82rem Inter, system-ui, sans-serif; }
.uic-reg-x { flex: none; font-weight: 700; font-size: .85rem; color: #7a6f5f; text-decoration: none; padding: 6px 10px; border-radius: 10px; border: 1px solid #e6d6bd; background: #fffaf3; }
.uic-reg-x small { font: 600 .72rem Inter, system-ui, sans-serif; }
.uic-gate:not(.js) .uic-reg-x { display: none; }
.uic-reg-sub { margin: 0 0 14px; color: #5b4a33; font-size: .88rem; line-height: 1.55; }
@media (max-width: 760px) {
  .uic-flow { gap: 6px; }
  .uic-flow li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px; font-size: .78rem; }
  .uic-steps { grid-template-columns: 1fr; gap: 12px; }
  .uic-step { padding: 14px; border-radius: 16px; }
  .uic-step-h { gap: 10px; padding-bottom: 10px; margin-bottom: 10px; }
  .uic-step-h h3 { font-size: 1.05rem; }
  .uic-step-n { width: 36px; height: 36px; font-size: 1.05rem; }
  .uic-need li { font-size: .84rem; padding: 7px 9px; }
  .uic-f input[name=code], .uic-f input[name=idno], .uic-gate .tel-in input { font-size: 16px; }   /* no zoom-in on iPhone */
  .uic-btn { min-height: 52px; }
  .uic-reg { padding: 14px 12px; border-radius: 16px; }
  .uic-reg-h { font-size: 1.05rem; }
}

.uic-hint { margin: 2px 0 0 !important; font-size: .8rem !important; line-height: 1.5 !important; color: #5b6570 !important; }
.uic-hint small { display: block; color: #8a96a3; font: 600 .72rem/1.4 Inter, system-ui, sans-serif; }
.uic-mtabs, .uic-mtabs-q { display: none; }
@media (max-width: 760px) {
  .uic-gate.js .uic-flow { display: none; }
  /* 🔑 v4.36: two big, clear choices — 🆕 new student (saffron) · 🔑 already registered (navy); the one not chosen still looks like a button */
  .uic-gate.js .uic-mtabs-q { display: block; margin: 0 0 6px; text-align: center; font-weight: 800; font-size: .92rem; color: #10243B; }
  .uic-gate.js .uic-mtabs-q small { display: block; font: 600 .72rem/1.3 Inter, system-ui, sans-serif; color: #8a7f6e; }
  .uic-gate.js .uic-mtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; background: none; }
  .uic-mtabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 66px; padding: 8px 8px; border-radius: 16px; font: inherit; font-weight: 800; font-size: .92rem; line-height: 1.2; text-align: left; cursor: pointer;
    background: #fff; transition: transform .15s, box-shadow .2s, background .2s; -webkit-tap-highlight-color: transparent; }
  .uic-mtabs button i { font-style: normal; font-size: 1.45rem; line-height: 1; flex: none; }
  .uic-mtabs button span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .uic-mtabs button small { font: 600 .68rem/1.25 Inter, 'Noto Sans Tamil', system-ui, sans-serif; opacity: .85; }
  .uic-mtabs button[data-uic-tab="1"] { border: 2px solid #C44619; color: #C44619; }
  .uic-mtabs button[data-uic-tab="2"] { border: 2px solid #10243B; color: #10243B; }
  .uic-mtabs button[data-uic-tab="1"][aria-selected=true] { background: linear-gradient(135deg, #C44619, #E8731F); color: #fff; box-shadow: 0 8px 18px rgba(196,70,25,.3); }
  .uic-mtabs button[data-uic-tab="2"][aria-selected=true] { background: linear-gradient(135deg, #10243B, #1d3a5c); color: #fff; box-shadow: 0 8px 18px rgba(16,36,59,.3); }
  .uic-mtabs button[aria-selected=true]::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg); background: inherit; border-radius: 3px; }
  .uic-mtabs button[data-uic-tab="2"][aria-selected=true]::after { background: #1a3352; }
  .uic-mtabs button[data-uic-tab="1"][aria-selected=true]::after { background: #d65a22; }
  .uic-mtabs button[aria-selected=false] { animation: uicTabHint 2.8s ease-in-out 1.2s 3; }
  .uic-mtabs button:active { transform: scale(.98); }
  .uic-gate.js.tab-1 .uic-step.st2, .uic-gate.js.tab-2 .uic-step.st1 { display: none; }
  .uic-gate.js.tab-2 .uic-reg { display: none; }
  .uic-hint small { display: none; }
}
.ug-phones3 { grid-template-columns: repeat(3, 1fr); max-width: 720px; } @media (max-width: 760px) { .ug-phones3 { grid-template-columns: 1fr 1fr; } }

/* 🪪 v4.13 — “only the college ID card” guide (above the ID-card upload) + correction request box */
.idg { margin: 2px 0 10px; padding: 10px 12px 12px; border-radius: 14px; background: #fffaf0; border: 1.5px dashed #e3b04b; }
.idg-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.idg-h b { color: #7a3d00; font-size: .95rem; }
.idg-h small { color: #5f5340; font-size: .82rem; line-height: 1.45; }
.idg img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.idg-cap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 560px; margin: 6px auto 0; text-align: center; font-weight: 800; font-size: .86rem; }
.idg-cap span { display: flex; flex-direction: column; line-height: 1.25; }
.idg-cap small { font-weight: 600; font-size: .74rem; color: #6b6355; }
.idg-cap .ok { color: #1F7A3A; } .idg-cap .no { color: #B3261E; }
.idg-c { padding: 8px 10px; } .idg-c .idg-h small { font-size: .78rem; }
.idg-prize { margin: 9px 0 0; padding: 7px 10px; border-radius: 10px; background: #eef8f0; color: #1d5a33; font-size: .8rem; font-weight: 600; line-height: 1.45; }
.uic-fix { grid-column: 1 / -1; margin: 0 0 16px; padding: 14px 16px 16px; border-radius: 16px; background: #fff5f3; border: 2px solid #e8a39a; box-shadow: 0 6px 18px rgba(179,38,30,.08); }
.uic-fix-h { display: flex; gap: 10px; align-items: flex-start; }
.uic-fix-h > span { font-size: 1.5rem; line-height: 1.1; }
.uic-fix-h b { display: block; color: #8f1d14; font-size: 1.02rem; }
.uic-fix-h small { display: block; color: #5c4a46; font-size: .84rem; line-height: 1.5; margin-top: 2px; }
.uic-fix-note { margin: 10px 0 4px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid #f1cfc9; color: #3d2b28; font-size: .9rem; line-height: 1.55; }
.uic-fix-f { display: grid; gap: 10px; margin-top: 10px; }
.uic-fix-f .fld { display: flex; flex-direction: column; gap: 4px; }
.uic-fix-f label { font-weight: 700; color: #10243B; font-size: .9rem; }
.uic-fix-f input[type=text], .uic-fix-f input[type=email], .uic-fix-f select { padding: 10px 12px; border: 1px solid #d8d2c6; border-radius: 10px; font: inherit; background: #fff; }
.uic-fix-f input[type=file] { padding: 10px; border: 1.5px dashed #c9b99a; border-radius: 10px; background: #fff; font: inherit; }
.uic-fix-f .help { color: #6b6355; font-size: .78rem; }
.uic-fix-f .btn { justify-self: start; }
.uic-fix-later { margin: 10px 0 0; color: #6b6355; font-size: .82rem; }
.uic-fix .alert { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; font-size: .88rem; }
.uic-fix .a-err { background: #fdecea; color: #8f1d14; border: 1px solid #f3b9b2; } .uic-fix .a-ok { background: #e9f6ee; color: #1b5e32; border: 1px solid #bfe0c9; }
.uic-fix-blocked { grid-column: 1 / -1; margin: 0 0 6px; padding: 10px 12px; border-radius: 12px; background: #f3efe7; color: #5c4f3d; font-size: .86rem; }
.uic-fix { min-width: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
.uic-fix-f { grid-template-columns: minmax(0, 1fr); }
.uic-fix-f > *, .uic-fix-f .fld > * { min-width: 0; max-width: 100%; }
.uic-fix-f input[type=file], .uic-fix-f input[type=text], .uic-fix-f input[type=email], .uic-fix-f select { width: 100%; box-sizing: border-box; }
.uic-fix .idg { box-sizing: border-box; max-width: 100%; }
@media (max-width: 640px) { .idg-cap { font-size: .78rem; } .idg-cap small { font-size: .68rem; } }

/* 🏫 v4.14 — college search box (registration) */
.ucol-wrap { position: relative; }
.ucol-list { position: absolute; z-index: 2000; max-height: 320px; overflow-y: auto; background: #fff; border: 1px solid #d9d5cc; border-radius: 12px; box-shadow: 0 14px 30px rgba(16,36,59,.18); padding: 4px; text-align: left; font-family: inherit; }
.ucol-list[hidden] { display: none; }
.ucol-head { font-size: .78rem; color: #5b6573; padding: 6px 10px 4px; }
.ucol-opt { display: grid; gap: 1px; padding: 9px 10px; border-radius: 9px; cursor: pointer; line-height: 1.35; }
.ucol-opt b { font-weight: 700; color: #10243B; font-size: .95rem; }
.ucol-opt small { color: #5b6573; font-size: .78rem; }
.ucol-opt:hover, .ucol-opt.on { background: #fff4dc; }
.ucol-opt.is-new { border-top: 1px dashed #e3dccb; margin-top: 4px; padding-top: 10px; }
.ucol-opt.is-new b { color: #1B5E32; }
input.ucol-ok { border-color: #2C6E49 !important; background: #f3faf5 !important; }
input.ucol-new { border-color: #C99A2E !important; }
input.ucol-bad { border-color: #b3261e !important; background: #fff5f4 !important; }
.ucol-msg { display: block; color: #b3261e; font-size: .78rem; margin-top: 2px; }
.ucol-hint { display: block; margin-top: 4px; font-size: .78rem; color: #5b6573; line-height: 1.45; }
/* 💬 WhatsApp welcome (registration thank-you page) */
.uic-wa-btn { background: #25D366 !important; color: #fff !important; border-color: #1ebe5a !important; font-weight: 800; }
.uic-wa-btn:hover { background: #1ebe5a !important; }
.uic-wa-note { margin: 8px 0 0; font-size: .86rem; color: #3d4652; text-align: center; }

/* 🆕 v4.33 — guide: 3 new questions + step 7 (earlier entries) */
.ug-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: 880px; }
.ug-steps .ug-new-step a { background: rgba(244,196,48,.2); box-shadow: inset 0 0 0 1.5px #F4C430; }
.ug-steps .ug-new-step b { background: #F4C430; color: #10243B; }
.ug-whatsnew { max-width: 720px !important; margin: 14px auto 0 !important; padding: 10px 14px; border-radius: 12px; background: rgba(244,196,48,.14); border: 1px solid rgba(244,196,48,.55); font-size: .9rem; text-align: left; }
.ug-whatsnew a { color: #FFD76A; }
.ug-new { margin: 16px 0 12px; padding: 4px 16px 12px; border: 2px dashed #F4C430; border-radius: 16px; background: #fffbef; scroll-margin-top: 90px; }
.ug-k { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 4px; border-radius: 50%; background: #C44619; color: #fff; font: 800 .8rem Inter, sans-serif; vertical-align: 1px; }
.ug-card-new { border: 2px solid #F4C430; box-shadow: 0 6px 22px rgba(244,196,48,.18); }
.ug-card-new h2 > span { background: #F4C430; color: #10243B; }
@media (max-width: 760px) {
  .ug-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ug-new { padding: 4px 10px 10px; }
}
.ug-steps { max-width: 940px; gap: 6px; }
.ug-steps a { font-size: .76rem; padding: 8px 3px; }
@media (max-width: 760px) {
  .ug-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ug-steps a { overflow-wrap: normal; font-size: .78rem; }
  .ug-steps .ug-new-step { grid-column: 1 / -1; }
  .ug-steps .ug-new-step a { flex-direction: row; justify-content: center; gap: 8px; }
}
/* 👷📅 v4.34 — guide: the two count boxes (phone picture + tip side by side) */
.ug-counts { align-items: center; }
.ug-counts .ug-tip { margin: 0; }

/* 🔑 v4.36: sign-in made easy to find + land on your own box after signing in */
@keyframes uicTabHint { 0%, 100% { transform: none; } 15% { transform: translateY(-3px); } 30% { transform: none; } }
.uic-to2 { display: block; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #eef3f9; border: 1.5px dashed #9fb3c9; color: #10243B; font-size: .86rem; line-height: 1.45; text-align: center; text-decoration: none; }
.uic-to2 b { color: #10243B; text-decoration: underline; text-underline-offset: 3px; }
.uic-to2 small { display: block; color: #6a7d93; font: 600 .72rem/1.3 Inter, system-ui, sans-serif; }
.uic-to2:hover { background: #e2ebf5; border-color: #10243B; }
@media (min-width: 761px) { .uic-to2 { display: none; } }   /* computers see both boxes side by side */
#uic-me, #uic-enter, #uic-gate { scroll-margin-top: 96px; }
.uic-me-ok { display: block; margin: 0 0 6px; padding: 8px 11px; border-radius: 10px; background: linear-gradient(135deg, #1e7a45, #2e8b4e); color: #fff !important; font-weight: 800; font-size: .9rem; line-height: 1.45; }
.uic-me-ok b { color: #F4C430 !important; }
.uic-me-ok small { display: block; color: #dff3e6 !important; font: 600 .74rem/1.3 Inter, system-ui, sans-serif !important; }
.uic-me.is-just { animation: uicJust 1.6s ease-out .3s 2; }
@keyframes uicJust { 0% { box-shadow: 0 0 0 0 rgba(46,139,78,.55); } 100% { box-shadow: 0 0 0 16px rgba(46,139,78,0); } }
@media (prefers-reduced-motion: reduce) { .uic-me.is-just, .uic-mtabs button { animation: none !important; } }
