html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;        /* min-height instead of height */
    overflow-x: hidden;
    overflow-y: auto;
    display: block;           /* block instead of flex — flex+align-items clips tall pages */
    background-image: url('../../img/login_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* keeps bg fixed while content scrolls */
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#formLoginCont1 {
    padding: 2rem 0;          /* breathing room top and bottom */
}

.login-container {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0 -5%;
}

.login-container h3 {
    color: #375249;
    font-family: Poppins;
    font-size: 28px;
    font-weight: 600;
    line-height: normal;
}

.logo {
    color: #3F5950;
    font-family: Poppins, sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 3rem 0 2.5rem 0;
    padding-left: 2rem;
}

.forgot-password {
    color: #44D19D;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.form-label {
    color: #3F5950;
    font-family: Poppins;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-control {
    border-radius: 22px;
    background: #F6F6F6;
}

.btn-login {
    border-radius: 22px;
    background: #ABFADD;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.20);
    width: 100%;
    padding: 9px 30px;
    color: #3F5950;
    text-align: center;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 600;
}

.btn-login:hover {
    background: #57c094;
}

.footer-links {
    margin-top: 1.5rem;
    font-size: 14px;
}

.footer {
    width: 100%;
    text-align: center;
    margin: 2rem 0;           /* reduced from 4rem so it's not too spaced on tall pages */
}

.footer a {
    color: rgba(55, 82, 73, 0.80);
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}

.footer p {
    padding-left: 2.2rem;
}

.footer-links a {
    color: #44D19D;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.footer-links p {
    color: #333;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
}

/* Person illustration images */
.login-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    float: inline-end;
    z-index: 10;
    position: relative;
}

.login-image2 {
    top: -3rem;               /* was -5rem, caused overlap on vendor form */
    position: relative;
    left: 15%;
}

/* ── Responsive ── */
@media (min-width: 300px) and (max-width: 991.98px) {
    .login-image,
    .login-image2 {
        display: none;
    }
    .logo {
        padding-left: 0;
    }
    .footer p {
        padding-left: 0;
    }
    .login-container {
        margin: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .login-container {
        margin: 0 0 0 -6.5%;
    }
    .login-image2 {
        top: -3rem;
        left: 5%;
    }
}

/* Validation */
span.error {
    color: red;
    font-size: 11px;
}
span.requiredSpan {
    color: red;
}
.errorList.col-12 {
    color: red;
    font-size: 12px;
}
ul#errors {
    list-style-type: disc;
    text-align: left;
}

#toast {
    z-index: 3000;
    right: 0;
    top: 0;
}
#toast > .toast {
    background-color: #fff;
    font-size: 1rem;
    width: 350px;
}