a {
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
}

.container {
    padding: 0;
    width: 100%;
}

body {
    background-image: url('../images/cubes.png');
    font-family: Arial;
    font-size: 16px;
    margin: 0;
    color: #4c4c4c;
}

.main {
    width: 100%;
    position: relative;
    margin-top: 20px;
    background-color: #FFF;
    padding: 0 2% 15px;
}

.main h2 {
    padding: 5px 10px;
}

.row-margin {
    margin: 0 15px;
}

header {

    background: #0085c6; /* Azul INICIO DE SESION */
    color: white;
    margin: 0 0 0 0;
    padding: 0.5em;
    box-shadow: 0px 1px 3px #888888;
    border-bottom: 2px solid #006C9E;
}

.logo {
    display: inline-block;
    height: 60px;
}

nav {
    display: inline-block;
}

.nuevo a {
    margin-top: 10px;
    color: #000;
}

figure {
    display: inline-block;
}

/*-- Menu --*/
#menu_acordeon {
    width: 200px;
    margin-top: 1em !important;
    display: inline-block;
}

#menu_acordeon .panel-default {
    border-radius: 8px;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    overflow: hidden;
}
#menu_acordeon .panel-heading {
    background-color: #0085c6 !important; /* El color de inicio de sesión */
    border-bottom: 1px solid #006C9E;
    border-radius: 8px 8px 0 0;
}
#menu_acordeon .panel-heading:hover {
    background-color: #006C9E !important;
}
#menu_acordeon .panel-heading h4 {
    margin: 0;
}
#menu_acordeon .panel-title a {
    display: block;
    padding: 7px 5px;
    color: #ffffff !important; /* Letras blancas para el menú principal */
    font-weight: 600;
    font-size: 16px; /* Aumentado 2px */
    text-decoration: none;
}
#menu_acordeon .panel-body {
    background-color: #fbfdff;
    border-top: none;
    padding: 5px 0;
}
#menu_acordeon .panel-body ul {
    list-style: none; /* oculta las viñetas por defecto */
    padding-left: 0;
    margin-bottom: 0;
}
#menu_acordeon .panel-body ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #4a5568 !important; /* Overrides any previous generic a */
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 16px; /* Aumentado de 14px a 16px */
    font-weight: 500;
}
#menu_acordeon .panel-body ul li a i.glyphicon {
    margin-right: 12px;
    color: #a0aec0;
    transition: color 0.3s ease;
    top: 2px;
    font-size: 13px;
}
/* Estado Hover (Submenú con paleta acorde a azules) */
#menu_acordeon .panel-body ul li a:hover {
    background-color: #e6f3fb; /* Azul muy clarito */
    color: #0085c6 !important; /* Azul Login */
    transform: translateX(4px);
    text-decoration: none;
}
#menu_acordeon .panel-body ul li a:hover i.glyphicon {
    color: #0085c6;
}
/* Estado Activo / Seleccionado */
#menu_acordeon .panel-body ul li a.active-menu-item {
    background-color: #d3eaf7; /* Fondo sutil azulado */
    color: #0085c6 !important;
    font-weight: 600;
    box-shadow: inset 3px 0 0 0 #0085c6;
}
#menu_acordeon .panel-body ul li a.active-menu-item i.glyphicon {
    color: #0085c6;
}

/*-- Menu --*/
.titulo {
    display: block;
    color: #000;
    margin: 10px 2px;
    font-size: 1.5em;
}

.login {
    margin: 70px auto;
    width: 450px;
    background: #FDFFFF;
    ;
    padding: 20px;
    text-align: center;
    -webkit-box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.login h1 {
    color: #fff;
    margin: -20px -20px 25px;
    padding: 5px 5px;
    line-height: 40px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #0085c6;
    border-radius: 3px 3px 0 0;
    background: #0085c6;
    border-bottom: 0.10em solid #006C9E;
    -webkit-box-shadow: inset 0 -1px rgba(255, 255, 255, 0.05), 0 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.05), 0 1px rgba(0, 0, 0, 0.05);

}

.login input[type=text],
input[type=password] {
    margin: 5px;
    padding: 0 10px;
    width: 250px;
    height: 34px;
    color: #404040;
    background: white;
    border: 1px solid;
    border-color: #c4c4c4 #d1d1d1 #d4d4d4;
    border-radius: 2px;
    outline: 5px solid #eff4f7;

}

