[x-cloak] {
    display: none !important;
}
.login-body {
    min-height: 100svh;
    margin: 0;
    color: #334155;
    background: #e6f3f2;
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
.login-shell {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}
.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #e6f3f2;
}
.login-hero {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
}
.login-main {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.25rem 2.25rem;
    background:
        radial-gradient(1200px 720px at 18% 8%, rgb(161 234 243 / 0.55), transparent 55%),
        radial-gradient(900px 640px at 92% 92%, rgb(37 163 169 / 0.28), transparent 52%),
        linear-gradient(165deg, #e6f3f2 0%, #c8eef4 48%, #9adfe3 100%);
}
.login-art {
    --lx: 0;
    --ly: 0;
    --cx: 50%;
    --cy: 42%;
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    color: rgb(37 163 169 / 0.55);
}
.login-par,
.login-net,
.login-cursor {
    position: absolute;
    inset: 0;
}
.login-par-far {
    transform: translate3d(calc(var(--lx) * -12px), calc(var(--ly) * -10px), 0);
}
.login-par-mid {
    transform: translate3d(calc(var(--lx) * -26px), calc(var(--ly) * -20px), 0);
}
.login-par-near {
    transform: translate3d(calc(var(--lx) * -40px), calc(var(--ly) * -32px), 0);
}
.login-net {
    z-index: 1;
}
.login-cursor {
    z-index: 1;
    background: radial-gradient(circle at var(--cx) var(--cy), rgb(83 216 234 / 0.32), rgb(37 163 169 / 0.1) 30%, transparent 56%);
}
.login-wash {
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 18% 22%, rgb(83 216 234 / 0.42), transparent 36%),
        radial-gradient(circle at 82% 78%, rgb(9 158 152 / 0.3), transparent 42%),
        radial-gradient(circle at 70% 18%, rgb(161 234 243 / 0.4), transparent 34%);
    animation: login-wash 12s ease-in-out infinite;
}
.login-stars,
.login-stars-b,
.login-sheen,
.login-scan,
.login-ping,
.login-circuit {
    position: absolute;
    inset: 0;
}
.login-stars {
    background-image: radial-gradient(circle, rgb(37 163 169 / 0.4) 1.2px, transparent 1.4px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
    animation: login-stars 22s linear infinite;
}
.login-stars-b {
    background-image: radial-gradient(circle, rgb(83 216 234 / 0.55) 1.6px, transparent 1.8px);
    background-size: 48px 48px;
    opacity: 0.7;
    animation: login-stars 34s linear infinite reverse;
}
.login-sheen {
    background: linear-gradient(
        118deg,
        transparent 38%,
        rgb(255 255 255 / 0.28) 50%,
        transparent 62%
    );
    background-size: 220% 100%;
    animation: login-sheen 7.5s ease-in-out infinite;
}
.login-scan {
    top: auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(83 216 234 / 0.9), transparent);
    box-shadow: 0 0 18px rgb(83 216 234 / 0.5);
    animation: login-scan 5.5s ease-in-out infinite;
}
.login-ping {
    inset: auto;
    border: 1.5px solid rgb(37 163 169 / 0.32);
    border-radius: 999px;
}
.login-ping-a {
    width: 11rem;
    height: 11rem;
    left: calc(50% - 5.5rem);
    top: 11%;
    animation: login-ping 3.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.login-ping-b {
    width: 16rem;
    height: 16rem;
    left: calc(50% - 8rem);
    top: 6%;
    animation: login-ping 3.4s cubic-bezier(0, 0, 0.2, 1) 0.8s infinite;
}
.login-circuit {
    width: 100%;
    height: 100%;
    opacity: 0.55;
}
.login-trace {
    stroke-width: 1.4;
    stroke-dasharray: 8 10;
    animation: login-dash 6s linear infinite;
}
.login-trace-b {
    animation-duration: 8s;
    animation-direction: reverse;
}
.login-trace-c {
    animation-duration: 7s;
}
.login-trace-d {
    animation-duration: 9s;
    animation-direction: reverse;
}
.login-trace-e {
    animation-duration: 5s;
}
.login-node {
    animation: login-node 2.4s ease-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
.login-node:nth-child(2) { animation-delay: 0.3s; }
.login-node:nth-child(3) { animation-delay: 0.6s; }
.login-node:nth-child(4) { animation-delay: 0.9s; }
.login-node:nth-child(5) { animation-delay: 1.2s; }
.login-node:nth-child(6) { animation-delay: 1.5s; }
.login-node:nth-child(7) { animation-delay: 1.8s; }
.login-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
}
.login-orb-a {
    width: 18rem;
    height: 18rem;
    left: -5rem;
    top: 8%;
    background: rgb(83 216 234 / 0.42);
    animation: login-float 11s ease-in-out infinite;
}
.login-orb-b {
    width: 14rem;
    height: 14rem;
    right: -4rem;
    bottom: 8%;
    background: rgb(9 158 152 / 0.34);
    animation: login-float 14s ease-in-out infinite reverse;
}
.login-orb-c {
    width: 7rem;
    height: 7rem;
    left: 48%;
    bottom: 18%;
    background: rgb(48 213 199 / 0.48);
    animation: login-float 9s ease-in-out infinite;
}
.login-stage {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 24.5rem;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
}
.login-heading {
    position: relative;
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0a6d62;
    text-shadow: 0 1px 0 rgb(255 255 255 / 0.7);
}
.login-card {
    width: 100%;
    border: 1px solid rgb(255 255 255 / 0.75);
    border-radius: 1.4rem;
    background: rgb(255 255 255 / 0.78);
    padding: 1.45rem 1.4rem 1.4rem;
    box-shadow:
        0 22px 44px rgb(37 163 169 / 0.16),
        inset 0 1px 0 rgb(255 255 255 / 0.85);
    backdrop-filter: blur(16px);
    animation: login-card-in 0.7s ease-out both;
}
.login-form {
    display: grid;
    gap: 1rem;
}
.login-field {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #01706f;
}
.login-field input {
    width: 100%;
    border: 1px solid #a7dfe3;
    border-radius: 0.9rem;
    background: rgb(255 255 255 / 0.92);
    padding: 0.78rem 0.95rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.login-field input:focus {
    border-color: #25a3a9;
    background: #fff;
    box-shadow: 0 0 0 4px rgb(83 216 234 / 0.28);
}
.login-field em {
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e11d48;
}
.login-password {
    position: relative;
    display: block;
}
.login-password input {
    padding-right: 4.2rem;
}
.login-eye {
    position: absolute;
    top: 50%;
    right: 0.45rem;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #01706f;
    cursor: pointer;
}
.login-eye:hover {
    background: #d5f3f6;
}
.login-submit {
    margin-top: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    border: 0;
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #1fc5ba, #01706f);
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 22px -12px rgb(1 112 111 / 0.8);
    animation: login-btn 4.5s ease-in-out infinite;
}
.login-submit:hover {
    background: linear-gradient(180deg, #30d5c7, #0a6d62);
    animation: none;
}
.login-submit:disabled {
    cursor: wait;
    opacity: 0.7;
    animation: none;
}
.login-secondary {
    margin-top: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    border: 1px solid #b7e0db;
    border-radius: 0.95rem;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 650;
    color: #0f766e;
    cursor: pointer;
}
.login-secondary:hover {
    background: #e7f4f3;
}
.login-totp-copy {
    display: grid;
    gap: 0.35rem;
}
.login-totp-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 750;
    color: #0f4c49;
}
.login-totp-text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #475569;
}
.login-totp-qr {
    display: grid;
    place-items: center;
    margin: 0.25rem auto;
    padding: 0.65rem;
    width: fit-content;
    border: 1px solid #d7eceb;
    border-radius: 0.9rem;
    background: #fff;
}
.login-totp-qr svg {
    display: block;
    width: 11rem;
    height: 11rem;
}
.login-totp-secret {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    max-width: 100%;
}
.login-totp-secret-label {
    font-weight: 650;
    color: #01706f;
}
.login-totp-secret-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
}
.login-totp-secret code {
    display: block;
    min-width: 0;
    max-width: 100%;
    font-weight: 700;
    color: #0f4c49;
    word-break: break-all;
    overflow-wrap: anywhere;
}
.login-totp-copy-btn {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #b7e0db;
    border-radius: 0.6rem;
    background: #fff;
    color: #0f766e;
    cursor: pointer;
}
.login-totp-copy-btn:hover {
    background: #e7f4f3;
}
.login-totp-copy-btn svg {
    width: 1rem;
    height: 1rem;
}
.login-totp-copied {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f766e;
}
.login-totp-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.login-totp-input-row > input {
    flex: 1 1 auto;
    min-width: 0;
}
.login-totp-input-row .login-totp-copy-btn {
    width: 2.9rem;
    height: 2.9rem;
}
.login-totp-boxes {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    min-height: 3rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid #a7dfe3;
    border-radius: 0.9rem;
    background: rgb(255 255 255 / 0.92);
    outline: none;
    cursor: text;
}
.login-totp-boxes:focus {
    border-color: #25a3a9;
    background: #fff;
    box-shadow: 0 0 0 4px rgb(83 216 234 / 0.28);
}
.login-totp-box {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2.35rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    font-weight: 750;
    color: #94a3b8;
    background: #f1fafa;
    user-select: none;
}
.login-totp-box.is-gap-before {
    margin-left: 0.7rem;
}
.login-totp-box.is-filled {
    color: #0f4c49;
    background: #e7f7f6;
}
.login-totp-box.is-active {
    box-shadow: inset 0 0 0 1.5px #25a3a9;
    color: #0f766e;
}
.login-footer {
    width: 100%;
    text-align: center;
    color: #01706f;
}
.login-footer p {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.55;
}
.login-footer p:first-child {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0a6d62;
}
.login-footer p + p {
    font-weight: 500;
    color: #017d81;
    opacity: 0.9;
}
.login-footer a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}
.login-footer a:hover {
    text-decoration: underline;
}
@media (min-width: 900px) {
    .login-shell {
        flex-direction: row;
        height: 100svh;
        overflow: hidden;
    }
    .login-brand {
        flex: 0 0 auto;
        width: min(100svh, calc(100vw - 26rem));
        height: 100svh;
    }
    .login-hero {
        width: min(100%, 100svh);
        height: min(100%, 100svh);
        aspect-ratio: 1 / 1;
        object-fit: contain;
        object-position: center;
    }
    .login-main {
        flex: 1 1 26rem;
        min-width: 24rem;
        padding: 2.5rem;
    }
}
@keyframes login-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(14px, -20px, 0) scale(1.08);
    }
}
@keyframes login-stars {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-26px, -26px, 0);
    }
}
@keyframes login-sheen {
    0% {
        background-position: 120% 0;
        opacity: 0.35;
    }
    50% {
        background-position: 0% 0;
        opacity: 0.7;
    }
    100% {
        background-position: -40% 0;
        opacity: 0.35;
    }
}
@keyframes login-scan {
    0% {
        top: 8%;
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    88% {
        opacity: 0.55;
    }
    100% {
        top: 88%;
        opacity: 0;
    }
}
@keyframes login-ping {
    0% {
        transform: scale(0.72);
        opacity: 0.55;
    }
    70% {
        transform: scale(1.18);
        opacity: 0;
    }
    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}
@keyframes login-dash {
    to {
        stroke-dashoffset: -120;
    }
}
@keyframes login-node {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.35);
    }
}
@keyframes login-wash {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate3d(-5%, 4%, 0) scale(1.1);
        opacity: 0.82;
    }
}
@keyframes login-btn {
    0%,
    100% {
        filter: brightness(1);
        box-shadow: 0 12px 22px -12px rgb(1 112 111 / 0.8);
    }
    50% {
        filter: brightness(1.08);
        box-shadow: 0 16px 28px -12px rgb(9 158 152 / 0.9);
    }
}
@keyframes login-card-in {
    from {
        opacity: 0;
        transform: translate3d(28px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .login-art *,
    .login-par,
    .login-wash,
    .login-stars,
    .login-sheen,
    .login-scan,
    .login-ping,
    .login-orb,
    .login-trace,
    .login-node,
    .login-submit,
    .login-card {
        animation: none;
        transform: none;
    }
}
