        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
            position: relative;
            overflow: hidden;
        }
        
        /* ===== ANIMATED BACKGROUND ===== */
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.4), transparent),
                radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.3), transparent),
                radial-gradient(2px 2px at 60% 20%, rgba(255,255,255,0.4), transparent),
                radial-gradient(2px 2px at 80% 60%, rgba(255,255,255,0.3), transparent),
                radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.4), transparent),
                radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.3), transparent),
                radial-gradient(1px 1px at 50% 90%, rgba(255,255,255,0.4), transparent);
            background-size: 200px 200px;
            animation: twinkle 4s ease-in-out infinite alternate;
            z-index: 0;
        }
        
        @keyframes twinkle {
            0% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        
        /* ===== ANIMATED GRADIENT ORB ===== */
        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            animation: orbFloat 15s ease-in-out infinite;
            z-index: 0;
        }
        .orb-1 {
            width: 400px;
            height: 400px;
            background: rgba(108, 99, 255, 0.15);
            top: -100px;
            right: -100px;
            animation-delay: 0s;
        }
        .orb-2 {
            width: 300px;
            height: 300px;
            background: rgba(255, 107, 107, 0.1);
            bottom: -50px;
            left: -50px;
            animation-delay: -5s;
        }
        .orb-3 {
            width: 200px;
            height: 200px;
            background: rgba(255, 217, 61, 0.08);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-delay: -10s;
        }
        
        @keyframes orbFloat {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(-40px, 50px) scale(1.1); }
            50% { transform: translate(50px, -30px) scale(0.9); }
            75% { transform: translate(-30px, -40px) scale(1.05); }
        }
        
        /* ===== LOGIN CARD ===== */
        .login-wrapper {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 440px;
            padding: 20px;
            animation: fadeUp 0.8s ease-out;
        }
        
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .login-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 28px;
            padding: 48px 40px 40px;
            box-shadow: 
                0 25px 80px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        
        .login-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 30% 20%, rgba(108,99,255,0.03), transparent 70%);
            pointer-events: none;
            animation: shimmer 10s ease-in-out infinite alternate;
        }
        
        @keyframes shimmer {
            0% { transform: translate(-20%, -20%); }
            100% { transform: translate(20%, 20%); }
        }
        
        .login-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 35px 100px rgba(0, 0, 0, 0.5);
        }
        
        /* ===== BRAND ===== */
        .brand {
            text-align: center;
            margin-bottom: 32px;
            position: relative;
            z-index: 1;
        }
        .brand .logo-icon {
            font-size: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #6c63ff, #764ba2);
            border-radius: 20px;
            margin: 0 auto 16px;
            box-shadow: 0 8px 30px rgba(108,99,255,0.35);
            animation: pulse 3s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        .brand h2 {
            font-weight: 900;
            font-size: 28px;
            color: #1a1a2e;
            margin-bottom: 4px;
            letter-spacing: -0.5px;
        }
        .brand h2 span {
            background: linear-gradient(135deg, #6c63ff, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .brand .subtitle {
            font-size: 13px;
            color: #888;
            font-weight: 400;
            letter-spacing: 0.3px;
        }
        .brand .divider-line {
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #6c63ff, #764ba2);
            margin: 12px auto 0;
            border-radius: 10px;
            animation: expandWidth 2s ease-in-out infinite alternate;
        }
        @keyframes expandWidth {
            0% { width: 50px; }
            100% { width: 80px; }
        }
        
        /* ===== FORM ===== */
        .form-group {
            margin-bottom: 22px;
            position: relative;
            z-index: 1;
        }
        .form-group .input-icon {
            position: relative;
        }
        .form-group .input-icon .icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
            font-size: 18px;
            transition: all 0.3s;
            pointer-events: none;
        }
        .form-group .input-icon .form-control {
            padding: 14px 16px 14px 50px;
            border-radius: 14px;
            border: 2px solid #e8e8e8;
            background: #fafafa;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
            color: #1a1a2e;
            height: 54px;
        }
        .form-group .input-icon .form-control:focus {
            border-color: #6c63ff;
            background: white;
            box-shadow: 0 0 0 5px rgba(108, 99, 255, 0.1);
            outline: none;
        }
        .form-group .input-icon .form-control:focus ~ .icon,
        .form-group .input-icon .form-control:focus + .icon {
            color: #6c63ff;
        }
        .form-group .input-icon .form-control::placeholder {
            color: #bbb;
            font-weight: 400;
        }
        
        /* Password Toggle */
        .password-toggle {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #aaa;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s;
            padding: 4px;
        }
        .password-toggle:hover {
            color: #6c63ff;
        }
        
        .form-group label {
            font-weight: 600;
            font-size: 13px;
            color: #444;
            margin-bottom: 8px;
            display: block;
            transition: all 0.3s;
        }
        .form-group label .required {
            color: #ff4757;
            margin-left: 2px;
        }
        
        /* ===== OPTIONS ROW ===== */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 26px;
            flex-wrap: wrap;
            gap: 8px;
            position: relative;
            z-index: 1;
        }
        .form-options .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #666;
            cursor: pointer;
            transition: all 0.2s;
        }
        .form-options .remember-me:hover {
            color: #1a1a2e;
        }
        .form-options .remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #6c63ff;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s;
        }
        .form-options .forgot-link {
            font-size: 13px;
            color: #6c63ff;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
        }
        .form-options .forgot-link:hover {
            color: #5a52d5;
            text-decoration: underline;
            transform: translateX(2px);
        }
        
        /* ===== BUTTON ===== */
        .btn-login {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #6c63ff 0%, #764ba2 100%);
            color: white;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
            height: 54px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .btn-login::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s;
        }
        .btn-login:hover::before {
            left: 100%;
        }
        .btn-login:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(108, 99, 255, 0.45);
        }
        .btn-login:active {
            transform: translateY(0);
            box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
        }
        .btn-login:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none !important;
        }
        .btn-login .spinner {
            display: none;
            width: 22px;
            height: 22px;
            border: 3px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .btn-login.loading .spinner {
            display: inline-block;
        }
        .btn-login.loading .btn-text {
            display: none;
        }
        
        /* ===== FOOTER ===== */
        .login-footer {
            text-align: center;
            margin-top: 26px;
            padding-top: 22px;
            border-top: 1px solid #f0f0f0;
            position: relative;
            z-index: 1;
        }
        .login-footer .demo-info {
            font-size: 12px;
            color: #999;
        }
        .login-footer .demo-info .credential {
            display: inline-block;
            background: #f0f2f5;
            padding: 3px 14px;
            border-radius: 8px;
            font-weight: 600;
            color: #6c63ff;
            font-size: 12px;
            transition: all 0.2s;
            cursor: pointer;
        }
        .login-footer .demo-info .credential:hover {
            background: #6c63ff;
            color: white;
        }
        .login-footer .demo-info .credential-divider {
            color: #ddd;
            margin: 0 4px;
        }
        
        /* ===== ALERT ===== */
        .alert-custom {
            border-radius: 14px;
            padding: 14px 18px;
            font-size: 13px;
            border: none;
            background: #fee2e2;
            color: #dc2626;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            animation: shake 0.5s ease;
            position: relative;
            z-index: 1;
        }
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20% { transform: translateX(-8px); }
            40% { transform: translateX(8px); }
            60% { transform: translateX(-5px); }
            80% { transform: translateX(5px); }
        }
        .alert-custom i {
            font-size: 20px;
            flex-shrink: 0;
        }
        
        /* ===== SUCCESS ALERT ===== */
        .alert-success-custom {
            border-radius: 14px;
            padding: 14px 18px;
            font-size: 13px;
            border: none;
            background: #d4edda;
            color: #155724;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        .alert-success-custom i {
            font-size: 20px;
            flex-shrink: 0;
        }
        
        /* ===== RESPONSIVE ===== */
        @media (max-width: 480px) {
            .login-card {
                padding: 32px 24px 28px;
                border-radius: 20px;
            }
            .brand .logo-icon {
                font-size: 44px;
            }
            .brand h2 {
                font-size: 22px;
            }
            .form-group .input-icon .form-control {
                padding: 12px 14px 12px 44px;
                font-size: 13px;
                height: 48px;
            }
            .login-wrapper {
                padding: 12px;
            }
            .btn-login {
                padding: 12px;
                font-size: 15px;
                height: 48px;
            }
            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
        }
        
        @media (max-width: 360px) {
            .login-card {
                padding: 24px 16px 20px;
            }
            .brand .logo-icon {
                font-size: 36px;
            }
            .brand h2 {
                font-size: 18px;
            }
            .form-group .input-icon .form-control {
                padding: 10px 12px 10px 38px;
                font-size: 12px;
                height: 44px;
            }
            .form-group .input-icon .icon {
                left: 12px;
                font-size: 16px;
            }
            .btn-login {
                height: 44px;
                font-size: 14px;
            }
        }
