/*
    Created on : 21/03/2019, 04:30:00 PM
    Author     : Cristian Rodriguez <crodriguez@akelita.com>
*/
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Mono');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

table *{
    /* font-family: 'IBM Plex Mono', monospace; */
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-size: small;
}
body,html {
    height: 100%;
    width: 100%;
    display: block;
    background: #dfeaf0;
    transition: background-color .2s ease-out;
}
div#fullLoading {
    position: fixed;
    top: 0;
    left: 0;
    background: #FFF;
    width: 100%;
    height: 100%;
    z-index: 5000;
    text-align: center;
    padding-top: 5%;
}
div#fullLoading .preloader-wrapper.big.active {
    width: 150px;
    height: 150px;
    position: absolute;
    left: 45%;
}
div#fullLoading img {
    position: absolute;
    left: 45%;
    margin: 30px 23px;
}
strong {
    font-weight: bold;
}
.block{
    display: block;
    width: 100%;
}
#loading {
    width: 100%;
    position: fixed;
    top: 0;
    margin: 0;
    left: 0;
    background: rgba(232, 232, 232, 0.42);
    z-index: 10000;
    height:10px;
}
.progress .indeterminate:before {
    background: linear-gradient(90deg, transparent, #2196f3, transparent);
}

.progress .indeterminate {
    background-color: transparent;
}

.progress .indeterminate:after {
    background: linear-gradient(90deg, transparent, #9b9b9b, transparent);
}
.modal-full {
    width: 100% !important;
    top: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    background: #dfeaf0;
}
.modal-full > .modal-content {
    padding: 0px;
    min-height: 100%;
    background-attachment: fixed;
}
.modal-full .modal-content > h4 {
    background: #000000;
    height: 36px;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1;
}
.modal-full .modal-content > h4 .modalTitle {
    color: #fff;
    font-size: 18px;
    margin: 1px 10px;
    float: left;
}
.login + .modal-overlay {
    opacity: 1 !important;
    background: white;
    background-image: url(https://post.akelita.com/uploads/1566716958Mmetic-Transfers.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 20%;
    background-attachment: fixed;
}
div#contentBody.blur {
    filter: blur(10px);
}
#menuDate {
    /*
    position: fixed;
    bottom: 65px;
    font-size: 10px;
    */
}
#btnMenu {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;
    padding: 10px 0;
    height: 64px;
    width: 64px;
    box-shadow: none;
}
.ui-autocomplete {
    background: #FFF;
    max-width: 80% !important;
    z-index: 1010;
    box-shadow: 1px 1px 15px 0px;
    padding: 10px !important;
    overflow: auto;
    max-height: 300px;
}

.ui-autocomplete li {
    border-bottom: 1px solid gray;
    font-size: 1.1em;
    padding: 9px;
}
.ui-autocomplete span {
    font-size: 11px;
    color: #F44336;
}
.ui-autocomplete li:hover, .ui-focused, .ui-state-active {
    background: #d4d4d4;
}

.modal-full .modal-content > h4 .modal-close {
    border-radius: 0;
}
.modal.sm.alert h4 {
    font-size: 22px;
}

.modal.sm.alert h4 a {
    display: none;
}
.histoTable td,.histoTable th {
    font-size: 70%;
    padding: 0;
    border: 1px solid;
    text-align: center;
}
.toast {
    background: rgba(0, 176, 255, 0.84);
    color: #fff;
}
.modal.login {
    top: 0 !important;
    box-shadow: none;
    border-radius: 0;
    position: fixed;
    height: 100%;
    background: #0070c0;
    max-height: 100%;
    left: 0;
    right: auto;
}
.login .modalTitle {
    color: #4b4b4d;
}
.modal.login .modal-content * {
    color: #FFF;
}
nav.nav-extended {
    background: #FFF;
    box-shadow: 0 0 5px -2px #000;
}
.agregar-espacio {
    margin-top: 30px;
}
.ui-helper-hidden-accessible {
    display: none;
}
/**
Chat
*/
#chatMensajes {
    max-height: 400px;
    overflow: auto;
    background: #e9e9ff;
}
#chatNotification {
    position: absolute;
    top: 12px;
    right: 5px;
    background: red;
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: normal;
    border-radius: 50%;
}
p.mensaje-chat {
    white-space: break-spaces;
}

p.mensaje-chat + p.mensaje-chat {
    border-top: 1px solid #ebebeb;
    margin-top: 2rem !important;
    padding-top: 1rem;
}
div#chatClientes {
    max-height: 50vh;
    overflow: auto;
}
#buttonChatNotification {
    position: relative;
}
.logo-marca {
    margin-left: 64px;
    padding: 0;
    height: 64px;
}
.card {
    box-shadow: 0 0 6px -4px;
    border-radius: 7px;
    transition: background-color .2s ease-out;
    border: 1px solid #d5d5d5;
    background-color: #fafafa;
}
@media only screen and (max-width: 601px) {
    a#btnMenu {
        height: 56px;
        width: 56px;
        padding: 7px 0;
    }
}
.modal-full .modal-content .modalContent > .row {
    margin: 0;
}
.HistorialTruncate {
    display: contents;
    font-size: 8px;
    color: #000;
}
.modal-full .histoTable {
    background: #FFF;
    max-width: 99%;
    margin: 0 auto;
}
.ui-autocomplete-loading {
    background: transparent url("https://post.akelita.com/uploads/1577302523ajax-loader.gif") right center no-repeat;
}
table.striped>tbody>tr>td,table.striped>tbody>tr>th {
    border-bottom: 1px solid #d4cece;
    padding: 0px 5px;
    text-align: center;
}
table.striped>thead>tr>th {
    padding: 0px 5px;
    text-align: center;
    /* background: #00526f; */
    /* color: #FFF; */
    border-radius: 0;
    border-bottom: 2px solid #183b58;
}
.titleModalDate {
    background: #29b6f6;
    color: #FFF;
    text-align: center;
    font-size: 20px;
}
.no-margin {
    margin: 0;
}
.sidenav-overlay {
    /* background: linear-gradient(90deg, #2296F3,#2296F3, rgba(33, 150, 243, 0.64), rgba(33, 150, 243, 0.49)); */
}
ul#slide-out {
    box-shadow: none;
    width: 350px;
    max-width: 100%;
}
.relative {
    position: relative !important;
}
.absolute {
    position: absolute !important;
}
.quickSearch {
    max-width: 400px !important;
    max-height: 500px;
    padding: 0 !important;
}
.quickSearch li {
    cursor:pointer;
}
form#qickBockSearch {
    float: left;
    margin-left: 70px;
    width: 100px;
}
div#estasEnDesarrollo {
    background: red;
    text-align: center;
    color: yellow;
    position: fixed;
    width: 100%;
    z-index: 2000;
    /* box-shadow: 0 0 15px 1px #000; */
    padding: 3px;
    height: 30px;
    top: 0;
}

