.login-page {
    --login-accent: #146b62;
    --login-highlight: #85e1d0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 1;
    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
}

.login-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(2rem, 4vw, 4.25rem) clamp(2rem, 6vw, 7rem);
    background: radial-gradient(ellipse at 100% 78%, #17535b, transparent 72%),
        linear-gradient(150deg, #153650, #0c2036 72%);
    color: #fff;
}

.login-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -24rem;
    left: -19rem;
    width: 50rem;
    aspect-ratio: 1;
    border: 1px solid #85e1d024;
    border-radius: 50%;
    box-shadow: 0 0 0 3rem #85e1d00a, 0 0 0 6rem #85e1d008;
    pointer-events: none;
}

.login-intro-content {
    width: 100%;
    max-width: 31rem;
    margin-block: auto;
    padding-block: 3.25rem;
}

.login-intro h2 {
    font-size: clamp(2.35rem, 4.25vw, 4.5rem);
    font-weight: 640;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.login-intro h2 span {
    color: var(--login-highlight);
}

.login-intro-content > p {
    max-width: 25rem;
    margin-top: 1.25rem;
    color: #cbdae4;
    line-height: 1.65;
}

.payroll-preview {
    width: 100%;
    margin: 2rem 0 0;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid #ffffff35;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1.25rem 3rem #0615245c;
    color: var(--ink);
}

.payroll-preview figcaption {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.payroll-preview small {
    display: block;
    color: var(--muted);
}

.payroll-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 2.5rem;
    aspect-ratio: 1;
    border-radius: .6rem;
    background: #e4f5ef;
    color: #185d53;
    font-weight: 750;
}

.payroll-stages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    margin: 1.1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.payroll-stages li {
    display: grid;
    justify-items: center;
    gap: .45rem;
    color: var(--muted);
    text-align: center;
    font-size: .75rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.payroll-stages li span {
    display: grid;
    place-items: center;
    width: 1.75rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #edf2f7;
    color: #4c667d;
}

.payroll-stages li:nth-child(-n+2) span {
    background: #def3eb;
    color: #185d53;
}

.payroll-stages li:nth-child(3) span {
    background: var(--login-accent);
    color: #fff;
}

.login-organization {
    color: #c1d1de;
    font-size: .8rem;
}

.login-organization span {
    margin-inline: .25rem;
}

.login-access {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 4.25rem) clamp(2rem, 5vw, 5rem);
}

.login-top {
    display: flex;
    justify-content: flex-end;
}

.login-top .languages {
    border-color: var(--line);
}

.login-top .languages button {
    min-width: 2.25rem;
    min-height: 2rem;
    color: var(--muted);
}

.login-top .languages button[aria-pressed="true"],
.login-top .languages button:hover {
    background: #e4f5ef;
    color: #185d53;
}

.login-content {
    align-self: center;
    width: min(100%, 25rem);
    margin: 2.5rem auto 4rem;
}

.login-content h1 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.13;
    letter-spacing: -.045em;
}

.login-description {
    margin: .75rem 0 1.85rem;
    color: var(--muted);
}

.login-form {
    gap: 1rem;
}

.login-form label {
    gap: .4rem;
}

.login-form :is(input, select):not([type="hidden"]) {
    width: 100%;
    min-height: 3rem;
    padding: .65rem .85rem;
    border-radius: .55rem;
    font-size: 1rem;
}

.login-form :is(input, select):focus {
    border-color: var(--login-accent);
}

.login-content .button {
    width: 100%;
    min-height: 3rem;
    padding: .65rem 1rem;
    border-radius: .55rem;
    white-space: normal;
}

.login-content .primary {
    background: var(--login-accent);
}

.login-content .primary:hover {
    background: #10534d;
}

.login-submit {
    justify-content: space-between;
    gap: .75rem;
    margin-top: .35rem;
}

.login-submit span {
    font-size: 1.2rem;
    line-height: 1;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-block: 1.15rem;
    color: var(--muted);
    font-size: .83rem;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--line);
}

.login-microsoft {
    gap: .65rem;
}

.login-microsoft:disabled {
    cursor: default;
    opacity: .65;
}

.microsoft-mark {
    display: grid;
    flex: none;
    grid-template-columns: repeat(2, 7px);
    grid-auto-rows: 7px;
    gap: 2px;
    padding: 2px;
    border-radius: 2px;
    background: #fff;
}

.microsoft-mark i:nth-child(1) { background: #f25022; }
.microsoft-mark i:nth-child(2) { background: #7fba00; }
.microsoft-mark i:nth-child(3) { background: #00a4ef; }
.microsoft-mark i:nth-child(4) { background: #ffb900; }

.login-help {
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}

@media (max-width: 760px) {
    .login-page {
        display: flex;
        flex-direction: column;
        background: #f3f7f9;
    }

    .login-intro {
        padding: 1.5rem max(1rem, calc((100% - 28rem) / 2));
    }

    .login-intro-content,
    .login-organization {
        display: none;
    }

    .login-access {
        width: min(100%, 30rem);
        margin-inline: auto;
        padding: 1rem 1rem 2rem;
    }

    .login-content {
        width: 100%;
        margin: .85rem 0 0;
        padding: clamp(1.25rem, 5vw, 2rem);
        border: 1px solid var(--line);
        border-radius: 1rem;
        background: #fff;
        box-shadow: 0 .5rem 1.75rem #1536500d;
    }
}
