/* admrw_v3_glass 4.1.1 */
/* ============================================================================
   IT-360 CONTROL ROOM · THE GLASS SIGN-IN (Paul 11-11-2026) · it360_admin_rework
   Loaded after admrw_v3_login.css on the sign-in screens, only while the lever admrw_login_glass is not '0'.
   What it adds: a frosted picture of the dashboard behind the card (a still, blurred and name-masked when it was made - no
   live data), the 360 ring beside the logo, and a quieter card (no heading, no site / version footnote) on the sign-in step.
   Laws kept: no !important, no :has(), no harsh black. Every rule starts with html.admrw-v3l.admrw-glass: inert without both.
   ============================================================================ */

/* ---------- the glass: the still fills the viewport behind everything; the aurora stands down ---------- */
html.admrw-v3l.admrw-glass:not(#_):not(#_) body::before{background:none}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-glass{position:fixed;left:0;top:0;right:0;bottom:0;z-index:0;margin:0;pointer-events:none;background-color:var(--v3-ground);background-repeat:no-repeat;background-position:left top;background-size:cover}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-glass.v3l-glass-admin{background-image:url(../img/glass_admin.jpg)}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-glass.v3l-glass-client{background-image:url(../img/glass_client.jpg)}

/* ---------- the card over glass: one soft cast shadow and a light rim, so it lifts off the picture ---------- */
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-card{box-shadow:14px 14px 30px rgba(22,29,43,.26),-8px -8px 22px rgba(255,255,255,.55)}

/* ---------- logo and ring on one row ---------- */
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-brand{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:clamp(14px,5vw,36px);margin:0;min-width:0}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-brand .company-logo,
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-brand .cd-gate-logo{margin:0;flex:0 1 auto;min-width:0;width:auto;height:64px;border-radius:18px}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-brand .company-logo a{padding:0 14px}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-brand .cd-gate-logo{padding:0 14px}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-brand .company-logo img,
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-brand .cd-gate-logo img{max-height:44px}

/* ---------- the 360 ring: four arcs in the logo's colours in a sunk well; the figure in the middle ---------- */
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-ring{position:relative;flex:none;width:96px;height:96px;margin:0 auto;border-radius:50%;background:var(--v3-well);box-shadow:var(--v3-sink);display:grid;place-items:center}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-brand .v3l-ring{margin:0}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-ring svg{position:absolute;left:0;top:0;width:100%;height:100%}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-ring circle{fill:none;stroke-width:9;transition:stroke-dasharray .3s ease-out}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-ring circle.v3l-ring-g{opacity:.17}
html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-ring b{position:relative;font:600 20px/1 var(--v3-mono);color:var(--v3-ink)}

/* ---------- the sign-in step is quiet: the heading and the site / version footnote stand down. 4.0.2: a third :not(#_) -
   the sign-in sheet's own heading rule (body.login_admin .text-center.tw-mb-5, four classes) out-ranked the 4.0.1 rule, so the
   welcome line under the hidden heading still showed on the staff sign-in ---------- */
html.admrw-v3l.admrw-glass:not(#_):not(#_):not(#_) body .v3l-glass-off,
html.admrw-v3l.admrw-glass:not(#_):not(#_):not(#_) body .v3l-glass-login .v3l-foot{display:none}

@media (prefers-reduced-motion: reduce){
 html.admrw-v3l.admrw-glass:not(#_):not(#_) body .v3l-ring circle{transition:none}
}
