body {
    background-color: rgb(247, 242, 236);
    font-family: Arial;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    overflow: hidden;
}

.d-none {
    display: none !important;
}


.d-block {
    display: block;
}

/* Estilos de modal detalle pedidos */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 80%;
    height: 90%;
    display: none;
    z-index: 9999;
    box-shadow: 0 0 7px rgba(0, 0, 0, .45);
    border-radius: 8px;
}

.modal.is-open {
    display: block;
}


.modal__content {
    position: absolute;
    inset: 0;
    overflow: auto;
    padding: 32px 24px;
    animation: modalIn .18s ease-out;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #ffffff;
}


.modal_close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 26px;
    line-height: 1;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-block;
    color: rgba(0, 0, 0, 0.434);
    transform: scaleX(1.4);
    transform-origin: center;
    font-weight: normal;
}

body.no-scroll {
    overflow: hidden;
}

@keyframes modalIn {
    from {
        opacity: .6;
        transform: scale(.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.order-card {
    width: min(720px, 100%);
    color: #111;
}

.order-title {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}


.order-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 12px;
    row-gap: 8px;
}

.order-grid .label {
    font-size: 14px;
    color: black;
    font-weight: 700;
    text-align: left;
}

.order-grid .value {
    font-weight: 400;
    font-size: 14px;
    text-align: left;
}

.obs-title {
    margin-top: 16px;
    margin-left: 8px;
    font-weight: 700;
    text-align: left;
}

.obs-box {
    margin-top: 6px;
    border: 1px solid #cfd4dc;
    border-radius: 4px;
    min-height: 120px;
    padding: 0;
    background: #fff;
    color: #333;
    white-space: pre-wrap;
}

/* Estilo para el preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999999999;
}

/* Estilo para el spinner */
.spinner {
    width: 75px;
    height: 75px;
    border: 11px solid white;
    border-top: 11px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animación de giro */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* Preloader para carga en el mapa  */

.preloader-map {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);

}

svg {
    width: 50px;
    stroke: #ffffff;
}


.cursor-pointer {
    cursor: pointer;
}


.cursor-pointer:hover {
    background-color: #c8ced6;
}

.cursor-pointer-map:hover {
    background-color: transparent;
}

.container-transport {
    /* margin-top: 2 */
    background-color: white;
    border-top: 4px solid rgb(0, 128, 64);
    box-shadow: 0 0 10px #6b949d;
}

.container-transport-calendar {
    padding: 15px 5px;
}

.fa-calendar {
    padding-right: 5px;
    color: rgb(0, 128, 64);
    font-size: 20px;
}



.container-transport-available {
    display: flex;
    justify-content: space-between;
    /* color: #fff;  */
    /* background-color: rgb(0,128,64); */
    /* background-color: #1c3550; */
    padding: 15px 15px;
    font-weight: bold;
}


.user:hover {
    background-color: #d4d9dfec;
}



.container-transport-status {
    padding: 15px 5px;
}

.list-container {
    height: 400px;
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: auto;
    padding-bottom: 30px;
}


.search-container {
    position: relative;
    display: inline-block;
    padding: 20px 10px;
}

.search-container input {
    width: 250px;
    padding: 10px 10px 10px 35px;
    border-radius: 20px;
    border: 1px solid #aaa9b6bc;
    background-color: #f5f5f5;
    outline: none;
}

.search-container i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 14px;
}



.search-container {
    position: relative;
    display: inline-block;
}

.search-container select {
    width: 150px;
    padding: 10px 36px 10px 12px;
    border-radius: 20px;
    border: 1px solid #aaa9b6bc;
    background-color: #f5f5f5;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
}

select::-ms-expand {
    display: none;
}

.search-container #clean-category {
    padding: 0;
    position: absolute;
    top: 20px;
    right: -9px;
}


#clean-category {
    font-size: 30px;
    font-weight: normal;
    font-style: italic;
    color: #aaa9b6fe;
    cursor: pointer;
}


.buttons-menu {
    position: absolute;
    top: 25px;
    right: 1px;
    font-size: 30px;
}

.buttons-menu a {
    text-decoration: none;
    background: #6b949d;
    padding: 10px 15px;
    color: #ffffff;
    cursor: pointer;
}


.user {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* border-bottom: 1px solid #ddd; */
    background: #ffffff;
}

.user.highlight {
    background-color: rgba(0, 128, 64, 0.233);
    /* background-color: #c8ced6; */
}

.user.highlight1 {
    background: #6b949d;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 30px;
    /* color: #555 !important; */
    transform: rotateY(180deg);
    margin-right: 10px;
}