div#estasEnDesarrollo p {
    margin: 0;
}
.div-comments-list div {
    position: absolute;
    background: #FFF;
    box-shadow: 0 0 20px -6px;
    padding: 10px;/* max-width: 90%; */
    width: 350px;
    right: 25px;
    white-space: pre-wrap;
    display: none;
    z-index: 10
}

.div-comments-list:hover div {
    display: inherit;
}

.div-comments-list i {
    cursor: pointer;
}
table#tablaReservas tr:hover td {
    background: #ffe494;
}
.div-comments-list {
    position: relative;
}
.baggage-list {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    white-space: nowrap;
}

.baggage-list > span {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 3px;
    color: #0d47a1;
    display: inline-block;
    font-size: 11px;
    line-height: 16px;
    padding: 0 4px;
}

.baggage-list div {
    text-align: left;
}

.baggage-list:hover div {
    display: block;
}
.screenShotElement {
    width: 500px;
    background: #FFF;
}

.screenShotElement th {
    text-align: right;
    background: #00526f;
    color: #FFF;
    padding-right: 13px;
    border-radius: 0;
}
.screenShotElement tr {
    border: none !important;
}
.screenShotElement th, .screenShotElement td {
    border: 1px dashed gray;
}
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
    border-radius: 0px;
    margin: 0px 5px;
}
::-webkit-scrollbar-thumb {
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.39);
    background-color: #2296f3;
}
/* Modo Noche */
.modoNoche, .modoNoche .modal-content, .modoNoche .modal-footer, .modoNoche .modal.login {
    background: #2d2f30;
}
.modoNoche .card {
    background-color: #202020;
    color: #b4b4b4;
}
.modoNoche .nav-extended {
    background-color: #1e2122;
}
.modoNoche table.striped>thead>tr>th {
    background-color: #0f1111;
    color: #7e7e7e;
}
.modoNoche table.striped>tbody>tr:nth-child(odd) {
    background-color: rgba(15, 17, 17, 0.6509803921568628);
}
.modoNoche #slide-out {
    background-color: #215c8c;
    color: #aaa;
}
.modoNoche #slide-out li a {
    color: #b6dcfd;
}
.modoNoche #slide-out li i {
    color:#00457d;
}
.modoNoche .sidenav-overlay {
    background: linear-gradient(90deg, #183b58,#183b58, rgba(24, 59, 88, 0.79), rgba(24, 59, 88, 0.73));
}
.modoNoche .blue, .modoNoche .btn, .modoNoche [type="checkbox"].filled-in:checked+span:not(.lever):after {
    background-color: #183b58 !important;
}
.modoNoche #contentBody .input-field input,
.modoNoche .modal .input-field input,
.modoNoche .sidenav .input-field input {
    color:#FFF;
}
.modoNoche #fullLoading {
    background: #000;
}
.modoNoche table.striped>tbody>tr>td {
    border: 1px dashed #183b58 !important;
}
.modoNoche svg > rect {
    fill: #202020 !important;
}
.modoNoche svg g > text {
    fill :#0f5f7a !important;
}
.modoNoche .tabs {
    background: #0e262e;
}
.modoNoche .tabs a {
    color:#187597 !important;
}
.modoNoche .pagination li.active {
    background-color: #0f1111;
}
.modoNoche ul#slide-operadores {
    background: #1b344a;
}
.modoNoche .login + .modal-overlay {
    background-color: #262626;
    background-image: url(https://post.akelita.com/uploads/1586196136logo-white.png);
}
/**/


.btn-small, .btn, .btn-large {
    box-shadow: none;
    border-radius: 6px;
}

span.badge {
    border-radius: 10px;
}

td.Fecha {
    white-space: nowrap;
}

.sidenav li>a {
    font-weight: normal;
}

ul.menuReserva {
    display: flex;
}

ul.menuReserva li {
    display: inline-table;
}

ul.menuReserva li a {
    border-radius: 0;
    border-right: 1px solid;
}
@media only screen  and (max-width:500px){
    table.striped>thead>tr>th {
        border-bottom: 1px solid #EEE !important;
    }
    table.striped>tbody>tr>td img {
        display: none;
    }
}
@media only screen  and (min-width:500px){
    .modal.sm {
        width: 30%;
    }
    .modal.lg {
        width: 80%;
    }

}

@media print
{
    .no-print, .no-print *
    {
        display: none !important;
    }
    .print{
        display: inherit !important;
    }
    div#estasEnDesarrollo {
        display: none !important;
    }
    .card {
        border: none;
        box-shadow: none;
    }
}
#extenciones_status li {
    float: none;
    color: #000;
    display: block;
    padding: 10px;
    /* background: linear-gradient(45deg, black, transparent); */
    line-height: normal;
}

#extenciones_status_btn:hover
#extenciones_status {
    display: inline;
}

#extenciones_status {
    position: absolute;
    background: #FFF;
    z-index: 1;
    min-width: 250px;
    display: none;
    right: 0;
    box-shadow: 0 10px 17px -11px #000;
}

#extenciones_status li > i {
    display: inline;
    line-height: normal;
}
#extenciones_status li i {
    border-radius: 50%;
    padding: 4px;
    vertical-align: middle;
}
.tiene-deposito {
    background:green;
    border-radius:50%;
    color:#FFF;
    padding:0px 4px;
    display: inline;
    font-size:10px;
    margin-left:5px;
}

.flightTracked.fts-landed {
    background: green;
    color: #FFF;
}
.flightTracked.fts-arrived {
    background: green;
    color: #FFF;
}
.flightTracked.fts-scheduled {
    background: #d8f3ff;
    color:#0061ae;
}
.flightTracked.fts-enroute {
    background-color:blue;
    color:#ffffff
}
.flightTracked.fts-delayed {
    background-color: #a66300;
    color:#ffba3b;
}
.flightTracked {
    font-size: 10px;
    white-space: nowrap;
    padding: 6px;
    border-radius: 6px;
    text-align: start;
    margin: 5px 0;
}
.vuelos-porcentaje-barrita {

    background:blue;
    color:#FFF ;

}
.vuelo-porcentaje  {
    position:relative;
    background-color:#efedff;
    width:100%;
    border-radius:4px;
    border:1px solid #e5e5e5;
    margin-top:3px;
    overflow:hidden;
}



.vuelos-porcentaje-barrita.vpb-100 {
    background-color:green;
    color:#00d54b;
}
span.delayed-flight-tracker {
    background:red;
    color:white;
    font-size:10px;
    padding:4px;
    border-radius:7px;
    display:block;
}
#NoShowNotasInfoMaps {
    white-space: break-spaces;
}
span.apto-table-2001 {
    background: #8f0000;
    color: #FFF;
    width: 100%;
    display: block;
    border-radius: 5px;
}

