.staff-sign-in {
    position: relative;
    min-height: 100svh;
    justify-content: flex-end;
    padding: 2rem clamp(2rem, 9vw, 11rem);
    background: #171e4d;
    color: #182334;
}

.staff-flight-scene {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 32% 84%, #7eaeed65, #4567aa38 27%, transparent 59%),
        radial-gradient(ellipse at 12% 88%, #333b7955, transparent 48%),
        radial-gradient(ellipse at 31% 48%, #343e83, #20285f 48%, #141a43 86%);
}

.staff-flight-scene::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(#a4b6ff12 1px, transparent 1px),
        linear-gradient(90deg, #a4b6ff12 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 38% 52%, #000 15%, transparent 78%);
}

.staff-flight-scene::after {
    position: absolute;
    inset: 78% -15% auto;
    height: 24vh;
    content: "";
    border-top: 1px solid #9ebfff40;
    border-radius: 50%;
    box-shadow: 0 -8px 34px #83aeef29;
    mask-image: linear-gradient(90deg, transparent 4%, #000 33%, transparent 72%);
}

.staff-flight-caption { display: none; }

@media (min-width: 1101px) and (min-height: 660px) {
    .staff-flight-caption {
        display: block;
        position: absolute;
        left: 2rem;
        bottom: 1.5rem;
        color: #e0ebff;
    }
    .staff-flight-caption p { margin: 0; }
    .staff-flight-caption p:first-child { font-size: 1.125rem; font-weight: 700; }
    .staff-flight-caption p + p { color: #bdccef; font-size: .875rem; }
}

.staff-flight-scene canvas {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}

.staff-sign-in .auth-card {
    position: relative;
    max-width: 420px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid #dbe2eb;
    border-radius: 18px;
    background: #f1f4f8;
    box-shadow: 0 24px 80px #10153785;
}

.staff-sign-in .auth-logo { margin-bottom: 1.25rem; text-align: left; }
.staff-sign-in-title { margin: 0 0 .375rem; color: #262e70; font-size: 2rem; font-weight: 700; letter-spacing: -.035em; }
.staff-sign-in-help { margin-bottom: 1.5rem; color: #526176; font-size: .925rem; }
.staff-sign-in .form-label { font-weight: 600; }
.staff-sign-in .form-control { min-height: 46px; border-color: #c8d2e0; }
.staff-sign-in .form-control:focus { border-color: #606bb2; box-shadow: 0 0 0 .2rem #262e7026; }
.staff-sign-in .form-check-input:checked { background-color: #262e70; border-color: #262e70; }
.staff-sign-in .btn-primary { --bs-btn-active-bg: #1d245c; --bs-btn-active-border-color: #1d245c; min-height: 46px; font-weight: 600; }
.staff-globe-modes {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    max-width: calc(100% - 2rem);
    padding: .625rem .75rem .75rem;
    border: 1px solid #dbe2eb;
    border-radius: 10px;
    background: #f1f4f8;
}
.staff-globe-modes legend { margin-bottom: .375rem; color: #526176; font-size: .8125rem; font-weight: 600; }
.staff-globe-modes .btn-group { display: flex; }
.staff-globe-modes .btn { --bs-btn-color: #262e70; --bs-btn-border-color: #a5b1d2; --bs-btn-active-bg: #262e70; --bs-btn-active-border-color: #262e70; min-height: 34px; }
.staff-globe-modes .btn-check:focus-visible + label { outline: 2px solid #606bb2; outline-offset: 2px; }
.staff-sign-in-links { display: grid; justify-items: start; gap: .5rem; margin-top: 1rem; font-size: .875rem; }
.staff-sign-in-links a { color: #262e70; }
.staff-sign-in :focus-visible { outline: 2px solid #606bb2; outline-offset: 3px; }

@media (max-width: 767px) {
    .staff-sign-in { justify-content: center; padding-inline: 1rem; }
    .staff-flight-scene { opacity: .55; }
    .staff-globe-modes { display: none; }
}


@media (min-width: 768px) and (max-height: 600px) {
    .staff-sign-in:has(.staff-globe-modes:not([hidden])) { padding-top: 6.5rem; }
}
