/* =========================================================
   PANARIA - VACACIONES / IPHONE VERTICAL
========================================================= */

@media (max-width: 650px) and (orientation: portrait) {

    .modal-vacaciones-fondo {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .modal-vacaciones {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /*
       Los cuatro datos (Asignados, Disfrutados, Programados,
       Pendientes) quedan en 2 x 2. No hace falta deslizar a
       la derecha para llegar a Pendientes.
    */
    .estadisticas-empleado-vacaciones {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 10px !important;
        overflow: visible !important;
        touch-action: pan-y !important;
    }

    .estadisticas-empleado-vacaciones > div {
        min-width: 0 !important;
        width: auto !important;
        box-sizing: border-box !important;
    }

    .estadisticas-empleado-vacaciones span {
        white-space: normal !important;
    }
}