span.apto-table-2604 {
    background: #d9e9ff;
    color: #008eff;
    width: 100%;
    display: block;
    border-radius: 5px;
}
.llamadaframe {
    display:block;
    padding:10px;
    border-radius:5px;
}
.infoBookingCall {
    background: #b6ffb6;
    padding: 6px;
    border: 1px solid green;
    border-radius: 10px;
    font-size: 12px;
    margin-top: 5px;
    cursor:pointer;
    color: #000;
}
.enllamada {
    background:#f1f1ff;
    border:1px solid blue;
}
.llamandou {
    background:#caffdc;
    border:1px solid #00c838;
}
.name_chat {
    height: 40px;
    display: block;
    margin: 0;
    top: 2rem;
    position: absolute;
}
.iframeSMS {
    width: 100%;
    height: 93.5vh;
    border: none;
    margin-top: -1vh;
}
.last-minute-book {
    background: #ff00d2;
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 7px;
}
/* =========================================================
   Modernizacion UI Admin 2026
   Archivo: base.admin.css
   Nota: este bloque va al final del CSS legacy para conservar
   reglas funcionales existentes y solo modernizar el look.
   ========================================================= */

:root {
    --admin-bg: #edf5f8;
    --admin-bg-soft: #f8fafc;
    --admin-card: #ffffff;
    --admin-card-soft: #fbfdff;
    --admin-border: #d9e4ea;
    --admin-border-strong: #cbd5e1;
    --admin-text: #1f2937;
    --admin-muted: #64748b;
    --admin-muted-light: #94a3b8;
    --admin-primary: #20a7f2;
    --admin-primary-dark: #0b83c9;
    --admin-primary-soft: #e8f5ff;
    --admin-success: #2fb344;
    --admin-success-soft: #e8f8ee;
    --admin-warning: #f59f00;
    --admin-warning-soft: #fff4db;
    --admin-danger: #e03131;
    --admin-danger-soft: #ffe3e3;
    --admin-radius-card: 16px;
    --admin-radius-field: 10px;
    --admin-radius-pill: 999px;
    --admin-shadow-card: 0 8px 24px rgba(15, 23, 42, 0.08);
    --admin-shadow-menu: 8px 0 24px rgba(15, 23, 42, 0.12);
}

html,
body {
    background: var(--admin-bg);
    color: var(--admin-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    overflow-x: hidden;
}

/* Mantiene las tablas con fuente mono, pero libera el resto del backend. */
table,
table * {
    font-family: "Roboto Mono", "IBM Plex Mono", Consolas, monospace;
}

h1,
h2,
h3,
h4,
h5,
h6,
.card-title,
.btn,
.btn-small,
.btn-large,
.btn-flat,
.sidenav li > a,
ul#slide-out li > a,
nav,
.input-field label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

strong,
b {
    font-weight: 800;
}

/* Topbar */
nav.nav-extended,
nav {
    background: #ffffff !important;
    color: var(--admin-text);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
    min-height: 64px;
}

nav a,
nav i,
nav .material-icons {
    color: var(--admin-text);
}

nav.nav-extended ul.right > li > a,
nav.nav-extended ul.right > li > a i,
nav.nav-extended ul.right > li > a .material-icons,
nav.nav-extended ul.right > li > a.btn,
nav.nav-extended ul.right > li > a.btn i,
nav.nav-extended ul.right > li > a.btn .material-icons {
    color: #ffffff !important;
}

nav.nav-extended ul.right > li > a:hover {
    filter: brightness(.96);
}

#btnMenu {
    background: var(--admin-primary) !important;
    height: 64px;
    width: 64px;
    padding: 10px 0;
    border-radius: 0 0 14px 0;
    color: #ffffff !important;
}

#btnMenu i,
#btnMenu .material-icons {
    color: #ffffff !important;
}

.logo-marca {
    height: 64px;
    display: flex;
    align-items: center;
}

form#qickBockSearch input,
nav input[type="search"],
nav input[type="text"] {
    height: 36px !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    background: #f1f5f9 !important;
    padding: 0 12px !important;
}

/* Cards */
.card,
.card-panel {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-card);
    box-shadow: var(--admin-shadow-card);
    transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.card:hover {
    border-color: var(--admin-border-strong);
}

.card .card-content,
.card-panel {
    padding: 24px;
}

