:root {
    --employee-yellow: #ffd34d;
    --employee-amber: #f2a900;
    --employee-ink: #17191d;
    --employee-paper: #ffffff;
    --employee-muted: #746f66;
    --employee-line: rgba(23, 25, 29, .14);
    --employee-red: #c9513b;
}

html,
body {
    min-height: 100%;
}

body.login-page {
    min-width: 320px;
    margin: 0;
    color: var(--employee-ink);
    background: var(--employee-paper);
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 300;
}

.login-shell {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    grid-template-columns: minmax(22rem, 42%) minmax(0, 1fr);
}

.brand-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--employee-paper);
    background: var(--employee-ink);
}

.brand-panel::before,
.brand-panel::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: '';
}

.brand-panel::before {
    right: -10rem;
    bottom: -11rem;
    width: 28rem;
    height: 28rem;
    border: 4.7rem solid rgba(255, 211, 77, .9);
}

.brand-panel::after {
    top: 16%;
    right: 12%;
    width: 9rem;
    height: 9rem;
    border: 1px solid rgba(255, 255, 255, .12);
}

.brand-content {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: inherit;
    font-size: .78rem;
    font-weight: 500;
}

.brand-mark-symbol {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: .5rem;
    place-items: center;
    color: var(--employee-ink);
    background: var(--employee-yellow);
    font-size: .72rem;
    font-weight: 600;
}

.brand-message {
    max-width: 31rem;
    margin: auto 0;
}

.eyebrow,
.login-kicker {
    color: var(--employee-amber);
    font-size: .67rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.brand-message h1 {
    margin: 1rem 0 .8rem;
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
}

.brand-message p {
    max-width: 27rem;
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: .88rem;
    line-height: 1.7;
}

.brand-footer {
    color: rgba(255, 255, 255, .42);
    font-size: .66rem;
    letter-spacing: .05em;
}

.login-panel {
    display: grid;
    padding: clamp(1.5rem, 6vw, 6rem);
    place-items: center;
    background: #fff;
}

.login-form-wrap {
    width: min(100%, 25rem);
}

.mobile-brand {
    display: none;
}

.login-heading {
    margin-bottom: 2rem;
}

.login-heading h2 {
    margin: .55rem 0 .4rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -.035em;
}

.login-heading p {
    margin: 0;
    color: var(--employee-muted);
    font-size: .8rem;
}

.login-form .form-label {
    margin-bottom: .4rem;
    color: #38352f;
    font-size: .73rem;
    font-weight: 500;
}

.login-form .form-control {
    min-height: 2.95rem;
    border: 1px solid var(--employee-line);
    border-radius: .42rem;
    padding: .68rem .8rem;
    color: var(--employee-ink);
    background: #faf9f7;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 300;
    box-shadow: none;
}

.login-form .form-control:hover {
    border-color: rgba(242, 169, 0, .6);
}

.login-form .form-control:focus,
.password-field:focus-within {
    border-color: var(--employee-amber);
    box-shadow: 0 0 0 .18rem rgba(242, 169, 0, .14);
}

.password-field {
    display: flex;
    overflow: hidden;
    align-items: center;
    border: 1px solid var(--employee-line);
    border-radius: .42rem;
    background: #faf9f7;
}

.password-field .form-control {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.password-toggle {
    min-height: 2.9rem;
    border: 0;
    padding: 0 .85rem;
    color: #4b4740;
    background: transparent;
    font-family: inherit;
    font-size: .67rem;
    font-weight: 500;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: #8a6500;
}

.password-toggle:focus-visible {
    outline: 2px solid var(--employee-amber);
    outline-offset: -3px;
}

.field-error {
    display: none;
    margin-top: .3rem;
    color: #9d342d;
    font-size: .64rem;
}

.form-control.is-invalid ~ .field-error,
.password-field.is-invalid + .field-error {
    display: block;
}

.form-alert {
    display: none;
    margin-bottom: 1rem;
    border-left: 3px solid var(--employee-red);
    padding: .7rem .8rem;
    color: #802b27;
    background: #fff1ef;
    font-size: .72rem;
}

.form-alert.is-visible {
    display: block;
}

.btn-sign-in {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--employee-ink);
    border-radius: .42rem;
    color: #fff;
    background: var(--employee-ink);
    font-family: inherit;
    font-size: .75rem;
    font-weight: 500;
}

.btn-sign-in:hover,
.btn-sign-in:focus-visible {
    border-color: #30343a;
    color: #fff;
    background: #30343a;
}

.btn-sign-in:focus-visible {
    box-shadow: 0 0 0 .2rem rgba(242, 169, 0, .3);
}

.login-meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1.4rem;
    color: #938d82;
    font-size: .64rem;
}

.login-meta span {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--employee-amber);
}

@media (max-width: 767.98px) {
    .login-shell {
        display: block;
    }

    .brand-panel {
        display: none;
    }

    .login-panel {
        min-height: 100vh;
        min-height: 100svh;
        align-items: center;
        padding: 1.5rem;
    }

    .mobile-brand {
        display: inline-flex;
        margin-bottom: 3rem;
    }

    .mobile-brand .brand-mark-symbol {
        color: var(--employee-ink);
    }
}

@media (max-width: 399.98px) {
    .login-panel {
        padding: 1.1rem;
    }
}
