/** Fichajes mensuales. */
.cabecera-fichajes-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 30%);
    margin-bottom: 0.5rem;
}

.cabecera-fichajes-datos {
    min-width: 0;
}

.cabecera-fichajes-firma {
    border: 1px solid #dee2e6;
    border-left: 0;
    padding: 0.25rem 0.5rem;
    vertical-align: top;
    white-space: normal;
}

.cabecera-fichajes-firma .text-small {
    line-height: 1.25;
}

.tabla-cabecera-fichajes {
    table-layout: fixed;
}

.tabla-cabecera-fichajes .col-cabecera-datos {
    width: 12.5%;
}

.tabla-cabecera-fichajes .fila-espacio td {
    height: 4px;
    padding: 0;
    background: #fff;
}

.cabecera-fichajes-layout .zona-firma {
    min-height: 120px;
}

.cabecera-fichajes-layout .firma-imagen {
    margin-top: 4px;
}

.cabecera-fichajes-layout .firma-imagen img {
    max-width: 260px;
    max-height: 120px;
}

.cabecera-fichajes-layout .firma-fecha {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.1;
}

@media (max-width: 767.98px) {
    .cabecera-fichajes-layout {
        grid-template-columns: 1fr;
    }

    .cabecera-fichajes-firma {
        border-left: 1px solid #dee2e6;
        border-top: 0;
    }

    .tabla-cabecera-fichajes .text-nowrap {
        white-space: normal !important;
    }

    .tabla-cabecera-fichajes td {
        overflow-wrap: anywhere;
    }
}

.tabla-fichajes .fila-separador td {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: none !important;
    background: #fff;
}