.card h4,
.card h5,
.card-panel h4,
.card-panel h5,
.modalContent h4,
.modalContent h5 {
    color: var(--admin-text);
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Botones */
.btn,
.btn-small,
.btn-large,
.btn-floating {
    border-radius: 10px;
    box-shadow: none !important;
    text-transform: none;
    font-weight: 700;
    letter-spacing: 0;
}

.btn,
.btn-small,
.btn-large,
.blue,
.light-blue {
    background-color: var(--admin-primary) !important;
}

.btn:hover,
.btn-small:hover,
.btn-large:hover,
.blue:hover,
.light-blue:hover {
    background-color: var(--admin-primary-dark) !important;
}

.btn-flat {
    border-radius: 10px;
    color: var(--admin-text);
    font-weight: 700;
}

.btn-flat:hover {
    background: var(--admin-primary-soft);
}

.red {
    background-color: var(--admin-danger) !important;
}

.green {
    background-color: var(--admin-success) !important;
}

.orange,
.amber {
    background-color: var(--admin-warning) !important;
}

/* Inputs y formularios */
#contentBody .input-field input[type="text"],
#contentBody .input-field input[type="date"],
#contentBody .input-field input[type="number"],
#contentBody .input-field input[type="email"],
#contentBody .input-field input[type="password"],
#contentBody .input-field input[type="search"],
#contentBody .input-field input[type="tel"],
#contentBody .input-field input[type="time"],
#contentBody .input-field select,
#contentBody .input-field textarea,
.modal .input-field input[type="text"],
.modal .input-field input[type="date"],
.modal .input-field input[type="number"],
.modal .input-field input[type="email"],
.modal .input-field input[type="password"],
.modal .input-field input[type="search"],
.modal .input-field input[type="tel"],
.modal .input-field input[type="time"],
.modal .input-field select,
.modal .input-field textarea,
.sidenav .input-field input[type="text"],
.sidenav .input-field input[type="search"] {
    border: 1px solid var(--admin-border) !important;
    border-radius: var(--admin-radius-field) !important;
    background: #ffffff !important;
    box-sizing: border-box;
    color: var(--admin-text);
    box-shadow: none !important;
}

#contentBody .input-field input[type="text"],
#contentBody .input-field input[type="date"],
#contentBody .input-field input[type="number"],
#contentBody .input-field input[type="email"],
#contentBody .input-field input[type="password"],
#contentBody .input-field input[type="search"],
#contentBody .input-field input[type="tel"],
#contentBody .input-field input[type="time"],
#contentBody .input-field select,
.modal .input-field input[type="text"],
.modal .input-field input[type="date"],
.modal .input-field input[type="number"],
.modal .input-field input[type="email"],
.modal .input-field input[type="password"],
.modal .input-field input[type="search"],
.modal .input-field input[type="tel"],
.modal .input-field input[type="time"],
.modal .input-field select,
.sidenav .input-field input[type="text"],
.sidenav .input-field input[type="search"] {
    height: 42px !important;
    padding: 0 12px !important;
}

#contentBody .input-field textarea,
.modal .input-field textarea {
    min-height: 92px !important;
    padding: 10px 12px !important;
}

.ios-native-select {
    -webkit-appearance: menulist;
    appearance: auto;
    background-color: #ffffff;
    border: 1px solid #d5e3ec;
    border-radius: 10px;
    box-sizing: border-box;
    color: #0f172a;
    font-size: 14px;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    width: 100%;
}

.input-field .ios-native-select {
    margin-top: 6px;
}

#contentBody .input-field input:focus,
#contentBody .input-field select:focus,
#contentBody .input-field textarea:focus,
.modal .input-field input:focus,
.modal .input-field select:focus,
.modal .input-field textarea:focus,
.sidenav .input-field input:focus {
    border-color: var(--admin-primary) !important;
    box-shadow: 0 0 0 3px rgba(32, 167, 242, 0.16) !important;
    outline: none !important;
}

.input-field label {
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 700;
}

#contentBody .card .row,
#contentBody .card-panel .row,
.modalContent .card .row,
.modalContent .card-panel .row {
    margin-bottom: 18px;
    margin-left: -8px;
    margin-right: -8px;
}

#contentBody .card .row .col,
#contentBody .card-panel .row .col,
.modalContent .card .row .col,
.modalContent .card-panel .row .col {
    padding-left: 8px;
    padding-right: 8px;
}

#contentBody .card .input-field,
#contentBody .card-panel .input-field,
.modalContent .card .input-field,
.modalContent .card-panel .input-field,
.modalContent .formEditRow .input-field {
    margin-bottom: 18px;
    margin-top: 14px;
}

#contentBody .input-field label.active,
.modal .input-field label.active {
    color: #475569;
    transform: translateY(-16px) scale(.85);
    transform-origin: 0 0;
}

.modalContent .rowService {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    margin-bottom: 18px;
}

.modalContent .rowService:before,
.modalContent .rowService:after {
    content: none;
    display: none;
}

.modalContent .rowService > .col {
    float: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.modalContent .rowService > .col:first-child {
    grid-column: 1 / -1;
}

.modalContent .rowService .input-field {
    margin: 0;
}

.modalContent .rowService .btn-large {
    height: 42px;
    line-height: 42px;
    width: 100%;
}

[type="checkbox"] + span:not(.lever) {
    color: var(--admin-muted);
    font-weight: 600;
}

[type="checkbox"].filled-in:checked + span:not(.lever):after {
    background-color: var(--admin-primary) !important;
    border-color: var(--admin-primary) !important;
}

/* Dashboard: Chart.js necesita un contenedor con altura estable para no crecer en cada resize. */
.admin-dashboard .chart-cont {
    overflow: hidden;
}

.admin-dashboard .dashboard-chart-box {
    height: 320px;
    max-height: 320px;
    position: relative;
    width: 100%;
}

.admin-dashboard .dashboard-chart-box-wide {
    height: 340px;
    max-height: 340px;
}

.admin-dashboard .dashboard-chart-box canvas {
    display: block;
    height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
}

/* Barras de filtros: Reservas, Operaciones y cards equivalentes. */
.filter-card {
    overflow: visible;
    padding: 22px 24px 26px;
}

.filter-card .card-content {
    padding: 0;
}

.filter-card .card-title {
    display: block;
    margin-bottom: 18px;
}

.admin-filter {
    width: 100%;
}

.admin-filter .filters-row {
    align-items: end;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(260px, 1fr) 190px 190px minmax(190px, auto) auto;
    margin: 0;
    width: 100%;
}

#contentBody .admin-filter .filters-row {
    margin: 0;
}

.admin-filter .filters-row:before,
.admin-filter .filters-row:after {
    content: none;
    display: none;
}

.admin-filter .filters-row > .col {
    float: none;
    margin-left: 0;
    padding: 0;
    width: auto;
}

#contentBody .admin-filter .filters-row > .col {
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.admin-filter .filter-field {
    margin-bottom: 0;
    margin-top: 0;
    min-width: 0;
    width: 100%;
}

#contentBody .admin-filter .filter-field {
    margin-bottom: 0;
    margin-top: 0;
}

.admin-filter .filter-search {
    min-width: 220px;
}

.admin-filter .filter-date {
    max-width: 190px;
    min-width: 0;
}

.admin-filter .filter-controls {
    display: contents;
}

.admin-filter .input-field label {
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 700;
    left: 12px;
    line-height: 1;
    top: 11px;
}

.admin-filter .input-field label.active {
    background: var(--admin-card);
    border-radius: 6px;
    padding: 0 5px;
    top: 0;
    transform: translateY(-12px) scale(.86);
    transform-origin: 0 0;
}

.admin-filter input[type="text"],
.admin-filter input[type="date"] {
    box-sizing: border-box;
    height: 42px !important;
    line-height: 42px;
    margin: 0;
    width: 100%;
}

.admin-filter .checkbox-field {
    align-items: center;
    display: flex;
    height: 42px;
    margin: 0;
    min-width: 190px;
    padding-left: 4px;
    white-space: nowrap;
}

.admin-filter .checkbox-field label {
    align-items: center;
    color: #334155;
    display: inline-flex;
    font-weight: 600;
    height: 42px;
    line-height: 42px;
}

.admin-filter .checkbox-field [type="checkbox"] + span:not(.lever) {
    align-items: center;
    display: inline-flex;
    height: auto;
    line-height: 22px;
    min-height: 22px;
    padding-left: 28px;
}

.admin-filter .filter-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    height: 42px;
    margin: 0;
    white-space: nowrap;
}

.admin-filter .filter-actions hr {
    display: none;
}

.admin-filter .filter-actions .btn,
.admin-filter .filter-actions .btn-flat,
.admin-filter .filter-actions button {
    height: 42px;
    line-height: 42px;
    margin: 0;
    padding-bottom: 0;
    padding-top: 0;
}

.admin-filter .filter-actions a,
.admin-filter .filter-actions .reset-link {
    align-items: center;
    color: #0f172a;
    display: inline-flex;
    font-weight: 700;
    height: 42px;
    text-transform: uppercase;
}

@media only screen and (max-width: 1100px) {
    .admin-filter .filters-row {
        grid-template-columns: minmax(220px, 1fr) 180px 180px;
    }

    .admin-filter .filter-date {
        max-width: 180px;
    }

    .admin-filter .checkbox-field,
    .admin-filter .filter-actions {
        grid-column: auto;
    }
}

