/* =========================================================
   Poly Utilities – Header Action Buttons
   Compatible con Perfex CRM 3.x
   ========================================================= */

/* ---------------------------------------------------------
   Contenedor del menú superior derecho (fix Perfex)
   --------------------------------------------------------- */
.navbar-right,
.topbar-right,
.header-right {
    display: flex !important;
    align-items: center !important;
}

/* ---------------------------------------------------------
   Contenedor de los botones
   --------------------------------------------------------- */
#poly-header-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---------------------------------------------------------
   Botón base
   --------------------------------------------------------- */
.poly-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    height: 34px;
    line-height: 34px;

    padding: 0 16px;

    font-size: 13px;
    font-weight: 600;

    border-radius: 8px;
    border: 1px solid transparent;

    text-decoration: none !important;
    white-space: nowrap;

    transition: all 0.25s ease-in-out;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

/* Iconos */
.poly-btn i {
    font-size: 14px;
    line-height: 1;
}

/* ---------------------------------------------------------
   ZOOM – AZUL
   --------------------------------------------------------- */
.poly-btn-zoom {
    background-color: #2c7be5;
    color: #ffffff;
}

.poly-btn-zoom:hover {
    background-color: #ffffff;
    color: #2c7be5;
    border-color: #2c7be5;

    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 8px 22px rgba(44, 123, 229, 0.35);
}

/* ---------------------------------------------------------
   ELEARNING – ROJO
   --------------------------------------------------------- */
.poly-btn-elearning {
    background-color: #d9534f;
    color: #ffffff;
}

.poly-btn-elearning:hover {
    background-color: #ffffff;
    color: #d9534f;
    border-color: #d9534f;

    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 8px 22px rgba(217, 83, 79, 0.35);
}

/* ---------------------------------------------------------
   Responsive: ocultar en móvil pequeño (opcional)
   --------------------------------------------------------- */
@media (max-width: 768px) {
    #poly-header-right-actions {
        display: none;
    }
}