
  :root {
            --primary-blue: #2563eb;
            --primary-dark-blue: #1e40af;
            --primary-light-blue: #3b82f6;
            --secondary-blue: #60a5fa;
            --success-green: #10b981;
            --warning-orange: #f59e0b;
            --error-red: #ef4444;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --bg-light: #f9fafb;
            --border-color: #e5e7eb;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --radius: 16px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
        }


     body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: var(--text-dark);
    position: relative;
    overflow-x: auto;
    }

    /* Blueish vignette over the whole page */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(
            circle at center,
            rgba(0, 100, 255, 0) 50%,
            rgba(0, 50, 150, 0.35) 100%
        );
        pointer-events: none;
        z-index: 0;
    }


        .bg-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        .main-container {
            display: flex;
            width: 100%;
            max-width: 1200px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: var(--radius);
            box-shadow: var(--shadow-xl);
            overflow: hidden;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
            min-height: 600px;
            z-index: 1;
        }

        .welcome-section {
            flex: 1;
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark-blue));
            padding: 60px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .welcome-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .welcome-content {
            position: relative;
            z-index: 2;
        }

        .welcome-section h3 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 24px;
            background: linear-gradient(135deg, #ffffff, #e0f0ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }

        .welcome-section p {
            font-size: 18px;
            line-height: 1.6;
            opacity: 0.95;
            margin-bottom: 32px;
        }

        .feature-highlights {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .feature-item:last-child {
            border-bottom: none;
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            backdrop-filter: blur(10px);
        }

        .feature-text {
            font-size: 16px;
            opacity: 0.9;
        }

        .login-section {
            flex: 0 0 400px;
            background: white;
            display: flex;
            flex-direction: column;
        }

        .header {
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark-blue));
            padding: 18px 20px;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            position: relative;
            z-index: 2;
        }

        .logo {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-lg);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            overflow: hidden;
        }

        .logo-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }

        .logo-placeholder {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
            opacity: 0.8;
        }

        .header h1 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 4px;
            position: relative;
            z-index: 2;
        }

        .header p {
            font-size: 12px;
            opacity: 0.9;
            position: relative;
            z-index: 2;
        }

        .form-container {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .form-tabs {
            display: flex;
            margin-bottom: 20px;
            background: var(--bg-light);
            border-radius: 10px;
            padding: 3px;
        }

        .tab {
            flex: 1;
            padding: 8px 16px;
            text-align: center;
            border-radius: 7px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
            font-size: 12px;
        }

        .tab.active {
            background: white;
            color: var(--primary-blue);
            box-shadow: var(--shadow-sm);
        }

        .tab:not(.active) {
            color: var(--text-light);
        }

        .tab:hover:not(.active) {
            color: var(--text-dark);
        }

        h2 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
            color: var(--text-dark);
        }

        .subtitle {
            color: var(--text-light);
            font-size: 12px;
            margin-bottom: 18px;
        }

        .input-group {
            margin-bottom: 14px;
            position: relative;
        }

        .input-label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: var(--text-dark);
            font-size: 12px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
            font-size: 14px;
            z-index: 2;
        }

        .input-field {
            width: 100%;
            padding: 10px 10px 10px 36px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: 13px;
            transition: var(--transition);
            background: white;
            position: relative;
        }

        .input-field:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
            outline: none;
            transform: translateY(-1px);
        }

        .input-field.error {
            border-color: var(--error-red);
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
        }

        .input-field.success {
            border-color: var(--success-green);
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
        }

        .password-container {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: var(--text-light);
            font-size: 14px;
            background: none;
            border: none;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            transition: var(--transition);
        }

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

        .validation-message {
            font-size: 12px;
            margin-top: 4px;
            display: none;
        }

        .validation-message.error {
            color: var(--error-red);
            display: block;
        }

        .validation-message.success {
            color: var(--success-green);
            display: block;
        }

        .options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 28px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .remember-me input {
            margin-right: 8px;
            accent-color: var(--primary-blue);
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .remember-me label {
            font-size: 13px;
            color: var(--text-dark);
            cursor: pointer;
        }

        .forgot-password {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            font-size: 13px;
        }

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

        .btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark-blue));
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .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;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin: -10px 0 0 -10px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .security-features {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 12px;
            padding: 10px;
            background: linear-gradient(135deg, #f5f9ff, #e0f0ff);
            border-radius: 8px;
            border: 1px solid rgba(37, 99, 235, 0.1);
        }

        .security-badge {
            display: flex;
            align-items: center;
            font-size: 10px;
            color: var(--text-light);
        }

        .security-badge i {
            color: var(--success-green);
            margin-right: 3px;
        }

        .two-factor-hint {
            font-size: 10px;
            color: var(--text-light);
            text-align: center;
            margin-top: 6px;
        }

        .back-to-login {
            text-align: center;
            margin-top: 12px;
            color: var(--text-light);
            font-size: 12px;
        }

        .back-to-login a {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
        }

        .back-to-login a:hover {
            text-decoration: underline;
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            
            .main-container {
                flex-direction: column;
                max-width: 100%;
                min-height: auto;
            }
            
            .welcome-section {
                padding: 40px 30px;
                text-align: center;
            }
            
            .welcome-section h3 {
                font-size: 28px;
            }
            
            .welcome-section p {
                font-size: 16px;
            }
            
            .feature-highlights {
                display: none;
            }
            
            .login-section {
                flex: 1;
            }
        }

        @media (max-width: 480px) {
            .welcome-section {
                padding: 30px 20px;
            }
            
            .welcome-section h3 {
                font-size: 24px;
            }
            
            .welcome-section p {
                font-size: 14px;
            }
            
            .form-container {
                padding: 20px;
            }
            
            .options {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .animate-in {
            animation: fadeInUp 0.6s ease-out;
        }

        .form-content {
            animation: slideIn 0.4s ease-out;
        }

        .welcome-content {
            animation: fadeInLeft 0.6s ease-out;
        }

        .feature-item {
            animation: fadeInLeft 0.6s ease-out;
        }

        .feature-item:nth-child(1) { animation-delay: 0.1s; }
        .feature-item:nth-child(2) { animation-delay: 0.2s; }
        .feature-item:nth-child(3) { animation-delay: 0.3s; }