.login-shell--glass {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: 2rem;
    padding: 2rem clamp(1.25rem, 4vw, 4.5rem);
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(ellipse at 100% 110%, rgba(255, 215, 201, 0.44) 0%, transparent 29%),
        radial-gradient(ellipse at 48% 118%, rgba(243, 194, 167, 0.5) 0%, transparent 34%),
        radial-gradient(ellipse at 0% 0%, rgba(0, 104, 101, 0.72) 0%, transparent 37%),
        radial-gradient(ellipse at 0% 35%, rgba(99, 107, 12, 0.45) 0%, transparent 52%),
        radial-gradient(ellipse at 0% 100%, rgba(241, 194, 76, 0.98) 0%, rgba(216, 171, 49, 0.7) 20%, transparent 57%),
        radial-gradient(ellipse at 100% 77%, rgba(198, 51, 28, 0.98) 0%, rgba(170, 48, 29, 0.8) 28%, transparent 65%),
        radial-gradient(ellipse at 100% 0%, rgba(5, 96, 121, 0.98) 0%, rgba(16, 91, 108, 0.7) 34%, transparent 69%),
        radial-gradient(ellipse at 18% 28%, rgba(0, 70, 35, 0.96) 0%, rgba(0, 52, 29, 0.78) 24%, transparent 63%),
        linear-gradient(145deg, #00463c 4%, #103f2d 43%, #9c5237 100%);
}

.login-atmosphere {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-orb {
    position: absolute;
    display: block;
    aspect-ratio: 1;
    border-radius: 50%;
}

.login-orb--left {
    top: 24.5%;
    left: 15%;
    width: clamp(11rem, 14.5vw, 17.5rem);
    background: linear-gradient(150deg, rgba(0, 155, 116, 0.62), rgba(0, 87, 57, 0.16) 48%, rgba(183, 219, 180, 0.35));
    box-shadow: inset 0 1px 1px rgba(130, 239, 197, 0.08);
}

.login-orb--right {
    right: 2.5%;
    bottom: -14%;
    width: clamp(25rem, 34vw, 42rem);
    background: linear-gradient(145deg, rgba(255, 157, 63, 0.32), rgba(223, 78, 47, 0.12) 54%, rgba(234, 118, 97, 0.09));
}

.login-orbits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.login-orbit-line {
    fill: none;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.login-orbit-line--upper {
    stroke: rgba(147, 233, 204, 0.14);
}

.login-orbit-line--lower {
    stroke: rgba(255, 229, 156, 0.13);
}

.login-spark {
    fill: currentColor;
    filter: drop-shadow(0 0 3px currentColor) drop-shadow(0 0 7px currentColor);
}

.login-spark--mint {
    color: #e4ffd8;
}

.login-spark--aqua {
    color: #8ffff0;
}

.login-spark--peach {
    color: #ffe1b7;
}

.login-spark--gold {
    color: #fff2ae;
}

.login-shell--glass .login-brand {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0;
}

.login-shell--glass .login-brand-icon {
    width: 4.25rem;
    height: 4.25rem;
    flex-shrink: 0;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 1.25rem;
    background: rgba(0, 42, 32, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.login-shell--glass .login-brand-copy strong {
    font-size: 1.35rem;
}

.login-shell--glass .login-brand-copy small {
    color: #d3e4df;
    font-size: 0.95rem;
}

.login-shell--glass .login-access {
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    animation: none;
}

.login-shell--glass .login-access::before {
    content: none;
}

.login-shell--glass .login-back-action {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.login-shell--glass .login-back-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.login-shell--glass .login-card-header .login-eyebrow {
    color: #c8efcf;
}

.login-shell--glass .login-form-actions .login-submit {
    min-width: 0;
}

.login-shell--glass .login-reset-invalid > .login-form-actions {
    margin-top: 2rem;
}

.login-shell--glass .login-card {
    width: min(100%, 32rem);
    height: auto;
    padding: 2rem 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.09));
    box-shadow: 0 24px 70px rgba(20, 35, 28, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.login-shell--glass .login-card-header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.login-shell--glass .login-card-icon {
    width: 4.75rem;
    height: 4.75rem;
    margin: 0 auto 1.15rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.6rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.06));
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.18);
}

.login-shell--glass .login-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-shell--glass .login-card h2 {
    color: #ffffff;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.login-shell--glass .login-card-header p {
    margin-top: 0.6rem;
    color: #f0f3ed;
    font-size: 0.95rem;
}

.login-shell--glass .login-field label {
    color: #ffffff;
}

.login-shell--glass .login-input-group > i {
    color: #f5f5ed;
}

.login-shell--glass .login-input-group input {
    height: 3.2rem;
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(20, 38, 33, 0.14);
    caret-color: #ffffff;
}

.login-shell--glass .login-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.login-shell--glass .login-input-group input:focus {
    border-color: #c8efcf;
    background: rgba(20, 38, 33, 0.24);
    box-shadow: 0 0 0 3px rgba(201, 241, 203, 0.2);
}

.login-shell--glass .login-input-group input:-webkit-autofill {
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px #4b6557 inset;
}

.login-shell--glass .login-password-toggle {
    color: #ffffff;
}

.login-shell--glass .login-password-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.login-shell--glass .login-options {
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    gap: 0.85rem;
    margin: 0.35rem 0 1.5rem;
    font-size: 0.8rem;
}

.login-shell--glass .login-check {
    color: #ffffff;
}

.login-shell--glass .login-check input {
    accent-color: #087a4b;
}

.login-shell--glass .login-link {
    color: #dbffbd;
}

.login-shell--glass .login-link:hover {
    color: #ffffff;
}

.login-shell--glass .login-submit {
    height: 3.4rem;
    border: 1px solid rgba(174, 245, 204, 0.35);
    background: linear-gradient(120deg, #009963, #007347);
    box-shadow: 0 10px 24px rgba(0, 54, 32, 0.18);
}

.login-shell--glass .login-submit:hover {
    background: linear-gradient(120deg, #00a96d, #007f4e);
    box-shadow: 0 12px 28px rgba(0, 54, 32, 0.26);
}

.login-shell--glass .login-card-footer {
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #f1f0e7;
}

.login-shell--glass .field-validation-error {
    color: #fff0bd;
    font-weight: 600;
}

.login-shell--glass :is(button, a, input):focus-visible {
    outline: 2px solid #e3ffca;
    outline-offset: 4px;
}

.login-glass-footer {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.25rem;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.85;
    text-shadow: 0 1px 5px rgba(40, 36, 26, 0.3);
}

.login-footer-copy {
    text-align: left;
}

.login-footer-resources {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-footer-resource {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.login-footer-separator {
    width: 1px;
    height: 1.4rem;
    background: rgba(255, 255, 255, 0.6);
}

.login-glass-footer .login-footer-heart {
    margin-inline: 0.15rem;
    color: #ff6058;
}

.login-glass-footer .login-footer-coffee {
    margin-inline: 0.15rem;
    color: #ffe0aa;
}

.login-glass-footer a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.login-glass-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-glass-footer a.login-footer-resource:hover {
    text-decoration: none;
}

.login-footer-resource:hover > span,
.login-footer-resource:focus-visible > span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 1440px) and (min-height: 900px) {
    .login-shell--glass {
        padding-block: 2.5rem;
    }

    .login-shell--glass .login-card {
        padding-block: 2.5rem;
    }
}

@media (max-width: 600px) {
    .login-shell--glass {
        grid-template-rows: minmax(min-content, 1fr) auto minmax(min-content, 1fr);
        gap: 0;
        padding: 0 1rem;
    }

    .login-shell--glass .login-brand {
        position: relative;
        width: 100%;
        align-self: center;
        justify-self: center;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 0.75rem;
        padding-block: 1.25rem;
        text-align: left;
    }

    .login-shell--glass .login-brand-icon {
        width: 4.25rem;
        height: 4.25rem;
        border-radius: 1rem;
    }

    .login-shell--glass .login-brand-copy strong {
        font-size: 1.45rem;
    }

    .login-shell--glass .login-brand-copy small {
        font-size: 0.95rem;
    }

    .login-shell--glass .login-card {
        padding: 1.75rem 1.25rem;
        border-radius: 1.5rem;
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .login-orb--left {
        top: 18%;
        left: -9rem;
    }

    .login-orb--right {
        right: -25rem;
        bottom: -10rem;
    }


    .login-glass-footer {
        align-self: center;
        flex-direction: column;
        gap: 0.85rem;
        padding-inline: 0;
        padding-block: 1.25rem;
        font-size: 0.75rem;
    }

    .login-footer-copy {
        text-align: center;
    }

    .login-footer-resources {
        gap: 0.7rem;
        font-size: 0.7rem;
    }

    .login-footer-resource {
        gap: 0.4rem;
    }
}