.login p {
    margin: 20px 0;
    font-size: 14px;
    color: white;
    text-align: center;
}

.login input[type=button] {
    padding: 0 18px;
    height: 35px;
    width: 150px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background: #0085c6;
    border-bottom: 0.20em solid #006C9E;
    border-right: 0.20em solid #006C9E;
    border-top: none;
    border-left: none;

    outline: 0;
}

.login input[type=button]:active {
    border-bottom: none;
    border-right: none;
    border-top: 0.20em solid #006C9E;
    border-left: 0.20em solid #006C9E;

}

header .btn {
    display: table-cell;
    float: right;
    margin: 0 1em;
}

header .btn.glyphicon {
    color: #ffffff !important;
    font-size: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 5px;
    transition: all 0.3s ease;
}

header .btn.glyphicon:hover {
    color: #d3eaf7 !important;
    transform: scale(1.1);
}

#contenido {
    margin: 1em;

}

#contenido .item {
    background: white;
    border-bottom: 3px #22BCE0 solid;
    margin-bottom: 3px;
    min-height: 128px;
    position: relative;

}

#contenido-area {
    display: inline-block;
    float: right;
    width: calc(100% - 220px);
}


.container {
    width: 100%;
    position: relative;
}

.tabs {
    position: relative;
    width: 980px;
    display: inline-block;
    float: right;
    margin-right: 0px;
    margin-top: 20px;
}

.tabs input[type="radio"] {
    position: absolute;
    z-index: 1000;
    width: 120px;
    height: 40px;
    left: 0px;
    top: 0px;
    opacity: 0;
    cursor: pointer;
}

.tabs input#tab-2 {
    left: 120px;
}

.tabs input#tab-3 {
    left: 240px;
}

.tabs input#tab-4 {
    left: 360px;
}

.tabs label {
    background: #0085c6;
    font-size: 15px;
    line-height: 40px;
    height: 40px;
    position: relative;
    padding: 0 20px;
    float: left;
    display: block;
    width: 80px;
    color: #e5e8eb;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    border-radius: 3px 3px 0 0;
    box-shadow: 2px 0 2px rgba(0, 0, 0, 0.1), -2px 0 2px rgba(0, 0, 0, 0.1);
}

.tabs label:after {
    content: '';
    background: #fff;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    display: block;

}

.tabs input:hover+label {
    background: #006C9E;

}

.tabs label:first-of-type {
    z-index: 4;
    box-shadow: 2px 0 2px rgba(0, 0, 0, 0.1);
}

.tab-label-2 {
    z-index: 3;
}

.tab-label-3 {
    z-index: 2;
}

.tab-label-4 {
    z-index: 1;
}

.tabs input:checked+label {
    background: #fff;
    color: #37393a;
    z-index: 6;
    width: initial;
}

.clear-shadow {
    clear: both;
}

.contenido {
    width: 98%;
    max-width: 1600px;
    margin: auto;
}

.content {
    background: #fff;
    position: relative;
    width: 100%;
    height: 100%;

    border-radius: 0 3px 3px 3px;

}

.content a {

    color: #0085c6;
    display: inline-block;

}

.content a:hover {

    color: #006C9E;
    display: inline-block;

}

#paginador {
    background: #0085c6;
    display: block;
    margin-top: 15px;
    padding: 10px 8px;
    position: relative;
    line-height: 2.2;          /* filas de numeros parejas al envolver */
    text-align: center;
}

#paginador a,
#paginador .current {
    display: inline-block;     /* pills uniformes, no se enciman */
    background: #fff;
    color: #0085c6;
    text-decoration: none;
    padding: 6px 11px;         /* unidades corregidas (antes "7 10" invalido) */
    margin: 3px;
    min-width: 34px;
    text-align: center;
    border-radius: 16px;
    vertical-align: middle;
}

#paginador a:hover {
    background: #e6f3fb;
}

#paginador .current {
    background: #003f5e;        /* pagina actual resaltada */
    color: #fff;
    font-weight: bold;
}


.content div {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 10px 40px;
    z-index: 1;
    opacity: 0;

    -webkit-transition: opacity linear 0.1s;
    -moz-transition: opacity linear 0.1s;
    -o-transition: opacity linear 0.1s;
    -ms-transition: opacity linear 0.1s;
    transition: opacity linear 0.1s;
}

