/* ============================================================
   NOTIFICATIONS PUSH — cloche flottante (site public)
   ============================================================ */
.push-widget {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1040; /* sous les modales Bootstrap (1055) */
}

.push-widget__cloche {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: var(--color-primary, #2A2D6B);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s, box-shadow .15s;
}

.push-widget__cloche:hover,
.push-widget__cloche:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.push-widget__cloche:focus-visible {
    outline: 3px solid var(--color-primary-dark, #000);
    outline-offset: 2px;
}

/* Abonné : cloche pleine + pastille */
.push-widget--actif .push-widget__cloche .bi-bell::before {
    content: "\F189"; /* bi-bell-fill */
}

.push-widget--actif .push-widget__cloche::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-success, #198754);
    border: 2px solid #fff;
}

.push-widget__panneau {
    position: absolute;
    left: 0;
    bottom: calc(100% + .75rem);
    width: min(320px, calc(100vw - 2rem));
    padding: 1rem;
    background: #fff;
    color: var(--color-text, #212529);
    border-radius: var(--radius-card, 12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    font-size: .95rem;
}

.push-widget__panneau p:last-child,
.push-widget__panneau ol:last-child {
    margin-bottom: 0;
}

@media print {
    .push-widget {
        display: none !important;
    }
}
