/* static/css/messages.css */

/* ===== Контекстное меню ===== */
.context-menu {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 6px;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.context-menu-item {
    padding: 10px 16px;
    color: #e4e4e4;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.15s;
    white-space: nowrap;
}

.context-menu-item:hover {
    background: #2a2a2a;
}

.context-menu-item.cancel {
    color: #7c7c7c;
}

.context-menu-item.cancel:hover {
    background: #2a2a2a;
    color: #aaaaaa;
}

/* ===== Кнопка ⋮ (три точки) возле топика ===== */
.topic-dots-btn {
    background: transparent;
    border: none;
    color: #5a5a5a;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: 0.15s;
    flex-shrink: 0;
    line-height: 1;
}

.topic-dots-btn:hover {
    background: #2a2a2a;
    color: #e4e4e4;
}

/* ===== Вкладки ===== */
.messages-tabs {
    display: flex;
    gap: 0;
    margin-top: 8px;
    padding-left: 16px;
}

.messages-tab {
    padding: 8px 20px 10px 20px;
    color: #7c7c7c;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
    cursor: pointer;
}

.messages-tab:hover {
    color: #e4e4e4;
}

.messages-tab.active {
    color: #ffffff;
    border-bottom-color: #888888;
}