.tabs input.tab-selector-1:checked~.content .content-1,
.tabs input.tab-selector-2:checked~.content .content-2,
.tabs input.tab-selector-3:checked~.content .content-3,
.tabs input.tab-selector-4:checked~.content .content-4 {
    z-index: 100;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;

    -webkit-transition: opacity ease-out 0.2s 0.1s;
    -moz-transition: opacity ease-out 0.2s 0.1s;
    -o-transition: opacity ease-out 0.2s 0.1s;
    -ms-transition: opacity ease-out 0.2s 0.1s;
    transition: opacity ease-out 0.2s 0.1s;
}

.content div h2,
.content div h3 {
    color: #000;
    display: inline-block;
}

.content div p {
    font-size: 14px;
    line-height: 22px;
    text-align: justify;

}





/*BUSQUEDA*/
.cf:before,
.cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    zoom: 1;
}

/* Form wrapper styling */
.busc-wrapper {
    display: inline-block;
    float: right;
    margin-right: 15px;
}

/* Form text input */

.busc-wrapper input {
    width: 210px;
    padding: 10px 5px;
    float: left;
    font: bold 15px 'lucida sans', 'trebuchet MS', 'Tahoma';
    border: 0;
    background: #EEE;
    border-radius: 3px 0 0 3px;
}

.table-width-auto {
    width: auto !important;
    margin: auto;
}

.table th {
    background-color: #0085c6;
    border: medium none !important;
    color: #fff;
}

.cabecera-tablas {
    background: #0085c6;
    ;
    color: #fff;
}

.fila-par {
    background: #4BCDFC;
}

.busc-wrapper input:focus {
    outline: 0;
    background: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, .8) inset;
}

.busc-wrapper input::-webkit-input-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}

.busc-wrapper input:-moz-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}

.busc-wrapper input:-ms-input-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}

/* Form submit button */
.busc-wrapper button {
    overflow: visible;
    position: relative;
    float: right;
    border: 0;
    padding: 0;
    cursor: pointer;
    height: inherit;
    font-family: 'lucida sans', 'trebuchet MS', 'Tahoma';
    font-size: 1.8em;
    padding: 5px 15px;
    color: white;
    background: #0085c6;
    border-radius: 0 3px 3px 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
}

.busc-wrapper button:hover {
    background: #006C9E
}

.busc-wrapper button:active,
.busc-wrapper button:focus {
    background: #006C9E;
    outline: 0;
}

.busc-wrapper button:before {
    /* left arrow */
    content: '';
    position: absolute;
    border-width: 5px 8px 8px 0;
    border-style: solid solid solid none;
    border-color: transparent #0085c6 transparent;
    top: 12px;
    left: -6px;
}

.busc-wrapper button:hover:before {
    border-right-color: #006C9E;
}

.busc-wrapper button:focus:before,
.busc-wrapper button:active:before {
    border-right-color: #6f8bad;
}

.busc-wrapper button::-moz-focus-inner {
    /* remove extra button spacing for Mozilla Firefox */
    border: 0;
    padding: 0;
}


button {
    border: none;
    padding: 0.6em 1.2em;
    background: #0085c6;
    color: #fff;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    border-radius: 2px;
}

button:hover {
    background: #006C9E;
}



