:root {
            --primary-color: #0066ff;
            --primary-light: #e6f0ff;
            --primary-dark: #004dcc;
            --secondary-color: #00d8aa;
            --secondary-light: #e6fff9;
            --dark-color: #1a1a2e;
            --text-color: #2d3748;
            --text-light: #718096;
            --light-bg: #f8fafc;
            --card-bg: rgba(255, 255, 255, 0.95);
            --gradient-primary: linear-gradient(135deg, var(--primary-color), #0088ff);
            --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #00e6c4);
            --gradient-bg: linear-gradient(135deg, #e6f0ff 0%, #f0f8ff 50%, #e6fff9 100%);
            --shadow-soft: 0 4px 20px rgba(0, 102, 255, 0.08);
            --shadow-md: 0 12px 20px -3px rgba(0, 0, 0, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.08);
            --border-radius: 16px;
            --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #e6f0ff;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            color: var(--text-color);
            position: relative;
            padding: 0px;
        }
        
        body::before {
            content: '';
            position: fixed;
            top: -20%;
            right: -20%;
            width: 70%;
            height: 70%;
            background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
            opacity: 0.4;
            z-index: -1;
        }
        
        body::after {
            content: '';
            position: fixed;
            bottom: -20%;
            left: -20%;
            width: 70%;
            height: 70%;
            background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
            opacity: 0.4;
            z-index: -1;
        }

        .auth-container {
            display: flex;
            width: 100%;
            max-width: 1000px;
            min-height: 600px;
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            margin: 20px;
        }

        .auth-visual {
            flex: 1;
            background: var(--gradient-primary);
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .auth-visual::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
            z-index: 0;
        }

        .auth-visual-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 400px;
        }

        .auth-visual h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 2.2rem;
            margin-bottom: 20px;
        }

        .auth-visual p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .floating-icons {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            overflow: hidden;
        }

        .floating-icon {
            position: absolute;
            opacity: 0.1;
            font-size: 2rem;
            animation: float 15s infinite ease-in-out;
        }

        .floating-icon:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
        .floating-icon:nth-child(2) { top: 60%; left: 70%; animation-delay: 2s; }
        .floating-icon:nth-child(3) { top: 30%; left: 80%; animation-delay: 4s; }
        .floating-icon:nth-child(4) { top: 70%; left: 10%; animation-delay: 6s; }
        .floating-icon:nth-child(5) { top: 40%; left: 40%; animation-delay: 8s; }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(10deg); }
        }

        .auth-form {
            flex: 1;
            padding: 50px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .logo {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 2.2rem;
            color: var(--primary-dark);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .logo i {
            color: var(--secondary-color);
            margin-right: 12px;
            font-size: 1.8rem;
            background: var(--gradient-secondary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .welcome-text {
            text-align: center;
            margin-bottom: 40px;
        }

        .welcome-text h2 {
            font-weight: 600;
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: var(--dark-color);
        }

        .welcome-text p {
            color: var(--text-light);
            font-size: 1rem;
        }

        .form-control {
            border-radius: 12px;
            padding: 16px 20px;
            border: 1.5px solid #e0e6ed;
            transition: var(--transition);
            font-size: 1rem;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(0, 102, 255, 0.15);
        }
        
        .input-group-text {
            background-color: white;
            border: 1.5px solid #e0e6ed;
            border-right: none;
            border-radius: 12px 0 0 12px;
            color: var(--primary-color);
            padding: 0 20px;
        }
        
        .input-group .form-control {
            border-left: none;
        }
        
        .input-group .form-control:focus {
            border-left: none;
        }

        .form-floating>.form-control:focus~label, 
        .form-floating>.form-control:not(:placeholder-shown)~label {
            color: var(--primary-color);
        }

        .btn-primary {
            font-weight: 600;
            padding: 16px 32px;
            border-radius: 12px;
            transition: var(--transition);
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
            border: none;
            z-index: 1;
            background: var(--gradient-primary);
            box-shadow: var(--shadow-soft);
            color: white;
            font-size: 1.1rem;
        }
        
        .btn-primary:hover {
            color: white;
            box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
            transform: translateY(-2px);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-secondary);
            opacity: 0;
            transition: var(--transition);
            z-index: -1;
        }
        
        .btn-primary:hover::before {
            opacity: 1;
        }

        .form-text {
            color: var(--text-light);
            font-size: 0.95rem;
        }
        
        a {
            color: var(--primary-color);
            transition: color 0.3s ease;
            text-decoration: none;
            font-weight: 500;
        }
        
        a:hover {
            color: var(--primary-dark);
        }
        
        .password-toggle {
            cursor: pointer;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
            transition: color 0.3s ease;
            z-index: 5;
            background: white;
            padding: 5px;
        }
        
        .password-toggle:hover {
            color: var(--text-color);
        }

        .divider {
            display: flex;
            align-items: center;
            margin: 25px 0;
            color: var(--text-light);
            font-size: 0.9rem;
        }
        
        .divider::before, .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e0e6ed;
        }
        
        .divider::before {
            margin-right: 15px;
        }
        
        .divider::after {
            margin-left: 15px;
        }

        .social-login {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .social-btn {
            flex: 1;
            padding: 12px;
            border-radius: 12px;
            border: 1.5px solid #e0e6ed;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .social-btn:hover {
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: var(--shadow-soft);
        }
        
        .social-btn img {
            height: 20px;
            width: 20px;
        }

        @media (max-width: 992px) {
            .auth-container {
                flex-direction: column;
                max-width: 500px;
            }
            
            .auth-visual {
                display: none;
            }
        }

        @media (max-width: 576px) {
            .auth-form {
                padding: 30px 20px;
            }
            
            .social-login {
                flex-direction: column;
                gap: 10px;
            }
        }
        
        /* Styles for the fingerprint section */
        .fingerprint-section {
            display: none; /* Hidden by default, shown by JS */
            flex-direction: column;
            align-items: center;
            margin-top: 20px;
            margin-bottom: 20px;
            cursor: pointer;
            padding: 15px;
            border: 1px solid transparent;
            border-radius: 1.5rem; /* Match button border-radius */
            transition: all 0.3s ease;
            background-image: linear-gradient(to bottom, #0002cb, #0002cb) !important; /* Use site color */
            color: white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            width: 100%; /* Make it full width like the login button */
        }

        .fingerprint-section:hover {
            background-image: linear-gradient(to bottom, #000080, #0000CD) !important; /* Slightly darker hover */
        }

        .fingerprint-icon-container {
            width: 60px;
            height: 60px;
            background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }

        .fingerprint-section:hover .fingerprint-icon-container {
            background-color: rgba(255, 255, 255, 0.3);
        }

        .fingerprint-icon-container i {
            font-size: 28px;
            color: white;
            transition: all 0.3s ease;
        }

        .fingerprint-text {
            font-size: 0.95rem;
            color: white;
            font-weight: 500;
        }

        .or-divider {
            display: none; /* Hidden by default, shown by JS */
            align-items: center;
            margin: 1.5rem 0;
            color: #adb5bd;
            font-size: 0.875rem;
        }

        .or-divider::before,
        .or-divider::after {
            content: "";
            flex: 1;
            border-bottom: 1px solid #e9ecef;
            margin: 0 10px;
        }
        
        /* Custom Fingerprint Modal Styles */
        .fingerprint-modal {
            display: none; /* IMPORTANT: Changed to 'none' here. JS will change to 'flex' */
            position: fixed;
            z-index: 10000; /* Ensure it's on top */
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.7); /* Black with opacity */
            align-items: center; /* Use flexbox properties for centering */
            justify-content: center; /* Use flexbox properties for centering */
            flex-direction: column;
            color: white;
            font-size: 20px;
            text-align: center;
        }

        .fingerprint-modal-content {
            background-color: #fefefe;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #333;
        }

        .fingerprint-modal-icon { /* Changed from .fingerprint-icon-modal to avoid confusion */
            font-size: 60px;
            color: #0002cb; /* Use site color for consistency */
            margin-bottom: 20px;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Styling for the new "switch account" link */
        .switch-account-link {
            display: block;
            text-align: center;
            margin-top: 10px;
            color: #0002cb; /* Use site color */
            text-decoration: underline;
            cursor: pointer;
            font-weight: bold;
        }
        /* Add to your css.css file */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.separator-text {
    padding: 0 10px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.g_id_signin {
    width: 100%;
    margin-bottom: 1rem;
}

/* Google button custom styling */
.g_id_signin > div {
    width: 100% !important;
}

/* Remember me styling enhancement */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-label {
    cursor: pointer;
}

/* Security badges enhancement */
.badge.bg-warning {
    background: linear-gradient(135deg, #f0ad4e, #ec971f) !important;
    color: #fff;
}

/* Floating icons animation */
.floating-icon {
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) { animation-delay: 0s; }
.floating-icon:nth-child(2) { animation-delay: 1s; }
.floating-icon:nth-child(3) { animation-delay: 2s; }
.floating-icon:nth-child(4) { animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}