﻿/* Fullscreen background with two blurred images */
body.login {
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: url('../img/1.jpg') no-repeat center center fixed;
    background-size: cover;
}

    /* Overlay the second image with blur */
    body.login::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../img/4.jpg') no-repeat center center fixed;
        background-size: cover;
        filter: blur(8px); /* Adjust the blur radius as needed */
        z-index: -1;
        opacity: 0.5; /* Adjust opacity to control the blur effect */
        transition: opacity 1s ease-in-out; /* Smooth transition */
    }

    /* Optional: Fade between images on hover */
    body.login:hover::before {
        opacity: 0.7; /* Change the opacity to reveal the second image more */
    }

/* Container for the login form */
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px; /* Adjust the max-width as needed */
    margin: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8); /* White background with some transparency */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

    /* Styling input fields */
    .login-container .form-control {
        width: 400px; /* Increase the width */
        padding: 10px; /* Normal padding */
        font-size: 16px; /* Normal font size */
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box; /* Include padding and border in element's total width and height */
    }

    /* Styling the login button */
    .login-container .btn-primary {
        width: 400px; /* Match the width of input fields */
        padding: 10px; /* Normal padding */
        background-color: #007bff;
        border: none;
        border-radius: 4px;
        color: white;
        font-size: 16px; /* Normal font size */
        cursor: pointer;
    }

        .login-container .btn-primary:hover {
            background-color: #0056b3;
        }

    /* Styling form title */
    .login-container .form-title {
        text-align: center;
        font-size: 24px;
        margin-bottom: 20px;
    }

    /* Styling the remember me checkbox and text */
    .login-container .rememberme {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .login-container .forget-password {
        margin-top: 10px;
    }

        .login-container .forget-password h4 {
            margin: 0;
        }

        .login-container .forget-password p {
            margin: 5px 0;
        }
