@charset "utf-8";
/* CSS Document */

#tablaPequeña {
    font-size: small;
}
#tdPaddingPequeno {
    margin-bottom: -25px;
    margin-top: -15px;
}
.celdaCentrada {
    display:block;
    text-align:center;
    vertical-align:middle;
}

#pasajerosPend tr.private, 
#pasajerosPend tr.private td,
#pasajerosElim tr.private, 
#pasajerosElim tr.private td,
.autocar table.bookingsAsig tr.private{
    background-color: #c1e2b3;
}

#pasajerosPend tr.temp,
#pasajerosPend tr.temp td,
#pasajerosElim tr.temp,
#pasajerosElim tr.temp td,
.autocar table.bookingsAsig tr.temp {
    background-color: #f3c17a;
}

#pasajerosPend tr.private.selected,
#pasajerosPend tr.private.selected td,
#pasajerosElim tr.private.selected,
#pasajerosElim tr.private.selected td,
#pasajerosPend tr.temp.selected,
#pasajerosPend tr.temp.selected td,
#pasajerosElim tr.temp.selected,
#pasajerosElim tr.temp.selected td,
.autocar table.bookingsAsig tr.selected { 
    background-color: #acbad4;
}

#panelPasajerosSeleccionados {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 997;
}

#panelPasajerosSeleccionados .panel-body {
    padding: 5px 0 10px 0;
}

#panelPasajerosSeleccionados h1 {
    margin: 0;
}

.autocar table.bookingsAsig {
    table-layout: fixed;
    min-width: 1000px;
}

.autocar.private .panel-heading {
    background-image: linear-gradient(to bottom,#dff0d8 0,#c1e2b3 100%);
    color: #000;
    font-weight: bold;
}

.selectorPickupDateTime.input-group {
    position: static;
}

#fichaPasajero {
    z-index: 999;
}

#fichaPasajero.edit {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-height: 600px;
    overflow-y: auto;
}

#fichaPasajero label.required::after {
    content: ' *';
}

#panelPasajerosEliminados {
    border-color: red;
}

#panelPasajerosEliminados .panel-heading {
    background-image: linear-gradient(to bottom,#d9edf7 0,#ff5555 100%);
    color: #000;
    font-weight: bold;
}

#panelBotones {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0px;
    z-index: 998;
}

#panelBotones .panel {
    margin-bottom: 0;
}

#excepsMp tr.deleted {
    display: none;
}

.file-upload {
    position: relative;
    display: inline-block;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload span {
    display: inline-block;
    padding: 5px 15px;
    background-color: #A0A0A0	;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}

/*Tachar filas de tablas*/
.strikeout td {
    text-decoration: line-through;
    color: gray;
}

input[type="checkbox"].checkbox-rutas {
    display: none;
}

.checkbox-rutas-label {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: white;
    border: 1px solid #ccc;
    cursor: pointer;
    position: relative;
}

/* Fondo rojo si hayNoShow es true y el checkbox no está marcado */
input[type="checkbox"].checkbox-rutas.no-show + .checkbox-rutas-label {
    background-color: red;
}
/* Fondo rojo si hayNoShow es true y el checkbox SÍ está marcado */
input[type="checkbox"].checkbox-rutas.no-show:checked + .checkbox-rutas-label {
    background-color: red;
}

/* Fondo azul cuando el checkbox está marcado */
input[type="checkbox"].checkbox-rutas:checked + .checkbox-rutas-label {
    background-color: blue;
}

/* Simula el tick con ::after cuando el checkbox está marcado */
input[type="checkbox"].checkbox-rutas:checked + .checkbox-rutas-label::after {
    content: '✔';
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

td.alerta-servicio-con-conductor {
    background-color: #F2B526 !important;
}

.filtros-datatables {
    display: flex;
    align-items: center;
    gap: 10px; /* espacio entre elementos */
}

.btn-disabled {
    opacity: 0.45;
    filter: grayscale(100%);
    cursor: not-allowed;
}

.btn-disabled::after {
    content: "⛔";
    margin-left: 6px;
    font-size: 0.9em;
}