.md-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    max-width: 630px;
    min-width: 520px;
    height: auto;
    z-index: 2000;
    /*visibility: hidden;*/
    display: none;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.md-show {
    /*visibility: visible;*/
    display: block;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show~.md-overlay {
    opacity: 1;
    visibility: visible;
}




/* Content styles */
.md-content {
    color: #fff;
    background: #A5D6DD;
    position: relative;
    border-radius: 3px;
    margin: 0 auto;
}

.md-content h3 {
    margin: 0;
    padding: 0.4em;
    text-align: center;
    font-size: 2.4em;
    font-weight: 300;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px 3px 0 0;
}

.md-content>div {
    padding: 15px 40px 30px;
    margin: 0;
    font-weight: 300;
    font-size: 1.15em;
}

.md-content button {
    background: #42A4A8;
}

.md-content button:hover {
    background: #3A8386;
}


.md-content>div p {
    margin: 0;
    padding: 10px 0;
}

.md-content>div ul {
    margin: 0;
    padding: 0 0 30px 20px;
}

.md-content>div ul li {
    padding: 5px 0;
}

.md-content button {
    display: inline-block;
    margin: 0 5px;
    font-size: 0.8em;
}


/* Effect 16:  Blur */
.md-show.md-effect-1~.md-overlay {
    background: rgba(182, 226, 215, 0.5);
}

.md-effect-2 .md-content {
    -webkit-transform: translateX(20%);
    -moz-transform: translateX(20%);
    -ms-transform: translateX(20%);
    transform: translateX(20%);
    opacity: 0;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
    -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
    transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.md-show.md-effect-2 .md-content {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

.form-inline>.form-group {
    margin-bottom: 10px;
}

/* Modal Inputs */
.modal input[type="text"],
.modal input[type="email"],
.modal input[type="tel"],
.modal input[type="number"],
.modal input[type="password"],
.modal select,
.modal textarea {
    width: 100%;
}

#form-banner-upload,
#form-logo-upload,
#banner-empresa-img,
#logo-empresa-img,
#modalNuevoProsumidor #msg-cc-nuevo,
#modalNuevoProsumidor #msg-nombre-nuevo,
#modalNuevoProsumidor #msg-dir-nuevo,
#modalNuevoProsumidor #msg-apellido-nuevo,
#modalNuevoProsumidor #msg-tel-nuevo,
#modalNuevoProsumidor #msg-cel-nuevo,
#modalNuevoProsumidor #msg-mail-nuevo,
#modalNuevoProsumidor #msg-ciudad-nuevo,
#modalNuevoProsumidor #msg-fecha-nuevo,
#modalModificarProsumidor #msg-cc-mod,
#modalModificarProsumidor #msg-nombre-mod,
#modalModificarProsumidor #msg-dir-mod,
#modalModificarProsumidor #msg-apellido-mod,
#modalModificarProsumidor #msg-tel-mod,
#modalModificarProsumidor #msg-cel-mod,
#modalModificarProsumidor #msg-mail-mod,
#modalModificarProsumidor #msg-ciudad-mod,
#modalModificarProsumidor #msg-fecha-mod,
#content_facturas #resultados,
#content_facturas #tabla_info,
#content_documentos #no_docs,
#content_documentos #doc_cc,
#content_documentos #doc_rut,
.modal #msg_nombre_new,
.modal #msg_nombre_mod,
#modalNuevoMensaje #msg_grupo_new,
#modalNuevoMensaje #msg_texto_new,
#msg_grupos_new,
#msg_usuario_new,
#msg_usuario_nombre_new,
#msg_usuario_error,
#msg_grupos_mod,
#msg_usuario_error_mod,
#msg_usuario_mod,
#group-export,
#msg_alerta_new,
#msg_grupo_new,
#msg_longitud_new,
#msg_latitud_new,
#msg_perfil_new,
#msg_imagen_new {
    display: none;
}

#msg_colegio_new,
#msg_tarjeta_id_new,
#msg_nombres_new,
#msg_apellidos_new,
#msg_doc_contratante_new,
#msg_nombres_contratante_new,
#msg_apellidos_contratante_new,
#msg_celular_new,
#msg_email_new {
    display: none;
}

#msg_colegio_mod,
#msg_tarjeta_id_mod,
#msg_nombres_mod,
#msg_apellidos_mod,
#msg_doc_contratante_mod,
#msg_nombres_contratante_mod,
#msg_apellidos_contratante_mod,
#msg_celular_mod,
#msg_email_mod {
    display: none;
}

#msg_ruta_new,
#msg_doc_conductor_new,
#msg_nombres_conductor_new,
#msg_apellidos_conductor_new,
#msg_celular_conductor_new,
#msg_marca_new,
#msg_placa_new,
#msg_doc_monitora_new,
#msg_nombre_monitora_new,
#msg_apellidos_monitora_new,
#msg_celular_monitora_new {
    display: none;
}

#msg_ruta_mod,
#msg_doc_conductor_mod,
#msg_nombres_conductor_mod,
#msg_apellidos_conductor_mod,
#msg_celular_conductor_mod,
#msg_marca_mod,
#msg_placa_mod,
#msg_doc_monitora_mod,
#msg_nombre_monitora_mod,
#msg_apellidos_monitora_mod,
#msg_celular_monitora_mod,
.object_hidden {
    display: none;
}

#form-banner-upload input,
#form-banner-upload a,
#form-logo-upload input,
#form-logo-upload a {
    float: left;
}

#form-banner-upload a,
#form-logo-upload a {
    font-size: 2em;
}