.user-info {
    flex-grow: 1;
}


.user-name {
    font-weight: bold;
    color: #333;
}

.user-details {
    font-size: 12px;
    color: #777;
}


.avatar-active {
    background-color: rgba(109, 110, 105, 0.415);
    border: 2px solid rgb(255, 255, 255) !important;
    color: #ff9102 !important;
}

.user-name-active {
    color: rgba(255, 255, 255, 0.624);
}

.user-details-active {
    color: rgba(255, 255, 255, 0.624);
}

/* Ajustar el layout */
.main-container {
    display: flex;
    height: 100vh;
    width: 100%;
    padding: 10px 0 0 10px;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.right-content {
    flex-grow: 1;
}


.searh-parameter {
    padding: 15px 10px;
}

.searh-parameter input {
    border-radius: 10%;
}



/* Contenedor de la ruta */
.content-route {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Columna izquierda (información del usuario) */
.content-route-line {
    width: 30%;
    background: white;
    /* padding: 10px; */
}

/* Columna derecha (mapa) */
.content-route-mapa {
    width: 70%;
    position: relative;
}

/* Encabezado sobre el mapa */
.content-route-mapa-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: #1c3550;
    color: white;
    display: flex;
    justify-content: space-around;
    z-index: 10;
    padding: 5px;
}

.top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/* Métricas dentro del encabezado */
.metric {
    text-align: center;
}

.metric span {
    font-size: 14px;
    display: block;
}

/* Ajustar la imagen del mapa para que no quede tapada */
#google-maps {
    width: 100%;
    height: 100%;

}

#google-maps img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Contenedor de indicadores */
.content-route-indicators {
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 5px;
}

/* Estilo de cada indicador */
.indicator {
    width: 50%;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 10px 5px;
}

/* Íconos */
.indicator i {
    font-size: 20px;
    margin-right: 8px;
}

/* Ajuste del texto dentro del indicador */
.indicator span {
    display: block;
    font-size: 12px;
}

.fa-indicator {
    color: rgb(0, 128, 64);
    font-size: 22px !important;
}


.active-route {
    padding: 10px;
    background-color: rgba(0, 128, 64, 0.233);
    /* background-color: #c8ced6; */
}

.active_route_time {
    /* text-align: right !important; */
    margin-left: 80px;
}

.timeline-main {
    position: relative;
    height: 300px;
    overflow-y: auto;
    padding: 0 10px 30px 10px;
}

.badge_status {
    position: absolute;
    top: 0;
    right: 0;
}

.badge_sucess {
    background: rgb(0, 128, 64);
}


.badge_danger {
    background: rgb(255, 0, 0);
}


ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background: #b5bcc3;
    display: inline-block;
    position: absolute;
    left: 5px;
    width: 4px;
    height: 100%;
    z-index: 400;
}

ul.timeline>li {
    margin: 15px 0;
    padding-left: 20px;
    position: relative;
}

ul.timeline>li:before {
    content: '';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #b5bcc3;
    left: -43px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

ul.timeline>li:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    left: -37px;
    top: 6px;
    width: 8px;
    height: 8px;
    z-index: 500;
}

ul.timeline li.green:after {
    background: rgb(0, 128, 64);
}

ul.timeline li.red:after {
    background: red;
}


.status-success {
    color: rgb(0, 128, 64) !important;
    font-weight: bold;
}

.status-danger {
    color: rgb(255, 0, 0) !important;
    font-weight: bold;
}

.text-success {
    border: 2px solid rgb(0, 128, 64);
    color: rgb(0, 128, 64);
}

.text-info {
    color: #6b949d;
    border: 2px solid #6b949d;
}


.text-danger {
    color: #fc0a0a;
    border: 2px solid #fc0a0a;
}

.text-exception {
    border: none;
}


.detalles_pedidos-page {
    height: 100vh;
    background-color: white;
    width: 100%;
    max-width: 100%;
    /* display: flex; */

    /* align-items: start; */
}


.panel-title {
    padding-top: 20px;
    text-align: left;
    /* font-size: 20px; */
}

.detail-page-item {
    padding: 20px;
    /* background-color: red; */
}

.evidencias {
    width: 1000px;
    border: 1px solid rgba(78, 93, 86, 0.52);
    height: 200px;

}

.pedido_detalles {
    background-color: white;
}


.marker-logo-container {
    display: flex;
    justify-content: center;
}

.marker-logo {
    width: 50px !important;
}

#button-marker {
    background-color: #6b949d;
    border: 2px solid #6b949d;
    color: white;
    padding: 5px;
    border-radius: 5px;
}


.finish_flag {
    width: 30px;
}