.login-page {
    position: relative;
    z-index: 1;
    /* Ensure it's above the background */
    display: flex;
    margin: 0;
    height: 100vh;
    /* border: 1px solid black; */
    flex-direction: column;
    justify-content: space-between;
}

.login-page-image {
    position: fixed;
    /* Cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* background-image: url('../images/karsten-wurth-rafblRbne3o-unsplash.jpg?v=1'); */
    /* background-image: url('../images/autumn_road_3.webp?v=1'); the v=1 is trying to make this image cacheable even though the webpage says no caching */
   
    /* the v=1 is trying to make this image cacheable even though the webpage says no caching */
    /* Define the variable and use it */
    --login-bg-image: url('../images/autumn_road_3.webp?v=1');
    background-image: var(--login-bg-image);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: fadeIn 0.5s ease-in-out forwards;
    /* Fade-in animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        /* Start invisible */
    }

    to {
        opacity: 0.8;
        /* Fully visible */
    }
}


.login-page-top {
    display: flex;
    margin: 0;
    height: calc(100vh - 25px);
    /* width: 100px; */

    flex-direction: column;
    flex-wrap: wrap;
    /* flex-flow: column wrap; */

    align-items: center;
}

.login-page-bottom {
    display: flex;
    /* align-items: center; */
    justify-content: center; /* Centers the remaining items/group */
    font-size: 0.8rem;
    border: 1px solid gray;
    padding: 3px 0 4px 0px;
    color: dimgray;
    text-align: center;
}

.login-logo {
    width: 220px;
    margin-top: 1rem;
    margin-right: 10px;
    margin-bottom: 2rem;
    user-select: none;
}

.login-logo-2 {
    width: 220px;
    margin-top: 1.6rem;
    margin-right: 10px;
    margin-bottom: 0.5rem;
    user-select: none;
}

.login-form {
    width: 300px;
    margin-top: 80px;
}

.login-session-expired-message {
    font-size: 1rem;
    font-weight: 400;
    /* background-color: white; */
    color: white;
    padding: 8px 0 10px 12px;
    /* border: 3px solid white; */
    /* box-shadow: 3px 2px lightgray; */
    margin-bottom: 16px;
    user-select: none;
}

.login-fieldset {
    color: gray;
    background-color: inherit;
    border-color: whitesmoke;
    border-width: 2px;
    border-radius: 0.8rem;
    padding: 0rem 2rem;
}

.login-legend {
    padding: 0 0.6rem;
    /* color: gray */
    color: var(--color-text-1);
    user-select: none;
}

.login-warning {
    width: 300px;
    height: auto;
    margin: 0;
    padding: 4px 10px;
    font-size: 0.9rem;
    text-align: center;
    background-color: var(--color-background);
    border-radius: 5px;
}

.login-warning:empty {
    display: none;
}

.login-warning-2 {
    height: auto;
    margin: 15px 0;
    padding: 4px 10px 8px 10px;
    font-size: 1rem;
    background-color: var(--color-background);
    font-weight: 600;
    user-select: none;
}

.login-desc-2 {
    font-size: 1rem;
    margin: 25px 20px 10px 20px;
    color: var(--color-text-1);
    user-select: none;
}

.login-update-link {
    color: mediumblue;
    margin-left: 10px;
    font-weight: 600;
}

.login-update-link:hover {
    text-decoration: underline;
    background-color: white;
    text-shadow: 1px 0px navy;
}


.login-copyright {
    /* justify-self: flex-center; */
    margin-left: auto;
    /* pushes it to the center (because spacer takes the other half) */
    margin-right: auto;
    color: white;
    user-select: none;
}

.login-settings {
    margin-right: 10px;
    /* margin-left: auto; */
    color: white;
}

.login-form-label {
    display: inline-block;
    font-size: 0.8rem;
    padding-top: 18px;
    color: var(--color-text-1);
}

.login-form-note {
    display: inline-block;
    font-size: 0.8rem;
    padding-top: 18px;
    color: black;
}

.login-text {
    width: 100%;
    padding: 5px 0px 5px 7px;
    margin: 8px 0;
    border: 2px solid gray;
    border-radius: 4px;

}

.login-text:hover {
    background-color: var(--blue200);
    color: var(--blue900);
}

.login-text:focus {
    background-color: var(--blue100);
    color: var(--blue800);
}

.login-showPw {
    display: flex;
    flex-direction: row;
    height: 25px;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    font-size: 0.8rem;
    /* padding-top: 0px; */
}

.login-showPw-label {
    margin-left: 5px;
    color: black;
}

.login-showPw-checkbox {
    margin-left: 5px;
}

.login-button {
    margin: 1.5rem 0 1rem 0;
}

.login-div-button{
    display:flex;
    flex-direction: row;
    align-items:center;
}

.login-div-spinner{
    margin-left: 15px;
}


.login-link {
    font-size: 0.8rem;
    margin: 0 0 1rem 1rem;
    /* color: var(--color-link); */
    color: mediumblue;
    display: block;
    /* display: flex;
    justify-content: left; */
    cursor: pointer;
    width: auto;
    user-select: none;
}

.login-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


.logged-in {
    margin: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: dimgray;
}

.logged-in-not {
    margin: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-1);
}


.link-forgot-my-password {
    color: royalblue;
    font-size: 0.8rem;
    margin: 10px 0 20px 20px;
    user-select: none;
}

.link-forgot-my-password:hover {
    color: mediumblue;
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 4px;
    font-weight: 600;
}

.span-login-status {
    display: none;
    margin-left: 15px;
    color: green;
}

.img-login-status {
    display: none;
    margin-top: 0px;
    margin-left: 5px;
}


.background-selector-div-1{
    margin:  10px 0 30px 0 ;
}