﻿/*@import "./assets/css/v-tippy-tooltips.css";*/
/*Variables*/
:root {
    --modal-header-bg-color: #18456b;
    --bg-row-title: #c0ccd8;
    --bg-row-item: #e5e5e5;
    --bg-row-item-planning: #9ac14d40;
    --bg-row-item-planning-consolidated: #f5803b40;
    --bg-select: #9ac14d;
    --bg-choosen: #3686c7d2;
    --color-font: #18456b;
    --color-font-transparent: #4163896b;
    --color-font-error: #FF1717D6;
    --color-font-warning: #F7AF45;
    --color-border-warning: #F7AF45;
    --color-border-error: #FF1717D6;
    --color-green-calendar: #9ac14d;
    --type-font: roboto;
    --size-font: 12px;
    --modal-fields-bg: #e5e5e5;
    --modal-fields-color: #18456b;
    --row-item: #e5e5e5;
    --btn-red: #bd001f;
    --btn-green: #4d8539;
    --btn-gray: #707070;
    --color-must-evaluate: rgba(255, 166, 0, 0.7);
    --color-no-feasible: rgba(255, 0, 0, 0.7);
    --color-connection-lost: rgba(255, 0, 0, 0.7);
}

textarea {
    resize: none;
}

/* ==========   GENERALES =============*/
html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    color: #416389;
}

html,
body,
select,
option {
    font: var(--size-font) var(--type-font);
    font-family: var(--type-font) !important;
    font-size: var(--size-font);
    font-weight: normal;
}

body:after,
#viewDiv:after,
#viewDiv:before {
    box-sizing: unset;
    outline: none
}

#map {
    height: 100vh;
}

#app {
    width: 100%;
    height: 100%;
    position: fixed
}

* {
    outline: none;
    border: none;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: ;
}

.text-small {
    font-size: small;
}

.z-index-400 {
    z-index: 400;
}

.z-index-600 {
    z-index: 600;
}

.z-index-800 {
    z-index: 800;
}

.z-index-1000 {
    z-index: 1000;
}

.z-index-1200 {
    z-index: 1200;
}

.pointer {
    cursor: pointer;
}

input,
select {
    color: var(--color-font) !important;
}

button:focus:not([role="tab"]),
input:focus,
select:focus {
    outline: none !important;
}