@media only screen and (max-width: 768px) {
    .filter-card {
        padding: 18px;
    }

    .admin-filter .filters-row {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .admin-filter .filter-search,
    .admin-filter .filter-date,
    .admin-filter .checkbox-field,
    .admin-filter .filter-actions {
        max-width: none;
        min-width: 0;
        width: 100%;
    }

    .admin-filter .filter-actions {
        justify-content: flex-start;
    }
}

/* Tablas */
table,
table.striped {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-collapse: separate;
    border-radius: var(--admin-radius-card);
    border-spacing: 0;
    overflow: visible;
}

table.striped > thead > tr > th,
table > thead > tr > th {
    background: var(--admin-bg-soft);
    border-bottom: 1px solid var(--admin-border) !important;
    border-radius: 0;
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 12px 10px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

table.striped > tbody > tr > td,
table.striped > tbody > tr > th,
table > tbody > tr > td,
table > tbody > tr > th {
    border-bottom: 1px solid #edf2f7;
    color: var(--admin-text);
    line-height: 1.45;
    padding: 4px 1px;
    text-align: center;
    vertical-align: middle;
}

table.striped > tbody > tr:nth-child(odd) {
    background-color: #ffffff;
}

table.striped > tbody > tr:nth-child(even) {
    background-color: var(--admin-card-soft);
}

table.striped > tbody > tr:hover td,
table#tablaReservas tr:hover td {
    background: #fff7d6 !important;
}

.admin-table-scroll {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-card);
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.admin-table-scroll table,
.admin-table-scroll table.striped,
.admin-table-scroll table.responsive-table {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: table;
    min-width: 100%;
    table-layout: auto;
    width: max-content;
}

.admin-table-scroll table.responsive-table thead {
    display: table-header-group;
    float: none;
}

.admin-table-scroll table.responsive-table tbody {
    display: table-row-group;
}

.admin-table-scroll table.responsive-table tr {
    display: table-row;
}

.admin-table-scroll table.responsive-table th,
.admin-table-scroll table.responsive-table td {
    display: table-cell;
}

.admin-table-scroll th,
.admin-table-scroll td {
    white-space: nowrap;
}

.admin-table-scroll {
    position: relative;
}

.admin-table-scroll th,
.admin-table-scroll td {
    overflow: visible;
}

.admin-table-scroll th:last-child,
.admin-table-scroll td:last-child {
    background: #ffffff;
    box-shadow: -8px 0 14px rgba(15, 23, 42, 0.06);
    position: sticky;
    right: 0;
    z-index: 2;
}

.admin-table-scroll thead th:last-child {
    background: var(--admin-bg-soft);
    z-index: 3;
}

.admin-table-scroll table.striped > tbody > tr:nth-child(even) > td:last-child {
    background: var(--admin-card-soft);
}

.admin-table-scroll table.striped > tbody > tr:hover > td:last-child,
.admin-table-scroll table#tablaReservas > tbody > tr:hover > td:last-child {
    background: #fff7d6 !important;
}

.admin-table-scroll::-webkit-scrollbar {
    height: 10px;
}

.admin-table-scroll::-webkit-scrollbar-track {
    background: #eef5f8;
    border-radius: 999px;
}

.admin-table-scroll::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
}

.admin-table-scroll::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.draggable-scroll {
    cursor: grab;
    user-select: auto;
    -webkit-overflow-scrolling: touch;
}

.draggable-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.draggable-scroll.is-dragging * {
    user-select: none;
}

.draggable-scroll a {
    cursor:pointer;
}
.draggable-scroll button,
.draggable-scroll input,
.draggable-scroll select,
.draggable-scroll textarea,
.draggable-scroll label,
.draggable-scroll [onclick],
.draggable-scroll .btn,
.draggable-scroll .dropdown-trigger,
.draggable-scroll .asignacionServ,
.draggable-scroll .menu-contextual,
.draggable-scroll .menuCotextualOperacion,
.draggable-scroll .context-menu,
.draggable-scroll .no-drag-scroll {
    cursor: auto;
}

body .menuCotextualOperacion {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    max-width: 260px;
    min-width: 180px;
    overflow: visible;
    padding: 6px;
    position: fixed;
    z-index: 99999;
}

body .menuCotextualOperacion .collection {
    border: 0;
    margin: 0;
}

body .menuCotextualOperacion .collection .collection-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    min-height: 36px;
    padding: 8px 12px;
    text-align: left;
    white-space: nowrap;
    width: 100%;
}

body .menuCotextualOperacion .collection .collection-item:hover {
    background: var(--admin-primary-soft);
    color: var(--admin-primary-dark);
}

table#tablaReservas {
    font-size: 12px;
}

/* Balance pendiente: cubre clases y estilos inline amarillos. */
td.Balance,
.balance-pending,
td[style*="yellow"],
td[style*="#ffff00"],
td[style*="#ff0"] {
    font-weight: 900;
}

td[style*="yellow"],
td[style*="#ffff00"],
td[style*="#ff0"],
.balance-pending {
    background: var(--admin-warning-soft) !important;
    color: #92400e !important;
}

/* Badges, chips y estados */
span.badge,
.chip,
.badge {
    border-radius: var(--admin-radius-pill);
    font-size: 11px;
    font-weight: 800;
    min-width: auto;
}

.tiene-deposito,
.status-active,
.estado-activo {
    background: var(--admin-success-soft) !important;
    color: #166534 !important;
    border: 1px solid rgba(47, 179, 68, .25);
}

.status-cancelled,
.estado-cancelado {
    background: var(--admin-danger-soft) !important;
    color: #991b1b !important;
    border: 1px solid rgba(224, 49, 49, .25);
}

.last-minute-book {
    background: #fdf2ff;
    border: 1px solid #f0abfc;
    color: #a21caf;
    font-weight: 800;
}

/* Equipaje */
.baggage-list {
    gap: 5px;
}

.baggage-list > span {
    background: var(--admin-primary-soft);
    border: 1px solid #b8defa;
    border-radius: var(--admin-radius-pill);
    color: #075985;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    padding: 1px 7px;
}

.div-comments-list div,
.baggage-list div {
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    box-shadow: var(--admin-shadow-card);
}

/* Flight tracker */
.flightTracked {
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    font-size: 11px;
    line-height: 1.35;
    padding: 8px 10px;
}

.flightTracked.fts-scheduled {
    background: var(--admin-primary-soft);
    color: #075985;
}

.flightTracked.fts-landed,
.flightTracked.fts-arrived {
    background: var(--admin-success-soft);
    color: #166534;
}

.flightTracked.fts-enroute {
    background: #e0e7ff;
    color: #3730a3;
}

.flightTracked.fts-delayed,
span.delayed-flight-tracker {
    background: var(--admin-warning-soft);
    color: #92400e;
}

.vuelo-porcentaje {
    background-color: #f1f5f9;
    border-color: var(--admin-border);
    border-radius: 999px;
}

.vuelos-porcentaje-barrita {
    background: var(--admin-primary);
    border-radius: 999px;
}

.vuelos-porcentaje-barrita.vpb-100 {
    background-color: var(--admin-success);
}

/* Sidenav */
ul#slide-out,
.sidenav {
    background: #ffffff;
    box-shadow: var(--admin-shadow-menu);
    max-width: 92vw;
    width: 320px;
}

.sidenav li > a,
ul#slide-out li > a {
    border-radius: 12px;
    color: #334155;
    font-weight: 650;
    height: 42px;
    line-height: 42px;
    margin: 4px 10px;
}

