
        :root {
            --primary-navy: #171066;
            --primary-navy-hover: #221c68;
            --soft-blue: #EBF4FF;
            --text-dark: #2D3748;
            --text-light: #718096;
            --white: #FFFFFF;
            --border-color: #E2E8F0;
            --primary-gold : #ECB113;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background-color: var(--soft-blue);
            color: var(--text-dark);
            min-height: 100vh;
            display: flex;
        }

        /* Split Screen Layout */
        .login-wrapper {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }

        /* Left Side - Educational Branding */
        .login-left {
            flex: 1;
            background-color: var(--white);
            color: var(--primary-navy);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 3rem;
            position: relative;
            overflow: hidden;
        }

        .sologram {
            color: #000 !important;
        }

        .brand-logo{
            height: 230px;
        }

        /* Subtle background pattern for the navy side */
        .login-left::before {
            content: '';
            position: absolute;
            top: 0; right: 0; bottom: 0; left: 0;
            background-image: radial-gradient(circle at 20% 150%, rgba(255,255,255,0.05) 20%, transparent 50%),
                              radial-gradient(circle at 80% -50%, rgba(255,255,255,0.05) 20%, transparent 50%);
            z-index: 1;
        }

        .brand-content {
            z-index: 2;
            text-align: center;
            max-width: 500px;
        }

        .brand-content h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: -0.5px;
        }

        .brand-content p {
            font-size: 1.1rem;
            font-weight: 300;
            line-height: 1.6;
            color: #A0AEC0;
        }

        /* Right Side - Form */
        .login-right {
            flex: 1;
            background-color: var(--primary-navy);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            position: relative;
        }

        .form-container {
            width: 100%;
            max-width: 400px;
        }

        .form-header {
            margin-bottom: 2.5rem;
        }

        .form-header h2 {
            font-size: 2rem;
            color: var(--white);
            margin-bottom: 0.5rem;
        }

        .form-header p {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        /* Input Styling */
        .input-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .input-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-light);
        }

        .input-control {
            width: 100%;
            padding: 0.85rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: #F7FAFC;
        }

        .input-control:focus {
            outline: none;
            border-color: var(--primary-navy);
            background-color: var(--white);
            box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
        }

        /* Remember Me & Button */
        .form-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
            margin-top: 1rem;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .checkbox-group input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #cccccc;
            cursor: pointer;
        }

        .checkbox-group span {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .btn-login {
            background-color: #cccccc;
            color: var(--primary-navy);
            border: none;
            padding: 0.85rem 2rem;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            width: 100%;
            justify-content: center;
        }

        .btn-login:hover {
            background-color: var(--white);

        }

        /* Footer */
        .footer {
            position: absolute;
            bottom: 1.5rem;
            text-align: center;
            width: 100%;
            font-size: 0.8rem;
            color: var(--text-light);
        }

        .footer a {
            color: var(--primary-navy);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .footer a:hover {
            color: var(--primary-navy-hover);
            text-decoration: underline;
        }

        /* -------------------------------------------
           RESPONSIVE REFINEMENTS (DON'T TOUCH DESKTOP)
        ------------------------------------------- */
        
        /* Tablet Screens (Optimized split screen) */
        @media (max-width: 1024px) and (min-width: 869px) {
            .brand-logo {
                height: 180px;
            }
            .brand-content h1 {
                font-size: 2rem;
            }
            .login-left, .login-right {
                padding: 2rem;
            }
        }

        /* Phone Screens (Strict One Page Fix - No Scroll) */
        @media (max-width: 868px) {
            body {
                overflow: hidden; /* Prevent global body scroll */
            }

            .login-wrapper {
                flex-direction: column;
                height: 100vh;
                max-height: 100vh;
                overflow: hidden;
            }

            /* Top Section - Brand Area (Make it compact to save space) */
            .login-left {
                flex: 0 0 auto;
                padding: 1rem;
                background-color: var(--white);
                box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            }

            .brand-content {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
                gap: 1rem;
                max-width: 100%;
                text-align: left;
            }

            .brand-logo {
                height: 60px; /* Logo is always visible & scaled nicely */
            }

            .brand-content h1 {
                font-size: 1.2rem;
                margin-bottom: 0;
                line-height: 1.2;
            }

            .sologram {
                display: none; /* Hide long text on phone to ensure single page fix */
            }

            /* Bottom Section - Login Form */
            .login-right {
                flex: 1 1 auto;
                padding: 1.5rem;
                justify-content: space-between; /* Keeps footer at bottom of phone layout */
                overflow-y: auto; /* Safety fallback for small/landscape phone views */
            }

            .form-container {
                margin: auto 0; /* Vertically center form in the available space */
                width: 100%;
            }

            .form-header {
                margin-bottom: 1.2rem;
                text-align: center;
            }

            .form-header h2 {
                font-size: 1.5rem;
            }

            .form-header p {
                font-size: 0.85rem;
            }

            .input-group {
                margin-bottom: 1rem;
            }

            .input-control {
                padding: 0.75rem 1rem;
                font-size: 0.95rem;
            }

            .form-actions {
                margin-bottom: 1.2rem;
                margin-top: 0.5rem;
            }

            .btn-login {
                padding: 0.75rem 1.5rem;
            }

            /* Footer on Mobile */
            .footer {
                position: relative;
                bottom: 0;
                margin-top: 1rem;
                font-size: 0.75rem;
            }
        }

        /* Extra Adjustment for small heights or horizontal mobile view */
        @media (max-height: 660px) and (max-width: 868px) {
            .login-left { padding: 0.5rem; }
            .brand-logo { height: 45px; }
            .brand-content h1 { font-size: 1rem; }
            .form-header { margin-bottom: 0.5rem; }
            .form-header h2 { font-size: 1.2rem; }
            .input-group { margin-bottom: 0.6rem; }
            .form-actions { margin-bottom: 0.8rem; }
        }
