/*
 * Name: novita.css
 * Version: 1.0.0
 * Description: Riquadro a comparsa delle novità (assets/js/novita.js). Caricato anche dalla landing, che non usa
 *              site.css: per questo, come consenso.css, usa gli stessi colori del banner cookie (bianco, #0596d4).
 *              Centrato sullo schermo, sopra il velo; altezza in dvh (100vh come riserva) e margini con
 *              env(safe-area-inset-*), così non finisce sotto il pulsante cookie o la chat 3CX.
 * Author: Fast Modding user ITSkydive
 * Date: 15-11-2026
 */
.fmn-velo {
    position: fixed; inset: 0; z-index: 2147482990;
    display: flex; align-items: center; justify-content: center;
    padding: calc(20px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px))
             calc(96px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
    background: rgba(10, 10, 10, .45);
}
.fmn-velo[hidden], .fmn-velo [hidden] { display: none !important; }
.fmn-riquadro {
    position: relative; width: 100%; max-width: 460px;
    max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); overflow-y: auto;
    background: #fff; color: #222; border-radius: 12px; padding: 22px 22px 18px;
    box-shadow: 0 4px 8px #0003, 0 6px 20px #00000030;
    font-family: 'Poppins', -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px; line-height: 1.55; text-align: left; letter-spacing: 0;
}
.fmn-riquadro:focus { outline: none; }
.fmn-etichetta {
    display: inline-block; font-size: 12px; font-weight: 600; line-height: 1; text-transform: uppercase; letter-spacing: .5px;
    padding: 6px 10px; border-radius: 4px; background: #0596d4; color: #fff;
}
.fmn-etichetta.tipo-correzione { background: #f3d14b; color: #161922; }
.fmn-data { font-size: 13px; color: #555; margin-left: 8px; }
.fmn-riquadro h2 {
    font-family: inherit; font-size: 19px !important; line-height: 1.3 !important; margin: 12px 28px 10px 0 !important;
    color: #222; font-weight: 700; letter-spacing: 0 !important; text-transform: none;
}
.fmn-testo p { margin: 0 0 12px; padding: 0 !important; font-weight: 400; line-height: 1.55 !important; color: #222; }
.fmn-riquadro a { color: #0478aa; text-decoration: underline; }
.fmn-chiudi {
    position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: transparent; color: #555; font-size: 26px; line-height: 1; cursor: pointer;
}
.fmn-chiudi:hover { background: #f0f0f0; }
.fmn-scorri { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 14px; font-size: 13px; color: #555; }
.fmn-scorri button {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d0d0d0; background: #fff; color: #222;
    font-size: 15px; cursor: pointer;
}
.fmn-scorri button:disabled { opacity: .35; cursor: default; }
.fmn-pulsanti { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; border-top: 1px solid #e6e6e6; padding-top: 14px; }
.fmn-pulsanti a, .fmn-pulsanti button {
    flex: 1 1 auto; min-width: 140px; text-align: center; font: inherit; font-weight: 600; font-size: 14px;
    padding: 10px 16px; border-radius: 6px; cursor: pointer; text-decoration: none !important;
}
.fmn-tutte { background: #fff; color: #0478aa !important; box-shadow: inset 0 0 0 2px #0596d4; }
.fmn-ok { background: #0596d4; color: #fff; border: 0; }
.fmn-ok:hover { background: #0478aa; }
.fmn-riquadro button:focus-visible, .fmn-riquadro a:focus-visible { outline: 2px solid #0596d4; outline-offset: 2px; }
