.auth-body {
    --auth-ink: #14213a;
    --auth-muted: #495a73;
    --auth-accent: #1949af;
    --auth-focus: #235bd4;
    background: #fff;
    color: var(--auth-ink);
    font-family: 'Public Sans', system-ui, sans-serif;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(31rem, 1fr) minmax(0, 0.96fr);
    min-height: 100vh;
    min-height: 100svh;
    padding: 1.25rem;
}

.auth-panel {
    display: grid;
    padding: 1rem clamp(2rem, 6vw, 6rem) 3rem;
    place-items: center;
}

.auth-panel-inner {
    display: grid;
    grid-template-rows: auto 1fr;
    max-width: 29rem;
    min-height: 100%;
    width: 100%;
}

.auth-brand {
    align-items: center;
    display: flex;
    font-size: 1.125rem;
    font-weight: 800;
    gap: 0.75rem;
}

.auth-brand-mark {
    background: #fff;
    border: 1px solid #dce5f3;
    border-radius: 0.8rem;
    display: grid;
    flex: 0 0 2.75rem;
    grid-template-columns: minmax(0, 1fr);
    height: 2.75rem;
    justify-items: center;
    overflow: hidden;
}

.auth-brand-mark img {
    max-width: none;
    margin-top: 0.2rem;
}

.auth-content {
    align-self: center;
    padding-block: clamp(2rem, 8vh, 5rem);
}

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

.auth-heading h1 {
    color: var(--auth-ink);
    font-size: clamp(2.25rem, 4.2vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.1;
    margin: 0 0 0.65rem;
}

.auth-heading p {
    color: var(--auth-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.auth-form {
    display: grid;
    gap: 1.25rem;
}

.auth-content .form-label {
    color: var(--auth-ink);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.auth-content .form-control {
    background-color: #fff;
    border: 1px solid #7789a4;
    border-radius: 0.75rem;
    color: var(--auth-ink);
    font-size: 1rem;
    min-height: 3.4rem;
}

.auth-content .form-control:focus {
    border-color: var(--auth-focus);
    box-shadow: 0 0 0 3px #d4e2ff;
}

.auth-content .form-control.is-invalid {
    border-color: #ad2822;
}

.auth-input {
    position: relative;
}

.auth-input .form-control {
    background-image: none;
    padding-inline: 2.75rem 0.9rem;
}

.auth-input-password .form-control {
    padding-inline-end: 3.2rem;
}

.auth-input-icon {
    color: var(--auth-muted);
    font-size: 1.25rem;
    inset-inline-start: 0.9rem;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.auth-password-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0.5rem;
    color: var(--auth-muted);
    display: inline-flex;
    font-size: 1.35rem;
    height: 2.75rem;
    inset-inline-end: 0.32rem;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
}

.auth-password-toggle[hidden] {
    display: none;
}

.auth-password-toggle .bx,
.auth-orbit .bx {
    font-size: inherit;
}

.auth-password-toggle:hover {
    background: #eaf1ff;
    color: var(--auth-accent);
}

.auth-form-options,
.auth-remember {
    align-items: center;
    display: flex;
    font-size: 0.875rem;
}

.auth-form-options {
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    justify-content: space-between;
}

.auth-remember {
    cursor: pointer;
    gap: 0.5rem;
    margin: 0;
    min-height: 1.75rem;
}

.auth-remember input {
    accent-color: var(--auth-accent);
    height: 1.1rem;
    width: 1.1rem;
}

.auth-link {
    color: var(--auth-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.auth-link:hover {
    color: #102c69;
}

.auth-content .btn-primary {
    background: var(--auth-accent);
    border: 1px solid var(--auth-accent);
    border-radius: 0.75rem;
    box-shadow: 0 7px 16px #1949af28;
    color: #fff;
    font-weight: 700;
    min-height: 3.4rem;
}

.auth-content .btn-primary:hover,
.auth-content .btn-primary:active {
    background: #123787;
    border-color: #123787;
    color: #fff;
}

.auth-submit {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.auth-submit i {
    font-size: 1.35rem;
}

.auth-content :is(button, input, a):focus-visible {
    outline: 2px solid var(--auth-focus);
    outline-offset: 3px;
}

.auth-content .alert-danger,
.auth-content .auth-field-error,
.auth-content .invalid-feedback {
    color: #94221c;
}

.auth-field-error {
    font-size: 0.875rem;
    margin: 0.4rem 0 0;
}

.auth-art {
    align-items: center;
    background:
        radial-gradient(ellipse at 67% 43%, #254d9b, transparent 60%),
        linear-gradient(145deg, #0c1939, #112854 65%, #163875);
    border-radius: 1.6rem;
    display: grid;
    isolation: isolate;
    justify-items: center;
    min-height: 34rem;
    overflow: hidden;
    position: relative;
}

.auth-art::before {
    background-image:
        linear-gradient(90deg, #a6c2ff19 1px, transparent 1px),
        linear-gradient(#a6c2ff19 1px, transparent 1px);
    background-position: center;
    background-size: 3rem 3rem;
    content: '';
    inset: 0;
    mask-image: radial-gradient(ellipse, black, transparent 78%);
    position: absolute;
    z-index: -1;
}

.auth-orbit {
    aspect-ratio: 1;
    border: 1px solid #8cb7ff64;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    width: min(65%, 27rem);
}

.auth-orbit::before,
.auth-orbit::after {
    border: 1px solid #8cb7ff40;
    border-radius: inherit;
    content: '';
    inset: 16%;
    position: absolute;
}

.auth-orbit::after {
    inset: -15%;
}

.auth-orbit-core,
.auth-orbit-node {
    align-items: center;
    background: linear-gradient(140deg, #315ca6, #18366d);
    border: 1px solid #86adf4;
    box-shadow: 0 14px 38px #07132970, inset 0 1px #bed6ff4d;
    color: #edf4ff;
    display: grid;
    justify-items: center;
    z-index: 1;
}

.auth-orbit-core {
    aspect-ratio: 1;
    border-radius: 24%;
    font-size: clamp(3.4rem, 9vw, 8rem);
    width: 43%;
}

.auth-orbit-node {
    aspect-ratio: 1;
    border-radius: 24%;
    font-size: clamp(1.25rem, 3.5vw, 2.6rem);
    position: absolute;
    transform: translate(-50%, -50%);
    width: 16%;
}

.auth-orbit-node-top {
    left: 25%;
    top: 7%;
}

.auth-orbit-node-right {
    left: 97%;
    top: 32%;
}

.auth-orbit-node-bottom {
    left: 32%;
    top: 97%;
}

@media (max-width: 850px) {
    .auth-layout {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .auth-panel {
        padding: 1.5rem clamp(1.2rem, 6vw, 3rem);
    }

    .auth-art {
        display: none;
    }
}
