﻿.reply-indicator {
    background: #e3f2fd;
    padding: 10px 15px;
    margin: 0 0 10px 0;
    border-radius: 8px;
    border-right: 4px solid #2196f3;
    direction: rtl;
    text-align: right;
    font-size: 13px;
}

.reply-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reply-icon {
    font-size: 16px;
}

.reply-label {
    color: #1976d2;
    font-weight: bold;
}

.replied-text {
    color: #555;
    background: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cancel-reply-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 18px;
    margin-right: auto;
    padding: 0 5px;
}

    .cancel-reply-btn:hover {
        color: #f44336;
    }

/* پیش‌نمایش ریپلای در پیام */
.reply-preview {
    background: #f5f5f5;
    padding: 5px 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    border-right: 3px solid #4caf50;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

    .reply-preview:hover {
        background: #e8e8e8;
    }

/* منوی راست‌کلیک */
.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 150px;
}

    .context-menu ul {
        margin: 0;
        padding: 8px 0;
        list-style: none;
    }

    .context-menu li {
        padding: 8px 16px;
        cursor: pointer;
        transition: background 0.2s;
    }

        .context-menu li:hover {
            background-color: #f0f0f0;
        }

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    animation: fadeInOut 2s;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
