  body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        margin: 0;
        padding: 0;
        background: linear-gradient(135deg, #e0e7ff 0%, #c3dafe 100%);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 90px;
    }

h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #677684;
    text-align: center;
    margin: 1.5rem 0 1rem;
}

p {
    font-size: 0.9rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 1.25rem;
}

.btn .demo-login{
    margin-top: 0.75rem !important;
}

    .login-container {
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        padding: 2.5rem;
        width: 100%;
        max-width: 400px;
        margin: 20px auto;
    }

    .login-container h1 {
        font-size: 1.75rem;
        font-weight: 600;
        color: #1a252f;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
        color: #4b5563;
        margin-bottom: 0.5rem;
    }

    .form-group input {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        font-size: 1rem;
        color: #1a252f;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        box-sizing: border-box;
    }

    .form-group input:focus {
        outline: none;
        border-color: #00FF00;
        box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.1);
    }

    .checkbox-group {
        display: flex;
        align-items: center;
        margin-bottom: 1.25rem;
    }

    .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 0.5rem;
        border: 1px solid #d1d5db;
        border-radius: 4px;
        cursor: pointer;
    }

    .checkbox-group label {
        font-size: 0.9rem;
        color: #4b5563;
        cursor: pointer;
    }

    .g-recaptcha {
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .btn {
        width: 100%;
        padding: 0.75rem;
        background-color: #0d6efd;
        color: #ffffff;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.1s ease;
    }

    .btn:hover {
        background-color: #0a58ca;
        transform: translateY(-1px);
    }

    .btn:active {
        transform: scale(0.98);
    }

    .alert {
        padding: 0.75rem;
        margin-bottom: 1.25rem;
        border-radius: 6px;
        font-size: 0.9rem;
        text-align: center;
    }

    .alert-success {
        background-color: #DCFCE7;
        color: #166534;
    }

    .alert-error {
        background-color: #FEE2E2;
        color: #DC2626;
    }

    .alert-link {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 500;
    }

    .alert-link:hover {
        text-decoration: underline;
        color: #0a58ca;
    }

    .forget-password {
        display: block;
        text-align: center;
        margin-top: 1rem;
        font-size: 0.9rem;
    }

    .forget-password a {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 500;
    }

    .forget-password a:hover {
        text-decoration: underline;
        color: #0a58ca;
    }

    .footer {
        background-color: #FFFFFF;
        padding: 40px 20px;
        text-align: center;
        border-top: 1px solid #E5E7EB;
        width: 100%;
        margin-top: auto;
    }

    .footer a {
        color: #00FF00;
        text-decoration: none;
        margin: 0 15px;
        font-size: 16px;
        font-weight: 500;
    }

    .footer a:hover {
        color: #00CC00;
        text-decoration: underline;
    }

    .footer p {
        margin-top: 20px;
        font-size: 14px;
        color: #6B7280;
    }

    .password-toggle {
        position: relative;
    }

    .password-toggle input {
        padding-right: 2.5rem; /* Ensure space for the icon */
    }

    .password-toggle .fa-eye, .password-toggle .fa-eye-slash {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #4b5563;
        font-size: 1rem;
    }

    @media (max-width: 480px) {
        .login-container {
            padding: 1.5rem;
        }

        .login-container h1 {
            font-size: 1.5rem;
        }
    }

    /* Night Mode Styles for Login Page */
    body.night-mode {
        background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    }

    body.night-mode .login-container {
        background: #2c3e50; /* Darker container background */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    body.night-mode .login-container h1 {
        color: #ffffff; /* White heading */
    }

    body.night-mode .form-group label {
        color: #bdc3c7; /* Lighter gray label text */
    }

    body.night-mode .form-group input {
        background-color: #34495e; /* Darker input background */
        border-color: #566573;
        color: #ecf0f1; /* Light input text */
    }

    body.night-mode .form-group input:focus {
        border-color: #3498db; /* Brighter blue focus */
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }

    body.night-mode .checkbox-group label {
        color: #bdc3c7;
    }
    
    body.night-mode .checkbox-group input[type="checkbox"] {
        border-color: #566573;
    }
    body.night-mode .checkbox-group input[type="checkbox"]:checked {
        background-color: #3498db;
    }


    body.night-mode .btn {
        background-color: #3498db; /* Brighter blue button */
        color: #ffffff;
    }

    body.night-mode .btn:hover {
        background-color: #2980b9; /* Darker blue on hover */
    }

    body.night-mode .alert-success {
        background-color: #27ae60; /* Darker green success */
        color: #ffffff;
    }
    body.night-mode .alert-success .alert-link,
    body.night-mode .alert-success .alert-link:hover {
        color: #ffffff;
        font-weight: bold;
    }


    body.night-mode .alert-error {
        background-color: #c0392b; /* Darker red error */
        color: #ffffff;
    }

    body.night-mode .alert-link {
        color: #3498db; /* Brighter blue link */
    }

    body.night-mode .alert-link:hover {
        color: #5dade2;
    }

    body.night-mode .forget-password a {
        color: #3498db;
    }

    body.night-mode .forget-password a:hover {
        color: #5dade2;
    }
    
    body.night-mode .password-toggle .fa-eye,
    body.night-mode .password-toggle .fa-eye-slash {
        color: #bdc3c7;
    }

    /* Footer styles specific to login.php in night mode */
    body.night-mode .footer {
        background-color: #1f2937; /* Dark footer background */
        border-top: 1px solid #374151;
    }

    body.night-mode .footer a {
        color: #60a5fa; /* Light blue links */
    }

    body.night-mode .footer a:hover {
        color: #93c5fd;
    }

    body.night-mode .footer p {
        color: #9ca3af; /* Lighter paragraph text */
    }