button:focus:not([role="tab"]),
select:focus {
    border: none !important;
    box-shadow: none !important;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.alert-badge {
    background-color: red;
    border-radius: 1rem;
    position: absolute;
    left: 8rem;
}

.d-flex-center {
    display: -ms-flexbox !important;
    display: flex !important;
    align-content: center;
    align-items: center;
}

.w-5 {
    width: 5%;
}

.w-10 {
    width: 10%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-25 {
    width: 25%;
}

.w-30 {
    width: 30%;
}

.w-33 {
    width: 33.33333333333333%;
}

.w-35 {
    width: 35%;
}

.w-40 {
    width: 40%;
}

.min-w-40 {
    width: 40%;
}

.w-45 {
    width: 45%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-65 {
    width: 65%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

.w-100 {
    width: 100%;
}

.h-10 {
    height: 10%;
}

.h-20 {
    height: 20%;
}

.h-30 {
    height: 30%;
}

.h-40 {
    height: 40%;
}

.h-50 {
    height: 50%;
}

.h-60 {
    height: 60%;
}

.h-70 {
    height: 70%;
}

.h-80 {
    height: 80%;
}

.h-90 {
    height: 90%;
}

.h-100 {
    height: 100%;
}

.m-0 {
    margin: 0
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: .25rem !important;
}

.mt-2 {
    margin-top: .5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.ml-a {
    margin-left: auto !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.ml-1 {
    margin-left: .25rem !important;
}

.ml-2 {
    margin-left: .5rem !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.ml-4 {
    margin-left: 1.5rem !important;
}

.ml-5 {
    margin-left: 3rem !important;
}

.mr-a {
    margin-right: auto !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.mr-1 {
    margin-right: .25rem !important;
}

.mr-2 {
    margin-right: .5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mr-4 {
    margin-right: 1.5rem !important;
}

.mr-5 {
    margin-right: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: .25rem !important;
}

.mb-2 {
    margin-bottom: .5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

/*===================input file ===================== */

.file-upload {
    color: white;
    background-position: bottom;
    max-width: 40px;
    max-height: 40px;
    height: 40px;
    width: 40px;
    overflow: hidden;
}

.file-upload.disabled {
    pointer-events: none;
    opacity: 0.65;
}

.file-upload input {
    position: relative;
    height: 46px;
    width: 43px;
    top: -43px;
    background: transparent;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    cursor: pointer;
}

.file-upload img {
    height: 40px;
    width: 40px;
}

/*===================input number ===================== */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    opacity: 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    opacity: 0;
}

.number-wrapper {
    position: relative;
}

.number-wrapper .arrow-up,
.number-wrapper .arrow-down {
    position: absolute;
    right: 5px;
    width: 7%;
    font-size: 10px;
    font-weight: bold;
    font-stretch: expanded;
    /*pointer-events: none;*/
    cursor: pointer;
}

/* 25B2 02C4 22C0 */

/* 25BC 02C5 22C1 */
.number-wrapper .arrow-up {
    top: -1px;
}

.number-wrapper .arrow-up::after {
    color: var(--color-font);
    content: "\25B2";
}

.number-wrapper .arrow-down {
    bottom: -1px;
}

.number-wrapper .arrow-down::after {
    color: var(--color-font);
    content: "\25BC";
}

/* input number without the arrows*/
/* Chrome, Safari, Edge, Opera */
/*input[type=number].not-arrows::-webkit-inner-spin-button,
input[type=number].not-arrows::-webkit-outer-spin-button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}
*/
/* Mozilla*/
/*.number-wrapper input[type=number], .number-wrapper input[type=number].not-arrows {
    -moz-appearance: textfield !important;
    -moz-appearance: textfield !important;
    -moz-appearance: textfield;
}*/

/*======================= input Color ==========================*/

input[type="color"].color-picker {
    -webkit-appearance: none;
    padding: 2px;
    border-radius: 50%;
    box-shadow: 1px 1px 2px black;
    width: 18px;
    height: 18px;
}

input[type="color"].color-picker::-webkit-color-swatch {
    border: orange;
    border-radius: 50%;
    padding: 0;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    border: blue;
    border-radius: 50%;
    padding: 0;
}

/*======================= input DataList ==========================*/
ul.datalist {
    list-style: none;
    position: fixed;
    z-index: 100;
    margin: 0;
    margin-top: .25rem;
    padding: 0;
    background: #e5e5e5;
    width: 200px;
    max-width: 200px;
    max-height: 150px;
    overflow: auto;
}

.datalist li.datalist-option {
    padding: .25rem .5rem;
    display: block;
    min-height: 20px;
    line-height: 16px;
    text-decoration: none;
    text-transform: none;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

.datalist li.datalist-option:hover {
    background: var(--bg-select);
    color: white;
    padding: .25rem .5rem;
}

#selectRoute {}

/**General**/

/* Tooltip container */
.tooltipAddress {
    position: relative;
    display: inline-block;
    z-index: 10005;
}

/* Tooltip text */
.tooltipAddress .tooltiptext {
    visibility: hidden;
    width: 400px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    /* Position the tooltip text */
    position: absolute;
    z-index: 10000;
    bottom: 125%;
    left: 30%;
    margin-left: -120px;
    /* Fade in tooltip */
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltipAddress .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltipAddress:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltipZones:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Tooltip container */
.tooltipZones {
    position: relative;
    display: inline-block;
    z-index: 10005;
}

/* Tooltip text */
.tooltipZones .tooltiptext {
    visibility: hidden;
    width: 400px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    /* Position the tooltip text */
    position: absolute;
    z-index: 10000;
    bottom: 22px;
    left: -75px;
    margin-left: -120px;
    /* Fade in tooltip */
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltipZones .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltipZones:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Permitir que los tooltips se salgan del modal de subproblemas */
#modalmodalToRouteSubproblems {
    overflow: visible;
    /* En vez de hidden */
}

/* Que el contenido tampoco los recorte */
#modalmodalToRouteSubproblems .modal-content {
    overflow: visible;
}

/* Sobrescribir el overflow forzado del body SOLO para este modal */
#modalmodalToRouteSubproblems .modal-body {
    overflow: visible !important;
    max-height: none;
    /* Opcional: si no querés límite de alto en el body */
    z-index: auto !important;
    position: static !important;
}

.align-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.align-right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.align-center {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.letrasblancas {
    color: white;
}

.text-red {
    color: var(--color-font-red);
}

.form-control {
    display: block;
    min-height: auto;
    padding: 0 .25rem;
    /*font-size: 1rem;*/
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: var(--modal-fields-bg);
    color: var(--modal-fields-color);
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.form-control.error {
    box-shadow: 0 0 3px 1px var(--color-border-error);
}

.form-control.warning {
    box-shadow: 0 0 3px 1px var(--color-border-warning);
}

.form-control:focus {
    color: #495057;
    background-color: var(--modal-fields-bg);
    border-color: #8bbafe;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .25);
}

.list-errors {
    max-height: 100px;
    overflow-y: auto;
}

.list-errors .error {
    color: var(--color-font-error);
}

.list-errors .warning {
    color: var(--color-font-warning);
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.no-user-select {
    user-select: none;
}

/*====================checkbox=====================*/

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]+span {
    display: inline-block;
    width: 19px;
    height: 19px;
    padding-top: 5px;
    /* align the label with the image*/
    vertical-align: middle;
    background-image: url("assets/Images/Check-box_OFF.svg");
    background-repeat: no-repeat;
    cursor: pointer;
}

input[type="checkbox"]:not([disabled])+span {
    cursor: pointer;
}

input[type="checkbox"]:checked+span {
    background-image: url("assets/Images/Check-box_ON.svg");
    background-repeat: no-repeat;
}

/** for checkbox into table filter **/
label.small input[type="checkbox"]+span {
    width: 14px;
    height: 15px;
}

input[type="checkbox"].cb-circle+span {
    border: gray solid 1px;
    background-color: #FFFFFF !important;
    background-image: none;
    -webkit-border-radius: 75px;
    width: 19px;
}

input[type="checkbox"].cb-circle:checked+span {
    background-image: url("assets/Images/Ico_clumna_color_ruta.svg");
    background-repeat: no-repeat;
}

input[type="checkbox"].cb-color+span {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid white !important;
    background-image: none;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    box-shadow: 1px 1px 2px black;
    width: 19px;
    height: 19px;
    background-color: lightgray;
}

input[type="checkbox"].cb-history-vehicle+span {
    display: inline-block;
    width: 40px;
    height: 19px;
    padding-top: 5px;
    /* align the label with the image*/
    vertical-align: middle;
    background-image: url("assets/Images/Ico_estado_OFF.svg");
    background-repeat: no-repeat;
    cursor: pointer;
}

svg.cb-history-vehicle {
    width: 40px;
    height: 19px;
    cursor: pointer;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 0.8px;
}

input[type="checkbox"].cb-history-vehicle:checked+span {
    background-image: url("assets/Images/ico-position-vehicle-on.svg");
    background-repeat: no-repeat;
}

/*input[type="checkbox"].cb-history-vehicle + span {
        display: inline-block;
        width: 40px;
        height: 19px;
        padding-top: 5px;*/

/* align the label with the image*/

/*vertical-align: middle;
        background-color: lightgray;
        -webkit-mask-image: url(assets/Images/Ico_estado_OFF.svg);
        mask-image: url(assets/Images/Ico_estado_OFF.svg);
        background-repeat: no-repeat;
        cursor: pointer;
    }

    input[type="checkbox"].cb-history-vehicle:checked + span {
        background-color: attr(tooltip);
        background-color: blue;
    }*/

/*--------------------------------------------------------------
}
Preloader CSS
--------------------------------------------------------------*/

#preloader {
    position: relative;
}

#preloader span {
    display: block;
    bottom: 0px;
    width: 9px;
    height: 5px;
    background: #21858c;
    position: absolute;
    -webkit-animation: preloader 1.5s infinite ease-in-out;
    -moz-animation: preloader 1.5s infinite ease-in-out;
    -ms-animation: preloader 1.5s infinite ease-in-out;
    -o-animation: preloader 1.5s infinite ease-in-out;
    animation: preloader 1.5s infinite ease-in-out;
}

#preloader span:nth-child(2) {
    left: 11px;
    -webkit-animation-delay: .2s;
    -moz-animation-delay: .2s;
    -ms-animation-delay: .2s;
    -o-animation-delay: .2s;
    animation-delay: .2s;
}

#preloader span:nth-child(3) {
    left: 22px;
    -webkit-animation-delay: .4s;
    -moz-animation-delay: .4s;
    -ms-animation-delay: .4s;
    -o-animation-delay: .4s;
    animation-delay: .4s;
}

#preloader span:nth-child(4) {
    left: 33px;
    -webkit-animation-delay: .6s;
    -moz-animation-delay: .6s;
    -ms-animation-delay: .6s;
    -o-animation-delay: .6s;
    animation-delay: .6s;
}

#preloader span:nth-child(5) {
    left: 44px;
    -webkit-animation-delay: .8s;
    -moz-animation-delay: .8s;
    -ms-animation-delay: .8s;
    -o-animation-delay: .8s;
    animation-delay: .8s;
}

@-webkit-keyframes preloader {
    0% {
        height: 5px;
        -webkit-transform: translateY(0px);
        background: #21858c;
    }

    25% {
        height: 30px;
        -webkit-transform: translateY(15px);
        background: #30aeb7;
    }

    50% {
        height: 5px;
        -webkit-transform: translateY(0px);
        background: #21858c;
    }

    100% {
        height: 5px;
        -webkit-transform: translateY(0px);
        background: #21858c;
    }
}

@-moz-keyframes preloader {
    0% {
        height: 5px;
        -moz-transform: translateY(0px);
        background: #21858c;
    }

    25% {
        height: 30px;
        -moz-transform: translateY(15px);
        background: #30aeb7;
    }

    50% {
        height: 5px;
        -moz-transform: translateY(0px);
        background: #21858c;
    }

    100% {
        height: 5px;
        -moz-transform: translateY(0px);
        background: #21858c;
    }
}

@-ms-keyframes preloader {
    0% {
        height: 5px;
        -ms-transform: translateY(0px);
        background: #21858c;
    }

    25% {
        height: 30px;
        -ms-transform: translateY(15px);
        background: #30aeb7;
    }

    50% {
        height: 5px;
        -ms-transform: translateY(0px);
        background: #21858c;
    }

    100% {
        height: 5px;
        -ms-transform: translateY(0px);
        background: #21858c;
    }
}

@keyframes preloader {
    0% {
        height: 5px;
        transform: translateY(0px);
        background: #21858c;
    }

    25% {
        height: 30px;
        transform: translateY(15px);
        background: #30aeb7;
    }

    50% {
        height: 5px;
        transform: translateY(0px);
        background: #21858c;
    }

    100% {
        height: 5px;
        transform: translateY(0px);
        background: #21858c;
    }
}

#spinners {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#preloader-background {
    background-color: #ffffff82;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}


/*======================= Loader ========================*/

.loading {
    height: 30px;
    width: 50px;
    background-image: url("assets/Images/Proceso_01.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 2s;
    animation-name: animate-loading;
    animation-direction: alternate-reverse;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-timing-function: linear;
}

@keyframes animate-loading {
    0% {
        background-image: url("assets/Images/Proceso_02.svg")
    }

    20% {
        background-image: url("assets/Images/Proceso_03.svg")
    }

    40% {
        background-image: url("assets/Images/Proceso_04.svg")
    }

    60% {
        background-image: url("assets/Images/Proceso_05.svg")
    }

    80% {
        background-image: url("assets/Images/Proceso_06.svg")
    }

    100% {
        background-image: url("assets/Images/Proceso_07.svg")
    }
}

/*===============================  Menu Floating  =============================*/

.floating {
    top: 2%;
    right: 1%;
    position: fixed;
}

.floating ul .no-list-style-type {
    list-style-type: none;
}

.logo-floating {
    height: 40px;
    width: 150px;
    /*background-image: url("assets/Images/fwl_logo_color.svg");
    background-repeat: no-repeat;*/
}

.list-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/*===============================  BOTONES  =============================*/

.btn-login {
    background-image: url(assets/Images/Login_btn_next_blanco.svg);
    background-repeat: no-repeat;
    color: white;
    background-position: bottom;
    width: 30px;
    height: 30px;
    align-self: flex-end;
}

.btn-fwl,
.btn-modal {
    color: white;
    background-position: bottom;
    max-width: 45px;
    max-height: 45px;
    height: 45px;
    width: 45px;
}

.btn-fwl:hover {
    transform: scale(1.25);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport)*/
}

.btn-alertas {
    background-image: url("assets/Images/btn_alerta.svg");
    background-repeat: no-repeat;
}

.btn-info-planning-tracking {
    max-width: 40px;
    max-height: 40px;
    height: 40px;
    width: 40px;
}

.btn-fwl-modal {
    color: white;
    max-width: 40px;
    max-height: 40px;
    width: 40px;
    height: 40px;
    margin-left: 5px;
}

.btn-table {
    max-width: 19px;
    max-height: 19px;
    width: 19px;
    height: 19px;
}

.btn-scenarios {
    background-image: url("assets/Images/btn_scenarios.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.btn-planning {
    background-image: url("assets/Images/btn_planificaciones.svg");
    background-repeat: no-repeat;
}

.btn-data-import {
    background-image: url("assets/Images/btn_importar-datos.svg");
    background-repeat: no-repeat;
}

.btn-info-planning,
.btn-info-planning-tracking {
    background-image: url("assets/Images/icono_planilla.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.btn-download-template {
    background-image: url("assets/Images/btn_download_template.svg");
    background-repeat: no-repeat;
}

.btn-products {
    background-image: url("assets/Images/btn_productos.svg");
    background-repeat: no-repeat;
}

.btn-orders {
    background-image: url("assets/Images/btn_pedidos.svg");
    background-repeat: no-repeat;
}

.btn-depots {
    background-image: url("assets/Images/btn_depositos.svg");
    background-repeat: no-repeat;
}

.btn-vehicles {
    background-image: url("assets/Images/btn_vehiculos.svg");
    background-repeat: no-repeat;
}

.btn-calculate-routes {
    background-image: url("assets/Images/btn_calcular-rutas.svg");
    background-repeat: no-repeat;
}

.btn-calculate-routes-gray {
    background-image: url("assets/Images/btn_calcular-rutas-gris.svg");
    background-repeat: no-repeat;
}

.btn-evaluate-solution {
    background-image: url("assets/Images/btn_evaluar.svg");
    background-repeat: no-repeat;
}

.btn-evaluate-solution-gray {
    background-image: url("assets/Images/btn_evaluar-gris.svg");
    background-repeat: no-repeat;
}

.btn-refresh {
    background-image: url("assets/Images/btn_refrescar.svg");
    background-repeat: no-repeat;
}

.btn-routes-details {
    background-image: url("assets/Images/btn_detalles-rutas.svg");
    background-repeat: no-repeat;
}

.server-processes {
    position: relative;
    display: flex;
    user-select: none;
}

.server-processes .btn-server-processes {
    background-image: url("assets/Images/btn_procesos-servidor.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.server-processes .btn-server-processes-gray {
    background-image: url("assets/Images/btn_procesos-servidor-gris.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.server-processes .btn-server-processes:hover {
    transform: none;
}

.server-processes #span-server-process {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 100;
    border-radius: 50%;
    background: white;
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
    bottom: 15%;
    left: -45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-processes #span-inline-process {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 100;
    border-radius: 50%;
    background: white;
    font-size: 10px;
    font-weight: bold;
    line-height: 20px;
    bottom: 15%;
    right: -45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.border-red {
    border: 2px solid #b40a0a;
    color: #b40a0a;
}

.border-gray {
    border: 2px solid #8c8e8f;
    color: #8c8e8f;
}

.server-processes #span-inline-process:hover,
#span-server-process:hover {
    transform: scale(1.1);
    color: #b40a0a;
}

.btn-save-planning {
    background-image: url("assets/Images/btn_guardar-planif.svg");
    background-repeat: no-repeat;
    color: white;
}

.btn-data-export {
    background-image: url("assets/Images/btn_exportar-datos.svg");
    background-repeat: no-repeat;
}

.btn-to-export {
    min-width: 120px;
    border-radius: 0.25rem;
    margin-left: auto;
    margin-bottom: 1rem;
    margin-right: auto;
    user-select: none;
    cursor: pointer;
}

.btn-data-import-excel,
.btn-data-export-to-excel {
    background-image: url("assets/Images/btn_planilla-excel.svg");
    background-repeat: no-repeat;
}

.btn-data-import-web-api,
.btn-data-export-to-web-api {
    background-image: url("assets/Images/Import-datos_btn_ERP.svg");
    background-repeat: no-repeat;
}

.btn-consolidate-planning {
    background-image: url("assets/Images/btn_consolidar.svg");
    background-repeat: no-repeat;
}

.btn-deconsolidate-planning {
    background-image: url("assets/Images/btn_desconsolidar.svg");
    background-repeat: no-repeat;
}

.btn-add,
.btn-new-planning,
.btn-add-tw {
    background-image: url("assets/Images/btn_new.svg");
    background-repeat: no-repeat;
}

.btn-add-tw {
    width: 15px;
    height: 25px;
}

.btn-new-planning,
.btn-add-time-window {
    max-height: 20px;
    height: 20px;
}

.btn-next {
    background-image: url("assets/Images/btn_next_verde.svg");
    background-repeat: no-repeat;
}

.btn-floating {
    max-width: 40px;
    max-height: 40px;
    height: 40px;
    width: 40px;
    margin-bottom: 5px;
}

.btn-tracking {
    background-image: url("assets/Images/btn_Seguimiento-planificacion.svg");
    background-repeat: no-repeat;
}

.btn-module-planning {
    background-image: url("assets/Images/btn_modúlo_planificación.svg");
    background-repeat: no-repeat;
}

.btn-configuration {
    background-image: url("assets/Images/btn_Config.svg");
    background-repeat: no-repeat;
}

.btn-new {
    background-image: url("assets/Images/Pedidos_btn_new.svg");
    background-repeat: no-repeat;
}

.btn-edit {
    background-image: url("assets/Images/Pedidos_btn_editar.svg");
    background-repeat: no-repeat;
}

.btn-filter {
    background-image: url("assets/Images/Pedidos_btn_filtro.svg");
    background-repeat: no-repeat;
}

.btn-show-info {
    background-image: url("assets/Images/Pedidos_btn_seleccion.svg");
    background-repeat: no-repeat;
}

.btn-more-info {
    background-image: url("assets/Images/btn_mas-info_verde.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 30px;
}

.btn-warning-data {
    background-image: url("assets/Images/btn-warning-data.svg");
    background-repeat: no-repeat;
    height: 17px;
}

.btn-error-data {
    background-image: url("assets/Images/btn-error-data.svg");
    background-repeat: no-repeat;
    height: 17px;
}

.btn-delete {
    background-image: url("assets/Images/Pedidos_btn_eliminar-seleccion.svg");
    background-repeat: no-repeat;
}

.btn-delete-tw {
    background-image: url("assets/Images/btn-delete.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 14px;
}

.btn-delete-plan {
    background-image: url("assets/Images/btn-delete.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    width: 17px;
    height: 17px;
}

.btn-duplicate-plan {
    background-image: url("assets/Images/btn_duplicate.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: transparent;
    width: 17px;
    height: 17px;
}

.btn-logout {
    background-image: url("assets/Images/btn_logout.svg");
    background-repeat: no-repeat;
}

.btns-consolidate-error {
    padding: 0;
    margin: 0;
    display: inline-flex;
    height: 30px;
}

.btn-consolidate-error {
    padding: 0;
    margin: 0;
    overflow: hidden;
    color: white;
    height: inherit;
}

.btn-green {
    background-color: var(--btn-green);
}

.btn-red {
    background-color: var(--btn-red);
}

.btn-gray {
    background-color: var(--btn-gray);
}

.btn-undo {
    background-image: url("assets/Images/undo.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 18px;
}

.btn-undo-orders-selected {
    background-image: url("assets/Images/Ico_borrar_seleccion.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 20px;
    width: 20px;
}

.icon-done-walking {
    background-image: url("assets/Images/done-walking.png");
    background-repeat: round;
    filter: invert(21%) sepia(65%) saturate(590%) hue-rotate(164deg) brightness(98%) contrast(94%);
}

.icon-more-info {
    background-image: url("assets/Images/Pedidos_icon_mas-info.svg");
    background-repeat: no-repeat;
}

td .icon-more-info {
    height: 17px;
}

.icon-table {
    width: 20px;
    display: inline-grid;
    height: 20px;
}

.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.modal-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

.icon-attended {
    background-image: url("assets/Images/Ico_estado-pedido_ATENDIDO.svg");
    background-repeat: no-repeat;
}

.icon-not-attended {
    background-image: url("assets/Images/Ico_estado-pedido_NO-atendido.svg");
    background-repeat: no-repeat;
}

.icon-pending {
    background-image: url("assets/Images/Ico_estado-pedido_PARA-HACER.svg");
    background-repeat: no-repeat;
}

.ico-error,
.ico-warning {
    height: 80px;
}

.ico-open-info {
    background-image: url("assets/Images/ico-zoom-in.svg");
    background-repeat: no-repeat;
    margin: -1rem -1rem -1rem auto;
    height: 20px;
    width: 20px;
}

.icon-hour {
    background-image: url(assets/Images/hour.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: inherit;
    /*background-size: contain;*/
}

.btn-pin {
    background-image: url("assets/Images/icon-pin.svg");
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
}

.btn-pin.active {
    background-image: url("assets/Images/icon-pin-active.svg");
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
}

.btn-pin-local {
    background-image: url("assets/Images/icon-pin-local.svg");
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
}

.btn-pin-local.active {
    background-image: url("assets/Images/icon-pin-local-active.svg");
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
}

/*===============================  CAROUSEL  =============================*/
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) sepia(1) hue-rotate(180deg) brightness(1.5) saturate(3);
}

.carousel-inner .carousel-item img {
    max-width: 100%;
    max-height: 90vh;
    margin: auto;
    object-fit: contain;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    margin-bottom: 40px;
    /* Espacio para los botones */
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    z-index: 1;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-modal-content {
    position: relative;
}

.carousel-container {
    height: 100%;
}

.close-button {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1;
    background-color: transparent;
    border: none;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
}

.close-button:hover {
    cursor: pointer;
}

.button-clear {
    background-color: white;
}

/* ================= toltips ==============*/
/*
.btn-tooltip {
    position: relative;
    display: inline-block;
    opacity: initial;
}
 .btn-tooltip .tooltip-text {
        visibility: hidden;
        width: max-content;
        background-color: white;
        color: var(--color-font);
        text-align: center;
        border-radius: 3px;
        padding: 6px;
        position: absolute;
        z-index: 1;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .btn-tooltip:hover .tooltip-text {
        visibility: visible;
    }

    .btn-tooltip .tooltip-text.top {
        bottom: 110%;
        left: -10%;
    }

    .btn-tooltip .tooltip-text.left {
        top: 5px;
        right: 110%;
    }*/

/*=============== LOGIN ===============*/

.background-login {
    background-image: url("assets/Images/Login_bkg.jpg");
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-fallback-card {
    background: rgba(0, 0, 0, .6);
    color: white;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.login_select-idiom {
    background: #03285c;
    color: white;
    border-radius: 5%;
    top: 2%;
    right: 2%;
    position: fixed;
}

.select-idiom {
    list-style: none;
    display: block;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    z-index: 2;
}

.select-idiom.transparent {
    background-color: transparent;
    border: 1px solid white;
}

.select-idiom__list {
    position: fixed;
    padding: 0 !important;
    margin-top: .5rem;
    list-style: none;
    display: block;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    z-index: 2;
}

.select-idiom__option {
    color: var(--color-font);
    padding: 0 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-between;
    align-items: center;
    z-index: 2;
    cursor: pointer;
}

.select-idiom__option.selected {
    cursor: pointer;
}

.card-login {
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    align-items: flex-end;
    -ms-flex-direction: column;
    word-wrap: break-word;
    background-clip: border-box;
    background-image: url("assets/Images/Login_popup_bkg.png");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1rem;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.card-login figure {
    margin-bottom: 20%;
    width: 50%;
}

.form-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-white {
    /*background-image: url("assets/Images/Login_logo_blanco.svg");*/
    /*background-repeat: no-repeat;*/
    width: 100%;
    height: 100%;
}

/*========================  FOOTER ==========================*/

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.container-footer {
    background: white;
    border-radius: 10px 10px 0 0;
    height: 60px;
    padding-left: 1%;
    padding-right: 1%;
    margin-left: 2%;
    margin-right: 2%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

#txtPlanName {
    border-bottom: solid #18456b 2px;
    color: #18456b;
    font-size: large;
}

.msgfooter {
    border-radius: 10px 10px 0 0;
    margin-right: 2%;
    margin-left: 2%;
    min-height: 30px;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: large;
    margin-bottom: -.5rem;
    padding-bottom: .75rem;
    background-color: rgba(25, 87, 179, 0.7);
}

.msgfooter.msg-alert,
.msgfooter.msg-no-feasible {
    background-color: var(--color-no-feasible);
}

.msgfooter.msg-must-evaluate {
    background-color: var(--color-must-evaluate);
}

.msgfooter.msg-connection-lost {
    background-color: var(--color-connection-lost);
    font-weight: bold;
    text-align: center;
}

.msg-footer-inline-alert {
    flex: 1;
    text-align: center;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

.msgfooter button {
    background-color: transparent;
}

.msg-footer-center {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

/*=============== Modal Components ===============*/

.modal input[type="text"],
.modal input[type="number"] .modal input[type="tel"],
.modal select,
.modal textarea,
.modal-draggable input[type="text"],
.modal-draggable input[type="number"],
.modal-draggable input[type="tel"],
.modal-draggable select,
.modal-draggable textarea,
.popup input[type="text"],
.popup input[type="number"],
.popup select,
.popup textarea {
    background-color: var(--modal-fields-bg);
    color: var(--modal-fields-color)
}

/*=============== Modal Normal ===============*/

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    overflow: hidden;
    background: rgba(161, 160, 160, 0.5);
}

.no-user-select {
    user-select: none;
}

.modal.show,
.modal-data.show {
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
}

.modal .modal-dialog {
    margin-right: 0;
    margin-left: 0;
    min-width: min-content;
    max-width: 95%;
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    -ms-flex-direction: column;
    flex-direction: column;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
    min-height: 200px;
    min-width: 200px;
}

.modal-dialog {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}

@media(max-width: 768px) {
    .modal-dialog {
        min-height: calc(100vh - 20px);
    }
}

.popup {
    cursor: default;
}

.modal-header,
.popup-header {
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: flex-start;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
    height: 30px;
    background-color: #18456b;
    color: white;
    align-items: center;
    flex-shrink: 0;
    padding: 1rem 1rem;
}

.modal-header button,
.popup-header button {
    background-color: transparent;
    font-weight: 800;
    font-size: 20px;
    opacity: .75;
}

.modal-header .close {
    margin-top: -10px;
    color: #fff;
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-header button:hover,
.popup-header button:hover {
    opacity: 1;
}

.title-center {
    margin-left: auto;
    text-align: center;
}

.row-title,
.row-item {
    background-color: var(--row-item);
    color: var(--color-font);
    padding-left: .25rem;
}

#Planning {
    width: 800px;
    /* o el valor que te funcione */
    max-width: 800px;
}

.row-item.planning {
    background-color: var(--bg-row-item-planning);
}

.row-item.planning.consolidated {
    background-color: var(--bg-row-item-planning-consolidated);
}

.row-item {
    cursor: pointer;
    user-select: none;
    font-size: larger;
    min-height: 30px;
}

.row-item.planning.consolidated:not(:hover) {
    font-weight: bold;
}

.row-item button.btn-delete-plan,
.row-item button.btn-duplicate-plan {
    display: none;
}

.row-item:hover button.btn-delete-plan,
.row-item:hover button.btn-duplicate-plan {
    display: block;
}

.row-title {
    font-weight: bold;
}

.order.row-title {
    background-color: var(--bg-row-title);
}

div.order.row-title {
    font-size: small;
}

.order.row-item {
    background-color: var(--bg-row-item);
}

tr.order td,
tr.order th {
    border: 1px solid white;
}

.row-list-item {
    background-color: var(--row-item);
    color: var(--color-font);
    font-size: large;
    user-select: none;
    cursor: pointer;
    padding-left: .25rem;
}

.selected,
.row-item:hover,
.row-item.planning.consolidated:hover,
.row-list-item:hover {
    background-color: var(--bg-select);
    color: white;
}

.modal-title {
    margin-top: -10px;
    font-size: 16px;
}

.modal .modal-body {
    padding: 5px 20px 20px;
    background: white;
    overflow: auto;
}

.popup-picker {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: row;
    font-size: 8px;
}

.popup-picker span {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    user-select: none;
    cursor: pointer;
    min-height: 8px;
}

.popup-picker span:last-child {
    border-right: 1px solid white;
}

.popup-picker .selected {
    /*background-color: var(--modal-header-bg-color) !important;*/
    border-top: none;
    border-bottom: none;
}

.popup-body {
    padding: 5px 10px;
    background: white;
    overflow-y: auto;
    max-height: 280px;
    color: var(--color-font);
}

.logo-barra-modal {
    background-image: url("assets/Images/fwl_logo_blanco_transp_barra_inferior.svg");
    background-repeat: no-repeat;
    max-width: 90px;
}

.modal-footer {
    background-color: #c0ccd8;
    padding: 0;
}

.modal-footer a {
    color: white;
    height: 15px;
    width: 100px;
}

.modal-enter {
    opacity: 0;
}

.modal-leave-active {
    opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Add Zoom Animation */

.animate-modal {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/*=============== Modal Draggable ===============*/

.modal-draggable {
    position: fixed;
    background: white;
    top: 20%;
    z-index: 500;
    /*overflow: hidden;*/
    outline: 0;
    -webkit-box-shadow: -1px 0px 5px 0px rgba(0, 0, 0, 0.56);
    -moz-box-shadow: -1px 0px 5px 0px rgba(0, 0, 0, 0.56);
    box-shadow: -1px 0px 5px 0px rgba(0, 0, 0, 0.56);
}

.modal-draggable.focus {
    z-index: 600;
}

.modal-draggable.resizable {
    background-position: top left;
    width: 150px;
    height: 150px;
    padding: 0;
    /*border: 1px solid #003eff;*/
    font-weight: normal;
    position: absolute;
}

.modal-draggable .modal-body {
    height: calc(100% - 50px);
    position: relative;
    overflow: auto;
    padding: .25rem 1rem;
}

.modal-draggable .modal-body .table-filter-container {
    /*position: relative;*/
    height: calc(100% - 70px);
}

.modal-draggable .modal-body .table-filter-container .table-scrollbar {
    /*position: relative;*/
    height: calc(100% - 25px);
    max-height: unset;
}

.modal-draggable .modal-body .table-visits-container {
    /*position: relative;*/
    height: calc(100% - 150px);
}

.modal-draggable .modal-body .table-visits-container .table-scrollbar {
    /*position: relative;*/
    height: 100%;
    max-height: unset;
}

/*====================== MODAL Alertas ===================*/

.modal-error {
    background-image: url("./../images/Msj_ico_error.svg");
    background-repeat: no-repeat;
}

.modal-warning {
    background-image: url("./../images/Msj_ico_warning.svg");
    background-repeat: no-repeat;
}

/* =============== input clearable =============== */

.clearable {
    position: relative;
    display: flex;
    align-items: center;
    height: 20px
}

.clearable input[type=text] {
    padding-right: 24px;
    width: 100%;
    box-sizing: border-box;
}

.clearable__clear {
    position: absolute;
    right: 0;
    padding: 0 8px;
    font-style: italic;
    font-weight: bold;
    font-size: medium;
    user-select: none;
    cursor: pointer;
    color: #416389;
}

/*======================= Table ==============================*/

.table {
    border-radius: 3px;
    background-color: #fff;
    width: 100%;
    text-align: center;
}

.table th {
    color: var(--color-font);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.table tr:nth-child(even) {
    background-color: #f1f1f1;
}

.table tbody tr {
    color: var(--color-font);
    user-select: none;
}

.table tr td {
    padding: 2px;
}

.table tr.selected td,
.row-item:hover td {
    background-color: #9ac14d;
}

.table th.sticky-right,
.table td.sticky-right {
    position: sticky;
    background: white;
    right: 0;
}

.table tr:nth-child(even) td.sticky-right {
    background: #f1f1f1;
}

.table tr:nth-child(even).selected td.sticky-right {
    background: #9ac14d;
}

.div-table-footer {
    background-color: #416389;
    color: #fff;
}

.table-filter th {
    color: var(--color-font-transparent);
    user-select: none;
    border-bottom: 2px solid var(--color-font) !important;
    white-space: nowrap;
}

.table-filter th.active {
    color: var(--color-font);
}

.table-filter th.active .arrow {
    opacity: 1;
}

.table-resizable {
    width: max-content;
    min-width: 99%;
}

.table-resizable .scrollbar-thead-sticky {
    position: sticky;
    top: 0;
    background-color: #fff;
}

.table-resizable thead.thead-sticky tr th {
    position: sticky;
    top: 0;
    background-color: #fff;
}

.table-resizable thead.thead-sticky tr th div {
    bottom: 0px;
    right: 0px;
    width: 2px;
    height: 50%;
    background: var(--color-font);
    position: absolute;
    cursor: col-resize;
}

.table-resizable .order.scrollbar-thead-sticky {
    background-color: var(--bg-row-title);
}

.table-resizable .order.scrollbar-thead-sticky div {
    bottom: 0px;
    right: 0px;
    width: 2px;
    background: white;
    position: absolute;
    cursor: col-resize;
}

.table-no-attended td {
    white-space: nowrap;
}

.arrow {
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 0;
    margin-left: 5px;
    opacity: 0.66;
}

.arrow.asc {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #416389;
}

.arrow.dsc {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #416389;
}

/* ========== Scroll ============ */

.table-scrollbar {
    overflow-y: auto;
    overflow-x: auto;
    /*max-height: 300px;
    min-height: 100px;*/
}

.table-scrollbar::-webkit-scrollbar-track,
.table-scrollbar-x::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.popup-body::-webkit-scrollbar-track,
.fc-scroller.fc-scroller-liquid-absolute::-webkit-scrollbar-track,
.multiselect__tags::-webkit-scrollbar-track,
ul.datalist::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #F5F5F5;
    border-radius: 10px;
}

.table-scrollbar::-webkit-scrollbar,
.table-scrollbar-x::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.popup-body::-webkit-scrollbar,
.fc-scroller.fc-scroller-liquid-absolute::-webkit-scrollbar,
.multiselect__tags::-webkit-scrollbar,
ul.datalist::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background-color: #F5F5F5;
}

.table-scrollbar::-webkit-scrollbar-thumb,
.table-scrollbar-x::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.popup-body::-webkit-scrollbar-thumb,
.fc-scroller.fc-scroller-liquid-absolute::-webkit-scrollbar-thumb,
.multiselect__tags::-webkit-scrollbar-thumb,
ul.datalist::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #416389;
}

/* .table-orders td {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 0;
    } */
/*=========== Map Legend ==========*/
.map-legend {
    position: fixed;
    right: 1%;
    bottom: 90px;
    display: flex;
    justify-content: space-between;
    min-width: 150px;
    color: black;
}

.map-legend figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 .25rem;
}

.map-legend figure label {
    width: 60px;
    text-align: center;
}

.map-legend figure img {
    width: 40px;
    height: 40px;
}

.esri-ui-corner .esri-expand .esri-widget--panel,
.esri-ui-corner .esri-expand .esri-widget--panel-height-only,
.esri-ui-corner .esri-component>.esri-widget--panel,
.esri-ui-corner .esri-component.esri-widget--panel {
    height: 690px !important;
}

/*=========== drag and drog table*/
.flip-list-move {
    transition: transform 1s;
}

.sortable-chosen {
    background-color: var(--bg-choosen) !important;
}

.sortable-chosen.sortable-ghost {
    background-color: var(--bg-choosen) !important;
    opacity: 0;
}

/* Flatpicker Custom Styles*/
.flatpickr-calendar.animate.open {
    max-width: 120px;
}

#popupOrder7600,
#popupOrder7600 .popup-body {
    display: inline-block;
    max-width: 400px;
}

#popupOrder7600 .popup-body div span {
    width: 72px;
    text-align: left;
}

.popUpOrder-input {
    width: 230px;
    max-width: 230px;
    min-width: 50%;
    margin-left: 15px;
}

.vr-handle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 14px;
    height: 14px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, .2) 50%);
    border-top-left-radius: 3px;
}

.modal-draggable {
    position: fixed;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-header,
.modal-footer {
    cursor: move;
}

.resize-handles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.resize-handle {
    position: absolute;
    pointer-events: auto;
    background-color: transparent;
}

.resize-handle-e {
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    cursor: e-resize;
}

.resize-handle-s {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    cursor: s-resize;
}

.resize-handle-se {
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: se-resize;
}

.resize-handle-w {
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    cursor: w-resize;
}

.resize-handle-n {
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    cursor: n-resize;
}

.resize-handle-sw {
    bottom: 0;
    left: 0;
    width: 16px;
    height: 16px;
    cursor: sw-resize;
}

.resize-handle-ne {
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: ne-resize;
}

.resize-handle-nw {
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    cursor: nw-resize;
}

.modal-enter-active,
.modal-leave-active {
    transition: opacity 0.3s;
}

.modal-enter-from,
.modal-leave-to {
    opacity: 0;
}

/* === Fix: evitar crecimiento infinito en multiselects === */
.multiselect__tags {
    max-height: 70px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* ----------- Corregir overflow en modales ----------- */

/* Mantiene el header fijo y visible */
.modal.show .modal-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: #1f4e79;
    color: white;
}

/* Cuerpo con scroll independiente */
.modal.show .modal-body {
    overflow-y: auto !important;
    flex: 1 1 auto;
    max-height: calc(100vh - 220px);
    background: white;
    position: relative;
    z-index: 1;
}

.modal.show .modal-body table {
    position: relative;
    z-index: 1;
}

.modal.show .modal-body table thead th {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 10;
}