
        .auth-login-screen {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 26px;
            background-color: #f8fafc;
            background-image:
                radial-gradient(ellipse at 50% 0%, rgba(45, 104, 254, 0.16), transparent 48%),
                radial-gradient(ellipse at 16% 28%, rgba(45, 104, 254, 0.08), transparent 42%),
                radial-gradient(ellipse at 84% 72%, rgba(16, 185, 129, 0.09), transparent 45%),
                linear-gradient(120deg, transparent 8%, rgba(45, 104, 254, 0.035) 36%, rgba(16, 185, 129, 0.035) 62%, transparent 90%),
                linear-gradient(rgba(15, 23, 42, 0.014) 1px, transparent 1px),
                linear-gradient(90deg, rgba(15, 23, 42, 0.014) 1px, transparent 1px);
            background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 24px 24px, 24px 24px;
            overflow: auto;
            padding: 32px 24px;
        }

        .auth-login-screen.hidden { display: none !important; }

        
        .auth-login-screen::before {
            content: '';
            position: absolute;
            width: 850px;
            height: 850px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(45, 104, 254, 0.06) 0%, rgba(45, 104, 254, 0) 70%);
            top: -15%;
            left: -15%;
            pointer-events: none;
            filter: blur(120px);
            animation: float-blob-blue 30s infinite alternate ease-in-out;
            z-index: 1;
        }

        .auth-login-screen::after {
            content: '';
            position: absolute;
            width: 850px;
            height: 850px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0) 70%);
            bottom: -15%;
            right: -15%;
            pointer-events: none;
            filter: blur(120px);
            animation: float-blob-green 30s infinite alternate-reverse ease-in-out;
            animation-delay: -15s;
            z-index: 1;
        }

        .auth-gold-blob {
            position: absolute;
            width: 800px;
            height: 800px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(245, 158, 11, 0.035) 0%, rgba(245, 158, 11, 0) 70%);
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            filter: blur(130px);
            animation: float-blob-gold 35s infinite alternate ease-in-out;
            animation-delay: -7s;
            z-index: 1;
        }

        @keyframes float-blob-blue {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(80px, 50px) scale(1.12); }
            100% { transform: translate(0, 0) scale(1); }
        }

        @keyframes float-blob-green {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(-60px, -80px) scale(1.15); }
            100% { transform: translate(0, 0) scale(1); }
        }

        @keyframes float-blob-gold {
            0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
            50% { transform: translate(-35%, -65%) scale(1.18) rotate(180deg); }
            100% { transform: translate(-50%, -50%) scale(1) rotate(360deg); }
        }

        @keyframes logoEntrance {
            0% {
                opacity: 0;
                transform: scale(0.6) rotateY(-180deg);
            }
            60% {
                transform: scale(1.08) rotateY(10deg);
            }
            100% {
                opacity: 1;
                transform: scale(1) rotateY(0deg);
            }
        }

        @keyframes authFadeInUp {
            0% {
                opacity: 0;
                transform: translateY(25px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .auth-login-hero {
            position: relative;
            z-index: 2;
            width: min(760px, calc(100vw - 40px));
            text-align: center;
            perspective: 1000px;
        }

        .auth-login-hero::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 22px;
            width: 360px;
            height: 150px;
            transform: translateX(-50%);
            border-radius: 999px;
            background: radial-gradient(circle, rgba(45, 104, 254, 0.16), rgba(16, 185, 129, 0.1) 42%, transparent 70%);
            filter: blur(40px);
            opacity: 0.85;
            pointer-events: none;
            z-index: -1;
        }

        .auth-login-card {
            position: relative;
            width: 100%;
            max-width: 430px;
            border-radius: 26px;
            padding: 32px 34px 34px;
            background: rgba(255, 255, 255, 0.82);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            z-index: 2;
            box-shadow: 0 24px 70px rgba(15, 23, 42, 0.11), 0 8px 24px rgba(45, 104, 254, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.65);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.72);
            opacity: 0;
            animation: authFadeInUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
            animation-delay: 0.6s;
        }

        .auth-login-card::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            top: -25%;
            left: -25%;
            background: conic-gradient(from 0deg, transparent 42%, rgba(45, 104, 254, 0.18) 51%, rgba(16, 185, 129, 0.16) 60%, transparent 100%);
            animation: spin 15s linear infinite;
            z-index: -2;
        }

        .auth-login-card::after {
            content: '';
            position: absolute;
            inset: 1.5px;
            background: rgba(255, 255, 255, 0.92);
            border-radius: 24.5px;
            z-index: -1;
        }

        @keyframes spin {
            100% { transform: rotate(360deg); }
        }

        .auth-login-logo-container {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 14px;
            z-index: 5;
            position: relative;
            opacity: 0;
            animation: logoEntrance 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
            animation-delay: 0.15s;
        }

        .auth-login-logo-svg {
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 4px 12px rgba(45, 104, 254, 0.15));
        }

        .auth-login-logo-text {
            font-size: 25px;
            font-weight: 850;
            background: linear-gradient(135deg, var(--primary-color, #2d68fe), #10b981);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.04em;
        }

        .auth-hero-slogan {
            margin: 0;
            color: #0f172a;
            font-size: 30px;
            font-weight: 850;
            line-height: 1.18;
            letter-spacing: -0.04em;
            opacity: 0;
            animation: authFadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
            animation-delay: 0.3s;
        }

        .auth-hero-desc {
            max-width: 620px;
            margin: 12px auto 0;
            color: #475569;
            font-size: 15px;
            font-weight: 500;
            line-height: 1.75;
            opacity: 0;
            animation: authFadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
            animation-delay: 0.45s;
        }

        @media (max-width: 520px) {
            .auth-login-screen {
                justify-content: flex-start;
                gap: 18px;
                padding: 28px 18px;
            }

            .auth-login-logo-svg {
                width: 34px;
                height: 34px;
            }

            .auth-login-logo-text {
                font-size: 22px;
            }

            .auth-hero-slogan {
                font-size: 22px;
                line-height: 1.25;
            }

            .auth-hero-desc {
                font-size: 13.5px;
                line-height: 1.65;
            }

            .auth-login-card {
                padding: 26px 22px 28px;
            }
        }


        .auth-field-label {
            display: block;
            margin: 13px 0 7px;
            color: #475569;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.01em;
        }

        .input-wrapper {
            position: relative;
            margin-bottom: 13px;
            width: 100%;
        }


        .input-wrapper .input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            color: #64748b;
            transition: all 0.3s ease;
            pointer-events: none;
            z-index: 5;
        }


        .input-wrapper input {
            width: 100% !important;
            height: 50px !important;
            padding: 0 14px 0 42px !important;
            font-size: 14px !important;
            outline: none !important;
            border-radius: 14px !important;
            border: 1px solid rgba(15, 23, 42, 0.085) !important;
            background: rgba(248, 250, 252, 0.82) !important;
            color: #0f172a !important;
            transition: all 0.3s ease !important;
            margin-bottom: 0 !important;
        }


        .input-wrapper input:-webkit-autofill,
        .input-wrapper input:-webkit-autofill:hover, 
        .input-wrapper input:-webkit-autofill:focus, 
        .input-wrapper input:-webkit-autofill:active,
        .input-wrapper input:autofill,
        .input-wrapper input:autofill:hover,
        .input-wrapper input:autofill:focus,
        .input-wrapper input:autofill:active {
            -webkit-text-fill-color: #0f172a !important;
            -webkit-box-shadow: 0 0 0px 1000px #f8fafc inset !important;
            box-shadow: 0 0 0px 1000px #f8fafc inset !important;
            color: #0f172a !important;
            transition: background-color 5000s ease-in-out 0s;
        }


        .input-wrapper input:focus {
            border-color: rgba(45, 104, 254, 0.58) !important;
            background: #ffffff !important;
            box-shadow: 0 0 0 4px rgba(45, 104, 254, 0.13) !important;
        }


        .input-wrapper input:focus ~ .input-icon {
            color: var(--primary-color, #2d68fe) !important;
        }


        .auth-login-card button {
            position: relative;
            overflow: hidden;
            width: 100%;
            height: 50px;
            border: 0;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--primary-color, #2d68fe), #4f8cff);
            color: #fff;
            font-weight: 750;
            font-size: 14.5px;
            cursor: pointer;
            box-shadow: 0 14px 28px rgba(45, 104, 254, 0.26);
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, letter-spacing 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
            letter-spacing: 0;
        }

        .auth-login-card button:hover:not(:disabled) {
            transform: translateY(-1.5px);
            box-shadow: 0 16px 32px rgba(45, 104, 254, 0.35);
            letter-spacing: 0.12em;
        }

        .auth-login-card button:active:not(:disabled) {
            transform: translateY(0) scale(0.97);
            box-shadow: 0 8px 16px rgba(45, 104, 254, 0.2);
        }

        .auth-login-card button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .auth-login-card button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 60%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
            transform: skewX(-25deg);
            transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
        }

        .auth-login-card button:hover:not(:disabled)::before {
            left: 150%;
        }

        .auth-tabs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            background: rgba(15, 23, 42, 0.045);
            border: 1px solid rgba(15, 23, 42, 0.06);
            border-radius: 14px;
            padding: 4px;
            margin: 0 0 20px;
            z-index: 5;
            position: relative;
            overflow: hidden;
        }

        .auth-tabs::before {
            content: '';
            position: absolute;
            left: 4px;
            top: 4px;
            width: calc(50% - 6px);
            height: calc(100% - 8px);
            border-radius: 11px;
            background: #ffffff;
            box-shadow: 0 8px 18px rgba(45, 104, 254, 0.14), 0 1px 2px rgba(15, 23, 42, 0.04);
            transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 0;
        }

        .auth-tabs.is-register::before {
            transform: translateX(calc(100% + 4px));
        }

        .auth-tabs button {
            height: 38px;
            border-radius: 11px;
            background: transparent;
            color: #64748b;
            box-shadow: none;
            font-size: 13.5px;
            font-weight: 750;
            z-index: 1;
            transform: none !important;
            transition: color 0.25s ease !important;
            letter-spacing: normal !important;
        }

        .auth-tabs button::before {
            display: none !important;
        }

        .auth-tabs button:hover {
            transform: none !important;
            box-shadow: none !important;
            letter-spacing: normal !important;
            color: #0f172a !important;
        }

        .auth-tabs button:active {
            transform: none !important;
            box-shadow: none !important;
        }

        .auth-tabs button.active {
            background: transparent;
            color: var(--primary-color, #2d68fe) !important;
            box-shadow: none;
        }

        #auth-register-panel.hidden { display: none !important; }
        #auth-login-panel.hidden { display: none !important; }

        .auth-login-help {
            margin-top: 16px;
            text-align: center;
            color: #475569 !important;
            font-size: 12.5px;
            line-height: 1.6;
        }


        .auth-login-msg {
            min-height: 20px;
            margin-top: 8px;
            color: var(--red) !important;
            font-size: 13px;
            text-align: center;
        }


        .auth-login-msg.success {
            color: var(--green) !important;
        }
