/* Sino e notificações nos cabeçalhos das áreas autenticadas. */
.assoc-contador-notificacoes { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #dc3545; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.caixa-notificacoes-agenda { width: 420px; max-width: calc(100vw - 24px); }
.lista-notificacoes-agenda { max-height: min(440px, calc(100vh - 180px)); overflow-y: auto; }
.lista-notificacoes-agenda article:last-child { margin-bottom: 0 !important; }
.navbar-custom .topnav-menu:has(.agenda-sino-junta) { display: flex; align-items: center; gap: 10px; height: 70px; margin: 0; }
.navbar-custom .topnav-menu:has(.agenda-sino-junta) > li { float: none; display: flex; align-items: center; height: auto; margin: 0; padding: 0; }
.navbar-custom .topnav-menu:has(.agenda-sino-junta) .btn-dt-actions,
.navbar-custom .topnav-menu:has(.agenda-sino-junta) .btn-fullscreen { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; }
.navbar-custom .topnav-menu:has(.agenda-sino-junta) .nav-user { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 !important; line-height: normal; }
.navbar-custom .topnav-menu:has(.agenda-sino-junta) .nav-user img { display: block; width: 40px; height: 40px; }
.lista-notificacoes-agenda { font-size: 12px; line-height: 1.5; padding: 12px !important; }
.lista-notificacoes-agenda > .text-muted { font-size: 11px; margin-bottom: 10px; }
.lista-notificacoes-agenda article { padding: 12px !important; margin-bottom: 10px !important; }
.lista-notificacoes-agenda h3 { font-size: 12px; line-height: 1.4; }
.lista-notificacoes-agenda small { font-size: 10px; }
.lista-notificacoes-agenda .assoc-descricao { margin-bottom: 10px !important; }
.lista-notificacoes-agenda .assoc-descricao p { font-size: inherit; margin-bottom: 6px; }
.lista-notificacoes-agenda .btn { padding: 5px 10px; font-size: 11px; line-height: 1.5; letter-spacing: .3px; min-height: 0; }
.assoc-notificacoes .abrir-notificacoes-agenda:hover,
.assoc-notificacoes .abrir-notificacoes-agenda:active,
.assoc-notificacoes .abrir-notificacoes-agenda:focus-visible,
.assoc-notificacoes .abrir-notificacoes-agenda[aria-expanded="true"] { background-color: #f1f3f5 !important; border-color: #d1d5db !important; color: #6c757d !important; }

.lista-notificacoes-agenda .assoc-descricao { overflow-wrap: anywhere; }
.lista-notificacoes-agenda .assoc-descricao img { max-width: 100%; height: auto; }

@media (max-width: 575px) {
    .caixa-notificacoes-agenda {
        position: fixed !important;
        inset: 82px 12px auto !important;
        width: auto;
        max-width: none;
        transform: none !important;
    }
    .assoc-topbar .caixa-notificacoes-agenda { top: 92px !important; }
}
