/* FIVE TOUR 4.4.75 — Login/recupero in stile Cantiere360, con video 4K e vetro traslucido. */
html:has(body.ftaps-app.ftaps-auth){min-height:100%;background:#08111a}
body.ftaps-app.ftaps-auth{margin:0;background:#08111a;color:#13243a}
body.ftaps-app.ftaps-auth .ft475-auth-shell{position:relative;display:flex;flex-direction:column;isolation:isolate;min-height:100vh;min-height:100svh;overflow:hidden;background:#08111a}
body.ftaps-app.ftaps-auth .ftaps-auth-video{position:fixed;inset:0;z-index:-2;overflow:hidden;background:#0b1c2a url('../video/five-tour-login-poster.jpg') center center / cover no-repeat}
body.ftaps-app.ftaps-auth .ftaps-auth-video video{display:block;min-height:100%;min-width:100%;width:100%;height:100%;object-fit:cover;object-position:50% 50%;pointer-events:none}
body.ftaps-app.ftaps-auth .ftaps-auth-overlay{position:fixed;inset:0;z-index:-1;background:linear-gradient(135deg,rgba(4,13,25,.23),rgba(10,24,39,.13) 45%,rgba(4,13,25,.25));pointer-events:none}
/* Solo logo, senza striscia, fondale, bordo né sfocatura nella testata. */
body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand{z-index:2;position:relative;flex:none;display:flex;align-items:center;justify-content:center;min-height:132px;padding:16px 20px 4px;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand .ftaps-brand{display:flex!important;align-items:center!important;justify-content:center!important;min-height:104px!important;height:auto!important;width:min(100%,300px)!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:none}
body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand .ftaps-brand>img{display:block!important;width:240px!important;max-width:100%!important;height:104px!important;max-height:104px!important;object-fit:contain!important;object-position:center!important;flex:none!important;padding:0!important;margin:0!important;border:0!important;filter:drop-shadow(0 3px 12px rgba(0,0,0,.18))}
/* Il riquadro centrale è vetro chiaro al 76%, non un rettangolo bianco opaco. */
body.ftaps-app.ftaps-auth .ft475-auth-content{position:relative;z-index:1;box-sizing:border-box;flex:1;display:flex;align-items:center;justify-content:center;width:100%!important;max-width:100%!important;margin:0!important;padding:18px 22px 32px!important}
body.ftaps-app.ftaps-auth .ft475-auth-content>.ft475-auth-layout{width:min(100%,485px);margin:0 auto;padding:0}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel{width:100%;margin:0;min-width:0}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap{width:100%!important;max-width:none!important;margin:0 auto!important;padding:34px 36px 28px!important;border-radius:24px!important;background:rgba(248,251,255,.76)!important;border:1px solid rgba(255,255,255,.55)!important;box-shadow:0 25px 70px rgba(4,14,24,.30),inset 0 1px 0 rgba(255,255,255,.46)!important;-webkit-backdrop-filter:blur(13px) saturate(120%)!important;backdrop-filter:blur(13px) saturate(120%)!important;color:#142239!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap form,body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap form.site-form{display:grid;gap:16px!important;width:100%;margin:20px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel .ft475-auth-overline{font-size:11px!important;font-weight:850!important;letter-spacing:.17em!important;color:#2565a3!important;margin:0 0 12px!important;text-transform:uppercase}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel h1.ft475-auth-title,body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel h2{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:clamp(25px,3vw,29px)!important;font-weight:820!important;letter-spacing:-.035em!important;line-height:1.2!important;color:#13243a!important;margin:0 0 10px!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel .ft475-auth-description,body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap>p:not(.ft475-auth-overline):not(.staff-forgot-password){font-size:14px!important;color:#425571!important;line-height:1.6!important;margin:0!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap form label{display:block!important;color:#203451!important;font-size:13px!important;line-height:1.55!important;font-weight:700!important;margin:0!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap form :is(input[type=text],input[type=password],input[type=email]){box-sizing:border-box;display:block;width:100%!important;height:48px!important;margin:8px 0 0!important;padding:11px 13px!important;border:1px solid rgba(58,82,110,.26)!important;border-radius:11px!important;background:rgba(255,255,255,.96)!important;color:#17283d!important;font-size:15px!important;line-height:1.5!important;box-shadow:none!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap form :is(input[type=text],input[type=password],input[type=email]):focus-visible{outline:3px solid #86b7ed!important;outline-offset:1px}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap form :is(.btn,button[type=submit],input[type=submit]){box-sizing:border-box;min-height:48px!important;height:auto!important;width:100%!important;border-radius:12px!important;background:#1669bb!important;color:#fff!important;border:1px solid #1669bb!important;font-size:15px!important;font-weight:800!important;line-height:1.3!important;padding:12px 18px!important;box-shadow:0 8px 20px rgba(22,105,187,.23)!important;cursor:pointer}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap form :is(.btn,button[type=submit],input[type=submit]):hover{background:#0c4f92!important;border-color:#0c4f92!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap a:not(.btn){color:#175d9f!important;font-size:13px!important;font-weight:700;text-decoration:none}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap a:not(.btn):hover{text-decoration:underline}
body.ftaps-app.ftaps-auth .ft475-auth-content .staff-forgot-password{text-align:center!important;margin:19px 0 0!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .login-wrap .message-box{background:rgba(255,255,255,.87)!important;margin:18px 0 8px!important;border-radius:10px!important;color:#214e3b!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .login-wrap .message-box.error{background:rgba(255,243,243,.94)!important;color:#7a1d1d!important}
/* Nel login non devono comparire barre di navigazione del gestionale o i titoli automatici della pagina. */
body.ftaps-app.ftaps-auth :is(.ft-staff-contextbar,.page-hero,.ftaps-page-head,.ft-staff-welcome,.ftm-dashboard-intro){display:none!important}
body.ftaps-app.ftaps-auth .ft475-auth-footer{position:relative;z-index:2;flex:none;display:flex;flex-wrap:wrap;justify-content:center;gap:5px 16px;width:100%;box-sizing:border-box;margin-top:auto;padding:14px 18px max(22px,env(safe-area-inset-bottom));text-align:center;color:rgba(255,255,255,.90);font-size:11.5px;font-weight:600;letter-spacing:.01em;line-height:1.6;text-shadow:0 1px 6px rgba(0,0,0,.65)}
body.ftaps-app.ftaps-auth .ft475-auth-footer a{color:#fff;font-weight:800;text-decoration:underline;text-underline-offset:2px}
body.ftaps-app.ftaps-auth .ft475-auth-footer a:hover{color:#f9db7a}
@media(max-width:620px){
  body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand{min-height:100px;padding:10px 12px 2px}
  body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand .ftaps-brand{min-height:90px!important;height:auto!important}
  body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand .ftaps-brand>img{width:206px!important;height:88px!important;max-height:88px!important}
  body.ftaps-app.ftaps-auth .ft475-auth-content{padding:12px 18px 20px!important;align-items:center}
  body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap{padding:27px 23px 24px!important;border-radius:19px!important;background:rgba(248,251,255,.81)!important}
  body.ftaps-app.ftaps-auth .ft475-auth-footer{font-size:10.5px;gap:0 14px;padding:12px 16px 22px}
}
@media(max-height:650px){body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand{min-height:92px}body.ftaps-app.ftaps-auth .ft475-auth-content{align-items:flex-start;padding-top:8px!important}}
@media(prefers-reduced-motion:reduce){body.ftaps-app.ftaps-auth .ftaps-auth-video video{display:none!important}body.ftaps-app.ftaps-auth .ftaps-auth-video{background-color:#132841!important}}
@media print{body.ftaps-app.ftaps-auth .ftaps-auth-video,body.ftaps-app.ftaps-auth .ftaps-auth-overlay{display:none!important}body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap{background:#fff!important}body.ftaps-app.ftaps-auth .ft475-auth-footer{color:#24364a;text-shadow:none}}
