#btnActualizarEmpleados {
    position: absolute;
    top: 200px;
    left: 3px;
    background: #2e7d32;
    color: white;
    font-weight: bold;
    border: 0 solid;
    padding: 10px 10px; 
    border-radius: 6px;
    font-size: 1rem; 
    text-align: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: 1px solid;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
}

#btnActualizarEmpleados:hover {
    border: 1px solid white;
    box-shadow: inset 0 0 30px rgba(120, 116, 116, 0.5), 0 0 20px rgba(92, 86, 86, 0.807);
    outline-offset: 15px;
    outline-color: rgba(255, 255, 255, 0.5);
    background: #2e7d32;
    color: white;
    transform: translateY(-2px);
}

#btnActualizarEmpleados:active {
    transform: scale(0.95);
}

#btnActualizarEmpleados img {
    height: 28px;
    width: 28px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

#btnActualizarEmpleados span {
    white-space: nowrap;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN PARA BOTÓN ACTUALIZAR EMPLEADOS
   ======================================== */

/* ========================================
   TABLET Y IPAD PRO (1024px y menos)
   ======================================== */
@media (max-width: 1024px) {
    #btnActualizarEmpleados {
        position: static !important;
        top: auto !important;
        left: auto !important;
        margin: 10px auto;
        width: auto;
        max-width: 400px;
        padding: 12px 20px;
        font-size: 0.95rem;
        z-index: auto;
    }

    #btnActualizarEmpleados img {
        height: 24px;
        width: 24px;
    }

    #btnActualizarEmpleados span {
        font-size: 0.85rem;
    }
}

/* ========================================
   IPAD PRO Y TABLETS GRANDES (768px - 1024px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    #btnActualizarEmpleados {
        position: static !important;
        top: auto !important;
        left: auto !important;
        margin: 15px auto;
        width: auto;
        max-width: 500px;
        padding: 15px 25px;
        font-size: 1rem;
        z-index: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    #btnActualizarEmpleados img {
        height: 26px;
        width: 26px;
    }

    #btnActualizarEmpleados span {
        font-size: 0.9rem;
    }

    #btnActualizarEmpleados:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        outline-offset: 5px;
    }
}

@media (max-width: 768px) {
    #btnActualizarEmpleados {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100%;
        max-width: none;
        margin: 8px 0;
        padding: 12px 15px;
        font-size: 0.9rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        z-index: auto;
    }

    #btnActualizarEmpleados:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        outline-offset: 5px;
    }

    #btnActualizarEmpleados img {
        height: 22px;
        width: 22px;
    }

    #btnActualizarEmpleados span {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    #btnActualizarEmpleados {
        padding: 10px 12px;
        font-size: 0.85rem;
        margin: 6px 0;
        border-radius: 6px;
    }

    #btnActualizarEmpleados img {
        height: 20px;
        width: 20px;
    }

    #btnActualizarEmpleados span {
        font-size: 0.75rem;
    }

    #btnActualizarEmpleados:hover {
        transform: none;
        outline-offset: 3px;
    }
}

@media (max-width: 480px) {
    #btnActualizarEmpleados {
        padding: 8px 10px;
        font-size: 0.8rem;
        gap: 6px;
    }

    #btnActualizarEmpleados img {
        height: 18px;
        width: 18px;
    }

    #btnActualizarEmpleados span {
        font-size: 0.7rem;
    }
}

/* ========================================
   IPAD PRO LANDSCAPE (1024px x 1366px)
   ======================================== */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    #btnActualizarEmpleados {
        position: static !important;
        top: auto !important;
        left: auto !important;
        margin: 10px auto;
        width: auto;
        max-width: 450px;
        padding: 12px 20px;
        font-size: 0.95rem;
        z-index: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    #btnActualizarEmpleados img {
        height: 24px;
        width: 24px;
    }

    #btnActualizarEmpleados span {
        font-size: 0.85rem;
    }
}

/* ========================================
   ORIENTACIÓN LANDSCAPE EN MÓVILES
   ======================================== */
@media (max-width: 768px) and (orientation: landscape) {
    #btnActualizarEmpleados {
        margin: 5px 0;
        padding: 8px 12px;
    }

    #btnActualizarEmpleados img {
        height: 18px;
        width: 18px;
    }

    #btnActualizarEmpleados span {
        font-size: 0.75rem;
    }
}

/* ========================================
   MEJORAS DE ACCESIBILIDAD
   ======================================== */
@media (max-width: 768px) {
    #btnActualizarEmpleados:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }

    #btnActualizarEmpleados:focus-visible {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
}

/* ========================================
   ESTADOS DE CARGA Y DESHABILITADO
   ======================================== */
#btnActualizarEmpleados:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#btnActualizarEmpleados:disabled:hover {
    transform: none;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline-offset: 0px;
}

@media (max-width: 768px) {
    #btnActualizarEmpleados:disabled {
        opacity: 0.5;
    }
}

