.wm-login-body {
    width: 100%;
    min-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    background: #0f1b2b !important;
}

.wm-login {
    --wm-primary: #f5b301;
    --wm-primary-dark: #d99100;
    --wm-accent: #32c48d;
    --wm-ink: #f8fafc;
    --wm-muted: #94a3b8;
    position: fixed;
    inset: 0;
    display: block;
    width: 100%;
    min-width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    background:
        radial-gradient(circle at 12% 0%, rgb(245 179 1 / 18%), transparent 25rem),
        radial-gradient(circle at 100% 86%, rgb(50 196 141 / 16%), transparent 29rem),
        linear-gradient(155deg, #142235, #0f1b2b 55%, #172437);
    color: var(--wm-ink);
    isolation: isolate;
}

.wm-login::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.wm-login__glow {
    position: absolute;
    z-index: -1;
    width: 20rem;
    height: 20rem;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: .16;
    pointer-events: none;
}

.wm-login__glow--one {
    top: -10rem;
    left: 38%;
    background: #f5b301;
}

.wm-login__glow--two {
    right: -8rem;
    bottom: -9rem;
    background: #32c48d;
}

.wm-login__shell {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: min(1120px, calc(100vw - 3rem));
    height: min(720px, calc(100svh - 4rem));
    height: min(720px, calc(100dvh - 4rem));
    min-height: 34rem;
    max-height: calc(100dvh - 4rem);
    margin: 0;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    transform: translate3d(-50%, -50%, 0);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 2rem;
    background: rgb(22 35 50 / 86%);
    box-shadow: 0 34px 82px rgb(0 0 0 / 30%);
    backdrop-filter: blur(24px);
}

.wm-login__showcase {
    position: relative;
    display: flex;
    min-height: 0;
    padding: 3rem;
    overflow: hidden;
    flex-direction: column;
    background:
        linear-gradient(145deg, rgb(245 179 1 / 10%), transparent 48%),
        linear-gradient(25deg, rgb(50 196 141 / 12%), transparent 55%),
        #18283a;
    border-right: 1px solid rgb(255 255 255 / 9%);
}

.wm-login__showcase::after {
    position: absolute;
    right: -8rem;
    bottom: -10rem;
    width: 30rem;
    height: 30rem;
    border: 1px solid rgb(165 180 252 / 14%);
    border-radius: 50%;
    box-shadow:
        0 0 0 4rem rgb(245 179 1 / 4%),
        0 0 0 8rem rgb(50 196 141 / 3%);
    content: "";
}

.wm-login__brand,
.wm-login__mobile-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.wm-login__brand-mark {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    padding: .32rem;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: .8rem;
    background: linear-gradient(145deg, #ffffff, #eef3f8);
    box-shadow: 0 10px 30px rgb(245 179 1 / 25%);
    place-items: center;
}

.wm-login__brand-mark img {
    width: 100%;
    height: 100%;
    border-radius: .45rem;
    object-fit: contain;
}

.wm-login__hero {
    position: relative;
    z-index: 1;
    max-width: 30rem;
    margin: auto 0;
}

.wm-login__eyebrow {
    display: inline-flex;
    padding: .4rem .7rem;
    color: #ffd54a;
    border: 1px solid rgb(245 179 1 / 24%);
    border-radius: 9999px;
    background: rgb(245 179 1 / 10%);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wm-login__hero h2 {
    max-width: 28rem;
    margin-top: 1.4rem;
    color: white;
    font-size: clamp(2.25rem, 4.2vw, 3.65rem);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.wm-login__hero > p {
    max-width: 28rem;
    margin-top: 1.4rem;
    color: var(--wm-muted);
    font-size: .98rem;
    line-height: 1.75;
}

.wm-login__features {
    display: flex;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: .75rem;
}

.wm-login__features > div {
    display: flex;
    padding: .65rem .8rem;
    align-items: center;
    gap: .5rem;
    color: #dbe4f7;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: .7rem;
    background: rgb(255 255 255 / 4%);
    font-size: .72rem;
}

.wm-login__features svg {
    width: 1rem;
    height: 1rem;
    color: #5ee0ad;
}

.wm-login__showcase-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #8190ac;
    font-size: .73rem;
}

.wm-login__pulse {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 .25rem rgb(52 211 153 / 10%);
}

.wm-login__main {
    display: flex;
    min-width: 0;
    min-height: 0;
    padding: 3rem clamp(2rem, 5vw, 4rem) 2rem;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(180deg, rgb(29 43 59 / 74%), rgb(17 29 45 / 82%));
}

.wm-login__card {
    width: 100%;
    max-width: 25rem;
    height: 34rem;
    min-height: 34rem;
    margin: 0 auto;
    flex: 0 0 auto;
}

.wm-login__mobile-brand {
    display: none;
    margin-bottom: 2.5rem;
}

.wm-login__header {
    margin-bottom: 2rem;
}

.wm-login__welcome-icon {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 1rem;
    color: #ffd54a;
    border: 1px solid rgb(245 179 1 / 20%);
    border-radius: .7rem;
    background: rgb(245 179 1 / 9%);
    place-items: center;
}

.wm-login__welcome-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.wm-login__header h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 750;
    letter-spacing: -.035em;
}

.wm-login__header p {
    margin-top: .65rem;
    color: var(--wm-muted);
    font-size: .875rem;
    line-height: 1.6;
}

.wm-login__form {
    position: relative;
    display: grid;
    gap: 1.1rem;
}

.wm-login__form-alert {
    position: absolute;
    right: 0;
    left: 0;
    top: -3.45rem;
    z-index: 5;
    display: flex;
    min-height: 2.75rem;
    padding: .65rem .78rem;
    align-items: center;
    gap: .52rem;
    border: 1px solid rgb(251 113 133 / 24%);
    border-radius: .78rem;
    color: #fecdd3;
    background:
        linear-gradient(135deg, rgb(251 113 133 / 18%), rgb(245 179 1 / 7%)),
        rgb(20 31 45 / 92%);
    box-shadow:
        0 14px 32px rgb(0 0 0 / 18%),
        inset 0 1px 0 rgb(255 255 255 / 7%);
    font-size: .74rem;
    font-weight: 650;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(.35rem);
    transition: opacity 160ms ease, transform 160ms ease;
}

.wm-login__form-alert--visible {
    opacity: 1;
    transform: translateY(0);
}

.wm-login__form-alert svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: #fb7185;
}

.wm-login__form-alert span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wm-login__field {
    display: grid;
    min-height: 4.75rem;
    gap: .45rem;
}

.wm-login__label {
    color: #dbe4f7;
    font-size: .78rem;
    font-weight: 650;
}

.wm-login__input-wrap {
    display: flex;
    height: 2.85rem;
    align-items: center;
    border-radius: .8rem;
    background: rgb(255 255 255 / 4%);
    box-shadow: 0 0 0 1px rgb(148 163 184 / 18%);
    transition: box-shadow 160ms ease, background-color 160ms ease;
}

.wm-login__input-wrap:focus-within {
    background: rgb(255 255 255 / 6%);
    box-shadow:
        0 0 0 1px rgb(245 179 1 / 90%),
        0 0 0 4px rgb(245 179 1 / 12%);
}

.wm-login__input-icon {
    width: 1rem;
    height: 1rem;
    margin-left: .9rem;
    flex: 0 0 auto;
    color: #75839d;
}

.wm-login__input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    color: white;
    font-size: .86rem;
    outline: none;
    padding: 0 .9rem;
}

