/* Platform notification bell: original header styles, extracted without redesign. */

.notification {
    position: relative;
    cursor: pointer;
}

.bell {
    font-size: 18px;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
}

.notification-dropdown {
    position: absolute;
    top: 30px;
    right: 0;

    width: 320px;
    max-width: min(320px, calc(100vw - 24px));
    background: #0d1117;
    border: 1px solid #1f2a36;
    border-radius: 10px;

    display: none;
    flex-direction: column;
    padding: 10px;
    z-index: 1000;
}

.notification-dropdown.active {
    display: flex;
}

.notification-item {
    padding: 8px;
    font-size: 13px;
    color: #c9d1d9;
    border-bottom: 1px solid #1f2a36;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: default;
    text-decoration: none;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: rgba(47, 140, 255, 0.08);
}

.notification-item--link {
    cursor: pointer;
}

.notification-item--link:hover {
    background: #161b22;
}

.notification-text {
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.notification-time {
    font-size: 11px;
    color: #7f8a96;
}

.notification-empty {
    padding: 10px 8px;
    color: #8a96a3;
    font-size: 13px;
}
