
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, sans-serif;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
            overflow-y: auto; /* Changed from hidden to auto */
        }

        /* Creative Background Pattern - Fixed but content scrolls */
        .bg-pattern {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none; /* Allows clicking through to content */
        }

        /* Gradient Orbs */
        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.5;
            animation: float 20s infinite ease-in-out;
        }

        .orb-1 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, #3b82f6 0%, #8b5cf6 100%);
            top: -200px;
            right: -200px;
            animation-delay: 0s;
        }

        .orb-2 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, #06b6d4 0%, #3b82f6 100%);
            bottom: -200px;
            left: -200px;
            animation-delay: -5s;
        }

        .orb-3 {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, #8b5cf6 0%, #ec4899 100%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-delay: -10s;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(50px, 50px) scale(1.1); }
            50% { transform: translate(0, 100px) scale(1); }
            75% { transform: translate(-50px, 50px) scale(0.9); }
        }

        /* Grid Pattern */
        .grid-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: 1;
            animation: gridMove 30s linear infinite;
        }

        @keyframes gridMove {
            0% { background-position: 0 0; }
            100% { background-position: 50px 50px; }
        }

        /* Circuit Lines */
        .circuit-lines {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            opacity: 0.1;
        }

        .circuit-line {
            position: absolute;
            background: linear-gradient(90deg, transparent, #60a5fa, transparent);
            height: 1px;
            width: 100%;
            animation: circuitMove 8s linear infinite;
        }

        .circuit-line:nth-child(1) { top: 20%; animation-delay: 0s; }
        .circuit-line:nth-child(2) { top: 40%; animation-delay: -2s; }
        .circuit-line:nth-child(3) { top: 60%; animation-delay: -4s; }
        .circuit-line:nth-child(4) { top: 80%; animation-delay: -6s; }

        @keyframes circuitMove {
            0% { transform: translateX(-100%); opacity: 0; }
            50% { opacity: 0.5; }
            100% { transform: translateX(100%); opacity: 0; }
        }

        /* Floating Dots */
        .dots {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 3;
        }

        .dot {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            animation: dotFloat 15s infinite ease-in-out;
        }

        .dot:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
        .dot:nth-child(2) { top: 75%; left: 20%; animation-delay: -2s; width: 6px; height: 6px; }
        .dot:nth-child(3) { top: 30%; left: 80%; animation-delay: -4s; width: 3px; height: 3px; }
        .dot:nth-child(4) { top: 85%; left: 70%; animation-delay: -6s; width: 5px; height: 5px; }
        .dot:nth-child(5) { top: 45%; left: 40%; animation-delay: -8s; width: 4px; height: 4px; }
        .dot:nth-child(6) { top: 60%; left: 90%; animation-delay: -10s; width: 7px; height: 7px; }
        .dot:nth-child(7) { top: 20%; left: 50%; animation-delay: -12s; width: 4px; height: 4px; }
        .dot:nth-child(8) { top: 90%; left: 30%; animation-delay: -14s; width: 5px; height: 5px; }

        @keyframes dotFloat {
            0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
            25% { transform: translate(20px, -20px) scale(1.2); opacity: 0.4; }
            50% { transform: translate(40px, 0) scale(1); opacity: 0.2; }
            75% { transform: translate(20px, 20px) scale(0.8); opacity: 0.3; }
        }

        /* Login Container - Scrollable */
        .login-wrapper {
            width: 100%;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 10;
            padding: 40px 20px;
        }

        .login-container {
            width: 100%;
            max-width: 400px;
            animation: fadeIn 0.6s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-box {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            padding: 32px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .logo {
            text-align: center;
            margin-bottom: 24px;
        }

        .logo-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            color: white;
            font-size: 28px;
            box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.3);
        }

        .logo h1 {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
        }

        .logo p {
            font-size: 14px;
            color: #64748b;
            margin-top: 4px;
        }

        .security-badge {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border: 1px solid #bae6fd;
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .security-badge-icon {
            width: 36px;
            height: 36px;
            background: #3b82f6;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }

        .security-badge-text {
            flex: 1;
        }

        .security-badge-title {
            font-size: 13px;
            font-weight: 600;
            color: #1e40af;
            margin-bottom: 2px;
        }

        .security-badge-features {
            display: flex;
            gap: 8px;
            font-size: 11px;
            color: #2563eb;
        }

        .alert {
            background: #fee2e2;
            border: 1px solid #fecaca;
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 20px;
            color: #b91c1c;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 6px;
            color: #334155;
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 16px;
        }

        .form-control {
            width: 100%;
            padding: 12px 12px 12px 40px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 14px;
            font-family: inherit;
            transition: all 0.2s;
            background: white;
        }

        .form-control:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #64748b;
            cursor: pointer;
            font-size: 16px;
            padding: 4px;
        }

        .password-toggle:hover {
            color: #3b82f6;
        }

        .form-options {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 16px 0 24px;
        }

        .checkbox {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .checkbox input {
            width: 16px;
            height: 16px;
            cursor: pointer;
            accent-color: #3b82f6;
        }

        .checkbox span {
            font-size: 14px;
            color: #475569;
        }

        .forgot-link {
            font-size: 14px;
            color: #3b82f6;
            text-decoration: none;
            font-weight: 500;
        }

        .forgot-link:hover {
            text-decoration: underline;
        }

        .btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
        }

        .btn:active {
            transform: translateY(0);
        }

        .demo-box {
            margin-top: 24px;
            padding: 16px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
        }

        .demo-title {
            font-size: 13px;
            font-weight: 600;
            color: #475569;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .demo-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            padding: 6px 0;
        }

        .demo-label {
            color: #64748b;
            min-width: 70px;
        }

        .demo-value {
            background: white;
            padding: 4px 10px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            font-family: monospace;
            color: #3b82f6;
            font-weight: 500;
        }

        .warning {
            margin-top: 12px;
            font-size: 12px;
            color: #dc2626;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .footer {
            text-align: center;
            margin-top: 20px;
            font-size: 12px;
            color: #94a3b8;
        }

        .footer a {
            color: #e2e8f0;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer a:hover {
            color: white;
        }

        @media (max-width: 480px) {
            .login-box {
                padding: 24px;
            }
            
            .orb-1 {
                width: 300px;
                height: 300px;
            }
            
            .orb-2 {
                width: 250px;
                height: 250px;
            }
            
            .orb-3 {
                width: 200px;
                height: 200px;
            }
            
            .login-wrapper {
                padding: 20px 12px;
            }
        }

        .password-requirements {
            font-size: 12px;
            margin-top: 10px;
            padding: 10px;
            background: #f9fafb;
            border-radius: 8px;
        }
        
        .requirement {
            display: flex;
            align-items: center;
            gap: 5px;
            margin: 5px 0;
            color: #6b7280;
        }
        
        .requirement.met {
            color: #10b981;
        }
        
        .requirement.met i {
            color: #10b981;
        }
        
        .password-strength {
            margin-top: 10px;
        }
        
        .strength-meter {
            display: flex;
            gap: 5px;
            height: 5px;
            margin: 10px 0;
        }
        
        .strength-segment {
            flex: 1;
            background: #e5e7eb;
            border-radius: 5px;
            transition: all 0.3s;
        }
        
        .strength-segment.active {
            background: linear-gradient(90deg, #10b981, #059669);
        }
        
        .timer {
            font-size: 14px;
            color: #6b7280;
            margin-top: 10px;
            padding: 8px;
            background: #f3f4f6;
            border-radius: 8px;
            text-align: center;
        }
  