﻿.btn-historial-monitor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 12px 16px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .btn-historial-monitor:hover {
        background: #dbeafe;
        color: #1d4ed8;
        text-decoration: none;
    }

    .btn-historial-monitor .fa-arrow-right {
        margin-left: auto;
    }

/* Ocultar botón de historial al contraer el panel */
.units-panel.collapsed .btn-historial-monitor {
    display: none;
}
