/* The screens before he is a student (student/auth.js): welcome, login, forgotten password, «طلبي» and the interview
   result. Cards, fields, the timeline, the done mark and the welcome steps come from apply.css; these are the extras.
   The sign-in follows the navy canvas's student-login board: a navy brand card, the form, the way in under it. */
.au-welcome .how li { min-height: 58px; }

/* login: the brand card */
.au-hero { position: relative; overflow: hidden; margin-top: 4px; padding: 26px 22px 24px; border-radius: var(--radius-xl); color: var(--on-accent);
  background: radial-gradient(320px 200px at 12% 0%, rgba(233, 211, 160, .14), transparent 65%), var(--grad); box-shadow: var(--shadow-deep); }
.au-hero .logo { position: relative; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 26px -12px rgba(0, 0, 0, .55); }
.au-hero-dots { position: absolute; bottom: 18px; left: 18px; width: 46px; height: 30px; opacity: .28; pointer-events: none;
  background-image: radial-gradient(#FFFFFF 1.3px, transparent 1.6px); background-size: 8px 8px; }
.au-hero-word { position: relative; margin: 14px 0 0; display: flex; align-items: center; gap: 10px; font-size: 34px; font-weight: 800; line-height: 1.1; }
.au-hero-word .chip { background: rgba(255, 255, 255, .14); color: var(--on-accent); }
.au-hero-tag { position: relative; margin: 8px 0 0; font-size: 15.5px; color: rgba(255, 255, 255, .82); }
.sapp .au-hero + .title { margin-top: 22px; }
/* the form */
.au-form { gap: 18px; padding: 20px 18px; }
.au-number { font-size: 22px !important; font-weight: 700; letter-spacing: .32em; }
.au-hint { display: flex; align-items: center; gap: 6px; }
.au-hint svg { flex: none; color: var(--ink-3); }
.au-enter { height: 52px; }
.au-enter svg { flex: none; }
.au-forgot { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; }
.au-aside { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 2px 4px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.au-aside svg { flex: none; margin-top: 3px; color: var(--brand); }
.au-aside b { color: var(--ink); }
.au-invite { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-card); background: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-edge); }
.au-invite .ico-circle { width: 38px; height: 38px; background: var(--surface); color: var(--gold-ink); }
.au-invite p { margin: 0; }
.au-invite b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.au-invite span:not(.ico-circle) { display: block; margin-top: 2px; font-size: var(--text-md); line-height: 1.6; color: var(--ink-2); }
.au-foot-hint { margin: 0; text-align: center; font-size: var(--text-sm); color: var(--ink-2); }

/* a centred outcome: the reset link sent, the interview result */
.au-done h2 { margin: 6px 0 0; font-size: var(--text-2xl); font-weight: 800; line-height: 1.4; }
.au-done .lead { max-width: 34ch; }
.au-done .muted-line { max-width: 36ch; }
.au-big { margin: 4px 0 0; font-size: var(--text-lg); font-weight: 500; line-height: 1.6; }
.au-big bdi { font-weight: 700; color: var(--brand); }
.done-mark.au-amber { background: var(--amber-bg); color: var(--amber); box-shadow: 0 0 0 8px rgba(251, 241, 222, .5); }
.done-mark.au-neutral { background: var(--neutral-bg); color: var(--neutral); box-shadow: 0 0 0 8px rgba(235, 238, 245, .5); }

/* the timeline step the sheikh sent back */
.timeline li.au-again .mark { background: var(--amber-bg); border-color: var(--amber); color: var(--amber); }
.timeline li.au-again b { color: var(--amber); }

/* the interview time and the open times to ask for */
.au-when { display: flex; align-items: center; gap: 12px; }
.au-when-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.au-when > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.au-when b { font-size: var(--text-input); font-weight: 700; }
.au-when small { font-size: var(--text-md); color: var(--ink-2); }
.au-times { display: flex; flex-direction: column; gap: 8px; }
.au-time { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; border: 0; border-radius: 14px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); text-align: start; }
@media (hover: hover) and (pointer: fine) { .au-time:hover { box-shadow: inset 0 0 0 1.5px var(--navy-2); } }
.au-time b { font-size: var(--text-base); font-weight: 500; }
.au-time span { flex: none; font-size: var(--text-base); font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }

/* the sheikh's words */
.au-note { background: #FCF8EF; box-shadow: inset 0 0 0 1px var(--gold-edge); }   /* a warm card, set apart without a side stripe */
.au-bullets { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 6px; font-size: var(--text-base); }
.au-rule { margin: 0; font-size: var(--text-base); color: var(--ink-2); }
.au-mistakes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.au-mistakes li { display: flex; flex-direction: column; gap: 2px; padding: 10px 6px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); text-align: center; line-height: 1.4; }
.au-mistakes b { font-size: var(--text-md); font-weight: 700; }
.au-mistakes span { font-size: var(--text-sm); }
.au-mistakes li.au-stop { background: var(--danger-bg); color: var(--danger); }

/* trial only: what the sheikh decides, simulated */
.au-trial { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; border: 1px dashed var(--amber); }
.au-trial-tag { align-self: flex-start; font-size: var(--text-sm); font-weight: 700; }
.au-trial .btn { height: 44px; font-size: var(--text-base); background: var(--surface); }

.au-room { display: flex; flex-direction: column; gap: 8px; }
.au-trial-link { align-self: center; color: var(--amber); font-size: var(--text-md); font-weight: 700; }

/* no interview time yet: the sheikh sets it (or he is on the waiting list) */
.au-when-ico.au-wait { background: var(--amber-bg); color: var(--amber); }
.au-when small.au-place { font-weight: 700; color: var(--amber); }
