        :root {
            --primary: #2563eb;
            --primary-bg: #eff6ff;
            --text-main: #0f172a;
            --text-sub: #64748b;
            --font-head: 'Tajawal', sans-serif;
            --font-body: 'Alexandria', sans-serif;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-main);
            background-color: #ffffff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            position: relative;
        }

        h1, h2, h3 { font-family: var(--font-head); }

        /* Animated Background */
        .bg-blobs {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
        }
        .blob {
            position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
            animation: float 20s infinite ease-in-out alternate;
        }
        .blob-1 { top: -10%; right: -10%; width: 500px; height: 500px; background: rgba(37, 99, 235, 0.1); }
        .blob-2 { bottom: -10%; left: -10%; width: 400px; height: 400px; background: rgba(217, 119, 6, 0.08); animation-delay: -5s; }
        @keyframes float { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 60px); } }

        /* Navbar */
        .navbar-clean {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #f1f5f9;
            padding: 15px 0;
        }

        /* Layout */
        .login-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }

        /* Login Card */
        .login-card {
            background: white;
            border-radius: 24px;
            border: 1px solid #f1f5f9;
            box-shadow: 0 20px 50px -10px rgba(0,0,0,0.05);
            width: 100%;
            max-width: 420px;
            padding: 40px 30px;
            position: relative;
            overflow: hidden;
        }

        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .icon-wrapper {
            width: 70px; height: 70px;
            background: var(--primary-bg);
            color: var(--primary);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 20px;
            font-size: 1.8rem;
        }

        /* Form Controls */
        .form-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 8px;
        }
        
        .input-group-text {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-left: none;
            border-radius: 0 12px 12px 0;
            color: var(--text-sub);
        }
        
        .form-control {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-right: none;
            border-radius: 12px 0 0 12px;
            padding: 12px 15px;
            font-size: 0.95rem;
            transition: 0.3s;
        }
        
        .input-group:focus-within .form-control,
        .input-group:focus-within .input-group-text {
            border-color: var(--primary);
            background: white;
        }
        
        .input-group:focus-within {
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
            border-radius: 12px;
        }

        .btn-login {
            background: var(--primary);
            color: white;
            border: none;
            padding: 14px;
            border-radius: 50px;
            font-weight: 700;
            width: 100%;
            transition: 0.3s;
            margin-top: 10px;
        }
        
        .btn-login:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
        }

        .footer-links {
            text-align: center;
            margin-top: 25px;
            font-size: 0.9rem;
        }
        .footer-links a {
            color: var(--text-sub);
            text-decoration: none;
            transition: 0.2s;
        }
        .footer-links a:hover {
            color: var(--primary);
        }

        .alert-error {
            background: #fef2f2;
            border: 1px solid #fee2e2;
            color: #b91c1c;
            font-size: 0.9rem;
            border-radius: 12px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 20px;
            font-size: 0.85rem;
            color: var(--text-sub);
        }

        body.student-login-page > footer:not(.public-shell-footer) {
            display: none;
        }

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

            .navbar-clean {
                background: #fff;
                backdrop-filter: none;
            }

            .login-wrapper {
                padding: 24px 14px;
                align-items: flex-start;
            }

            .login-card {
                border-radius: 20px;
                box-shadow: 0 12px 28px -18px rgba(15, 23, 42, 0.16);
                padding: 28px 20px;
            }

            .btn-login:hover {
                transform: none;
                box-shadow: none;
            }
        }

        .student-lite-motion .animate__animated {
            animation: none !important;
        }
    