#form-banner-upload a:hover,
#form-logo-upload a:hover {
    text-decoration: none;
}

#content_facturas,
#content_documentos {
    margin-top: 15px;
}

/*Animation load*/
.glyphicon-refresh-animate {
    display: none;
    height: 32px;
    width: 32px;
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
    animation: spin .7s infinite linear;
}

.input-inline {
    display: inline-block;
    width: 92% !important;
}

.col-img-banner:hover .content-col-opc-banner {
    display: block !important;
    position: absolute;
}

.dashboard-container {
    padding: 20px;
    background-color: #f4f7f6;
    min-height: 500px;
    max-width: 1020px;
    margin: 0 auto;
    /* Ajuste para que quepa al lado del menú de 200px en el contenedor de 1250px */
}

.route-card {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    overflow: hidden;
    background: white;
    border: 1px solid #e0e0e0;
}

.route-header {
    padding: 12px 15px;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.bg-azul {
    background-color: #007bff !important;
}

.bg-amarillo {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.bg-rojo {
    background-color: #dc3545 !important;
}

.bg-default {
    background-color: #6c757d !important;
}

.route-body {
    padding: 15px;
}

.route-info {
    margin-bottom: 15px;
}

.route-info p {
    margin: 5px 0;
    font-size: 0.95em;
    color: #333;
}

.alert-box {
    background-color: #fff5f5;
    border-left: 4px solid #f8d7da;
    padding: 10px;
    border-radius: 4px;
}

.alert-label {
    font-weight: bold;
    color: #721c24;
    display: block;
    margin-bottom: 3px;
    font-size: 0.85em;
    text-transform: uppercase;
}

.alert-text {
    color: #444;
    font-size: 0.9em;
    display: block;
}

.alert-date {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
    display: block;
    text-align: right;
}

.status-badge {
    font-size: 1em;
    padding: 5px 12px;
    border-radius: 6px;
    background: white;
    color: #dc3545;
    font-weight: bold;
    border: 1px solid #e0e0e0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.detailed-info {
    background-color: #eef2f7;
    border-top: 1px solid #d1d9e6;
    padding: 12px 15px;
}

.detailed-info p {
    margin: 5px 0;
    font-size: 0.88em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 3px;
}

.detailed-info p:last-child {
    border-bottom: none;
}

.passenger-info {
    background-color: #f0fff4;
    border-top: 1px solid #c6f6d5;
    display: flex;
    align-items: center;
    padding: 0;
}

.passenger-icon-col {
    background-color: #c6f6d5;
    color: #2f855a;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    align-self: stretch;
}

.passenger-icon-col span {
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 5px;
}

.passenger-data-col {
    flex-grow: 1;
    padding: 10px 15px;
}

.passenger-data-col p {
    margin: 3px 0;
    font-size: 0.88em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 2px;
}

.passenger-data-col p:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #4a5568;
}

.info-value {
    color: #2d3748;
    font-weight: 500;
    text-align: right;
}

.totals-container {
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.summary-icon-col {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    align-self: stretch;
    color: white;
}

.bg-flota {
    background-color: #4a5568;
}

.bg-usuarios {
    background-color: #2f855a;
}

.summary-data-col {
    flex-grow: 1;
    padding: 10px 20px;
}

.summary-data-col p {
    margin: 5px 0;
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 4px;
}

#seccion_rutas {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    /* Menú arriba a ancho completo; formularios debajo ocupando todo el ancho (evita columna estrecha al lado del acordeón) */
    #menu_acordeon {
        display: block;
        width: 100%;
        max-width: 100%;
        float: none;
        margin-top: 0.5em !important;
        margin-bottom: 1em;
        box-sizing: border-box;
    }

    #contenido-area {
        display: block !important;
        width: 100% !important;
        max-width: 100%;
        float: none !important;
        clear: both;
        box-sizing: border-box;
    }

    .contenido > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    #seccion_rutas>div {
        width: 100% !important;
    }

    .summary-card {
        flex-direction: column;
        text-align: center;
    }

    .summary-icon-col {
        width: 100%;
        min-width: 100%;
        padding: 15px;
    }

    .main {
        padding: 0 10px 15px;
    }
}

/* Datepicker: siempre encima del mapa Leaflet y otros elementos flotantes */
.datepicker {
    z-index: 1200 !important;
}

/* DataTables: flechas de ordenamiento visibles sobre encabezados azules */
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    filter: invert(1) brightness(2);
}