/* BEG · Area riservata, veste del sito nuovo www.beglift.it (LOOOL, 14/10/2026).
   Sostituisce ../pdc/css/beg-riservata.css; form, campi e script restano quelli di prima. */
@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root { --blu-scuro: #001A3C; --blu: #1B3775; --blu-hover: #14295A; --testo: #333A44; --attenuato: #626B79;
        --bordo: #D9DEE8; --crema: #F6F6F6; --senape: #D19939; }
html, body { min-height: 100%; }
body { margin: 0; font-family: "Roboto", Arial, sans-serif; color: var(--testo); background: var(--crema);
       display: flex; flex-direction: column; min-height: 100vh; -webkit-font-smoothing: antialiased; }
body > .row { margin: 0; }
.head { background: var(--blu-scuro); padding: 22px 0; }
.head .container > .row { align-items: center; }
.head .logo { width: 124px; max-width: 100%; height: auto; display: block; }
.head h1 { margin: 0; color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.login { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 64px 20px; max-width: none; }
.login > .row { width: 100%; max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--bordo);
                border-radius: 2px; padding: 40px 36px 36px; }
.login form > .row { display: block; margin: 0 0 20px; }
.login form > .row > div { max-width: none; flex: none; width: 100%; padding: 0; text-align: left !important; }
.login form > .row > div:first-child:not(:only-child) { font-size: 15px; font-weight: 500; color: var(--blu); margin-bottom: 8px; }
.login form br { display: none; }
.login input[type=text], .login input[type=password] { width: 100%; box-sizing: border-box; font: 400 17px/1.4 "Roboto", Arial, sans-serif;
  color: var(--testo); background: #fff; border: 1px solid var(--bordo); border-radius: 2px; padding: 12px 14px; }
.login input[type=text]:focus, .login input[type=password]:focus { outline: none; border-color: var(--blu); box-shadow: 0 0 0 3px rgba(27,55,117,.12); }
.login .btn, .login input[type=submit] { width: 100%; margin-top: 8px; font: 500 16px/1 "Roboto", Arial, sans-serif; letter-spacing: .02em;
  color: #fff; background: var(--blu); border: 1px solid var(--blu); border-radius: 2px; padding: 15px 28px; cursor: pointer; }
.login .btn:hover, .login input[type=submit]:hover { background: var(--blu-hover); border-color: var(--blu-hover); }
.login .btn:focus-visible { outline: 2px solid var(--senape); outline-offset: 2px; }
.footer { position: static !important; background: var(--blu-scuro); color: #B8C2D8; padding: 20px 0; }
.footer p { margin: 0; font-size: 13px; line-height: 1.6; }
.footer a { color: #fff; text-decoration: none; }
@media (max-width: 767px) {
  .head { padding: 18px 0; }
  .head .col-2:first-child { flex: 0 0 40%; max-width: 40%; }
  .head .col-8 { flex: 0 0 60%; max-width: 60%; text-align: right !important; }
  .head .col-2:last-child { display: none; }
  .head .logo { width: 104px; }
  .head h1 { font-size: 12px; }
  .login { padding: 40px 16px; }
  .login > .row { padding: 32px 24px 28px; }
}
/* Testata: logo che torna al sito, a destra «Home» | «Area riservata» (Fabio 14/10) */
.head .logo-link { display: inline-block; }
.head .testata-destra { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.head .home { color: #B8C2D8; font-size: 15px; font-weight: 400; text-decoration: none; transition: color .2s ease; }
.head .home:hover, .head .home:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.head .separatore { width: 1px; height: 18px; background: #8EA3C8; opacity: .6; }
@media (max-width: 767px) {
  .head .col-2:first-child { flex: 0 0 34%; max-width: 34%; }
  .head .testata-destra { flex: 0 0 66%; max-width: 66%; gap: 12px; }
  .head .home { font-size: 13px; }
}

/* Messaggio di errore del login e pagina con l'elenco dei file (27/10/2026, go-live) */
.login .avviso { margin-top: 4px; color: #B42318; font-size: 15px; text-align: center; }
.area { flex: 1 0 auto; width: 100%; max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; box-sizing: border-box; }
.area .utente { font-size: 15px; color: var(--attenuato); margin: 0 0 24px; padding: 0 0 16px; border-bottom: 1px solid var(--bordo); }
.area .utente b { color: var(--blu); font-weight: 500; }
.area h4 { font-size: 22px; font-weight: 500; color: var(--blu); margin: 0 0 16px; }
.area .nota { font-size: 15px; margin: 0 0 20px; }
.area table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--bordo); }
.area td { padding: 12px 16px; border-bottom: 1px solid var(--bordo); font-size: 15px; }
.area tr.pari { background: #fff; } .area tr.dispari { background: #FAFAFB; }
.area a.nounder { color: var(--blu); text-decoration: none; }
.area a.nounder:hover { text-decoration: underline; text-underline-offset: 3px; }
.area a.nounder2, .area a.nounder2:hover { color: #B42318; text-decoration: none; }
.area .menu { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--bordo); text-align: center; font-size: 15px; }
.area .menu a { color: var(--blu); }
