
        :root {
            --primary-color: #00224f; /* Derived from brand styles */
            --accent-gradient: linear-gradient(90deg, #00224f 0%, #054396 100%);
            --text-gray: #6c757d;
            --bg-light: #f8f9fa;
        }

        body {
            font-family: 'Sora', sans-serif;
            background-color: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
        }

        .auth-container {
            width: 100%;
            max-width: 380px;
            background: #fff;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .brand-logo {
            text-align: center;
            margin-bottom: 30px;
        }

        .brand-logo img {
            max-width: 180px;
        }

        .form-state {
            display: none; /* Hidden by default */
            animation: fadeIn 0.4s ease;
        }

        .form-state.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        h2 {
            font-weight: 700;
            font-size: 24px;
            color: var(--primary-color);
            margin-bottom: 10px;
            text-align: center;
        }

        p.subtitle {
            text-align: center;
            color: var(--text-gray);
            font-size: 14px;
            margin-bottom: 25px;
        }

        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .form-group label {
            font-weight: 600;
            font-size: 14px;
            position: absolute;
            left: 28px;
            top: 12px;
            color: #999;
            pointer-events: none;
            transition: all 0.3s ease;
            background: #fff;
            padding: 0 4px;
        }

        .form-control {
            border-radius: 999px;
            padding-top: 12px;
            padding-bottom: 12px;
            padding-left: 7%;
            padding-right: 7%;
            border: 1px solid #dfe1e5;
            font-size: 14px;
            background: #fff;
            box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            width: 100%;
            box-sizing: border-box;
        }

        .form-control::placeholder {
            color: transparent;
        }

        .form-control:focus::placeholder {
            color: #bbb;
        }

        .form-control:focus {
            border-color: #4285f4;
            box-shadow: 0 1px 6px rgba(66, 133, 244, 0.2);
            outline: none;
        }

        .pass-input {
            padding-right: 40px !important;
        }

        /* Floating label state */
        .form-group.active label {
            top: -10px;
            font-size: 12px;
            color: var(--primary-color);
            font-weight: 700;
            left: 7%;
        }

        .password-wrapper {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: var(--text-gray);
            font-size: 18px;
        }


        .btn-auth {
            background: var(--accent-gradient);
            color: white;
            border: none;
            width: 100%;
            padding: 14px;
            border-radius: 10px;
            font-weight: 600;
            margin-top: 10px;
            transition: 0.3s;
        }

        .btn-auth:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        .auth-footer {
            text-align: center;
            margin-top: 25px;
            font-size: 14px;
            color: var(--text-gray);
        }

        .auth-footer a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 700;
        }

        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            margin-bottom: 20px;
        }

        .social-login {
            margin-top: 18px;
            text-align: center;
        }

        .social-login p {
            font-size: 13px;
            color: var(--text-gray);
            margin-bottom: 12px;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .social-icons a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid #e0e0e0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            text-decoration: none;
            transition: all 0.2s ease;
            background: #fff;
        }

        .social-icons a:hover {
            border-color: #c7c7c7;
            transform: translateY(-1px);
        }

        .social-icons i {
            font-size: 18px;
        }

        /* Mobile Optimization */
        @media (max-width: 576px) {
            .auth-container {
                padding: 25px 20px;
                box-shadow: none;
                background: transparent;
            }
            h2 { font-size: 20px; }
        }
  