.wm-login__input::placeholder {
    color: #64748b;
}

.wm-login__reveal {
    display: grid;
    width: 2.65rem;
    height: 100%;
    flex: 0 0 auto;
    place-items: center;
    color: #75839d;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.wm-login__reveal:hover,
.wm-login__reveal:focus-visible {
    color: #ffd54a;
}

.wm-login__reveal svg {
    width: 1.05rem;
    height: 1.05rem;
}

.wm-login__remember {
    display: flex;
    height: 1.3rem;
    align-items: center;
    gap: .55rem;
    color: #b8c4d8;
    font-size: .78rem;
    font-weight: 620;
}

.wm-login__checkbox {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    border: 1px solid #526079;
    border-radius: .25rem;
    background-color: rgb(255 255 255 / 4%);
    accent-color: var(--wm-primary);
}

.wm-login__submit {
    display: inline-flex;
    width: 100%;
    min-height: 2.9rem;
    margin-top: .25rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 0;
    border-radius: .8rem;
    background: linear-gradient(115deg, var(--wm-primary-dark), var(--wm-primary) 58%, #ffd54a);
    color: #1b1605;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgb(245 179 1 / 20%);
    transition: box-shadow 160ms ease, filter 160ms ease;
    transform: none !important;
}

.wm-login__submit:hover {
    filter: brightness(1.08);
    box-shadow: 0 16px 35px rgb(245 179 1 / 28%);
}

.wm-login__submit:focus-visible {
    outline: 2px solid #ffd54a;
    outline-offset: 3px;
}

.wm-login__submit:disabled {
    cursor: wait;
    filter: saturate(.8);
    opacity: .78;
}

.wm-login__submit-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.wm-login .fi-fo-component-ctn {
    gap: 1.25rem;
}

.wm-login .fi-fo-field-wrp:has(.fi-input-wrp) {
    min-height: 5.95rem;
}

.wm-login .fi-fo-field-wrp-label {
    color: #dbe4f7;
    font-size: .78rem;
    font-weight: 650;
}

.wm-login .fi-input-wrp {
    border-radius: .8rem;
    background: rgb(255 255 255 / 4%);
    box-shadow: 0 0 0 1px rgb(148 163 184 / 18%);
    transition: box-shadow 160ms ease, background-color 160ms ease;
}

.wm-login .fi-input-wrp:focus-within {
    background: rgb(255 255 255 / 6%);
    box-shadow:
        0 0 0 1px rgb(245 179 1 / 90%),
        0 0 0 4px rgb(245 179 1 / 12%);
}

.wm-login .fi-input {
    min-height: 2.85rem;
    color: white;
    font-size: .86rem;
}

.wm-login .fi-input::placeholder {
    color: #64748b;
}

.wm-login .fi-input-wrp-prefix,
.wm-login .fi-input-wrp-suffix {
    color: #75839d;
}

.wm-login .fi-checkbox-input {
    border-color: #526079;
    background-color: rgb(255 255 255 / 4%);
}

.wm-login .fi-checkbox-input:checked {
    border-color: var(--wm-primary);
    background-color: var(--wm-primary);
}

.wm-login .fi-fo-checkbox-list-option-label {
    color: #b8c4d8;
    font-size: .78rem;
}

.wm-login .fi-form-actions {
    margin-top: .25rem;
}

.wm-login .fi-btn {
    min-height: 2.9rem;
    border: 0;
    border-radius: .8rem;
    background: linear-gradient(115deg, var(--wm-primary-dark), var(--wm-primary) 58%, #ffd54a);
    color: #1b1605;
    font-weight: 700;
    box-shadow: 0 14px 30px rgb(245 179 1 / 20%);
    transition: box-shadow 160ms ease, filter 160ms ease;
    transform: none !important;
}

.wm-login .fi-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 16px 35px rgb(245 179 1 / 28%);
    transform: none !important;
}

.wm-login .fi-btn:focus-visible {
    outline: 2px solid #ffd54a;
    outline-offset: 3px;
}

.wm-login .fi-fo-field-wrp-error-message {
    display: inline-flex;
    width: fit-content;
    margin-top: .5rem;
    padding: .42rem .62rem;
    align-items: center;
    border: 1px solid rgb(251 113 133 / 22%);
    border-radius: .68rem;
    color: #fecdd3;
    background:
        linear-gradient(135deg, rgb(251 113 133 / 12%), rgb(245 179 1 / 5%)),
        rgb(255 255 255 / 4%);
    font-size: .73rem;
    font-weight: 650;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%);
}

.wm-login .fi-fo-field-wrp-error-message::before {
    width: .42rem;
    height: .42rem;
    margin-right: .44rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #fb7185;
    box-shadow: 0 0 0 .2rem rgb(251 113 133 / 11%);
    content: "";
}

.wm-login__security {
    display: flex;
    margin-top: 1.6rem;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    color: #66758f;
    font-size: .68rem;
}

.wm-login__security svg {
    width: .8rem;
    height: .8rem;
}

.wm-login__footer {
    margin-top: 2.5rem;
    color: #53617a;
    font-size: .67rem;
    text-align: center;
}

html:not(.dark) .wm-login {
    --wm-ink: #0f172a;
    --wm-muted: #64748b;
    background:
        radial-gradient(circle at 7% 8%, rgb(245 179 1 / 15%), transparent 28rem),
        radial-gradient(circle at 94% 90%, rgb(20 157 112 / 11%), transparent 30rem),
        #eef3f8;
}

html:not(.dark) .wm-login-body {
    background: #eef3f8 !important;
}

html:not(.dark) .wm-login::before {
    background-image:
        linear-gradient(rgb(15 23 42 / 3%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(15 23 42 / 3%) 1px, transparent 1px);
}

html:not(.dark) .wm-login__shell {
    border-color: rgb(15 23 42 / 10%);
    background: rgb(255 255 255 / 88%);
    box-shadow: 0 40px 100px rgb(15 23 42 / 14%);
}

html:not(.dark) .wm-login__showcase {
    border-right-color: rgb(15 23 42 / 8%);
    background:
        linear-gradient(145deg, rgb(245 179 1 / 12%), transparent 48%),
        linear-gradient(25deg, rgb(20 157 112 / 10%), transparent 55%),
        #f8fafc;
}

html:not(.dark) .wm-login__showcase::after {
    border-color: rgb(15 23 42 / 8%);
}

html:not(.dark) .wm-login__brand,
html:not(.dark) .wm-login__mobile-brand,
html:not(.dark) .wm-login__hero h2,
html:not(.dark) .wm-login__header h1 {
    color: #0f172a;
}

html:not(.dark) .wm-login__brand-mark {
    border-color: rgb(15 23 42 / 8%);
    background: white;
}

html:not(.dark) .wm-login__features > div {
    color: #334155;
    border-color: rgb(15 23 42 / 8%);
    background: rgb(255 255 255 / 62%);
}

html:not(.dark) .wm-login__showcase-footer {
    color: #64748b;
}

html:not(.dark) .wm-login__main {
    background: rgb(255 255 255 / 72%);
}

html:not(.dark) .wm-login .fi-fo-field-wrp-label {
    color: #334155;
}

html:not(.dark) .wm-login__label {
    color: #334155;
}

html:not(.dark) .wm-login__form-alert {
    border-color: rgb(220 38 38 / 16%);
    color: #b91c1c;
    background:
        linear-gradient(135deg, rgb(254 226 226 / 92%), rgb(255 251 235 / 76%)),
        #ffffff;
    box-shadow:
        0 16px 36px rgb(15 23 42 / 10%),
        inset 0 1px 0 rgb(255 255 255 / 82%);
}

html:not(.dark) .wm-login__input-wrap {
    background: #f8fafc;
    box-shadow: 0 0 0 1px rgb(15 23 42 / 14%);
}

html:not(.dark) .wm-login__input-wrap:focus-within {
    background: white;
}

html:not(.dark) .wm-login__input {
    color: #0f172a;
}

html:not(.dark) .wm-login__input-icon,
html:not(.dark) .wm-login__reveal {
    color: #64748b;
}

html:not(.dark) .wm-login__remember {
    color: #475569;
}

html:not(.dark) .wm-login__checkbox {
    border-color: #94a3b8;
    background-color: white;
}

html:not(.dark) .wm-login .fi-input-wrp {
    background: #f8fafc;
    box-shadow: 0 0 0 1px rgb(15 23 42 / 14%);
}

html:not(.dark) .wm-login .fi-input-wrp:focus-within {
    background: white;
}

html:not(.dark) .wm-login .fi-input {
    color: #0f172a;
}

html:not(.dark) .wm-login .fi-input-wrp-prefix,
html:not(.dark) .wm-login .fi-input-wrp-suffix {
    color: #64748b;
}

html:not(.dark) .wm-login .fi-checkbox-input {
    border-color: #94a3b8;
    background-color: white;
}

html:not(.dark) .wm-login .fi-fo-checkbox-list-option-label {
    color: #475569;
}

html:not(.dark) .wm-login .fi-fo-field-wrp-error-message {
    border-color: rgb(220 38 38 / 15%);
    color: #b91c1c;
    background:
        linear-gradient(135deg, rgb(254 226 226 / 86%), rgb(255 251 235 / 68%)),
        #ffffff;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 82%);
}

html:not(.dark) .wm-login__security,
html:not(.dark) .wm-login__footer {
    color: #64748b;
}

@media (max-width: 840px) {
    .wm-login__shell {
        width: min(31rem, calc(100vw - 2rem));
        height: auto;
        min-height: min(38rem, calc(100dvh - 3rem));
        max-height: calc(100dvh - 3rem);
        grid-template-columns: 1fr;
    }

    .wm-login__showcase {
        display: none;
    }

    .wm-login__main {
        min-height: min(38rem, calc(100svh - 3rem));
        min-height: min(38rem, calc(100dvh - 3rem));
        padding: 2.5rem clamp(1.5rem, 7vw, 3rem) 1.5rem;
        overflow-y: auto;
    }

    .wm-login__mobile-brand {
        display: flex;
    }

    .wm-login__card {
        height: 33rem;
        min-height: 33rem;
    }

    html.dark .wm-login__shell {
        border-color: rgb(148 163 184 / 15%);
        background: rgb(22 35 50 / 86%);
        box-shadow: 0 28px 70px rgb(0 0 0 / 26%);
    }

    html.dark .wm-login__main {
        background:
            linear-gradient(180deg, rgb(29 43 59 / 74%), rgb(17 29 45 / 82%));
    }
}

@media (max-width: 480px) {
    .wm-login__shell {
        top: 0;
        left: 0;
        width: 100%;
        height: 100svh;
        height: 100dvh;
        min-height: 100svh;
        min-height: 100dvh;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
        transform: none;
    }

    .wm-login__main {
        min-height: 100svh;
        min-height: 100dvh;
        padding: 2rem 1.35rem 1.25rem;
    }

    .wm-login__card {
        height: auto;
        min-height: auto;
        margin: 0 auto;
    }

    .wm-login__header h1 {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wm-login *,
    .wm-login *::before,
    .wm-login *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
