/* Menu de la cloche : titre et « Tout voir » en haut, liste qui défile en dessous. */
.mk-notif-menu { overflow: hidden; }
.mk-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--vz-border-color);
}
.mk-notif-tout {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    color: var(--vz-primary);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}
.mk-notif-tout:hover { text-decoration: underline; }
.mk-notif-liste {
    max-height: min(26rem, calc(100vh - 9rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Toasts SweetAlert2 : compacts et identiques sur toutes les pages (connexion comprise),
   proches des alertes de la cloche. Contraste lisible (évite --vz-heading-color clair sur fond blanc).

   L'icône n'est jamais retouchée : SweetAlert la dessine (cercle, coche, croix) avec des pièces
   positionnées en « em ». On réduit seulement la police du toast, dont l'icône suit la taille. */
.swal2-toast.swal2-popup {
    font-size: 0.8125rem !important;
    width: auto !important;
    max-width: min(22rem, calc(100vw - 2rem));
    padding: 0.5rem 0.875rem !important;
    border-radius: 0.5rem !important;
    background: #fff !important;
    box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.12) !important;
}

.swal2-toast.swal2-popup .swal2-title {
    color: #212529 !important;
    font-size: 1.0625em !important;
    font-weight: 600;
    line-height: 1.35;
    margin: 0.35em 0.75em 0.35em 0 !important;
    padding: 0 !important;
}

[data-bs-theme=dark] .swal2-toast.swal2-popup {
    background: var(--vz-secondary-bg, #2a3042) !important;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.35) !important;
}

[data-bs-theme=dark] .swal2-toast.swal2-popup .swal2-title {
    color: var(--vz-body-color, #e9ecef) !important;
}
