* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            height: 100vh;
            width: 100vw;
            overflow: hidden;
            background: #f0f2f5;
        }

        /* Modern typography with system font fallback */
        @import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

        /* Main split container */
        .split-layout {
            display: flex;
            width: 100%;
            height: 100%;
            flex-direction: row;
        }

        /* LEFT SIDE: Dark Blue Gradient + Circuit Pattern */
        .brand-side {
            width: 50%;
            background: linear-gradient(135deg, #0B1E33 0%, #0A2B44 50%, #0D2E4A 100%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            z-index: 1;
        }

        /* Subtle circuit pattern background - modern tech feel */
        .circuit-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.035)' stroke-width='1.2' d='M200 100 L200 250 L350 250 M350 250 L350 400 M350 400 L500 400 L500 550 M500 550 L650 550 M650 550 L650 700 M100 300 L250 300 L250 450 M250 450 L400 450 L400 600 M400 600 L550 600 M600 150 L600 300 L750 300 M150 500 L300 500 L300 650 M700 350 L550 350 L550 200 M450 700 L450 550 L300 550' /%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 120px;
            opacity: 0.5;
            pointer-events: none;
        }

        /* Additional subtle gradient overlay */
        .brand-side::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 40%, rgba(0, 180, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
            pointer-events: none;
        }

        .brand-content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 2rem;
            animation: fadeInUp 0.9s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        /* Logo container */
        .logo-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 1.2rem;
        }

        .company-logo {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(4px);
            border-radius: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: transform 0.3s ease;
        }

        .company-logo:hover {
            transform: scale(1.02);
        }

        .logo-svg {
            width: 48px;
            height: 48px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        .company-name {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            background: linear-gradient(120deg, #FFFFFF, #B0E0FF);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .tagline {
            font-size: 1rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.85);
            letter-spacing: 0.3px;
            backdrop-filter: blur(2px);
            display: inline-block;
            padding: 0.2rem 0.8rem;
            border-radius: 40px;
            background: rgba(255,255,255,0.05);
        }

        /* RIGHT SIDE: Light Gray - Centered card container */
        .form-side {
            width: 55%;
            background: #F7F9FC;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            overflow: hidden;
        }

        /* Glassmorphism Card - Smaller, perfectly centered */
        .glass-card {
            width: 100%;
            max-width: 380px;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            border-radius: 1.5rem;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.6);
            padding: 1.5rem 1.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeSlideUp 0.6s ease-out;
            height: auto;
            min-height: auto;
            overflow: visible;
        }

        .glass-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.2);
        }

        .card-header {
            text-align: center;
            margin-bottom: 1.25rem;
        }

        .card-header h1 {
            font-size: 1.6rem;
            font-weight: 600;
            background: linear-gradient(135deg, #1F2A48, #1B3A5C);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            letter-spacing: -0.3px;
        }

        .card-header p {
            color: #5B6E8C;
            font-size: 0.75rem;
            margin-top: 0.3rem;
            font-weight: 400;
        }

        /* Form styling - more compact */
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .input-group label {
            font-size: 0.7rem;
            font-weight: 600;
            color: #1E2F4B;
            letter-spacing: 0.3px;
            text-transform: uppercase;
            opacity: 0.8;
        }

        .input-field {
            display: flex;
            align-items: center;
            border: 1.5px solid #E2E8F0;
            border-radius: 0.85rem;
            background: white;
            transition: all 0.2s ease;
            padding: 0.55rem 0.85rem;
        }

        .input-field:focus-within {
            border-color: #2C6E9E;
            box-shadow: 0 0 0 3px rgba(44, 110, 158, 0.1);
        }

        .input-icon {
            margin-right: 0.6rem;
            color: #7E8B9E;
            display: flex;
            align-items: center;
        }

        .input-icon svg {
            width: 16px;
            height: 16px;
        }

        .input-field input {
            width: 100%;
            border: none;
            outline: none;
            font-size: 0.85rem;
            font-weight: 500;
            background: transparent;
            color: #111827;
            font-family: 'Inter', sans-serif;
        }

        .input-field input::placeholder {
            color: #B9C3D4;
            font-weight: 400;
            font-size: 0.8rem;
        }

        /* Login Button */
        .login-btn {
            margin-top: 0.3rem;
            background: linear-gradient(105deg, #1C4E80 0%, #0F3557 100%);
            border: none;
            border-radius: 2.5rem;
            padding: 0.7rem 1rem;
            font-size: 0.85rem;
            font-weight: 600;
            font-family: 'Inter', sans-serif;
            color: white;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 4px 10px rgba(28, 78, 128, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .login-btn:hover {
            background: linear-gradient(105deg, #23679e 0%, #13466b 100%);
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(28, 78, 128, 0.25);
        }

        .login-btn:active {
            transform: translateY(1px);
        }

        .login-btn.loading {
            pointer-events: none;
            opacity: 0.85;
        }

        .spinner {
            display: inline-block;
            width: 14px;
            height: 14px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 0.7s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .help-link {
            text-align: center;
            margin-top: 1rem;
        }

        .help-link a {
            color: #2C6E9E;
            text-decoration: none;
            font-size: 0.7rem;
            font-weight: 500;
            transition: color 0.2s;
            border-bottom: 1px dashed #C9D9E8;
            padding-bottom: 2px;
        }

        .help-link a:hover {
            color: #0F466C;
            border-bottom-color: #0F466C;
        }

        /* Error message style */
        .error-message {
            font-size: 0.65rem;
            color: #D32F2F;
            margin-top: 0.15rem;
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .error-banner {
            background: #FFE9E9;
            border-radius: 0.7rem;
            padding: 0.4rem 0.8rem;
            margin-bottom: 0.2rem;
            font-size: 0.7rem;
            color: #B71C1C;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Authentication method toggle */
        .auth-toggle {
            display: flex;
            gap: 0.5rem;
            background: #F1F4F9;
            padding: 0.25rem;
            border-radius: 2.5rem;
            margin-bottom: 1rem;
        }

        .toggle-btn {
            flex: 1;
            text-align: center;
            padding: 0.4rem 0.6rem;
            border-radius: 2rem;
            font-size: 0.7rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            color: #5B6E8C;
            background: transparent;
            border: none;
            font-family: 'Inter', sans-serif;
        }

        .toggle-btn.active {
            background: white;
            color: #1C4E80;
            box-shadow: 0 1px 4px rgba(0,0,0,0.05);
            border: 1px solid rgba(28,78,128,0.12);
        }

        .toggle-btn:not(.active):hover {
            color: #1C4E80;
            background: rgba(255,255,255,0.5);
        }

        /* Responsive Design */
        @media screen and (max-width: 992px) {
            .company-name {
                font-size: 2rem;
            }
            .tagline {
                font-size: 0.9rem;
            }
            .glass-card {
                max-width: 360px;
                padding: 1.3rem;
            }
            .card-header h1 {
                font-size: 1.4rem;
            }
        }

        @media screen and (max-width: 768px) {
            .split-layout {
                flex-direction: column;
            }
            .brand-side {
                width: 100%;
                height: 28%;
                min-height: 200px;
            }
            .form-side {
                width: 100%;
                height: 72%;
                padding: 1rem;
                align-items: flex-start;
            }
            .glass-card {
                max-width: 100%;
                margin-top: 0.5rem;
                padding: 1.2rem;
            }
            .company-logo {
                width: 60px;
                height: 60px;
            }
            .logo-svg {
                width: 36px;
                height: 36px;
            }
            .company-name {
                font-size: 1.6rem;
            }
            .card-header h1 {
                font-size: 1.3rem;
            }
        }

        @media screen and (max-width: 480px) {
            .glass-card {
                padding: 1rem;
            }
            .input-field {
                padding: 0.45rem 0.7rem;
            }
            .login-btn {
                padding: 0.55rem;
                font-size: 0.8rem;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeSlideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }