/* LUB Shakthi — the two pages somebody sees before they are anybody.
 *
 * Signing in, and claiming a membership that came out of the chapter
 * register. Shared, because they are the same room with a different errand
 * in it — and because the sign-in page's styles used to live inline, which
 * meant the activation page either duplicated forty lines of them or looked
 * like a different application.
 */

body.auth-body { background: var(--shell); }

.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }

/* ── the left half: who this is ──────────────────────────────────────── */

.auth-art {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(150deg, #2A2F3D 0%, #1A1D27 55%);
    display: flex; flex-direction: column; justify-content: space-between; padding: 44px;
}
.auth-art .mark { display: flex; align-items: center; gap: 13px; color: #fff; }
.auth-art .mark .box {
    width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    font-weight: 800; font-size: 15px; box-shadow: 0 6px 18px rgba(249,115,22,.4);
}
.auth-art .mark strong { font-size: 20px; font-weight: 800; display: block; line-height: 1.15; }
.auth-art .mark small { font-size: 12px; color: rgba(255,255,255,.55); }

.auth-art h2 {
    font-size: 30px; font-weight: 800; letter-spacing: -.025em;
    margin: 0 0 12px; max-width: 15ch;
}
.auth-art p { color: rgba(255,255,255,.6); max-width: 40ch; margin: 0; font-size: 14.5px; }
.auth-art .pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.auth-art .pills span {
    font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 999px;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
}
.auth-art .glow {
    position: absolute; width: 460px; height: 460px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(249,115,22,.28), transparent 68%);
    right: -150px; top: -120px;
}
.auth-art .skyline { position: absolute; right: 0; bottom: 0; width: 88%; opacity: .16; pointer-events: none; }

/* ── the right half: the errand ──────────────────────────────────────── */

.auth-form { background: var(--bg); display: grid; place-items: center; padding: 40px 24px; }
.auth-card {
    width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 34px 32px; box-shadow: var(--shadow-2);
}
.auth-card h1 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.auth-card .lede { color: var(--ink-3); font-size: 13.5px; margin: 0 0 24px; line-height: 1.55; }

.remember { display: flex; align-items: center; gap: 9px; margin: 4px 0 20px; font-size: 13.5px; }
.remember input { width: 17px; height: 17px; min-height: 0; accent-color: var(--brand); }
.full { width: 100%; }
.foot { text-align: center; color: var(--ink-3); font-size: 12.5px; margin-top: 20px; }
.foot a { color: var(--brand-deep); font-weight: 600; }

/* ── claiming a membership ───────────────────────────────────────────── */

/* Three screens for one errand, so each says where it is in it. */
.steps {
    display: flex; align-items: center; gap: 6px;
    list-style: none; margin: 0 0 22px; padding: 0;
}
.steps li {
    display: flex; align-items: center; gap: 6px; flex: 1;
    font-size: 11px; color: var(--ink-3);
}
.steps .n {
    width: 22px; height: 22px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
    background: var(--bg); border: 1px solid var(--line-2);
    font-size: 11px; font-weight: 700;
}
.steps .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps .is-on { color: var(--ink); font-weight: 650; }
.steps .is-on .n { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps .is-done .n { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-deep); }

/* The code itself: wide, spaced and monospaced, because it is read off a
   phone one digit at a time. */
.otp-input {
    font-size: 24px; letter-spacing: .34em; text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    padding: 12px 0;
}

.resend { margin: 12px 0 0; text-align: center; }
.resend button {
    background: 0; border: 0; padding: 0; cursor: pointer; font-family: inherit;
    font-size: 12.5px; font-weight: 600; color: var(--brand-deep);
}
.resend button:hover { text-decoration: underline; }

/* What the application already knows about them, shown before it asks for
   anything — the membership number is the proof that this is their record
   and not a form for a stranger. */
.whoami {
    border: 1px solid var(--brand-200); background: var(--brand-50);
    border-radius: var(--r-lg); padding: 13px 14px; margin-bottom: 20px;
}
.whoami-head {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 700; color: var(--brand-deep);
    margin-bottom: 9px;
}
.whoami-head .material-symbols-outlined { font-size: 18px; }
.whoami-row {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 0; border-top: 1px solid var(--brand-200);
}
.whoami-row .grow { min-width: 0; }
.whoami-row strong { display: block; font-size: 13px; line-height: 1.3; }
.whoami-row small { display: block; font-size: 11px; color: var(--ink-3); }
.whoami-note { margin: 8px 0 0; font-size: 11.5px; color: var(--brand-deep); }

/* .memno lives in lub.css: it appears on the directory, the profile and
   the membership card as well as here. */


@media (max-width: 940px) {
    .auth { grid-template-columns: 1fr; }
    .auth-art { display: none; }
}
