.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;
}

.wm-login__brand-copy {
    display: grid;
    min-width: 0;
    gap: .16rem;
    line-height: 1;
}

.wm-login__brand-copy strong {
    font-size: .94rem;
    font-weight: 800;
    letter-spacing: -.018em;
}

.wm-login__brand-copy small {
    color: #ffd54a;
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.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__brand-mark picture {
    display: contents;
}

.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 {
    display: flex;
    width: 100%;
    margin-top: 2.5rem;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    color: #53617a;
    font-size: .67rem;
    line-height: 1.5;
    text-align: center;
}

.wm-login__copyright {
    display: block;
    max-width: 100%;
    text-wrap: balance;
}

.wm-login__credit {
    display: inline-flex;
    width: fit-content;
    align-items: baseline;
    gap: .22rem;
    color: #8190ac;
    font-size: .66rem;
    letter-spacing: .015em;
    text-decoration: none;
    transition: color 160ms ease;
}

.wm-login__credit strong {
    color: #aab6ca;
    font-weight: 700;
}

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

.wm-login__credit:focus-visible {
    border-radius: .25rem;
    outline: 2px solid rgb(245 179 1 / 55%);
    outline-offset: 3px;
}

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-copy small {
    color: #a16207;
}

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;
}

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

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

@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;
        justify-content: flex-start;
        overscroll-behavior-y: contain;
        scrollbar-gutter: stable;
    }

    .wm-login__mobile-brand {
        display: flex;
        margin-bottom: 2rem;
        flex: 0 0 auto;
    }

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

    .wm-login__footer {
        margin-top: auto;
        padding-top: 2rem;
        padding-bottom: max(.25rem, env(safe-area-inset-bottom));
    }

    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 max(1.25rem, env(safe-area-inset-bottom));
    }

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

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

    .wm-login__footer {
        padding-top: 1.75rem;
        font-size: .64rem;
    }

    .wm-login__credit {
        font-size: .64rem;
    }
}

@media (max-width: 840px) and (max-height: 700px) {
    .wm-login__main {
        padding-top: 1.5rem;
    }

    .wm-login__mobile-brand,
    .wm-login__header {
        margin-bottom: 1.5rem;
    }

    .wm-login__security {
        margin-top: 1.25rem;
    }

    .wm-login__footer {
        padding-top: 1.5rem;
    }
}

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

/* Liquid glass visual refresh */
.wm-login {
    --wm-glass-border: rgb(255 255 255 / 22%);
    --wm-glass-highlight: rgb(255 255 255 / 38%);
    --wm-glass-surface: rgb(255 255 255 / 8%);
    --wm-glass-deep: rgb(8 20 35 / 48%);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, ui-sans-serif, system-ui, sans-serif;
    background:
        radial-gradient(circle at 13% 10%, rgb(255 191 58 / 28%), transparent 30rem),
        radial-gradient(circle at 86% 16%, rgb(79 129 255 / 24%), transparent 27rem),
        radial-gradient(circle at 78% 88%, rgb(37 211 153 / 22%), transparent 31rem),
        linear-gradient(145deg, #07111f 0%, #0c1a2c 43%, #07131f 100%);
}

.wm-login::before {
    z-index: -3;
    background:
        radial-gradient(circle at 50% -12%, rgb(255 255 255 / 11%), transparent 30%),
        repeating-linear-gradient(118deg, rgb(255 255 255 / 1.7%) 0 1px, transparent 1px 12px);
    background-size: auto;
    mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.wm-login::after {
    position: absolute;
    inset: -25%;
    z-index: -4;
    background: conic-gradient(
        from 210deg at 50% 50%,
        rgb(245 179 1 / 9%),
        rgb(59 130 246 / 9%),
        rgb(52 211 153 / 8%),
        rgb(245 179 1 / 9%)
    );
    content: "";
    filter: blur(90px);
    animation: wm-liquid-ambient 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.wm-login__glow {
    width: 28rem;
    height: 28rem;
    filter: blur(110px);
    opacity: .24;
    animation: wm-liquid-float 13s ease-in-out infinite alternate;
}

.wm-login__glow--one {
    top: -13rem;
    left: 28%;
    background: #ffc640;
}

.wm-login__glow--two {
    right: -10rem;
    bottom: -13rem;
    background: #21d4a0;
    animation-delay: -5s;
}

.wm-login__shell {
    overflow: hidden;
    border: 1px solid var(--wm-glass-border);
    border-radius: 2.4rem;
    background:
        linear-gradient(145deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 4%) 46%, rgb(255 255 255 / 8%)),
        rgb(7 20 35 / 48%);
    box-shadow:
        0 42px 110px rgb(0 0 0 / 42%),
        0 10px 35px rgb(4 12 23 / 24%),
        inset 0 1px 0 var(--wm-glass-highlight),
        inset 0 -1px 0 rgb(255 255 255 / 7%);
    backdrop-filter: blur(42px) saturate(175%);
    -webkit-backdrop-filter: blur(42px) saturate(175%);
}

.wm-login__shell::before {
    position: absolute;
    top: 0;
    right: 8%;
    left: 8%;
    z-index: 5;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 82%), transparent);
    content: "";
    opacity: .68;
    pointer-events: none;
}

