.login-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(20, 184, 127, .14), rgba(36, 169, 231, .12)),
        #eef4f7;
    color: #102033;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-shell {
    width: min(980px, 100%);
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    border: 1px solid rgba(15, 23, 42, .1);
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
}

.login-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-width: 0;
    overflow: hidden;
    padding: 44px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--login-theme) 92%, #102033), color-mix(in srgb, var(--login-theme) 56%, #0f172a));
    color: #fff;
}

.login-brand::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border: 42px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.brand-mark {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-bottom: 1.5px solid rgba(255, 255, 255, .34);
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-mark span {
    font-size: 34px;
    font-weight: 900;
}

.login-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-brand h1 {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin: 0;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.login-copy {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.7;
}

.login-highlights {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.login-highlights span {
    border-bottom: 1.7px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .12);
    padding: 8px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.login-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    background: #fff;
}

.login-card-head p {
    margin: 0 0 8px;
    color: var(--login-theme);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-card-head h2 {
    margin: 0 0 28px;
    color: #0f172a;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
}

.login-alert {
    margin-bottom: 18px;
    border: 1px solid #fecdd3;
    background: #fff1f2;
    color: #be123c;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 800;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-field label {
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.login-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #cbd5df;
    background: #f8fafc;
    color: #0f172a;
    padding: 0 14px;
    font-size: 15px;
    outline: 0;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.login-field input:focus {
    border-color: var(--login-theme);
    background: #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--login-theme) 18%, transparent);
}

.login-submit {
    height: 50px;
    border: 0;
    background: var(--login-theme);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.login-submit:hover {
    filter: brightness(.94);
}

.login-submit:active {
    transform: translateY(1px);
}

@media (max-width: 820px) {
    .login-page {
        align-items: start;
        padding: 16px;
    }

    .login-shell {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .login-brand {
        gap: 20px;
        padding: 28px;
    }

    .login-brand h1 {
        font-size: 30px;
    }

    .login-copy {
        font-size: 14px;
        line-height: 1.55;
    }

    .login-card {
        padding: 30px 24px 28px;
    }

    .login-card-head h2 {
        margin-bottom: 22px;
        font-size: 28px;
    }
}

@media (max-width: 440px) {
    .login-page {
        padding: 0;
        place-items: stretch;
    }

    .login-shell {
        width: 100%;
        min-height: 100vh;
        border: 0;
        box-shadow: none;
    }

    .login-brand {
        padding: 22px 18px;
    }

    .brand-mark {
        width: 58px;
        height: 58px;
    }

    .login-brand h1 {
        font-size: 26px;
    }

    .login-highlights {
        display: none;
    }

    .login-card {
        justify-content: start;
        padding: 26px 18px 32px;
    }
}
