
        :root {
            --primary: #123c73;
            --primary-light: #1f5da8;
            --secondary: #0e2d57;
            --accent: #4ea1ff;
            --soft-bg: #f3f7fc;
            --text-dark: #1b2430;
            --text-muted: #6b7280;
            --border-soft: #dbe3ee;
            --white: #ffffff;
            --danger: #dc3545;
            --success: #198754;
            --shadow-main: 0 30px 80px rgba(18, 60, 115, 0.18);
            --radius-xl: 28px;
            --radius-lg: 20px;
            --radius-md: 14px;
        }

        * {
            box-sizing: border-box;
        }

        body {
            min-height: 100vh;
            margin: 0;
            font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
            background:
                radial-gradient(circle at top left, rgba(31, 93, 168, 0.18), transparent 30%),
                radial-gradient(circle at bottom right, rgba(78, 161, 255, 0.14), transparent 28%),
                linear-gradient(135deg, #edf4fb 0%, #f8fbff 100%);
            color: var(--text-dark);
            overflow-x: hidden;
        }

        .page-wrapper {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 32px 18px;
        }

        .login-shell {
            width: 100%;
            max-width: 1120px;
            border-radius: var(--radius-xl);
            overflow: hidden;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-main);
            border: 1px solid rgba(255, 255, 255, 0.55);
        }

        .left-side {
            position: relative;
            background: linear-gradient(145deg, var(--secondary) 0%, var(--primary) 50%, var(--primary-light) 100%);
            color: var(--white);
            padding: 50px 42px;
            min-height: 100%;
            overflow: hidden;
        }

        .left-side::before,
        .left-side::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
        }

        .left-side::before {
            width: 240px;
            height: 240px;
            top: -80px;
            right: -70px;
        }

        .left-side::after {
            width: 180px;
            height: 180px;
            bottom: -60px;
            left: -50px;
        }

        .school-badge {
            position: relative;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.13);
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 28px;
        }

        .left-title {
            position: relative;
            z-index: 2;
            font-size: 2.15rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 18px;
        }

        .left-text {
            position: relative;
            z-index: 2;
            font-size: 1rem;
            line-height: 1.8;
            opacity: 0.95;
            margin-bottom: 34px;
        }

        .info-box {
            position: relative;
            z-index: 2;
            display: flex;
            gap: 14px;
            margin-bottom: 18px;
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.10);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .info-box i {
            font-size: 1.2rem;
            min-width: 22px;
            margin-top: 2px;
        }

        .info-box strong {
            display: block;
            font-size: 0.98rem;
            margin-bottom: 3px;
        }

        .info-box span {
            font-size: 0.90rem;
            opacity: 0.9;
        }

        .right-side {
            padding: 46px 42px;
            background: rgba(255, 255, 255, 0.96);
        }

        .logo-wrap {
            text-align: center;
            margin-bottom: 10px;
        }

        .logo-wrap img {
            width: 110px;
            height: 110px;
            object-fit: contain;
            border-radius: 18px;
            background: #fff;
            padding: 8px;
            box-shadow: 0 10px 25px rgba(18, 60, 115, 0.10);
        }

        .login-title {
            text-align: center;
            font-size: 1.85rem;
            font-weight: 800;
            margin-bottom: 8px;
            color: var(--text-dark);
        }

        .login-subtitle {
            text-align: center;
            color: var(--text-muted);
            margin-bottom: 28px;
            font-size: 0.96rem;
        }

        .alert {
            border: none;
            border-radius: 14px;
            font-size: 0.94rem;
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
        }

        .form-label {
            font-weight: 700;
            color: #334155;
            margin-bottom: 8px;
        }

        .field-wrap {
            position: relative;
        }

        .field-icon {
            position: absolute;
            top: 50%;
            left: 16px;
            transform: translateY(-50%);
            z-index: 3;
            color: #94a3b8;
            font-size: 1rem;
        }

        .form-control,
        .form-select {
            height: 54px;
            border-radius: 15px;
            border: 1px solid var(--border-soft);
            background: #fbfdff;
            padding-left: 46px;
            font-size: 0.97rem;
            transition: all 0.25s ease;
            box-shadow: none;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: rgba(31, 93, 168, 0.45);
            box-shadow: 0 0 0 0.22rem rgba(31, 93, 168, 0.12);
            background: #ffffff;
        }

        .password-toggle {
            position: absolute;
            top: 50%;
            right: 12px;
            transform: translateY(-50%);
            border: none;
            background: transparent;
            color: #64748b;
            font-size: 1.15rem;
            z-index: 4;
            padding: 6px 8px;
            cursor: pointer;
        }

        .password-toggle:hover {
            color: var(--primary);
        }

        .remember-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 24px;
        }

        .form-check-input:checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }

        .link-primary-custom {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }

        .link-primary-custom:hover {
            text-decoration: underline;
        }

        .btn-login {
            height: 54px;
            border: none;
            border-radius: 15px;
            font-weight: 700;
            font-size: 1rem;
            color: var(--white);
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            box-shadow: 0 15px 30px rgba(31, 93, 168, 0.25);
            transition: all 0.25s ease;
        }

        .btn-login:hover,
        .btn-login:focus {
            color: var(--white);
            transform: translateY(-1px);
            box-shadow: 0 18px 35px rgba(31, 93, 168, 0.30);
        }

        .bottom-links {
            text-align: center;
            margin-top: 22px;
            font-size: 0.95rem;
        }

        .bottom-links a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }

        .bottom-links a:hover {
            text-decoration: underline;
        }

        .copyright {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.88rem;
            margin-top: 22px;
        }

        @media (max-width: 991.98px) {
            .left-side,
            .right-side {
                padding: 34px 24px;
            }

            .left-title {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 767.98px) {
            .left-side {
                display: none;
            }

            .right-side {
                padding: 32px 20px;
            }

            .login-title {
                font-size: 1.55rem;
            }

            .logo-wrap img {
                width: 95px;
                height: 95px;
            }
        }
