:root {
    --lb-green: #1b5e3b;
    --lb-green-deep: #0f3d28;
    --lb-lime: #8bc34a;
    --lb-lime-soft: #a4d65e;
    --lb-ink: #1a2332;
    --lb-muted: #5c6b7a;
}

html {
    height: 100%;
}

.login-brand-body {
    margin: 0;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: Outfit, system-ui, sans-serif;
    background: #f4f6f5;
    color: var(--lb-ink);
}

.login-brand {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(22.5rem, 26rem) minmax(0, 1fr);
    align-items: stretch;
}

@media (min-width: 992px) {
    .login-brand {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    .login-brand__form-wrap {
        overflow-y: auto;
    }
}

@media (max-width: 991.98px) {
    .login-brand {
        grid-template-columns: 1fr;
        height: auto;
    }
    .login-brand__promo {
        order: -1;
        height: auto;
        min-height: 14rem;
        max-height: 46vh;
        max-height: 46dvh;
        aspect-ratio: 4 / 3;
    }
}

.login-brand__form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 2.5rem;
    background: #fff;
    min-height: 100%;
    border-right: 1px solid #e8eef2;
}

.login-brand__form {
    width: 100%;
    max-width: 26rem;
}

.login-brand__logo {
    display: block;
    width: min(100%, 220px);
    height: auto;
    margin: 0 auto 1rem;
}

.login-brand__tagline {
    text-align: center;
    color: var(--lb-muted);
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 0 0 1.75rem;
}

.login-brand__tagline em {
    font-style: normal;
    color: var(--lb-lime);
    font-weight: 700;
}

.login-brand__field {
    margin-bottom: 1rem;
}

.login-brand__field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lb-lime);
    margin-bottom: 0.4rem;
}

.login-brand__control {
    position: relative;
}

.login-brand__control i.lb-ico {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
}

.login-brand__control input {
    width: 100%;
    border: 1px solid #dbe3ea;
    border-radius: 0.75rem;
    padding: 0.75rem 2.6rem 0.75rem 2.55rem;
    font-size: 0.95rem;
    background: #f8fafb;
    color: var(--lb-ink);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.login-brand__control input:focus {
    border-color: var(--lb-lime);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.2);
    background: #fff;
}

.login-brand__toggle-pass {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0.35rem 0.45rem;
    cursor: pointer;
}

.login-brand__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.85rem 0 1.1rem;
}

.login-brand__remember {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--lb-ink);
    cursor: pointer;
    margin: 0;
}

.login-brand__remember input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--lb-lime);
}

.login-brand__forgot {
    color: var(--lb-lime);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.login-brand__forgot:hover {
    color: var(--lb-green);
    text-decoration: underline;
}

.login-brand__submit {
    width: 100%;
    border: 0;
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    background: var(--lb-green);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 24px rgba(27, 94, 59, 0.28);
}

.login-brand__submit:hover {
    background: var(--lb-green-deep);
}

.login-brand__captcha {
    margin: 0.85rem 0 0.35rem;
}

.login-brand__errors {
    margin-bottom: 1rem;
}

.login-brand__social-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.6rem 0 0.9rem;
    color: var(--lb-muted);
    font-size: 0.85rem;
}

.login-brand__social-head::before,
.login-brand__social-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.login-brand__socials {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
}

.login-brand__social {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}

.login-brand__social.is-facebook { background: #1877f2; }
.login-brand__social.is-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.login-brand__social.is-youtube { background: #ff0000; }
.login-brand__social.is-web { background: #334155; }

.login-brand__promo {
    position: relative;
    background: #071422;
    color: #fff;
    overflow: hidden;
    min-height: 100%;
    height: 100%;
    box-shadow: inset 18px 0 28px -18px rgba(0, 0, 0, 0.35);
}

.login-brand__promo-fill,
.login-brand__promo-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
}

.login-brand__promo-fill {
    object-fit: cover;
    object-position: center center;
    filter: blur(28px) saturate(1.15);
    transform: scale(1.12);
    opacity: 0.88;
}

.login-brand__promo-art {
    object-fit: contain;
    object-position: center center;
}
