/* ─── Notification Bell ──────────────────────────────── */
.notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    cursor: pointer;
}
.notification-bell .bell-toggle {
    display: flex;
    align-items: center;
    color: #ccc;
    text-decoration: none;
    padding: 4px;
}
.notification-bell .bell-toggle:hover { color: #fff; }
.notification-bell .bell-toggle svg { width: 22px; height: 22px; }
.bell-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
    box-sizing: border-box;
}

/* ─── Notification Dropdown ─────────────────────────── */
.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    max-height: 450px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    z-index: 999999;
    margin-top: 8px;
    overflow: hidden;
}
.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.notif-header a {
    font-size: 12px;
    font-weight: 400;
    color: #1976d2;
    text-decoration: none;
}
.notif-header a:hover { text-decoration: underline; }
.notif-list {
    max-height: 380px;
    overflow-y: auto;
}
.notif-item {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: background 0.1s;
}
.notif-item:hover { background: #f5f8ff; }
.notif-item.unread {
    background: #f0f7ff;
    border-left: 3px solid #1976d2;
}
.notif-item .notif-title {
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.3;
}
.notif-item.unread .notif-title { color: #1565c0; }
.notif-item .notif-body {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}
.notif-item .notif-time {
    font-size: 11px;
    color: #999;
}
.notif-empty {
    padding: 30px 14px;
    text-align: center;
    color: #999;
    font-size: 13px;
}
.notif-footer {
    padding: 8px 14px;
    border-top: 1px solid #eee;
    text-align: center;
}
.notif-footer a {
    font-size: 12px;
    color: #1976d2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.notif-footer a:hover { text-decoration: underline; }
.notif-footer a svg { width: 14px; height: 14px; }

/* ─── Nav Badge Counts ──────────────────────────────── */
/* ─── @Mention Autocomplete ─────────────────────────── */
.mention-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    z-index: 200;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    max-height: 200px;
    overflow-y: auto;
    min-width: 250px;
    margin-bottom: 4px;
}
.mention-item {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.mention-item:hover, .mention-item.active { background: #e3f2fd; }
.mention-item:last-child { border-bottom: none; }
.mention-badge {
    background: #e3f2fd;
    color: #1565c0;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 600;
}

#menu .menu_item_container .image,
#menu .menu_sub_item_container .image {
    position: relative;
}
.nav-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
    box-sizing: border-box;
    pointer-events: none;
}
