/* ==========================================================================
   Shikhar Alumni — auth pages & alumni panel extras (tokens from shikhar.css; components from alumni.css)
   ========================================================================== */

/* ---------- Auth pages ---------- */
.auth-wrap.wide { max-width: 1240px; grid-template-columns: .68fr 1.32fr; }
.auth-side a { color: #7fcdf5; font-weight: 700; }
.auth-side a:hover { color: #fff; }
.auth-side p + p { margin-top: 12px; }
.auth-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.auth-form .form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.auth-form .form-actions .hint { margin-right: auto; }
.auth-form .form-actions .hint[hidden] { display: none; }
.field-stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.field-stack .otp-box { padding: 12px 14px; }
.otp-box .btn-link { margin-left: 8px; font-size: 13px; }
.otp-box .btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.otp-box .otp-status a { font-weight: 700; color: var(--blue-d); margin-left: 4px; }

/* ---------- Panel: side navigation ---------- */
.panel-nav a.is-locked { color: var(--muted); }
.panel-nav a.is-locked .i { color: var(--muted); }
.panel-nav a.is-locked.is-active { color: #fff; }
.panel-nav form { margin: 0; }
.panel-user .status { margin-top: 6px; }
.panel-main .alert { margin-bottom: 20px; }
.mt-12 { margin-top: 12px; }

/* ---------- Tabs (mentorship, contact requests) ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 100%; margin-bottom: 20px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.tab:hover { background: var(--paper); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab .count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; text-align: center; }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Dashboard ---------- */
.progress { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: var(--success); transition: width .3s ease; }
.checklist { list-style: none; display: grid; gap: 8px; margin: 16px 0 0; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.checklist .ic { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed var(--line-2); background: var(--paper-2); color: var(--muted); }
.checklist .ic .i { width: 14px; height: 14px; }
.checklist li.is-done .ic { border: 0; background: #e7f6ee; color: var(--success); }
.checklist li.is-done span { color: var(--muted); text-decoration: line-through; }
.checklist a { font-weight: 600; color: var(--ink); }
.checklist a:hover { color: var(--blue-d); }
.event-line { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line-2); }
.event-line:first-of-type { border-top: 0; padding-top: 0; }
.event-line:last-child { padding-bottom: 0; }
.event-line-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.event-line-body a { color: var(--ink); }
.event-line-body a:hover { color: var(--blue-d); }
.date-chip { width: 52px; flex: none; padding: 7px 0; border-radius: 12px; background: var(--orange-l); color: var(--orange-d); text-align: center; line-height: 1; }
.date-chip small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.date-chip b { display: block; margin-top: 3px; font-family: var(--display); font-size: 1.3rem; font-weight: 700; }

/* ---------- Profile edit ---------- */
.photo-pick-forms { display: grid; gap: 12px; min-width: 0; }
.photo-form { display: grid; gap: 8px; }
.photo-form .label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.actions-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.form-grid p.hint { margin: -6px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.form-grid p.hint .i { flex: none; margin-top: 2px; color: var(--orange); }
.lock-note a { font-weight: 700; color: var(--blue-d); }

/* ---------- Request cards ---------- */
.req-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.req-head a { color: var(--ink); }
.req-head a:hover { color: var(--blue-d); }
.req-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; background: var(--paper); font-size: 14.5px; color: var(--text); }
.respond-form { display: grid; gap: 8px; justify-items: end; max-width: 320px; }
.respond-form .hint { font-size: 12.5px; color: var(--muted); text-align: right; }
.reply-box { width: 100%; }
.reply-box summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--blue-d); list-style: none; text-align: right; }
.reply-box summary::-webkit-details-marker { display: none; }
.reply-box[open] summary { margin-bottom: 8px; }
.reply-box .textarea { width: 100%; min-height: 84px; font-size: 14px; }

/* ---------- Tables ---------- */
.table .cell-user small.error-text { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .auth-wrap.wide { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .photo-pick { flex-direction: column; align-items: flex-start; }
    .respond-form { max-width: none; width: 100%; justify-items: stretch; }
    .reply-box summary, .respond-form .hint { text-align: left; }
    .event-line { flex-wrap: wrap; }
    .tabs { display: flex; }
    .tab { flex: 1; justify-content: center; }
}
