    .media-preview {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
        padding: 8px 10px;
        border-radius: 6px;
        margin: 5px 0;
        display: flex;
        align-items: center;
        font-size: 14px;
        position: relative;
    }

    .media-preview img,
    .media-preview video {
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 4px;
        margin-right: 10px;
        border: 1px solid #aaa;
    }

    .media-preview span {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .media-preview button {
        background: transparent;
        border: none;
        color: #dc3545;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        margin-left: 10px;
    }

    .media-preview button:hover {
        color: #a71d2a;
    }
    .d-none {
        display: none;
    }
.object-fit-cover {
    object-fit: cover;
}
.right-comment, .chat-left{
    display: none;
}

.comments-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.comment-card figure.avatar img {
    object-fit: cover;
}

.comment-content h6 {
    margin-bottom: 0;
}

.comment-content small {
    font-size: 0.75rem;
}

.comment-content p {
    margin-bottom: 0;
}

.comment-form input.form-control {
    transition: border-color 0.3s ease;
}

.comment-form input.form-control:focus {
    border-color: #0d6efd;
    box-shadow: none;
}

.comment-form button.btn-primary {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.comment-form button.btn-primary:hover {
    background: linear-gradient(90deg, #0056b3 0%, #00408d 100%);
}
