.previsioni-topcard{position:relative;z-index:40;overflow:visible}
.notification-bell-shell{position:relative;margin-left:auto;z-index:50}
.notification-bell-button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:6px 11px;border:1px solid #b9cfde;border-radius:9px;background:#174f7c;color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer}
.notification-bell-button:hover,.notification-bell-button:focus-visible,.notification-bell-button[aria-expanded=true]{background:#f28a00;border-color:#f3b46a}
.notification-bell-button.is-current{background:#f28a00;border-color:#f3b46a}
.notification-bell-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.notification-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;font-size:11px;line-height:1;box-sizing:border-box}
.notification-bell-button.has-unread svg{animation:notification-ring 4s ease-in-out infinite}
@keyframes notification-ring{0%,88%,100%{transform:rotate(0)}
91%{transform:rotate(13deg)}
94%{transform:rotate(-12deg)}
97%{transform:rotate(7deg)}
}
.notification-popover{position:absolute;top:calc(100% + 9px);right:0;width:min(390px,calc(100vw - 24px));overflow:hidden;border:1px solid #c9d8e4;border-radius:14px;background:#fff;color:#263f52;box-shadow:0 18px 46px rgba(9,39,65,.26);z-index:100}
.notification-popover[hidden]{display:none}
.notification-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid #e2e9ef;background:#f7fafc}
.notification-popover-head>div{display:flex;flex-direction:column}
.notification-popover-head strong{color:#102a43;font-size:1.05rem}
.notification-popover-head span{color:#657a8b;font-size:.78rem}
.notification-popover-head a{color:#0b557f;font-weight:900;font-size:.82rem}
.notification-popover-list{max-height:390px;overflow:auto}
.notification-popover-item{display:grid;grid-template-columns:10px 1fr;gap:10px;padding:12px 15px;border-bottom:1px solid #edf1f4;color:#334e60;text-decoration:none}
.notification-popover-item:hover{background:#f6fafc;text-decoration:none}
.notification-popover-item.is-unread{background:#eef7fc}
.notification-type-dot{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#7890a2}
.notification-type-dot.type-previsione,.notification-row-icon.type-previsione{background:#2563eb}
.notification-type-dot.type-colpo,.notification-row-icon.type-colpo{background:#0891b2}
.notification-type-dot.type-vincita,.notification-row-icon.type-vincita{background:#e08a00}
.notification-type-dot.type-classifica,.notification-row-icon.type-classifica{background:#7c3aed}
.notification-type-dot.type-scadenza,.notification-row-icon.type-scadenza{background:#dc2626}
.notification-type-dot.type-admin,.notification-row-icon.type-admin{background:#0f766e}
.notification-popover-copy{display:flex;min-width:0;flex-direction:column;gap:3px}
.notification-popover-copy strong{color:#17384f;font-size:.88rem}
.notification-popover-copy>span{color:#536a7b;font-size:.81rem;line-height:1.35}
.notification-popover-copy small{color:#788b9a;font-size:.72rem}
.notification-popover-empty{padding:27px 18px;text-align:center;color:#667b8c}
.notification-popover-footer{display:block;padding:12px 15px;background:#102f4d;color:#fff!important;text-align:center;font-size:.83rem;font-weight:900;text-decoration:none}
.notification-popover-footer:hover{background:#f28a00;text-decoration:none}
.notifications-page{display:flex;flex-direction:column;gap:16px}
.notifications-page>.panel{margin:0}
.notifications-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;background:linear-gradient(135deg,#f8fbfe,#eaf4fa)}
.notifications-hero h2{margin:4px 0 7px;color:#102a43;font-size:clamp(1.55rem,3vw,2.15rem)}
.notifications-hero p{max-width:760px;margin:0;color:#526a7b;line-height:1.5}
.notifications-hero-count{display:flex;flex:0 0 auto;min-width:120px;flex-direction:column;align-items:center;justify-content:center;padding:16px;border:1px solid #bdd4e3;border-radius:13px;background:#fff}
.notifications-hero-count strong{color:#f07800;font-size:2rem;line-height:1}
.notifications-hero-count span{margin-top:5px;color:#586f81;font-size:.8rem;font-weight:900;text-transform:uppercase}
.notifications-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px}
.notifications-toolbar form{margin:0}
.notification-filters{display:flex;gap:8px;flex-wrap:wrap}
.notification-filters a{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #c9d7e2;border-radius:999px;color:#3d5669;font-weight:900;text-decoration:none}
.notification-filters a span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#e7eef4;font-size:.75rem}
.notification-filters a.active{border-color:#0b557f;background:#0b557f;color:#fff}
.notification-filters a.active span{background:rgba(255,255,255,.2)}
.notifications-list-panel{padding:0;overflow:hidden}
.notifications-list{display:flex;flex-direction:column}
.notification-row{display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:15px;padding:18px 20px;border-bottom:1px solid #e0e7ed;background:#fff}
.notification-row:last-child{border-bottom:0}
.notification-row.is-unread{background:linear-gradient(90deg,#eef8fd,#fff 65%)}
.notification-row-icon{width:12px;height:12px;border-radius:50%;background:#7890a2;box-shadow:0 0 0 5px rgba(120,144,162,.12)}
.notification-row-copy{min-width:0}
.notification-row-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px}
.notification-type-label{color:#0b557f;font-size:.72rem;font-weight:950;letter-spacing:.05em;text-transform:uppercase}
.notification-row-meta time{color:#738797;font-size:.76rem}
.notification-row h3{margin:0 0 5px;color:#17384f;font-size:1.02rem}
.notification-row p{margin:0;color:#52697a;line-height:1.45}
.notification-open-link{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;border-radius:8px;color:#0b557f;font-size:.84rem;font-weight:950;text-decoration:none}
.notification-open-link:hover{background:#e8f2f8;text-decoration:none}
.notifications-empty{padding:45px 20px;text-align:center}
.notifications-empty-bell{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:0 auto 13px;border-radius:50%;background:#e5f5eb;color:#16713a;font-size:1.65rem;font-weight:900}
.notifications-empty h3{margin:0 0 7px;color:#17384f}
.notifications-empty p{margin:0 0 16px;color:#607687}
@media(max-width:720px){.notification-bell-shell{margin-left:0}
.notification-bell-text{display:none}
.notification-bell-button{padding:6px 9px}
.notification-popover{position:fixed;top:74px;right:10px;left:10px;width:auto;max-height:calc(100vh - 92px)}
.notification-popover-list{max-height:calc(100vh - 225px)}
.notifications-hero{align-items:flex-start;flex-direction:column}
.notifications-hero-count{width:100%;box-sizing:border-box}
.notifications-toolbar{align-items:stretch;flex-direction:column}
.notifications-toolbar .btn{width:100%}
.notification-filters{display:grid;grid-template-columns:1fr 1fr}
.notification-filters a{justify-content:center}
.notification-row{grid-template-columns:12px minmax(0,1fr);padding:15px 14px}
.notification-open-link{grid-column:2;justify-self:start;padding-left:0}
}
@media(prefers-reduced-motion:reduce){.notification-bell-button.has-unread svg{animation:none}
}

.dashboard-notification-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.dashboard-notification-head h2{margin:4px 0 10px}
.dashboard-notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 7px;border-radius:999px;background:#dc2626;color:#fff;font-size:.78rem;font-weight:950;box-sizing:border-box}
.dashboard-notification-list{display:flex;flex-direction:column;border-top:1px solid #e1e8ee}
.dashboard-notification-list>a{display:grid;grid-template-columns:9px minmax(0,1fr);align-items:start;gap:9px;padding:10px 2px;border-bottom:1px solid #e7edf2;color:#3c5668;text-decoration:none}
.dashboard-notification-list>a.is-unread{padding-right:6px;padding-left:6px;background:linear-gradient(90deg,#edf7fc,transparent)}
.dashboard-notification-list>a>span:last-child{display:flex;min-width:0;flex-direction:column;gap:2px}
.dashboard-notification-list strong{color:#17384f;font-size:.83rem;line-height:1.3}
.dashboard-notification-list small{color:#768a99;font-size:.7rem}
.dashboard-notification-all{display:block;margin-top:11px;color:#0b557f;font-size:.82rem;font-weight:950}
.dashboard-notification-empty{color:#627789}
.dashboard-notification-summary .notification-type-dot{margin-top:3px}
