/* Action Bar (Global Actions) */
.mediat_global-actions {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-around;
    padding: 0 15px;
}

.mediat_action-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mediat_action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f0f0f0;
    color: #666;
    position: relative;
    gap: 8px;
    text-decoration: none;
}

/* Button count badge */
.mediat_btn-counter {
    background: #666;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 5px;
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

.btn-download-pending .mediat_btn-counter {
    background: #dc3545;
}

.btn-download-unread .mediat_btn-counter {
    background: #ef6c00;
}

.mediat_action-btn:hover {
    background: #e0e0e0;
    color: #0073aa;
}

.mediat_action-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.mediat_action-btn.active {
    background: #0073aa;
    color: white;
}

/* Special styling for pending button (Original View) */
.btn-download-pending {
    border: 1px solid #dc3545;
    color: #dc3545;
    background: transparent;
}

.btn-download-pending:hover {
    background: #dc3545;
    color: white;
}

.btn-download-pending:hover .mediat_btn-counter {
    background: white;
    color: #dc3545;
}

.btn-download-pending .dashicons {
    color: inherit;
}

/* Special styling for unread button (Edited View) */
.btn-download-unread {
    border: 1px solid #ef6c00;
    color: #ef6c00;
    background: transparent;
}

.btn-download-unread:hover {
    background: #ef6c00;
    color: white;
}

.btn-download-unread:hover .mediat_btn-counter {
    background: white;
    color: #ef6c00;
}

.btn-download-unread .dashicons {
    color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mediat_global-actions {
        justify-content: center;
    }

    .mediat_action-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}
