/* L'Aparté - Widget de notifications */
.notif-bell-wrap { position: relative; display: inline-block; margin-left: 1rem; }
.notif-bell {
    background: none; border: none; font-size: 1.3rem; cursor: pointer;
    padding: 0.2rem 0.4rem; line-height: 1;
}
.notif-badge {
    position: absolute; top: -4px; right: -6px;
    background: #ef4444; color: #fff; font-size: 0.65rem; font-weight: 700;
    border-radius: 10px; padding: 1px 5px; min-width: 16px; text-align: center;
}
.notif-panel {
    position: fixed; right: 1rem; top: 6.5rem;
    width: 320px; max-height: 400px; overflow-y: auto;
    background: var(--fond, #ffffff); border: 1px solid var(--bord, rgba(100,116,139,0.2));
    border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 9999;
}
.notif-panel-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.7rem 1rem; border-bottom: 1px solid var(--bord, rgba(100,116,139,0.2));
    font-weight: 600; position: sticky; top: 0; background: inherit;
}
.notif-read-all { background: none; border: none; color: var(--accent2); font-size: 0.75rem; cursor: pointer; padding: 0; }
.notif-read-all:hover { text-decoration: underline; }
.notif-list { padding: 0.3rem 0; }
.notif-item { padding: 0.7rem 1rem; border-bottom: 1px solid var(--bord, rgba(100,116,139,0.1)); font-size: 0.88rem; }
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: rgba(2,132,199,0.08); }
.notif-text { line-height: 1.4; }
.notif-time { font-size: 0.7rem; color: var(--muted); margin-top: 0.2rem; }
.notif-empty { padding: 1rem; color: var(--muted); text-align: center; font-size: 0.85rem; }

.notif-item { cursor: pointer; transition: background 0.15s; }
.notif-item:hover { background: rgba(2,132,199,0.15); }

/* ===== RESPONSIVE NOTIFICATIONS ===== */
@media (max-width: 480px) {
    .notif-panel {
        position: fixed;
        left: 0; right: 0; top: 3.2rem;
        width: 100%;
        max-height: 60vh;
        border-radius: 0;
        border-left: none; border-right: none;
    }
}

/* Actions d'invitation de groupe dans les notifications */
.notif-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.notif-actions .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
}
