        :root {
            --primary: #0ff8c8;
            --primary-dark: #00d4aa;
            --secondary: #1a1a2e;
            --accent: #16213e;
            --text: #ffffff;
            --text-secondary: #b0b0b0;
            --background: #0a0a0a;
            --surface: #1a1a1a;
            --surface-light: #2a2a2a;
            --error: #ff4757;
            --warning: #ffa502;
            --success: #2ed573;
            --border: #333;
            --shadow: 0 10px 40px rgba(0, 248, 200, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'JetBrains Mono', monospace;
            background: var(--background);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Animated background */
        .background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: radial-gradient(circle at 20% 80%, rgba(0, 248, 200, 0.05) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(0, 248, 200, 0.05) 0%, transparent 50%),
                        radial-gradient(circle at 40% 40%, rgba(0, 212, 170, 0.03) 0%, transparent 50%);
            animation: pulse 10s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 0.8; }
        }

        .container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
        }

        .login-card {
            background: var(--surface);
            border-radius: 20px;
            padding: 3rem;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            backdrop-filter: blur(10px);
            width: 100%;
            max-width: 650px;
            position: relative;
            overflow: hidden;
        }

        .login-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            border-radius: 20px 20px 0 0;
        }

        .logo {
            text-align: center;
            margin-bottom: 2rem;
        }

        .logo h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            text-shadow: 0 0 20px rgba(0, 248, 200, 0.3);
            margin-bottom: 0.5rem;
        }

        .logo p {
            color: var(--text-secondary);
            font-size: 1rem;
        }

        .auth-tabs {
            display: flex;
            margin-bottom: 2rem;
            border-radius: 10px;
            background: var(--surface-light);
            padding: 4px;
        }

        .auth-tab {
            flex: 1;
            padding: 0.75rem;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-family: inherit;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .auth-tab.active {
            background: var(--primary);
            color: var(--background);
        }

        .auth-method {
            display: none;
        }

        .auth-method.active {
            display: block;
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text);
        }

        form input, form select {
            width: 100%;
            padding: 1rem;
            background: var(--surface-light);
            border: 2px solid var(--border);
            border-radius: 10px;
            color: var(--text);
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        form input:focus, form select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 20px rgba(0, 248, 200, 0.2);
        }

        input::placeholder {
            color: var(--text-secondary);
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .checkbox-group input[type="checkbox"] {
            width: auto;
            margin: 0;
            accent-color: var(--primary);
        }

        .checkbox-group label {
            margin: 0;
            font-size: 0.875rem;
            cursor: pointer;
        }

        .btn {
            width: 100%;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--background);
            border: none;
            border-radius: 10px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(0, 248, 200, 0.3);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .btn-loading {
            position: relative;
            color: transparent;
        }

        .btn-loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            border: 2px solid transparent;
            border-top: 2px solid var(--background);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .divider {
            display: flex;
            align-items: center;
            margin: 2rem 0;
            color: var(--text-secondary);
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        .divider span {
            padding: 0 1rem;
            font-size: 0.875rem;
        }

        .standard-auth, .enterprise-auth {
            margin-bottom: 2rem;
        }

        .auth-providers {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .enterprise-auth {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .auth-provider {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 1.25rem;
            background: var(--surface-light);
            border: 2px solid var(--border);
            border-radius: 10px;
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .auth-provider:hover {
            border-color: var(--primary);
            background: rgba(0, 248, 200, 0.05);
            transform: translateY(-2px);
        }

        .auth-provider.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .auth-provider.disabled:hover {
            transform: none;
            border-color: var(--border);
            background: var(--surface-light);
        }

        .provider-icon {
            font-size: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .signup-link {
            text-align: center;
            margin-top: 2rem;
            color: var(--text-secondary);
        }

        .signup-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }

        .signup-link a:hover {
            text-decoration: underline;
        }

        .error-message {
            background: rgba(255, 71, 87, 0.1);
            border: 1px solid rgba(255, 71, 87, 0.3);
            color: var(--error);
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
            display: none;
        }

        .success-message {
            background: rgba(46, 213, 115, 0.1);
            border: 1px solid rgba(46, 213, 115, 0.3);
            color: var(--success);
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
            display: none;
        }

        .mfa-section {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .mfa-section.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .mfa-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .mfa-method {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem;
            background: var(--surface-light);
            border: 2px solid var(--border);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.875rem;
        }

        .mfa-method:hover {
            border-color: var(--primary);
            background: rgba(0, 248, 200, 0.05);
        }

        .mfa-method.selected {
            border-color: var(--primary);
            background: rgba(0, 248, 200, 0.1);
        }

        .mfa-icon {
            font-size: 1.5rem;
        }

        .forgot-password {
            text-align: center;
            margin-top: 1rem;
        }

        .forgot-password a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.875rem;
        }

        .forgot-password a:hover {
            color: var(--primary);
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }

            .login-card {
                padding: 2rem;
                max-width: 100%;
            }

            .logo h1 {
                font-size: 2rem;
            }

            .mfa-methods {
                grid-template-columns: 1fr;
            }

            .auth-providers {
                grid-template-columns: 1fr;
            }

            .enterprise-auth {
                grid-template-columns: 1fr;
            }
        }

        /* Utility classes */
        .hidden {
            display: none;
        }

        .btn-secondary {
            background: var(--surface-light);
            color: var(--text);
            margin-top: 1rem;
        }

        .btn-secondary:hover {
            background: var(--surface);
            transform: translateY(-2px);
        }

        .mfa-title {
            text-align: center;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }

        /* Quantum Validation UI */
        .quantum-validation-box {
            margin: 1.5rem 0;
            padding: 1rem;
            border-radius: 10px;
            text-align: center;
        }

        .quantum-validation-validating {
            background: #2a2a2a;
            border: 2px solid #333;
            color: #b0b0b0;
        }

        .quantum-validation-success {
            background: rgba(46, 213, 115, 0.1);
            border: 2px solid #2ed573;
        }

        .quantum-validation-failure {
            background: rgba(255, 71, 87, 0.1);
            border: 2px solid #ff4757;
        }

        .quantum-spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid transparent;
            border-top: 2px solid #0ff8c8;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .quantum-message {
            margin-left: 0.5rem;
            color: #b0b0b0;
        }

        .quantum-validation-success .quantum-icon {
            color: #2ed573;
        }

        .quantum-validation-failure .quantum-icon {
            color: #ff4757;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Human Verification Styles */
        .human-verification {
            margin: 2rem 0;
            padding: 1.5rem;
            background: var(--surface-light);
            border-radius: 15px;
            border: 1px solid var(--border);
            text-align: center;
        }

        .verification-status {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .verification-indicator {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--border);
            transition: all 0.3s ease;
            position: relative;
        }

        .verification-indicator.validating {
            background: var(--warning);
            animation: pulse 2s ease-in-out infinite;
        }

        .verification-indicator.success {
            background: var(--success);
            box-shadow: 0 0 10px var(--success);
        }

        .verification-indicator.error {
            background: var(--error);
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.7; }
        }

        .text-muted {
            color: var(--text-secondary);
            font-size: 0.875rem;
            margin: 0;
        }

        .verification-highlight {
            color: var(--primary);
            font-weight: bold;
            text-shadow: 0 0 10px rgba(0, 248, 200, 0.5);
        }

        .verification-warning {
            color: var(--warning);
            font-weight: bold;
        }

        /* Password Toggle Eye Icon */
        .password-toggle-container {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            font-size: 1.2rem;
            padding: 0.5rem;
            transition: color 0.3s ease;
        }

        .password-toggle:hover {
            color: var(--primary);
        }