.wm-login__showcase,
.wm-login__main {
    position: relative;
    z-index: 1;
}

.wm-login__showcase {
    border-right: 1px solid rgb(255 255 255 / 13%);
    background:
        radial-gradient(circle at 28% 32%, rgb(255 205 77 / 13%), transparent 34%),
        linear-gradient(155deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 1.5%) 60%);
}

.wm-login__showcase::after {
    right: -9rem;
    bottom: -12rem;
    width: 31rem;
    height: 31rem;
    border-color: rgb(255 255 255 / 12%);
    box-shadow:
        0 0 0 4.5rem rgb(255 255 255 / 2.8%),
        0 0 0 9rem rgb(255 255 255 / 1.8%);
}

.wm-login__liquid-art {
    position: absolute;
    inset: 12% 4% 10% 3%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.wm-login__liquid-orb {
    position: absolute;
    display: block;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 43% 57% 62% 38% / 42% 39% 61% 58%;
    box-shadow:
        inset 10px 14px 30px rgb(255 255 255 / 19%),
        inset -16px -18px 32px rgb(1 9 19 / 24%),
        0 24px 65px rgb(0 0 0 / 18%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    animation: wm-orb-morph 11s ease-in-out infinite alternate;
}

.wm-login__liquid-orb::after {
    position: absolute;
    top: 12%;
    left: 18%;
    width: 36%;
    height: 16%;
    border-radius: 999px;
    background: rgb(255 255 255 / 30%);
    content: "";
    filter: blur(4px);
    transform: rotate(-18deg);
}

.wm-login__liquid-orb--gold {
    top: 15%;
    left: 9%;
    width: 9.5rem;
    height: 9.5rem;
    background: linear-gradient(145deg, rgb(255 210 83 / 35%), rgb(245 179 1 / 10%));
}

.wm-login__liquid-orb--mint {
    right: 7%;
    bottom: 18%;
    width: 11.5rem;
    height: 11.5rem;
    background: linear-gradient(145deg, rgb(69 235 182 / 29%), rgb(33 212 160 / 8%));
    animation-delay: -4s;
}

.wm-login__liquid-orb--blue {
    top: 41%;
    left: 34%;
    width: 6.5rem;
    height: 6.5rem;
    background: linear-gradient(145deg, rgb(107 153 255 / 30%), rgb(59 130 246 / 8%));
    animation-delay: -7s;
}

.wm-login__glass-ring {
    position: absolute;
    top: 30%;
    right: 14%;
    width: 14rem;
    height: 14rem;
    border: 1px solid rgb(255 255 255 / 17%);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1.5rem rgb(255 255 255 / 2.5%),
        0 0 60px rgb(88 150 255 / 8%);
    transform: rotate(-16deg);
}

.wm-login__brand,
.wm-login__hero,
.wm-login__showcase-footer {
    z-index: 2;
}

.wm-login__brand-mark {
    border-color: rgb(255 255 255 / 44%);
    border-radius: 1rem;
    background:
        linear-gradient(145deg, rgb(255 255 255 / 96%), rgb(232 239 247 / 82%));
    box-shadow:
        0 15px 38px rgb(0 0 0 / 22%),
        0 7px 25px rgb(245 179 1 / 19%),
        inset 0 1px 0 white;
}

.wm-login__brand-copy strong {
    color: #fff;
    text-shadow: 0 1px 16px rgb(255 255 255 / 12%);
}

.wm-login__brand-copy small {
    color: #ffd456;
}

.wm-login__eyebrow {
    border-color: rgb(255 223 128 / 29%);
    background: linear-gradient(145deg, rgb(255 255 255 / 13%), rgb(245 179 1 / 8%));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 17%),
        0 10px 24px rgb(0 0 0 / 10%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.wm-login__hero h2 {
    background: linear-gradient(120deg, #fff 15%, #e7effb 58%, #ffd976 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-wrap: balance;
    text-shadow: 0 16px 50px rgb(0 0 0 / 15%);
}

.wm-login__features > div {
    border-color: rgb(255 255 255 / 16%);
    background:
        linear-gradient(145deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 14%),
        0 12px 28px rgb(0 0 0 / 10%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.wm-login__main {
    background:
        linear-gradient(155deg, rgb(255 255 255 / 5%), rgb(5 16 29 / 16%)),
        rgb(8 21 37 / 22%);
}

.wm-login__card {
    height: auto;
    min-height: 0;
    padding: 1.65rem;
    border: 1px solid rgb(255 255 255 / 17%);
    border-radius: 1.9rem;
    background:
        linear-gradient(145deg, rgb(255 255 255 / 11%), rgb(255 255 255 / 3.5%) 55%, rgb(255 255 255 / 7%));
    box-shadow:
        0 28px 70px rgb(0 0 0 / 20%),
        inset 0 1px 0 rgb(255 255 255 / 27%),
        inset 0 -1px 0 rgb(255 255 255 / 5%);
    backdrop-filter: blur(28px) saturate(165%);
    -webkit-backdrop-filter: blur(28px) saturate(165%);
}

.wm-login__welcome-icon {
    border-color: rgb(255 218 108 / 30%);
    background:
        linear-gradient(145deg, rgb(255 255 255 / 14%), rgb(245 179 1 / 8%));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 20%),
        0 12px 30px rgb(245 179 1 / 9%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.wm-login__header h1 {
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 10px 35px rgb(0 0 0 / 18%);
}

.wm-login__input-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 14%);
    background:
        linear-gradient(145deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 12%),
        inset 0 -10px 24px rgb(0 0 0 / 4%),
        0 10px 28px rgb(0 0 0 / 8%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.wm-login__input-wrap::before {
    position: absolute;
    top: 0;
    right: 12%;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 42%), transparent);
    content: "";
    pointer-events: none;
}

.wm-login__input-wrap:focus-within {
    border-color: rgb(255 201 52 / 72%);
    background: linear-gradient(145deg, rgb(255 255 255 / 14%), rgb(245 179 1 / 5%));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 20%),
        0 0 0 3px rgb(245 179 1 / 12%),
        0 16px 35px rgb(0 0 0 / 12%);
}

.wm-login__input,
.wm-login__reveal,
.wm-login__input-icon {
    position: relative;
    z-index: 1;
}

.wm-login__checkbox {
    border-color: rgb(255 255 255 / 24%);
    background: rgb(255 255 255 / 7%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 13%);
}

.wm-login__submit {
    position: relative;
    overflow: hidden;
    min-height: 3.05rem;
    border: 1px solid rgb(255 235 166 / 55%);
    background:
        linear-gradient(112deg, #dc9700 0%, #f5b301 45%, #ffd65a 100%);
    box-shadow:
        0 18px 40px rgb(245 179 1 / 24%),
        inset 0 1px 0 rgb(255 255 255 / 65%),
        inset 0 -8px 18px rgb(157 92 0 / 12%);
}

.wm-login__submit::before {
    position: absolute;
    top: 0;
    left: -40%;
    width: 38%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 42%), transparent);
    content: "";
    transform: skewX(-18deg);
    transition: left 500ms ease;
}

.wm-login__submit:hover::before,
.wm-login__submit:focus-visible::before {
    left: 112%;
}

.wm-login__security {
    padding: .62rem .75rem;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: .8rem;
    background: rgb(255 255 255 / 3%);
}

.wm-login__footer {
    margin-top: 1.35rem;
}

.wm-login__credit {
    padding: .2rem .5rem;
    border: 1px solid transparent;
    border-radius: 999px;
}

.wm-login__credit:hover,
.wm-login__credit:focus-visible {
    border-color: rgb(255 255 255 / 12%);
    background: rgb(255 255 255 / 5%);
}

html:not(.dark) .wm-login {
    --wm-glass-border: rgb(255 255 255 / 64%);
    --wm-glass-highlight: rgb(255 255 255 / 92%);
    background:
        radial-gradient(circle at 12% 8%, rgb(255 199 65 / 46%), transparent 28rem),
        radial-gradient(circle at 87% 15%, rgb(115 155 255 / 42%), transparent 28rem),
        radial-gradient(circle at 77% 89%, rgb(92 225 183 / 38%), transparent 30rem),
        linear-gradient(145deg, #dce8f5 0%, #edf3fa 48%, #dfece9 100%);
}

html:not(.dark) .wm-login__shell {
    border-color: rgb(255 255 255 / 70%);
    background:
        linear-gradient(145deg, rgb(255 255 255 / 53%), rgb(255 255 255 / 23%) 48%, rgb(255 255 255 / 40%)),
        rgb(228 238 248 / 38%);
    box-shadow:
        0 42px 100px rgb(48 74 104 / 22%),
        inset 0 1px 0 white,
        inset 0 -1px 0 rgb(255 255 255 / 48%);
}

html:not(.dark) .wm-login__showcase {
    border-right-color: rgb(255 255 255 / 58%);
    background:
        radial-gradient(circle at 26% 30%, rgb(255 195 48 / 24%), transparent 35%),
        linear-gradient(145deg, rgb(255 255 255 / 36%), rgb(255 255 255 / 12%));
}

html:not(.dark) .wm-login__main {
    background: linear-gradient(155deg, rgb(255 255 255 / 28%), rgb(255 255 255 / 10%));
}

html:not(.dark) .wm-login__card {
    border-color: rgb(255 255 255 / 72%);
    background:
        linear-gradient(145deg, rgb(255 255 255 / 62%), rgb(255 255 255 / 24%) 58%, rgb(255 255 255 / 43%));
    box-shadow:
        0 28px 70px rgb(51 74 102 / 15%),
        inset 0 1px 0 white,
        inset 0 -1px 0 rgb(255 255 255 / 44%);
}

html:not(.dark) .wm-login__brand-copy strong,
html:not(.dark) .wm-login__hero h2,
html:not(.dark) .wm-login__header h1 {
    color: #102033;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
}

html:not(.dark) .wm-login__input-wrap {
    border-color: rgb(255 255 255 / 76%);
    background: linear-gradient(145deg, rgb(255 255 255 / 62%), rgb(255 255 255 / 30%));
    box-shadow:
        inset 0 1px 0 white,
        0 10px 28px rgb(63 85 110 / 9%);
}

html:not(.dark) .wm-login__input-wrap:focus-within {
    border-color: rgb(202 139 0 / 62%);
    background: rgb(255 255 255 / 72%);
}

html:not(.dark) .wm-login__security {
    border-color: rgb(255 255 255 / 60%);
    background: rgb(255 255 255 / 24%);
}

@media (max-width: 840px) {
    .wm-login__shell {
        background:
            linear-gradient(145deg, rgb(255 255 255 / 13%), rgb(255 255 255 / 4%)),
            rgb(7 20 35 / 58%);
    }

    .wm-login__main {
        padding: 1.5rem clamp(1rem, 5vw, 2rem) 1rem;
        background: transparent;
    }

    .wm-login__card {
        max-width: 26rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    html:not(.dark) .wm-login__card {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .wm-login__mobile-brand {
        margin-bottom: 1.75rem;
    }

    .wm-login__footer {
        padding-top: 1.35rem;
    }

    html:not(.dark) .wm-login__shell {
        background:
            linear-gradient(145deg, rgb(255 255 255 / 55%), rgb(255 255 255 / 25%)),
            rgb(232 241 248 / 44%);
    }
}

@media (max-width: 480px) {
    .wm-login__shell {
        top: .5rem;
        right: .5rem;
        bottom: .5rem;
        left: .5rem;
        width: auto;
        height: auto;
        min-height: 0;
        max-height: none;
        border: 1px solid var(--wm-glass-border);
        border-radius: 1.8rem;
        transform: none;
    }

    .wm-login__main {
        min-height: 0;
        padding: 1rem .85rem max(.85rem, env(safe-area-inset-bottom));
    }

    .wm-login__card {
        padding: 0;
        border-radius: 0;
    }

    .wm-login__mobile-brand {
        margin-bottom: 1.45rem;
    }

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

    .wm-login__header h1 {
        font-size: clamp(1.55rem, 8vw, 1.85rem);
    }

    .wm-login__security {
        padding-inline: .55rem;
        font-size: .64rem;
        text-align: center;
    }

    .wm-login__footer {
        padding-top: 1rem;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .wm-login__shell,
    .wm-login__card {
        background: rgb(13 29 47 / 96%);
    }

    html:not(.dark) .wm-login__shell,
    html:not(.dark) .wm-login__card {
        background: rgb(241 246 251 / 96%);
    }
}

@keyframes wm-liquid-ambient {
    from {
        transform: translate3d(-2%, -1%, 0) rotate(-3deg) scale(1);
    }

    to {
        transform: translate3d(2%, 2%, 0) rotate(4deg) scale(1.06);
    }
}

@keyframes wm-liquid-float {
    from {
        transform: translate3d(-1rem, -.5rem, 0) scale(.96);
    }

    to {
        transform: translate3d(1.25rem, 1rem, 0) scale(1.07);
    }
}

@keyframes wm-orb-morph {
    0% {
        border-radius: 43% 57% 62% 38% / 42% 39% 61% 58%;
        transform: translate3d(-4px, -6px, 0) rotate(-5deg);
    }

    55% {
        border-radius: 61% 39% 45% 55% / 54% 62% 38% 46%;
        transform: translate3d(8px, 5px, 0) rotate(6deg);
    }

    100% {
        border-radius: 47% 53% 35% 65% / 38% 46% 54% 62%;
        transform: translate3d(-2px, 10px, 0) rotate(-2deg);
    }
}

/* Lightweight first-load entrance sequence. */
.wm-login__shell {
    animation: wm-login-page-enter 520ms ease-out both;
}

.wm-login__shell::before {
    transform-origin: center;
    animation: wm-login-specular 900ms 180ms cubic-bezier(.22, 1, .36, 1) both;
}

.wm-login__brand,
.wm-login__hero,
.wm-login__showcase-footer,
.wm-login__card,
.wm-login__footer {
    animation: wm-login-glass-rise 680ms cubic-bezier(.22, 1, .36, 1) both;
}

.wm-login__brand {
    animation-delay: 100ms;
}

.wm-login__hero {
    animation-delay: 180ms;
}

.wm-login__showcase-footer {
    animation-delay: 300ms;
}

.wm-login__card {
    animation-delay: 120ms;
}

.wm-login__mobile-brand,
.wm-login__welcome-icon,
.wm-login__header h1,
.wm-login__header p,
.wm-login__field,
.wm-login__remember,
.wm-login__submit,
.wm-login__security {
    animation: wm-login-content-rise 540ms cubic-bezier(.22, 1, .36, 1) both;
}

.wm-login__mobile-brand {
    animation-delay: 160ms;
}

.wm-login__welcome-icon {
    animation-delay: 190ms;
}

.wm-login__header h1 {
    animation-delay: 230ms;
}

.wm-login__header p {
    animation-delay: 275ms;
}

.wm-login__field:nth-of-type(1) {
    animation-delay: 320ms;
}

.wm-login__field:nth-of-type(2) {
    animation-delay: 375ms;
}

.wm-login__remember {
    animation-delay: 425ms;
}

.wm-login__submit {
    animation-name: wm-login-soft-fade;
    animation-delay: 475ms;
}

.wm-login__security {
    animation-delay: 525ms;
}

.wm-login__footer {
    animation-delay: 580ms;
}

@keyframes wm-login-page-enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes wm-login-specular {
    from {
        opacity: 0;
        transform: scaleX(.08);
    }

    55% {
        opacity: .95;
    }

    to {
        opacity: .68;
        transform: scaleX(1);
    }
}

@keyframes wm-login-glass-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(.985);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes wm-login-content-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes wm-login-soft-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wm-login::after,
    .wm-login__glow,
    .wm-login__liquid-orb,
    .wm-login__shell,
    .wm-login__shell::before,
    .wm-login__brand,
    .wm-login__hero,
    .wm-login__showcase-footer,
    .wm-login__card,
    .wm-login__mobile-brand,
    .wm-login__welcome-icon,
    .wm-login__header h1,
    .wm-login__header p,
    .wm-login__field,
    .wm-login__remember,
    .wm-login__submit,
    .wm-login__security,
    .wm-login__footer {
        animation: none !important;
    }
}

/* Mobile uses one glass surface only: the outer shell. */
@media (max-width: 840px) {
    .wm-login__card,
    html:not(.dark) .wm-login__card {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Fade-only entrance: logo, brand name, then the login content together. */
.wm-login__shell {
    animation: wm-login-fade-only 460ms ease-out both;
}

.wm-login__shell::before {
    animation: none;
}

.wm-login__brand,
.wm-login__hero,
.wm-login__showcase-footer,
.wm-login__card,
.wm-login__header h1,
.wm-login__header p,
.wm-login__field,
.wm-login__remember,
.wm-login__submit,
.wm-login__security,
.wm-login__footer {
    animation: wm-login-fade-only 620ms 180ms ease-out both;
}

.wm-login__mobile-brand {
    animation: none;
}

.wm-login__mobile-brand .wm-login__brand-mark {
    animation: wm-login-fade-only 480ms 80ms ease-out both;
}

.wm-login__mobile-brand .wm-login__brand-copy {
    animation: wm-login-fade-only 520ms 230ms ease-out both;
}

@keyframes wm-login-fade-only {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 840px) {
    .wm-login__card {
        animation: none;
    }

    .wm-login__mobile-brand {
        flex-direction: column;
        justify-content: center;
        gap: .7rem;
        text-align: center;
    }

    .wm-login__header h1,
    .wm-login__header p,
    .wm-login__field,
    .wm-login__remember,
    .wm-login__submit,
    .wm-login__security,
    .wm-login__footer {
        animation-delay: 360ms;
    }

    .wm-login__mobile-brand .wm-login__brand-mark {
        width: 4.25rem;
        height: 4.25rem;
        padding: .52rem;
        border-radius: 1.35rem;
    }

    .wm-login__mobile-brand .wm-login__brand-copy {
        justify-items: center;
        gap: .3rem;
    }

    .wm-login__mobile-brand .wm-login__brand-copy strong {
        font-size: 1.02rem;
    }

    .wm-login__mobile-brand .wm-login__brand-copy small {
        font-size: .67rem;
    }

    .wm-login__header {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wm-login__mobile-brand {
        margin-bottom: .95rem;
    }

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

@media (prefers-reduced-motion: reduce) {
    .wm-login__mobile-brand .wm-login__brand-mark,
    .wm-login__mobile-brand .wm-login__brand-copy {
        animation: none !important;
    }
}
