.news-bell-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.news-bell-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.news-bell-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.news-bell-btn img {
    width: 20px;
    height: 20px;
}

.news-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
}

.news-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 9998;
    display: none;
}

.news-modal-overlay.open {
    display: block;
}

.news-modal {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 400px;
    max-width: calc(100vw - 40px);
    max-height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.news-modal.open {
    display: flex;
}

.news-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 8px;
    border-bottom: 1px solid #f0f0f0;
}

.news-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.news-modal-actions {
    display: flex;
    gap: 8px;
}

.news-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    position: relative;
}

.news-action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.news-action-btn img {
    width: 18px;
    height: 18px;
}

.news-action-btn .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    margin-bottom: 6px;
}

.news-action-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.news-modal-content {
    overflow-y: auto;
    flex: 1;
    padding: 8px 0;
}

.news-item {
    padding: 16px 20px 8px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background 0.2s ease;
}

.news-item:hover {
    background: #fafafa;
}

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

.news-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.news-item-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.news-unread-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
}

.news-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.news-item.read .news-item-title {
    color: #999;
}

.news-item-time {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

.news-item-content {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    padding-left: 0;
}

.news-item.read .news-item-content {
    color: #aaa;
}

.news-item-content a {
    color: #3b82f6;
    text-decoration: none;
}

.news-item-content a:hover {
    text-decoration: underline;
}

.news-item.read .news-item-content a {
    color: #93c5fd;
}

.news-item.read .news-item-content a:hover {
    color: #60a5fa;
}

.news-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}