/* Reset margins/padding */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: sans-serif;
    overflow: hidden;
}

/* Background image container */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("wallpaper_login.jpg");
    background-size: cover;
    background-position: center;
    transition: filter 0.3s ease;
    z-index: 1;

}
    /* Class added on click to blur the background */
    .background.blur {
        filter: blur(10px) brightness(50%);
    }

/* Date & Clock container at the bottom right */
#dateTime {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    text-align: right;
    z-index: 2;
}
    /* Time styling */
    #dateTime #time {
        font-size: 46px;
        font-weight: bold;
        color: #fff;
    }
    /* Date styling */
    #dateTime #date {
        font-size: 16px;
        font-weight: normal;
        color: #fff;
        text-transform: capitalize;
    }

/* Login modal container */
#loginModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #000;
    display: none; /* hidden by default */
    z-index: 3;
    width: 300px;
}

/* Input fields and button styling */


.form {
    --bg-light: #efefef;
    --bg-dark: #707070;
    --clr: #58bc82;
    --clr-alpha: #9c9c9c60;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

    .form .input-span {
        width: 98%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .form input{
        border-radius: 0.5rem;
        padding: 1rem 0.75rem;
        width: 92%;
        border: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background-color: var(--clr-alpha);
        outline: 2px solid var(--bg-dark);
    }

        .form input:focus {
            outline: 2px solid var(--clr);
        }

.label {
    align-self: flex-start;
    color: #fff;
    font-weight: 600;
}

.form .submit {
    padding: 1rem 0.75rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 3rem;
    background-color: #5ac3e1;
    color: var(--bg-light);
    border: none;
    cursor: pointer;
    transition: all 300ms;
    font-weight: 600;
    font-size: 0.9rem;
}

    .form .submit:hover {
        background-color: #4596ae;
        color: #fff;
    }

.span {
    text-decoration: none;
    color: var(--bg-dark);
}

    .span a {
        color: var(--clr);
    }

