/* Local architectural login trial. Original files are backed up outside the app. */
.pro-login-page {
    --pro-primary: #2196f3;
    --pro-cyan: #0099cd;
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
    overflow-x: hidden;
    background: #edf0f3;
    color: #282725;
    font-family: Poppins, Arial, sans-serif;
}
.pro-architecture { --pro-scene-focus: 50%; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
/* The bitmap and floor traces share this single intrinsic coordinate system.
   Cover sizing and responsive focus apply to both, so the floor clip cannot drift. */
.pro-architecture__stage {
    position: absolute;
    top: 50%;
    left: var(--pro-scene-focus);
    width: max(108vw, 191.898vh);
    aspect-ratio: 1672 / 941;
    transform: translate(calc(0% - var(--pro-scene-focus)), -50%);
}
.pro-architecture__scene {
    display: block;
    width: 100%;
    height: auto;
    color: var(--pro-primary);
    animation: pro-architecture-drift 18s ease-in-out -4s infinite;
    transform-origin: center;
    will-change: transform;
}
.pro-architecture__plan { opacity: .095; stroke: #536776; stroke-width: .9; }
.pro-architecture__trace { opacity: .48; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 145 855; animation: pro-architecture-flow 11s linear infinite; }
.pro-architecture__trace:nth-of-type(2n) { animation-delay: -2.75s; }
.pro-architecture__trace:nth-of-type(3n) { animation-delay: -5.5s; }
.pro-architecture__trace:last-child { animation-delay: -8.25s; }
.pro-architecture__ground path { vector-effect: non-scaling-stroke; }
.pro-login-card {
    position: relative;
    z-index: 1;
    width: min(500px, 100%);
    padding: 44px 42px 32px;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 27px;
    background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(222,231,238,.09) 55%, rgba(255,255,255,.18));
    box-shadow: 0 24px 70px rgba(48,67,82,.15), 0 3px 12px rgba(48,67,82,.05), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(255,255,255,.5);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
    backdrop-filter: blur(8px) saturate(1.2);
}
.pro-login-brand { display: flex; flex-direction: column; align-items: center; padding: 18px 0 0 70px; margin-bottom: 40px; }
.pro-login-logo { display: block; width: min(274px, 100%); height: auto; overflow: visible; }
.pro-login-tagline { margin-top: 13px; color: #282725; font-size: 11px; line-height: 1.6; letter-spacing: 2.05px; white-space: nowrap; }
.pro-login-fields { display: grid; gap: 20px; }
.pro-login-field { position: relative; }
.pro-login-field .form-control {
    height: 60px;
    width: 100%;
    padding: 15px 20px 15px 57px;
    border: 1px solid rgba(255,255,255,.97);
    border-radius: 13px;
    background: rgba(255,255,255,.3);
    box-shadow: inset 0 1px 2px rgba(255,255,255,.8), 0 1px 4px rgba(48,67,82,.035);
    color: #343d48;
    font: 400 16px/1.5 Poppins, Arial, sans-serif;
    transition: border-color .18s, background .18s, box-shadow .18s;
}
.pro-login-field .form-control::placeholder { color: #626b77; opacity: 1; }
.pro-login-field .form-control:focus { background: rgba(255,255,255,.8); border-color: var(--pro-primary); box-shadow: 0 0 0 3px rgba(33,150,243,.1); }
.pro-field-icon { position: absolute; z-index: 1; top: 19px; left: 20px; width: 23px; height: 23px; color: #65717f; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.pro-login-field--password .form-control { padding-right: 52px; }
.pro-password-toggle { position: absolute; inset: 0 7px 0 auto; width: 44px; padding: 10px; border: 0; border-radius: 10px; background: none; color: #65717f; }
.pro-password-toggle svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.pro-password-toggle[aria-pressed="true"] .pro-eye-slash { display: none; }
.pro-password-toggle:hover { color: var(--pro-cyan); }
.pro-password-toggle:focus-visible, .pro-login-forgot a:focus-visible { outline: 2px solid var(--pro-primary); outline-offset: 2px; }
.pro-login-remember { display: flex; align-items: center; gap: 12px; margin: 24px 0; width: max-content; max-width: 100%; color: #343d48; font-size: 14px; cursor: pointer; }
.pro-login-remember .form-check-input { flex: 0 0 21px; width: 21px; height: 21px; margin: 0; border: 1px solid #96a1ac; border-radius: 4px; background-color: rgba(255,255,255,.8); cursor: pointer; }
.pro-login-remember .form-check-input:checked { border-color: var(--pro-primary); background-color: var(--pro-primary); }
.pro-login-submit.btn { width: 100%; min-height: 59px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.95) !important; border-radius: 13px; background-color: var(--pro-primary) !important; box-shadow: 0 5px 16px rgba(33,150,243,.12); font-size: 18px; font-weight: 500; }
.pro-login-submit.btn:hover { box-shadow: 0 7px 22px rgba(33,150,243,.22); filter: brightness(.98); }
.pro-login-submit .spinner-border { width: 1.1rem; height: 1.1rem; }
.pro-login-forgot { margin-top: 27px; text-align: center; font-size: 16px; }
.pro-login-forgot a { color: #007da9; }
.pro-login-forgot a:hover { color: var(--pro-primary); }
.pro-login-version { margin-top: 42px; text-align: center; color: #78838f; font-size: 12px; }
.pro-login-page .pro-login-mascot__label .pro-login-mascot__ai { color: var(--pro-cyan); }
.pro-login-page.is-background-paused .pro-architecture__scene,
.pro-login-page.is-background-paused .pro-architecture__trace { animation-play-state: paused; }
@keyframes pro-architecture-drift { 0%,100% { transform: translate3d(-1.5%, .65%, 0) scale(1.015); } 50% { transform: translate3d(1.5%, -.65%, 0) scale(1.055); } }
@keyframes pro-architecture-flow { to { stroke-dashoffset: -1000; } }
@media (max-height: 820px) and (min-width: 601px) {
    .pro-login-page { padding-block: 22px; }
    .pro-login-card { width: 440px; padding: 28px 35px 24px; border-radius: 24px; }
    .pro-login-brand { padding-top: 14px; padding-left: 63px; margin-bottom: 27px; }
    .pro-login-logo { width: 242px; }
    .pro-login-tagline { font-size: 10px; letter-spacing: 1.65px; margin-top: 10px; }
    .pro-login-fields { gap: 16px; }
    .pro-login-field .form-control { height: 55px; }
    .pro-field-icon { top: 16px; }
    .pro-login-remember { margin-block: 21px; }
    .pro-login-submit.btn { min-height: 54px; font-size: 17px; }
    .pro-login-forgot { margin-top: 23px; font-size: 15px; }
    .pro-login-version { margin-top: 30px; }
}
@media (min-width: 601px) and (max-aspect-ratio: 3/2) {
    .pro-architecture { --pro-scene-focus: 84%; }
}
@media (max-width: 600px) {
    .pro-login-page { padding: 24px 16px; }
    .pro-login-card { max-width: 390px; padding: 32px 25px 26px; border-radius: 24px; }
    .pro-login-brand { padding: 13px 0 0 54px; margin-bottom: 30px; }
    .pro-login-logo { width: 218px; }
    .pro-login-tagline { font-size: 9px; letter-spacing: 1.4px; margin-top: 10px; }
    .pro-login-fields { gap: 16px; }
    .pro-login-field .form-control { height: 56px; padding-left: 49px; }
    .pro-field-icon { left: 16px; top: 17px; width: 21px; height: 21px; }
    .pro-login-field--password .form-control { padding-right: 49px; }
    .pro-login-remember { margin-block: 22px; }
    .pro-login-submit.btn { min-height: 56px; font-size: 17px; }
    .pro-login-forgot { margin-top: 24px; font-size: 15px; }
    .pro-login-version { margin-top: 32px; }
    .pro-architecture { --pro-scene-focus: 43%; }
}
@media (prefers-reduced-motion: reduce) {
    .pro-architecture__scene, .pro-architecture__trace { animation: none; will-change: auto; }
    .pro-login-field .form-control { transition: none; }
}
@supports not (backdrop-filter: blur(1px)) { .pro-login-card { background: rgba(248,250,252,.94); } }
