/* Local decorative layers. Photos, text and form geometry stay stationary. */
.auth-body {
    background: linear-gradient(135deg, #e7eff5 0%, #f2f5f8 48%, #edf0f5 100%);
}
.auth-ambient {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
    contain: strict;
}
.auth-ambient-glow {
    position: absolute;
    width: min(85vw, 1100px);
    aspect-ratio: 1;
    border-radius: 50%;
}
.auth-ambient-blue {
    top: -38%;
    left: -24%;
    background: radial-gradient(ellipse, #73a4c94d 0%, #8eb5cf26 32%, #8eb5cf00 68%);
    transform: translate3d(0, 0, 0);
}
.auth-ambient-coral {
    right: -25%;
    bottom: -55%;
    background: radial-gradient(ellipse, #de968c38 0%, #d6a59e1a 35%, #d6a59e00 68%);
    transform: translate3d(0, 0, 0);
}
.auth-ambient-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#738da00d 1px, transparent 1px), linear-gradient(90deg, #738da00d 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 45% 45%, transparent 26%, #0009 74%, transparent 100%);
}
.auth-body::before { opacity: .045; }
.auth-shell { position: relative; }
.auth-layout {
    position: relative;
    border-color: #d4dfe8;
    box-shadow: 0 24px 72px #2b4a6412, 0 2px 8px #28476108, 0 0 0 1px #ffffffa6;
}
.auth-layout::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #99c8eacc 28%, #ffffff 55%, #edb0a599 82%, transparent);
}
.auth-motion-ready .auth-ambient-blue { animation: auth-light-blue 24s ease-in-out infinite alternate; }
.auth-motion-ready .auth-ambient-coral { animation: auth-light-coral 29s ease-in-out infinite alternate; }
.auth-motion-paused .auth-ambient-glow { animation-play-state: paused; }
.auth-motion-reduced .auth-ambient-glow { animation: none; }
.auth-motion-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 9px;
    padding: 5px 10px;
    min-height: 30px;
    border: 1px solid transparent;
    border-radius: 20px;
    color: #647482;
    font: inherit;
    font-size: 10px;
    background: transparent;
    cursor: pointer;
}
.auth-motion-toggle[hidden] { display: none; }
.auth-motion-toggle:hover:not(:disabled) { background: #ffffffa6; border-color: #d3dde5; color: #344f63; }
.auth-motion-toggle:focus-visible { outline: 2px solid #5484ad; outline-offset: 3px; }
.auth-motion-toggle:disabled { cursor: default; }
@keyframes auth-light-blue {
    from { transform: translate3d(-3%, -1%, 0) scale(1); }
    to { transform: translate3d(13%, 12%, 0) scale(1.08); }
}
@keyframes auth-light-coral {
    from { transform: translate3d(2%, 3%, 0) scale(1); }
    to { transform: translate3d(-14%, -11%, 0) scale(1.1); }
}
@media (max-width: 700px) {
    .auth-ambient-glow { width: 110vw; }
    .auth-ambient-blue { top: -12%; left: -42%; }
    .auth-ambient-coral { bottom: -10%; right: -45%; }
    .auth-ambient-grid { background-size: 48px 48px; opacity: .5; }
    .auth-motion-ready .auth-ambient-glow { animation: none; }
    .auth-motion-toggle { display: none; }
    .auth-layout { box-shadow: 0 12px 36px #2b4a6412, 0 0 0 1px #ffffff80; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-motion-ready .auth-ambient-glow { animation: none; }
}
@media print {
    .auth-ambient, .auth-motion-toggle { display: none; }
}
