body {
    background-image: url('LoginPage_bacground_all.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.card.login {
    max-width: 500px;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.7); /* 70% opacity */
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wrapper {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Full viewport height */
    padding: 20px; /* Add some padding for smaller screens */
    box-sizing: border-box;
}

/* Ensure the .login-wrap is responsive */
.login-wrap {
    position: relative;
    /* max-width: 500px;  */
    width: 100%; /* Full width on smaller screens */
    text-align: center;
    margin-top: -100px;
}

.login-action {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Aligns content to the right */
    margin-top: 20px; /* Adds spacing above */
}

.login-wrap .form-group, .login-wrap .fs-h3 {
   margin-bottom: 18px;
}

.cardWrapper {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
}

    .cardWrapper .form-group,
    .cardWrapper #loginButton {
        width: 100%;
    }

.header-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-control {
    
    width: 100%;
    box-sizing: border-box; /* Prevents padding from increasing the element's width */
    font-size: 14px; /* Adjust as needed */
    color: #00205B; /* Color for typed text */
    font-family: 'Open Sans', sans-serif; /* Example font */
    font-weight: 200; /* Adjust font weight if needed */
}

    /* Hover state */
    .form-control:hover {
        border-color: #009EC0;
    }

    /* Focus state */
    .form-control:focus {
        border-color: #71C5E8;
        outline: none; /* Removes default outline on focus */
    }

    /* Style placeholder text */
    .form-control::placeholder {
        font-size: 14px; /* Adjust as needed */
        color: #BCBEC0; /* Example color */
        font-family: 'Open Sans', sans-serif; /* Example font */
        font-weight: 200; /* Adjust weight if needed */
        opacity: 1; /* Ensures the color is fully opaque */
    }

/* Logo */
.brand-logo {
    width: 50px; /* Adjust based on actual logo size */
    height: 50px;
    background: url('WaterStewardship_logo_BrightBlue.svg') no-repeat center center;
    background-size: contain;
    margin: 0 auto 10px auto; /* Center horizontally and add bottom margin */
    display: block;
}

.card.login h2 {
    margin-top: 55px; /* Add top margin to push the heading down */
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #00205B;
}

/* Headings */
.login h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #00205B;
}


#UserName {
    color: #00205B;
    background-color: #FFFFFF;
}

#Password {
    color: #BCBEC0;
    background-color: #FFFFFF;
}

/* Button */
#loginButton {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 14px;
    background-color: #008AD8;
    color: #FFFFFF;
    width: 280px;
    border-radius: 3px;
   
}

.ButtonAsLink {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #008AD8;
    text-decoration: none;
}

.footer-logo {
    width: 70px; /* Adjust size as needed */
    height: auto;
    vertical-align: middle;
    text-align:center;
    margin-bottom:20px;
}


/* Styling for the Password Recovery Dialog */
/* Styling for the Password Recovery Dialog */
.reset {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid #71C5E8;
    border-radius: 8px;
    padding: 20px;
    max-width: 350px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10;
    display: none;
}

    .reset.show {
        display: block;
    }

/* Mobile adjustments */
@media (max-width:640px) {
    .reset {
        max-width: 85%; /* Reduces width to fit mobile screen */
        padding: 15px; /* Reduces padding for compact view */
    }

        .reset h5 {
            font-si
            /* Show dialog when toggled */
            .reset.show {
        display: block;
    }

    .reset h5 {
        font-family: 'Open Sans', sans-serif;
        font-size: 18px;
        color: #00205B;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .reset .form-group {
        margin-bottom: 18px;
    }

.reset-instructions {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    line-height: 1.5;
}

.btn-theme {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 14px;
    background-color: #008AD8;
    color: #FFFFFF;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 3px;
    margin-top: 10px;
    cursor: pointer;
}

    .btn-theme:hover {
        background-color: #009EC0;
    }


#cmdPassReset {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 14px;
    background-color: #008AD8;
    color: #FFFFFF;
    width: 280px;
    border-radius: 3px;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

