        :root {
            --primary: #3b82f6;
            --primary-dark: #2563eb;
            --secondary: #ec4899;
            --text-dark: #1e293b;
            --text-muted: #64748b;
        }

        body {
            font-family: 'Outfit', sans-serif;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(-45deg, #eff6ff, #dbeafe, #f3e8ff, #fae8ff);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            position: relative;
            overflow-x: hidden;
            overflow-y: auto;
            padding: 2rem 1rem;
        }

        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }




        /* Glassmorphism Card */
        .login-wrapper {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 1000px;
            display: flex;
            border-radius: 24px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
            animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            transform: translateY(40px);
        }

        @keyframes slideUp {
            to { opacity: 1; transform: translateY(0); }
        }

        /* Left Side Branding */
        .login-brand {
            flex: 1;
            padding: 60px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            background: rgba(255, 255, 255, 0.4);
            border-right: 1px solid rgba(255, 255, 255, 0.5);
        }

        .brand-logo {
            max-height: 160px;
            max-width: 100%;
            margin-bottom: 25px;
            filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
            transition: transform 0.3s ease;
        }
        .brand-logo:hover {
            transform: scale(1.05);
        }

        .brand-title {
            font-size: 2.2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 15px;
            letter-spacing: -0.5px;
        }

        .brand-desc {
            font-size: 1.05rem;
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 80%;
        }

        /* Right Side Form */
        .login-form-container {
            width: 450px;
            padding: 60px 50px;
            background: transparent;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .login-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 5px;
            letter-spacing: -0.5px;
        }

        .login-subtitle {
            color: var(--text-muted);
            font-size: 1rem;
            margin-bottom: 40px;
        }

        .form-floating > label {
            color: #94a3b8;
            font-size: 1rem;
            padding-left: 5px;
            font-weight: 500;
        }

        .form-control {
            border: none;
            border-bottom: 2px solid #e2e8f0;
            border-radius: 0;
            padding: 1rem 5px;
            height: calc(3.5rem + 2px);
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-dark);
            background-color: transparent !important;
            transition: all 0.3s ease;
            box-shadow: none !important;
        }

        .form-control:focus {
            border-bottom-color: var(--primary);
            background-color: transparent;
        }

        .form-control::placeholder {
            color: transparent; /* Needed for floating labels */
        }

        .btn-login {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border: none;
            border-radius: 50px;
            padding: 15px;
            font-weight: 700;
            font-size: 1.15rem;
            letter-spacing: 0.5px;
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
            position: relative;
            overflow: hidden;
            margin-top: 10px;
        }

        .btn-login::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
            transform: skewX(-25deg);
            transition: all 0.5s ease;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 25px rgba(59, 130, 246, 0.3);
            color: white;
        }

        .btn-login:hover::after {
            left: 150%;
        }

        .form-check-input {
            width: 1.2em;
            height: 1.2em;
            border-radius: 4px;
            border-color: #cbd5e1;
            cursor: pointer;
        }
        .form-check-input:checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        .form-check-label {
            cursor: pointer;
            font-size: 0.95rem;
            margin-top: 2px;
        }

        .forgot-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }
        .forgot-link:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        @media (max-width: 991px) {
            .login-wrapper {
                flex-direction: column;
                max-width: 500px;
                margin: auto;
            }
            .login-brand {
                padding: 40px 30px;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.5);
            }
            .brand-desc {
                display: none;
            }
            .login-form-container {
                width: 100%;
                padding: 40px 30px;
            }
        }
