        :root {
            --login-bg: #0b1120;
            --login-card-bg: rgba(30, 41, 59, 0.4);
            --login-card-border: rgba(255, 255, 255, 0.1);
            --login-text-primary: #f8fafc;
            --login-text-secondary: #94a3b8;
            --login-accent: #3b82f6;
            --login-accent-glow: rgba(59, 130, 246, 0.5);
            --login-input-bg: rgba(15, 23, 42, 0.6);
            --login-danger: #ef4444;
            --login-danger-bg: rgba(239, 68, 68, 0.1);
        }

        body {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            background-color: var(--login-bg);
            margin: 0;
            overflow: hidden;
            font-family: 'Inter', sans-serif;
            color: var(--login-text-primary);
        }

        /* Dynamic Ambient Background */
        .ambient-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.6;
            animation: float 20s infinite ease-in-out alternate;
        }

        .orb-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
            top: -10%;
            left: -10%;
            animation-delay: 0s;
        }

        .orb-2 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
            bottom: -10%;
            right: -10%;
            animation-duration: 25s;
            animation-delay: -5s;
        }

        .orb-3 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-duration: 18s;
            animation-delay: -10s;
        }

        @keyframes float {
            0% {
                transform: translate(0, 0) scale(1);
            }

            50% {
                transform: translate(50px, 30px) scale(1.1);
            }

            100% {
                transform: translate(-30px, 60px) scale(0.9);
            }
        }

        /* Glassmorphism Card */
        .login-card {
            background: var(--login-card-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--login-card-border);
            padding: 3rem;
            border-radius: 24px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            width: 100%;
            max-width: 420px;
            z-index: 10;
            position: relative;
            /* Staggered entry animation for the card itself */
            opacity: 0;
            transform: translateY(30px);
            animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        @keyframes fade-in-up {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* Staggered Children */
        .stagger-1 {
            opacity: 0;
            animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
        }

        .stagger-2 {
            opacity: 0;
            animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
        }

        .stagger-3 {
            opacity: 0;
            animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
        }

        .stagger-4 {
            opacity: 0;
            animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
        }

        .stagger-5 {
            opacity: 0;
            animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
        }

        .login-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .logo-icon {
            color: var(--login-accent);
            width: 56px;
            height: 56px;
            margin-bottom: 1rem;
            filter: drop-shadow(0 0 15px var(--login-accent-glow));
            transition: transform 0.3s ease;
        }

        .login-card:hover .logo-icon {
            transform: scale(1.05);
        }

        /* Gradient Text */
        .login-header h1 {
            margin: 0;
            font-size: 1.75rem;
            font-weight: 700;
            background: linear-gradient(to right, #fff, #94a3b8);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.025em;
        }

        .login-header p {
            margin: 0.5rem 0 0;
            color: var(--login-text-secondary);
            font-size: 0.95rem;
        }

        /* Interactive Inputs */
        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--login-text-secondary);
            margin-bottom: 0.5rem;
            transition: color 0.3s ease;
        }

        .form-group label svg {
            width: 18px;
            height: 18px;
            transition: all 0.3s ease;
        }

        .input-wrapper {
            position: relative;
        }

        .form-group input {
            width: 100%;
            background: var(--login-input-bg);
            border: 1px solid var(--login-card-border);
            color: var(--login-text-primary);
            padding: 0.875rem 1rem;
            border-radius: 12px;
            font-size: 1rem;
            font-family: inherit;
            outline: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-sizing: border-box;
        }

        .form-group input::placeholder {
            color: #475569;
        }

        /* Focus Effects */
        .form-group input:focus {
            border-color: var(--login-accent);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), inset 0 0 0 1px var(--login-accent);
            background: rgba(15, 23, 42, 0.8);
        }

        .form-group:focus-within label {
            color: var(--login-text-primary);
        }

        .form-group:focus-within label svg {
            color: var(--login-accent);
            transform: scale(1.1);
            filter: drop-shadow(0 0 8px var(--login-accent-glow));
        }

        /* Shining Button */
        .btn-submit {
            width: 100%;
            padding: 1rem;
            font-size: 1rem;
            font-weight: 600;
            margin-top: 0.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            border: none;
            border-radius: 12px;
            color: white;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
        }

        .btn-submit::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
            transform: skewX(-20deg);
            transition: all 0.5s ease;
        }

        .btn-submit:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
        }

        .btn-submit:hover:not(:disabled)::before {
            left: 150%;
            transition: all 0.6s ease;
        }

        .btn-submit svg {
            transition: transform 0.3s ease;
        }

        .btn-submit:hover:not(:disabled) svg {
            transform: translateX(4px);
        }

        .btn-submit:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            background: #475569;
            box-shadow: none;
        }

        #errorAlert {
            background: var(--login-danger-bg);
            color: var(--login-danger);
            border: 1px solid rgba(239, 68, 68, 0.2);
            padding: 0.875rem;
            border-radius: 12px;
            font-size: 0.9rem;
            text-align: center;
            margin-bottom: 1.5rem;
            display: none;
            backdrop-filter: blur(10px);
            animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
        }

        @keyframes shake {

            10%,
            90% {
                transform: translate3d(-1px, 0, 0);
            }

            20%,
            80% {
                transform: translate3d(2px, 0, 0);
            }

            30%,
            50%,
            70% {
                transform: translate3d(-4px, 0, 0);
            }

            40%,
            60% {
                transform: translate3d(4px, 0, 0);
            }
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }