.student-login-page { background: #f4f6fa; min-height: 100vh; min-height: 100dvh; }
.student-login-page *, .student-login-page *::before, .student-login-page *::after { box-sizing: border-box; }
.student-login-topbar { max-width: 1120px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.student-home-link { color: #334155; text-decoration: none; font-size: .9rem; font-weight: 700; padding: 8px 0; }
.student-language-form { display: flex; gap: 10px; align-items: center; margin: 0; }
.student-language-form label { font-size: .85rem; color: #475569; }
.student-language-form select { min-height: 44px; max-width: 150px; font-family: inherit; }
.student-login-shell { max-width: 1050px; margin: 18px auto 64px; padding: 0 24px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
.student-login-intro { background: #12233f; color: #fff; padding: 40px 32px; border-radius: 16px 0 0 16px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
[dir="rtl"] .student-login-intro { border-radius: 0 16px 16px 0; }
.student-login-brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 14px; margin-bottom: 40px; font-family: Inter, sans-serif; letter-spacing: .06em; font-weight: 800; font-size: .82rem; }
.student-login-brand img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 12px; padding: 5px; }
.student-login-intro h2 { margin: 0 0 14px; color: #fff; font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.5; font-weight: 800; }
.student-login-intro p { color: #d6e1f0; font-size: 1rem; line-height: 1.9; margin: 0; }
.student-login-intro ul { list-style: none; padding: 0; margin: 28px 0 0; }
.student-login-intro li { padding: 13px 0; display: flex; align-items: center; gap: 12px; color: #fff; font-size: .94rem; line-height: 1.6; }
.student-login-intro li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: #284467; color: #bde5ff; }
.student-login-card.auth-card { border-radius: 0 16px 16px 0; border-top: 4px solid #c40022; padding: 36px; min-width: 0; box-shadow: 0 12px 38px rgba(18,35,63,.07); }
[dir="rtl"] .student-login-card.auth-card { border-radius: 16px 0 0 16px; }
.student-login-eyebrow { color: #c40022; font-size: .74rem; font-weight: 800; letter-spacing: .12em; font-family: Inter, sans-serif; }
.student-login-heading { margin-bottom: 24px; }
.student-login-heading h1 { margin: 7px 0 10px; font-size: 1.85rem; color: #0f172a; font-weight: 800; line-height: 1.5; }
.student-login-heading p { margin: 0; color: #475569; line-height: 1.8; font-size: .95rem; }
.student-login-card .form-group label { font-size: .92rem; color: #1e293b; }
.student-login-card .form-control { min-height: 50px; border-radius: 8px; font-size: 16px; }
.student-field-hint { margin: 8px 0 0; color: #64748b; font-size: .8rem; line-height: 1.7; }
.student-password-label { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 7px; }
.student-password-label label { margin: 0; }
.student-password-label a { color: #ac001e; font-weight: 700; font-size: .82rem; text-decoration: none; }
.student-password-input { display: flex; align-items: stretch; gap: 8px; }
.student-password-input input { flex: 1 1 auto; min-width: 0; }
.student-password-input button { flex: 0 0 auto; padding: 8px 12px; min-height: 50px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; color: #334155; font-family: inherit; font-weight: 700; cursor: pointer; }
.student-login-card .btn-primary { min-height: 50px; border-radius: 8px; margin-top: 22px; line-height: 1.6; }
.student-login-privacy { text-align: center; color: #64748b; font-size: .78rem; margin: 10px 0 20px; line-height: 1.7; }
.student-login-help { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 13px; text-align: center; margin-top: 18px; }
.student-login-help p { margin: 0 0 5px; color: #475569; font-size: .85rem; }
.student-login-help a { color: #ac001e; font-weight: 700; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.student-login-other-portals { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; }
.student-login-other-portals a { color: #475569; font-weight: 600; font-size: .8rem; padding: 8px 0; text-decoration: none; }
.student-login-card .auth-footer { margin-top: 14px; padding-top: 17px; font-size: .85rem; line-height: 1.8; }
.student-login-page :focus-visible { outline: 3px solid #2361aa; outline-offset: 3px; }
.student-login-page .form-control:focus-visible { outline-offset: 1px; }
.student-login-page a:hover { text-decoration: underline; text-underline-offset: 3px; }
.student-login-page [hidden] { display: none !important; }
.student-login-page .alert { display: block; overflow-wrap: anywhere; border-radius: 8px; }
@media (max-width: 760px) {
    .student-login-topbar { padding: 14px 16px; }
    .student-language-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .student-login-shell { display: flex; flex-direction: column; gap: 16px; max-width: 560px; padding: 0 14px; margin: 6px auto 28px; }
    .student-login-intro { padding: 16px 20px; border-radius: 12px !important; }
    .student-login-brand { margin: 0; justify-content: center; font-size: .8rem; }
    .student-login-brand img { width: 52px; height: 52px; border-radius: 8px; }
    .student-login-intro h2, .student-login-intro p, .student-login-intro ul { display: none; }
    .student-login-card.auth-card { border-radius: 12px !important; padding: 24px 20px; }
    .student-login-heading h1 { font-size: 1.65rem; }
    .student-login-heading p { font-size: .9rem; }
    .student-login-other-portals a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 360px) {
    .student-login-card.auth-card { padding: 22px 16px; }
    .student-password-input { gap: 6px; }
    .student-password-input button { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .student-login-page * { transition: none !important; }
}