.sidenav li > a:hover,
ul#slide-out li > a:hover {
    background: var(--admin-primary-soft);
    color: var(--admin-primary-dark);
}

.sidenav li > a > i,
ul#slide-out li > a > i {
    color: #64748b;
    margin-right: 20px;
}

.sidenav li > a:hover > i,
ul#slide-out li > a:hover > i {
    color: var(--admin-primary-dark);
}

.user-view,
.userView {
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    padding: 28px 20px;
}

.user-view .name,
.user-view .email,
.userView .name,
.userView .email {
    color: #ffffff !important;
    font-weight: 800;
}

.sidenav-overlay {
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(2px);
}

/* Modales */
.modal {
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .24);
}

.modal-full {
    background: var(--admin-bg);
    border-radius: 0 !important;
}

.modal-full .modal-content > h4 {
    align-items: center;
    background: #0f172a;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    height: 44px;
    justify-content: space-between;
    line-height: 44px;
    margin: 0;
    padding: 0 0 0 14px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
}

.modal-full .modal-content > h4 .modalTitle {
    color: #ffffff;
    flex: 1 1 auto;
    float: none;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.modal-full .modal-content > h4 .modal-close {
    align-items: center;
    background: var(--admin-danger) !important;
    border-radius: 0;
    color: #ffffff !important;
    display: inline-flex;
    float: none;
    height: 44px;
    justify-content: center;
    line-height: 44px;
    margin-left: auto;
    width: 52px;
}

.modal-full .modal-content > h4 .modal-close i,
.modal-full .modal-content > h4 .modal-close .material-icons {
    color: #ffffff !important;
    line-height: 1;
}

.modal.sm.alert h4 {
    font-weight: 800;
}

/* Autocomplete y menus flotantes */
.ui-autocomplete,
.quickSearch,
#extenciones_status {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow-card);
}

.ui-autocomplete {
    padding: 8px !important;
}

.ui-autocomplete li {
    border-bottom: 1px solid #eef2f5;
    border-radius: 8px;
}

.ui-autocomplete li:hover,
.ui-focused,
.ui-state-active,
.quickSearch li:hover {
    background: var(--admin-primary-soft);
}

/* Menu de acciones de reserva */
ul.menuReserva {
    align-items: center;
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

ul.menuReserva li a {
    border-radius: 10px;
    border-right: none;
}

/* Chat */
#chatMensajes {
    background: #f1f5f9;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
}

p.mensaje-chat + p.mensaje-chat {
    border-top: 1px solid var(--admin-border);
}

#chatNotification {
    box-shadow: 0 0 0 3px rgba(224, 49, 49, .18);
}

/* Graficas SVG: mantiene compatibilidad con charts antiguos. */
svg > rect {
    fill: transparent !important;
}

/* Datepicker Materialize */
.datepicker-container,
.modal.datepicker-modal {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .22);
    overflow: hidden;
}

.modal.datepicker-modal {
    max-height: 92vh;
}

.datepicker-container.modal-content,
.datepicker-container .modal-content {
    padding: 0;
}

