r = document.getElementById('benchmark-alert');
    alertContainer.innerHTML = `
        <div class="settings-alert alert-${type}">
            <span>${message}</span>
            <button type="button" class="close-alert" onclick="this.parentElement.parentElement.style.display='none'">
                <i class="fas fa-times"></i>
            </button>
        </div>
    `;
    alertContainer.style.display = 'block';

    if (type === 'success') {
        setTimeout(() => {
            alertContainer.style.d