/* Medias Buzz Extensions Styles */

.mb-media-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.mb-likes-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mb-vote-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 6px 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.mb-vote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.mb-vote-btn.active.mb-top {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
}

.mb-vote-btn.active.mb-flop {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.mb-vote-btn.mb-top:hover {
    border-color: #2ecc71;
    color: #2ecc71;
}

.mb-vote-btn.mb-flop:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.mb-score-badge {
    font-weight: 700;
    font-size: 0.85em;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0f0f0;
    letter-spacing: 0.5px;
}

.mb-score-positive {
    color: #2ecc71;
}

.mb-score-negative {
    color: #e74c3c;
}

.mb-report-btn {
    cursor: pointer;
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: color 0.3s;
}

.mb-report-btn:hover {
    color: #e74c3c;
}

/* Modal Styles */
.mb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.mb-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 95%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.mb-modal-content.mb-modal-large {
    max-width: 600px;
}

.mb-loader {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
}

.mb-highlight {
    animation: mbFlash 1s ease;
}

@keyframes mbFlash {
    0% {
        background: transparent;
    }

    50% {
        background: #e3f2fd;
    }

    100% {
        background: transparent;
    }
}

.mb-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

/* Comments Section */
.mb-comments-section {
    padding: 15px;
    border-top: 1px solid #eee;
}

.mb-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mb-comments-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #444;
}

.mb-open-comments-btn {
    background: #f8f9fa;
    color: #3498db;
    border: 1px solid #e9ecef;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.mb-open-comments-btn:hover {
    background: #3498db;
    color: #fff;
}

.mb-modal-comments-list {
    margin-bottom: 30px;
}

.mb-no-comments {
    text-align: center;
    color: #999;
    padding: 20px;
}

.mb-comment-form-container {
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.mb-comment {
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 2px solid #ddd;
}

.mb-comment-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.mb-comment-pseudo {
    font-weight: bold;
    color: #333;
}

.mb-comment-reply-btn {
    font-size: 11px;
    color: #3498db;
    text-decoration: none;
    margin-left: 10px;
}

.mb-replies {
    margin-left: 20px;
    margin-top: 10px;
}

.mb-comment-form {
    margin-top: 20px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 5px;
}

.mb-comment-form h4 {
    margin-top: 0;
}

.mb-form-group {
    margin-bottom: 10px;
}

.mb-form-group input,
.mb-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}