.notification-bell-wrapper {
    position: relative;
    margin-right: 12px;
}

.notification-bell-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--card);
    border-radius: 8px;
    transition: background-color .15s ease;
}

.notification-bell-btn:hover {
    background-color: rgba(255, 255, 255, .12);
}

.notification-bell-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0393e;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    border-radius: var(--radius-pill);
}

.notification-bell-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-width: 90vw;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 100;
    overflow: hidden;
}

.notification-bell-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.notification-bell-dropdown-header a {
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.notification-bell-dropdown-header a:hover {
    text-decoration: underline;
}

.notification-bell-dropdown-list {
    max-height: 360px;
    overflow-y: auto;
}

.notification-bell-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background-color .15s ease;
}

.notification-bell-item:last-child {
    border-bottom: none;
}

.notification-bell-item:hover {
    background-color: var(--bg);
}

.notification-bell-item-message {
    font-size: 13px;
    color: var(--text);
}

.notification-bell-item.is-unread .notification-bell-item-message {
    font-weight: 700;
}

.notification-bell-item-date {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .notification-bell-dropdown {
        position: fixed;
        top: var(--header-h);
        right: 8px;
        left: 8px;
        width: auto;
        max-width: none;
    }
}
