/* Laflora login page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 0px);
    padding: clamp(24px, 6vh, 64px) 20px;
    background:
        radial-gradient(ellipse at 50% 42%, rgba(90, 159, 53, .055), transparent 48%),
        #f4f7f5;
}

.login-card {
    width: min(100%, 480px);
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e9e5;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(31, 55, 43, .09);
}

.login-card__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    padding: 28px 32px 8px;
}

.login-card__logo {
    display: block;
    width: min(100%, 255px);
    max-height: 112px;
    object-fit: contain;
}

.login-card__content {
    padding: 16px 60px 42px;
}

.login-card__title {
    margin: 0 0 30px;
    color: #18312c;
    font-size: clamp(1.45rem, 3vw, 1.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .035em;
    text-align: center;
    text-transform: uppercase;
}

.login-form__field {
    margin-bottom: 18px;
}

.login-form__label {
    display: block;
    margin-bottom: 7px;
    color: #263b35;
    font-size: .94rem;
    font-weight: 600;
}

.login-form__input {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    color: #243630;
    background: #fbfcfb;
    border: 1px solid #d5dfd9;
    border-radius: 7px;
    outline: none;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.login-form__input:focus {
    background: #fff;
    border-color: #70ad50;
    box-shadow: 0 0 0 3px rgba(90, 159, 53, .14);
}

.login-form__input.is-invalid {
    border-color: #c94b4b;
}

.login-form__error {
    display: block;
    margin-top: 6px;
    color: #bd3d3d;
    font-size: .86rem;
}

.login-form__remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 2px 0 28px;
    color: #40524b;
    font-size: .92rem;
    cursor: pointer;
}

.login-form__remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #5a9f35;
    cursor: pointer;
}

.login-form__submit {
    display: block;
    width: min(100%, 220px);
    min-height: 46px;
    margin: 0 auto;
    padding: 11px 20px;
    color: #fff;
    background: #5a9f35;
    border: 1px solid #5a9f35;
    border-radius: 8px;
    font-size: .96rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.login-form__submit:hover {
    background: #47862a;
    border-color: #47862a;
    box-shadow: 0 5px 14px rgba(71, 134, 42, .2);
    transform: translateY(-1px);
}

.login-form__submit:focus-visible {
    outline: 3px solid rgba(90, 159, 53, .25);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .login-page {
        min-height: 100vh;
        padding: 20px 14px;
    }

    .login-card {
        border-radius: 12px;
    }

    .login-card__brand {
        min-height: 126px;
        padding: 24px 24px 4px;
    }

    .login-card__logo {
        width: min(100%, 225px);
        max-height: 96px;
    }

    .login-card__content {
        padding: 14px 25px 32px;
    }

    .login-card__title {
        margin-bottom: 25px;
    }
}
