/*
 * notifications.css styles the notification bell, its unread badge and the notification list.
 */
.notification-wrap { position: relative; }
.notification-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.notification-bell:hover { background: var(--surface); }
.notification-badge { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; line-height: 18px; text-align: center; }
.notification-panel { position: absolute; z-index: 300; top: 48px; right: 0; width: min(390px, calc(100vw - 24px)); overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); }
.notification-panel[hidden], .notification-full-screen[hidden] { display: none; }
.notification-panel-head, .notification-full-screen-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.notification-panel-head strong { font-size: 1rem; }
.notification-panel-head span { display: block; color: var(--muted); font-size: .75rem; }
.notification-panel-head button, .notification-show-all { border: 0; background: transparent; color: var(--accent); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.notification-list, .notification-full-list { max-height: 390px; overflow-y: auto; }
.notification-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.notification-item:hover, .notification-item.unread { background: var(--accent-light); }
.notification-item-icon { flex: 0 0 auto; color: var(--accent); }
.notification-item-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.notification-item-copy strong { font-size: .86rem; line-height: 1.3; }
.notification-item-copy small { color: var(--muted); font-size: .72rem; }
.notification-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.notification-show-all { width: 100%; padding: 13px; border-top: 1px solid var(--border); }
.notification-empty { padding: 36px 18px; color: var(--muted); text-align: center; }
.notification-empty .material-icons { font-size: 34px; opacity: .55; }
.notification-empty p { margin-top: 8px; }
.notification-full-screen { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; padding: clamp(20px, 5vw, 72px); background: color-mix(in srgb, var(--bg) 94%, var(--accent-light)); }
.notification-full-screen-inner { width: min(760px, 100%); margin: auto; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-lg); }
.notification-full-screen-head h1 { font-size: clamp(1.4rem, 4vw, 2rem); }
.notification-full-list { max-height: none; }
@media (max-width: 650px) { .notification-panel { position: fixed; top: 68px; right: 12px; } .notification-full-screen { padding: 12px; } }