.datepicker-date-display {
    background: linear-gradient(135deg, #0f172a 0%, #0ea5e9 100%);
    color: #ffffff;
    padding: 22px 24px;
}

.datepicker-date-display .year-text {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.datepicker-date-display .date-text {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
}

.datepicker-calendar-container {
    background: #ffffff;
    padding: 18px 20px 14px;
}

.datepicker-controls {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.datepicker-controls .selects-container {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    justify-content: center;
}

.datepicker-controls .select-wrapper {
    margin: 0;
}

.datepicker-controls .select-wrapper input.select-dropdown {
    background: #f8fafc !important;
    border: 1px solid var(--admin-border) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    color: var(--admin-text);
    font-size: 13px;
    font-weight: 700;
    height: 36px !important;
    line-height: 36px !important;
    margin: 0;
    min-width: 86px;
    padding: 0 28px 0 10px !important;
}

.datepicker-controls .month-prev,
.datepicker-controls .month-next {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    line-height: 36px;
    margin: 0;
    min-width: 36px;
    padding: 0;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
    width: 36px;
}

.datepicker-controls .month-prev:hover,
.datepicker-controls .month-next:hover {
    background: var(--admin-primary-soft);
    border-color: rgba(32, 167, 242, .35);
    color: var(--admin-primary-dark);
}

.datepicker-table {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0 auto;
    table-layout: fixed;
    width: 100%;
}

.datepicker-table thead {
    border-bottom: 0;
}

.datepicker-table th {
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 2px 8px;
    text-align: center;
    text-transform: uppercase;
}

.datepicker-table td {
    border: 0;
    padding: 2px;
    text-align: center;
}

.datepicker-table td.is-disabled {
    opacity: .38;
}

.datepicker-day-button {
    border-radius: 11px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    height: 36px;
    line-height: 36px;
    margin: 0 auto;
    padding: 0;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
    width: 36px;
}

.datepicker-day-button:hover {
    background: var(--admin-primary-soft);
    color: var(--admin-primary-dark);
}

.datepicker-table td.is-today .datepicker-day-button {
    box-shadow: inset 0 0 0 2px rgba(32, 167, 242, .35);
    color: var(--admin-primary-dark);
}

.datepicker-table td.is-selected {
    background: transparent;
}

.datepicker-table td.is-selected .datepicker-day-button {
    background: var(--admin-primary);
    box-shadow: 0 8px 18px rgba(32, 167, 242, .28);
    color: #ffffff;
}

.datepicker-footer {
    align-items: center;
    background: #ffffff;
    border-top: 1px solid var(--admin-border);
    display: flex;
    gap: 8px;
    justify-content: space-between;
    padding: 12px 16px;
}

.datepicker-footer .confirmation-btns {
    display: flex;
    gap: 8px;
}

.datepicker-footer .btn-flat {
    border-radius: 10px;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    height: 36px;
    line-height: 36px;
    padding: 0 12px;
}

.datepicker-footer .btn-flat:hover {
    background: var(--admin-primary-soft);
}

.datepicker-footer .datepicker-done,
.datepicker-footer .confirmation-btns .btn-flat:last-child {
    background: var(--admin-primary);
    color: #ffffff;
}

@media only screen and (max-width: 600px) {
    .modal.datepicker-modal {
        max-width: 420px;
        width: calc(100vw - 20px) !important;
    }

    .datepicker-date-display {
        padding: 18px 20px;
    }

    .datepicker-date-display .date-text {
        font-size: 25px;
    }

    .datepicker-calendar-container {
        padding: 14px 12px 10px;
    }

    .datepicker-controls {
        gap: 6px;
    }

    .datepicker-controls .selects-container {
        gap: 6px;
    }

    .datepicker-controls .select-wrapper input.select-dropdown {
        min-width: 78px;
    }

    .datepicker-day-button {
        height: 34px;
        line-height: 34px;
        width: 34px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
    box-shadow: none;
}

::-webkit-scrollbar-thumb {
    background-color: #94a3b8;
    border-radius: 999px;
    box-shadow: none;
}

/* Mobile */
@media only screen and (max-width: 700px) {
    .card .card-content,
    .card-panel {
        padding: 16px;
    }

    table.striped > thead > tr > th,
    table.striped > tbody > tr > td,
    table > thead > tr > th,
    table > tbody > tr > td {
        font-size: 11px;
        padding: 9px 7px;
    }

    #btnMenu {
        height: 56px;
        padding: 7px 0;
        width: 56px;
    }

    form#qickBockSearch {
        margin-left: 60px;
    }
}

@media only screen and (max-width: 768px) {
    nav,
    nav.nav-extended,
    nav .nav-wrapper {
        height: 56px;
        line-height: 56px;
        min-height: 56px;
    }

    nav.nav-extended ul.right {
        align-items: center;
        display: flex;
        height: 56px;
    }

    nav.nav-extended ul.right > li > a {
        align-items: center;
        display: inline-flex;
        height: 40px;
        justify-content: center;
        line-height: 40px;
        min-width: 40px;
        width: 40px;
    }

    nav.nav-extended ul.right > li > a i,
    nav.nav-extended ul.right > li > a .material-icons {
        line-height: 40px;
    }

    #btnMenu {
        height: 56px;
        padding: 7px 0;
        width: 56px;
    }

    .logo-marca {
        height: 56px;
        line-height: 56px;
        margin-left: 56px;
        max-width: 118px;
    }

    .logo-marca img,
    nav .brand-logo img {
        max-height: 30px;
        width: auto;
    }

    form#qickBockSearch {
        margin-left: 60px;
        max-width: 128px;
        width: 128px;
    }

    .top-search,
    .nav-search {
        margin-left: 8px;
        max-width: 128px;
        width: 128px;
    }

    form#qickBockSearch input,
    .top-search input,
    .nav-search input,
    nav input[type="search"],
    nav input[type="text"] {
        font-size: 13px;
        height: 36px !important;
        line-height: 36px !important;
        padding: 0 10px !important;
    }

    .card,
    .card-panel,
    .filter-card {
        border-radius: 14px;
    }

    .filter-card {
        padding: 14px;
    }

    .card .card-content,
    .card-panel {
        padding: 14px;
    }

    .card .card-title,
    .filter-card .card-title {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .btn,
    .btn-small,
    .btn-large {
        height: 38px;
        line-height: 38px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .admin-filter .filters-row {
        gap: 10px;
    }

    .admin-filter input[type="text"],
    .admin-filter input[type="date"],
    .admin-filter .checkbox-field,
    .admin-filter .filter-actions,
    .admin-filter .filter-actions .btn,
    .admin-filter .filter-actions .btn-flat,
    .admin-filter .filter-actions button,
    .admin-filter .filter-actions a,
    .admin-filter .filter-actions .reset-link {
        height: 38px;
        line-height: 38px;
    }

    .admin-filter .checkbox-field {
        align-items: center;
        padding-left: 0;
    }

    .admin-filter .filter-actions {
        gap: 8px;
    }

    .admin-dashboard .dashboard-chart-box,
    .admin-dashboard .dashboard-chart-box-wide {
        height: 280px;
        max-height: 280px;
    }

    .admin-table-scroll {
        border-radius: 12px;
        margin-left: -4px;
        margin-right: -4px;
        width: calc(100% + 8px);
    }

    .admin-table-scroll table,
    .admin-table-scroll table.striped,
    .admin-table-scroll table.responsive-table {
        min-width: 980px;
    }

    .admin-table-scroll th,
    .admin-table-scroll td {
        font-size: 11px;
        padding: 8px 6px;
    }

    .admin-table-scroll th:last-child,
    .admin-table-scroll td:last-child {
        box-shadow: -5px 0 10px rgba(15, 23, 42, 0.06);
    }

    .modal-full .modal-content > h4 {
        height: 40px;
        line-height: 40px;
        padding-left: 12px;
    }

    .modal-full .modal-content > h4 .modalTitle {
        font-size: 14px;
    }

    .modal-full .modal-content > h4 .modal-close {
        height: 40px;
        line-height: 40px;
        width: 46px;
    }

    body .menuCotextualOperacion {
        max-width: min(260px, calc(100vw - 16px));
    }
}

/* =========================================================
   Modo noche modernizado
   Mantiene la misma clase existente: .modoNoche
   ========================================================= */

.modoNoche {
    --admin-bg: #111827;
    --admin-bg-soft: #1f2937;
    --admin-card: #172033;
    --admin-card-soft: #141c2d;
    --admin-border: #263244;
    --admin-border-strong: #334155;
    --admin-text: #e5e7eb;
    --admin-muted: #94a3b8;
    --admin-muted-light: #64748b;
    --admin-primary: #38bdf8;
    --admin-primary-dark: #0ea5e9;
    --admin-primary-soft: rgba(56, 189, 248, .12);
    --admin-success-soft: rgba(34, 197, 94, .14);
    --admin-warning-soft: rgba(245, 158, 11, .15);
    --admin-danger-soft: rgba(239, 68, 68, .14);
}

body.modoNoche,
.modoNoche,
.modoNoche .modal-content,
.modoNoche .modal-footer {
    background: var(--admin-bg);
    color: var(--admin-text);
}

.modoNoche .card,
.modoNoche .card-panel {
    background: var(--admin-card);
    border-color: var(--admin-border);
    color: var(--admin-text);
}

.modoNoche nav.nav-extended,
.modoNoche nav {
    background: #0f172a !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}

.modoNoche nav a,
.modoNoche nav i,
.modoNoche nav .material-icons {
    color: var(--admin-text);
}

.modoNoche table,
.modoNoche table.striped {
    background: var(--admin-card);
    border-color: var(--admin-border);
}

.modoNoche table.striped > thead > tr > th,
.modoNoche table > thead > tr > th {
    background: #0f172a;
    border-color: var(--admin-border) !important;
    color: #cbd5e1;
}

.modoNoche table.striped > tbody > tr > td,
.modoNoche table.striped > tbody > tr > th,
.modoNoche table > tbody > tr > td,
.modoNoche table > tbody > tr > th {
    border-color: var(--admin-border) !important;
    color: var(--admin-text);
}

.modoNoche table.striped > tbody > tr:nth-child(odd) {
    background-color: var(--admin-card);
}

.modoNoche table.striped > tbody > tr:nth-child(even) {
    background-color: var(--admin-card-soft);
}

.modoNoche table.striped > tbody > tr:hover td,
.modoNoche table#tablaReservas tr:hover td {
    background: #263244 !important;
}

.modoNoche .admin-table-scroll {
    background: var(--admin-card);
    border-color: var(--admin-border);
}

.modoNoche .admin-table-scroll th:last-child,
.modoNoche .admin-table-scroll td:last-child,
.modoNoche .admin-table-scroll table.striped > tbody > tr:nth-child(even) > td:last-child {
    background: var(--admin-card);
}

.modoNoche .admin-table-scroll thead th:last-child {
    background: #0f172a;
}

.modoNoche .admin-table-scroll table.striped > tbody > tr:hover > td:last-child,
.modoNoche .admin-table-scroll table#tablaReservas > tbody > tr:hover > td:last-child {
    background: #263244 !important;
}

.modoNoche .admin-table-scroll::-webkit-scrollbar-track {
    background: #1f2937;
}

.modoNoche .admin-table-scroll::-webkit-scrollbar-thumb {
    background: #475569;
}

.modoNoche .admin-table-scroll::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.modoNoche .menuCotextualOperacion {
    background: var(--admin-card);
    border-color: var(--admin-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.modoNoche .menuCotextualOperacion .collection .collection-item {
    color: var(--admin-text);
}

.modoNoche .menuCotextualOperacion .collection .collection-item:hover {
    background: var(--admin-primary-soft);
    color: #7dd3fc;
}

.modoNoche .datepicker-container,
.modoNoche .modal.datepicker-modal,
.modoNoche .datepicker-calendar-container,
.modoNoche .datepicker-footer {
    background: var(--admin-card);
    color: var(--admin-text);
}

.modoNoche .datepicker-date-display {
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
}

.modoNoche .datepicker-footer {
    border-color: var(--admin-border);
}

.modoNoche .datepicker-controls .select-wrapper input.select-dropdown {
    background: #0f172a !important;
    border-color: var(--admin-border) !important;
    color: var(--admin-text);
}

.modoNoche .datepicker-controls .month-prev,
.modoNoche .datepicker-controls .month-next {
    background: #0f172a;
    border-color: var(--admin-border);
    color: var(--admin-muted);
}

.modoNoche .datepicker-table th {
    color: var(--admin-muted);
}

.modoNoche .datepicker-day-button {
    color: var(--admin-text);
}

.modoNoche .datepicker-day-button:hover {
    background: var(--admin-primary-soft);
    color: #7dd3fc;
}

.modoNoche .datepicker-table td.is-today .datepicker-day-button {
    color: #7dd3fc;
}

.modoNoche .datepicker-footer .btn-flat {
    color: var(--admin-text);
}

.modoNoche .datepicker-footer .datepicker-done,
.modoNoche .datepicker-footer .confirmation-btns .btn-flat:last-child {
    color: #ffffff;
}

.modoNoche #contentBody .input-field input[type="text"],
.modoNoche #contentBody .input-field input[type="date"],
.modoNoche #contentBody .input-field input[type="number"],
.modoNoche #contentBody .input-field input[type="email"],
.modoNoche #contentBody .input-field input[type="password"],
.modoNoche #contentBody .input-field input[type="search"],
.modoNoche #contentBody .input-field input[type="tel"],
.modoNoche #contentBody .input-field input[type="time"],
.modoNoche #contentBody .input-field select,
.modoNoche #contentBody .input-field textarea,
.modoNoche .modal .input-field input[type="text"],
.modoNoche .modal .input-field input[type="date"],
.modoNoche .modal .input-field input[type="number"],
.modoNoche .modal .input-field input[type="email"],
.modoNoche .modal .input-field input[type="password"],
.modoNoche .modal .input-field input[type="search"],
.modoNoche .modal .input-field input[type="tel"],
.modoNoche .modal .input-field input[type="time"],
.modoNoche .modal .input-field select,
.modoNoche .modal .input-field textarea,
.modoNoche .sidenav .input-field input[type="text"],
.modoNoche .sidenav .input-field input[type="search"] {
    background: #0f172a !important;
    border-color: var(--admin-border) !important;
    color: var(--admin-text);
}

.modoNoche #contentBody .input-field input::placeholder,
.modoNoche #contentBody .input-field textarea::placeholder,
.modoNoche .modal .input-field input::placeholder,
.modoNoche .modal .input-field textarea::placeholder,
.modoNoche .sidenav .input-field input::placeholder {
    color: #64748b;
}

.modoNoche .ios-native-select {
    background-color: #0f172a;
    border-color: #263244;
    color: #e5e7eb;
}

.modoNoche .input-field label,
.modoNoche [type="checkbox"] + span:not(.lever) {
    color: var(--admin-muted);
}

.modoNoche ul#slide-out,
.modoNoche .sidenav {
    background: #0f172a;
}

.modoNoche .sidenav li > a,
.modoNoche ul#slide-out li > a {
    color: #cbd5e1;
}

.modoNoche .sidenav li > a:hover,
.modoNoche ul#slide-out li > a:hover {
    background: rgba(56, 189, 248, .12);
    color: #7dd3fc;
}

.modoNoche .sidenav li > a > i,
.modoNoche ul#slide-out li > a > i {
    color: #94a3b8;
}

