﻿.cookie-notice[hidden]{display:none!important}
.cookie-notice{position:fixed;bottom:18px;left:18px;right:18px;z-index:40;display:flex;align-items:center;gap:28px;padding:24px 52px 24px 26px;border:1px solid #c5d5de;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 10px 48px #193b4d35;font-family:Arial,Helvetica,sans-serif}
.cookie-notice-copy{flex:1;min-width:0}.cookie-notice-copy>strong{font-size:18px;line-height:1.4}.cookie-notice-copy p{font-size:14px;line-height:1.65;margin:8px 0 0;color:var(--muted)}
.cookie-notice a,.cookie-settings a,.cookie-policy a{color:var(--blue);text-decoration:underline}
.cookie-notice-actions,.cookie-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.cookie-notice .btn,.cookie-settings .btn{min-height:46px;font-size:14px;cursor:pointer}
.cookie-close{width:36px;height:36px;min-height:36px!important;padding:0!important;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;background:white;color:var(--ink);font-size:24px!important;line-height:1;cursor:pointer;flex:none}
.cookie-notice>.cookie-close{position:absolute;top:10px;right:10px}
.cookie-settings-link{padding:0;border:0;background:transparent;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
.cookie-settings{width:min(600px,calc(100% - 28px));max-width:600px;max-height:calc(100dvh - 28px);padding:28px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);overflow:auto;box-shadow:0 24px 80px #102a3d40;font-family:Arial,Helvetica,sans-serif}
.cookie-settings::backdrop{background:#102a3d99}.cookie-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.cookie-dialog-heading h2{margin:0;font-size:25px;line-height:1.3;font-weight:500}
.cookie-settings p{font-size:15px;line-height:1.7;color:var(--muted)}.cookie-category{padding:18px;border:1px solid var(--line);border-radius:7px;margin:20px 0}.cookie-category>div{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:16px}.cookie-category p{margin:10px 0 0}.cookie-status{background:#eaf2e1;color:#365a25;font-size:12px;padding:3px 9px;border-radius:12px;white-space:nowrap}.cookie-settings .cookie-optional-info{font-size:14px}.cookie-dialog-actions{justify-content:flex-end;margin-top:22px}
.cookie-policy{padding:36px 0 60px;max-width:1150px}.cookie-policy h1{font-size:clamp(28px,4vw,40px);font-weight:500;line-height:1.2}.cookie-policy h2{font-size:23px;font-weight:500;margin-top:30px}.cookie-policy p,.cookie-policy li{font-size:16px;line-height:1.8}.cookie-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:7px}.cookie-policy table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.65}.cookie-policy th,.cookie-policy td{padding:14px;border-bottom:1px solid var(--line);vertical-align:top}.cookie-policy th{background:var(--paper);font-weight:600}.cookie-policy tr:last-child td{border-bottom:0}.cookie-policy .policy-date{font-size:14px;color:var(--muted)}
body:has(#cookie-settings[open]){overflow:hidden!important}
@media(max-width:800px){.cookie-notice{left:10px;right:10px;bottom:10px;padding:20px;gap:18px;display:block;max-height:calc(100dvh - 20px);overflow:auto}.cookie-notice-copy>strong{display:block;padding-right:27px;font-size:17px}.cookie-notice-actions{margin-top:16px}.cookie-notice-actions .btn{flex:1}.cookie-settings{padding:22px}.cookie-dialog-actions .btn{width:100%}.cookie-policy{padding-top:24px}.cookie-policy th,.cookie-policy td{padding:10px;font-size:13px}.cookie-table-wrap{max-width:100%}}

/* Stesso componente sulle pagine pubbliche autonome di accesso e registrazione. */
.cookie-notice,.cookie-settings,.cookie-public-links{--ink:#193b4d;--blue:#2b5974;--line:#dce4e7;--muted:#657b86;--paper:#f4f6f6}
.cookie-notice .btn,.cookie-settings .btn{background:var(--blue);color:white;border:1px solid var(--blue);border-radius:5px;padding:11px 18px;font-weight:600}
.cookie-notice .btn.light{background:white;color:var(--ink);border-color:#b6cbd6}
.cookie-public-links{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 22px;padding:20px;font-size:14px;color:var(--ink)}
.cookie-public-links a{text-decoration:underline;color:inherit}

footer .footer-links{flex-wrap:wrap;min-width:0;justify-content:flex-end;gap:12px 20px}
@media(max-width:650px){footer .footer-links{justify-content:flex-start}}
