        @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
        
        :root {
            --primary: #6366f1;
            --secondary: #8b5cf6;
            --accent: #ec4899;
            --dark: #1e293b; 
            --light: #f8fafc;
            --sidebar-bg: #1f2937;
            --sidebar-text: #cbd5e1;
            --sidebar-text-hover: #ffffff;
            --sidebar-icon: #94a3b8;
            --sidebar-item-hover-bg: #334155;
            --sidebar-active-bg: var(--primary);
        }

        body {
            font-family: 'Manrope', sans-serif;
            background: radial-gradient(circle at 10% 20%, rgba(236, 241, 249, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
            min-height: 100vh;
            overflow-x: hidden;
        }

        .card-3d {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 20px;
            box-shadow: 
                0 10px 25px -5px rgba(0, 0, 0, 0.1),
                0 8px 10px -6px rgba(0, 0, 0, 0.05),
                inset 0 -2px 10px rgba(255, 255, 255, 0.5),
                inset 0 2px 10px rgba(255, 255, 255, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transform-style: preserve-3d;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
        }

        .card-3d::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
            transform: translateZ(-1px);
            pointer-events: none;
        }

        .card-3d:hover {
            transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
            box-shadow: 
                0 20px 50px -10px rgba(0, 0, 0, 0.15),
                0 15px 20px -10px rgba(0, 0, 0, 0.1),
                inset 0 -3px 15px rgba(255, 255, 255, 0.6),
                inset 0 3px 15px rgba(255, 255, 255, 0.6);
        }

        .gradient-text {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
        }

        .icon-3d {
            background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
            border-radius: 16px;
            box-shadow: 
                0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06),
                inset 0 -2px 8px rgba(255, 255, 255, 0.8),
                inset 0 2px 8px rgba(255, 255, 255, 0.8);
            transform-style: preserve-3d;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-3d::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
            transform: translateZ(-1px);
        }

        .icon-3d:hover {
            transform: translateY(-4px) rotateX(5deg) rotateY(5deg);
            box-shadow: 
                0 10px 15px -3px rgba(0, 0, 0, 0.15),
                0 4px 6px -2px rgba(0, 0, 0, 0.1),
                inset 0 -3px 12px rgba(255, 255, 255, 0.8),
                inset 0 3px 12px rgba(255, 255, 255, 0.8);
        }

        .floating {
            animation: floating 6s ease-in-out infinite;
        }

        @keyframes floating {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(2deg); }
            100% { transform: translateY(0px) rotate(0deg); }
        }

        .btn-premium {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-premium::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: all 0.5s ease;
        }

        .btn-premium:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }

        .btn-premium:hover::before {
            left: 100%;
        }

        .floating-bg {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            overflow: hidden;
        }

        .floating-bg div {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.2;
        }

        .bg-1 {
            width: 300px;
            height: 300px;
            background: var(--primary);
            top: -100px;
            right: -100px;
            animation: float-1 15s infinite alternate ease-in-out;
        }

        .bg-2 {
            width: 400px;
            height: 400px;
            background: var(--accent);
            bottom: -150px;
            left: -100px;
            animation: float-2 18s infinite alternate ease-in-out;
        }

        .bg-3 {
            width: 200px;
            height: 200px;
            background: var(--secondary);
            top: 40%;
            left: 30%;
            animation: float-3 12s infinite alternate ease-in-out;
        }

        @keyframes float-1 {
            0% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(-50px, 50px) rotate(10deg); }
            100% { transform: translate(-100px, 100px) rotate(20deg); }
        }

        @keyframes float-2 {
            0% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(50px, -50px) rotate(-10deg); }
            100% { transform: translate(100px, -100px) rotate(-20deg); }
        }

        @keyframes float-3 {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, 30px) scale(1.2); }
            100% { transform: translate(-30px, -30px) scale(0.8); }
        }

        /* Portal animation */
        .portal {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, rgba(99,102,241,0) 70%);
            z-index: 5;
            transition: all 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            pointer-events: none;
        }

        .portal.active {
            transform: translate(-50%, -50%) scale(3);
            opacity: 0;
        }

        /* Welcome message */
        .welcome-message {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            z-index: 10;
            text-align: center;
            opacity: 0;
            transition: all 1s ease;
        }

        .welcome-message h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            background: linear-gradient(to right, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .welcome-message p {
            font-size: 1.2rem;
            color: var(--dark);
            margin-bottom: 30px;
        }

        .form-submitted .login-container {
            transform: translateY(-100px);
            opacity: 0;
        }

        .form-submitted .welcome-message {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        /* Error message */
       .error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    display: none; /* Hidden by default */
}

.error-message.show {
    display: block; /* Show when needed */
}

        /* Responsive */
        @media (max-width: 768px) {
            .welcome-message h1 {
                font-size: 2rem;
            }

            .welcome-message p {
                font-size: 1rem;
            }
        }