.modoNoche .baggage-list > span {
    background: rgba(56, 189, 248, .12);
    border-color: rgba(56, 189, 248, .35);
    color: #7dd3fc;
}

.modoNoche .flightTracked.fts-scheduled {
    background: rgba(56, 189, 248, .12);
    color: #7dd3fc;
}

.modoNoche .flightTracked.fts-landed,
.modoNoche .flightTracked.fts-arrived {
    background: rgba(34, 197, 94, .14);
    color: #86efac;
}

.modoNoche .flightTracked.fts-enroute {
    background: rgba(99, 102, 241, .18);
    color: #c4b5fd;
}

.modoNoche .flightTracked.fts-delayed,
.modoNoche span.delayed-flight-tracker {
    background: rgba(245, 158, 11, .15);
    color: #fbbf24;
}

.modoNoche .ui-autocomplete,
.modoNoche .quickSearch,
.modoNoche #extenciones_status,
.modoNoche .div-comments-list div,
.modoNoche .baggage-list div {
    background: #0f172a;
    border-color: var(--admin-border);
    color: var(--admin-text);
}

.modoNoche #chatMensajes {
    background: #0f172a;
    border-color: var(--admin-border);
}

/* Impresion: conserva salida limpia. */
@media print {
    body,
    html {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .card,
    .card-panel,
    table,
    table.striped {
        border: none !important;
        box-shadow: none !important;
    }
}
td .short-td {
    max-width: 20rem;
    display: inline-block;
    white-space: break-spaces;
}
td .short-agencie {
    display: block;
    max-width: 130px;
    white-space: break-spaces;
    text-align: center;
    font-size: 13px;

}

.Aeropuerto-td-element > div {
    max-width: 10rem;
    white-space: break-spaces;
}

.Unidad-td-element > div {
    white-space: break-spaces;
    display: block;
    max-width: 75px;
}
.notas-y-productos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5ff;
    margin-bottom: 5px;
}
.notas-pop {
    padding: 7px;
    background: #fdfdd4;
    border: 1px solid #ffe9c9;
    font-family: monospace;
    white-space: pre-wrap;
}
.car-typeDeluxe {
    background: linear-gradient(45deg, gold, yellow);
    padding: 2px 10px;
    border-radius: 13px;
    color: darkgoldenrod;
    font-weight: 500;
}
.zone-pill-list {
    background: #EEE;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid #e9e9e9;
    font-size: 10px;
}
