* { box-sizing: border-box; }
        html { min-height: 100%; background: #1e3764; background: linear-gradient(180deg, #1e3764 0%, #192335 100%); }
        body { margin: 0; background: transparent; color: #3f3f3f; font-family: Arial, sans-serif; }
        .student-login-page {
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 36px 20px;
        }
        .student-login-card {
            width: 460px;
            max-width: 100%;
            position: relative;
            isolation: isolate;
            border-radius: 8px;
            background: #fff;
            padding: 56px 0 34px;
            box-shadow: 0 2px 11px -2px rgb(0 0 0 / 50%);
        }
        .student-login-card::before {
            content: "";
            position: absolute;
            z-index: -1;
            left: 8px;
            right: 8px;
            top: -9px;
            height: 9px;
            border-radius: 8px 8px 0 0;
            background: rgb(255 255 255 / 65%);
        }
        .student-login-card h1 {
            margin: 0 0 48px;
            border-left: 6px solid #1b84ff;
            padding: 0 44px;
            color: #1b84ff;
            font-size: 30px;
            line-height: 45px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        .student-login-form { padding: 0 50px; }
        .login-field { position: relative; margin-bottom: 38px; padding-top: 8px; }
        .login-field input {
            display: block;
            width: 100%;
            height: 52px;
            padding: 8px 0;
            border: 0;
            border-bottom: 2px solid #e1e1e1;
            border-radius: 0;
            outline: none;
            background: transparent;
            color: #3f3f3f;
            font: 24px Arial, sans-serif;
            transition: border-color .25s ease;
        }
        .login-field label {
            position: absolute;
            top: 20px;
            left: 0;
            color: #3f3f3f;
            font-size: 24px;
            pointer-events: none;
            transform-origin: left top;
            transition: transform .25s ease, color .25s ease;
        }
        .login-field input:focus { border-bottom-color: #1b84ff; }
        .login-field input:focus + label,
        .login-field input:not(:placeholder-shown) + label,
        .login-field input:-webkit-autofill + label {
            transform: translateY(-25px) scale(.7);
            color: #264871;
        }
        .login-field input[aria-invalid="true"] { border-color: #c51d45; }
        .field-error { display: block; margin-top: 8px; color: #b91c3f; font-size: 13px; line-height: 1.5; }
        .field-error[hidden] { display: none; }
        .login-remember { display: flex; align-items: center; gap: 8px; margin: -10px 0 28px; font-size: 14px; color: #757575; }
        .login-remember input { width: 16px; height: 16px; margin: 0; accent-color: #1b84ff; }
        .login-submit {
            display: block;
            width: 240px;
            max-width: 100%;
            min-height: 72px;
            margin: 0 auto 34px;
            border: 3px solid #ddd;
            background: #fff;
            color: #777;
            font: bold 24px Arial, sans-serif;
            cursor: pointer;
            transition: background .2s ease, border-color .2s ease, color .2s ease;
        }
        .login-submit:hover, .login-submit:focus-visible { border-color: #1b84ff; color: #1b84ff; }
        .login-submit:active { background: #1b84ff; color: #fff; }
        a { color: #1b84ff; text-decoration: none; }
        a:hover { text-decoration: underline; }
        a:focus-visible, .login-remember input:focus-visible { outline: 2px solid #1b84ff; outline-offset: 4px; }
        .login-forgot { margin: 0 0 24px; text-align: center; font-size: 19px; }
        .login-forgot a { color: #929292; }
        .login-signup { margin: 0; text-align: center; color: #757575; font-size: 14px; line-height: 1.7; }
        .login-signup a { font-weight: bold; white-space: nowrap; }
        .login-note { margin: 22px 0 0; color: #888; font-size: 12px; line-height: 1.6; text-align: center; }
        .login-message { margin-bottom: 26px; padding: 12px; border-radius: 4px; background: #fff0f3; color: #a61b3c; font-size: 14px; line-height: 1.5; }
        .login-message.success { background: #e9f7f2; color: #16694e; }
        @media (max-width: 480px) {
            .student-login-page { padding: 30px 16px; }
            .student-login-card { padding-top: 38px; }
            .student-login-card h1 { padding: 0 26px; font-size: 25px; margin-bottom: 38px; }
            .student-login-form { padding: 0 32px; }
            .login-field input, .login-field label { font-size: 20px; }
            .login-submit { min-height: 60px; }
            .login-forgot { font-size: 17px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .login-field input, .login-field label, .login-submit { transition: none; }
        }
