/* CLIS shared sign-in page: same look as the portals */
:root {
  --bg: #f1ece6; --card: #ffffff; --ink: #1f2a2b; --mute: #7a7570; --line: #e6e0d8; --chip: #ece6de; --slate: #5e7470;
  --r-tx: #b3473a; --g-tx: #4e6b57;
  --f-serif: "Gloock", "Iowan Old Style", Georgia, serif;
  --f-sans: "Instrument Sans", "Noto Sans Gujarati", "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f-sans); -webkit-font-smoothing: antialiased; }
:lang(gu) body, body:lang(gu) { font-family: "Noto Sans Gujarati", var(--f-sans); }
:lang(hi) body, body:lang(hi) { font-family: "Noto Sans Devanagari", var(--f-sans); }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
.wrap { max-width: 440px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom)); display: grid; gap: 22px; align-content: start; min-height: 100vh; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; border-radius: 10px; background: var(--slate); display: grid; place-items: center; flex: none; }
.brand__mark i { width: 26px; aspect-ratio: 154.533 / 122.339; background: #fff; -webkit-mask: url("clis-mark.svg") center / contain no-repeat; mask: url("clis-mark.svg") center / contain no-repeat; }
.brand b { display: block; font-weight: 600; font-size: 18px; line-height: 1.1; }
.brand small { color: var(--mute); font-size: 13px; }
.langs { display: flex; gap: 4px; background: var(--chip); border-radius: 999px; padding: 3px; }
.langs button { padding: 6px 10px; border-radius: 999px; font-size: 13px; color: var(--mute); min-height: 32px; }
.langs button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; }
h1 { font: 400 34px/1.1 var(--f-serif); letter-spacing: -.01em; margin: 6px 0 0; }
:lang(gu) h1, :lang(hi) h1 { font-family: inherit; font-weight: 600; font-size: 28px; }
.muted { color: var(--mute); margin: 0; }
.small { font-size: 13px; }
form { display: grid; gap: 14px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.input { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; min-height: 52px; }
.input:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 14px 0; font-size: 16px; }
.input svg { width: 18px; height: 18px; color: var(--mute); flex: none; }
.link { color: var(--slate); font-weight: 600; font-size: 14px; text-decoration: none; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.btn:disabled { opacity: .6; }
.btn--light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.error { color: var(--r-tx); font-size: 14px; margin: 0; }
.note { display: flex; gap: 8px; justify-content: center; text-align: center; color: var(--mute); font-size: 13px; margin: 0; }
.choices { display: grid; gap: 12px; }
.choice { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--card); border-radius: 18px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; }
.choice__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--chip); display: grid; place-items: center; flex: none; }
.choice__ic svg { width: 22px; height: 22px; }
.choice > svg { width: 20px; height: 20px; color: var(--mute); flex: none; }
.choice b { display: block; font-weight: 600; }
.choice span { color: var(--mute); font-size: 14px; }
.spinner { width: 28px; height: 28px; margin: 40vh auto 0; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
