﻿@font-face {
    font-family: 'rubik-regular';
    src: url(../shared/font/Rubik-Regular.ttf)
}

* {
    font-family: 'rubik-regular' !important;
}

.btn-ayuda:hover {
    background: #EB5160;
    color: white !important;
    transition: 0.5s;
}

.btn-estado {
    border-radius: 5px;
    background: #fff;
    color: #4361EE;
    border: 1px solid #4361EE;
    font-weight: 500;
    cursor: pointer
}

    .btn-estado:hover {
        background: #4361EE !important;
        color: #fff !important;
        transition: 0.5s;
    }

.btn-evidencias:hover {
    background: #fff;
    color: #4361EE !important;
    transition: 0.5s;
}

.btn-evidencias {
    border: 1px solid #4361EE;
    background: #4361EE;
    color: #fff;
    border-radius: 5px !important;
}

.btn-evidencias-contrario {
    border-radius: 5px !important;
    background: #fff;
    color: #4361EE;
    border: 1px solid #4361EE;
}

    .btn-evidencias-contrario:hover {
        background: #4361EE !important;
        color: #fff !important;
        transition: 0.5s;
    }

@media only screen and (min-width:768px) {
    .item-header {
        top: 20%;
    }
}

@media only screen and (max-width:768px) {
    .item-header {
        top: 25%;
    }

    .nombre-origen {
        font-size: 1rem;
    }

    .rapiboy-2024::after {
        content: "\A";
        white-space: pre;
    }

    .cod-seguimiento {
        display:none;
    }
}

@media only screen and (max-width:500px) {
    .modal-content {
        width: 100%;
        border-radius: 10px 10px 0 0 !important;
    }

    .modal {
        align-items: end !important;
    }

    .ayuda-modal {
        display: none !important;
    }

    .image-popup img {
        height: 100px !important;
    }
}

@media only screen and (min-width:501px) {
    .modal-content {
        width: 90%;
    }

    .modal {
        align-items: center;
    }
}

@media only screen and (max-width:992px) {
    .container {
        grid-template-columns: 1fr !important;
    }

    .detail, .map, .info, .repartidor, .opinion {
        grid-column: 1 / 2;
    }

    .box {
        width: 100%;
    }

    .item-tracking {
        margin-bottom: 1rem;
    }
}

@media only screen and (min-width:992px) {
    .opinion-footer {
        display: none;
    }

    .container {
        grid-template-columns: 1fr 1fr;
    }

    .detail {
        grid-column: 1 / 2;
    }

    .map, .info, .repartidor, .opinion {
        grid-column: 2 / 3;
    }

    .box {
        margin-top: .25rem;
    }

    .opinion {
        border-radius: 10px;
    }

    .full-width {
        grid-column: span 2;
    }
}

.check-tracking {
    display: flex;
}

    .check-tracking:before {
        content: url('../../content/publica5/assets/img/check.jpg');
        margin-right: 25px;
        vertical-align: middle;
        width: 20px;
        height: 20px;
    }

.footer-estados5 {
    display: block !important;
}

.m-scroll-top {
    display: none !important;
}

.perfil {
    height: 200px;
    background: linear-gradient(to top, white 0%, white 60%, #E8ECFF 40%, #E8ECFF 100% );
}

.progreso-container {
    display: flex;
}

    .progreso-container::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #4361EE;
        z-index: 0;
    }

.progreso {
    background-color: #E8ECFF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    font-size: 20px;
    border: 2px solid #4361EE;
}

    .progreso svg path {
        fill: #4361EE;
    }

.svg-completado {
    fill: #fff !important;
}

.completado {
    background-color: #4361EE;
}

.codigoVerificacion {
    background: #E8ECFF;
    border-radius: 5px;
}

/*.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}*/

/*.modal-dialog {
    max-width: 100%;
    margin: 1.75rem auto;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}*/

.modal #mapTiempoReal {
    height: 500px;
}

.btn-ayuda:hover .svg-ayuda .svg-path {
    fill: #fff;
    transition: fill .5s;
}

.mapa-container {
    border: 2px solid white;
}

    .mapa-container:hover {
        border: 2px solid #4361EE !important;
    }

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.box {
    margin-top: .75rem;
}

.header {
    border-bottom: 1px solid #4361EE !important;
    border-radius: 10px 10px 0 0;
    border: 2px solid #4361EE;
}

.header-title {
    color: #161616;
    font-weight: 600;
    font-size: 24px;
}

.body {
    border-top: 1px solid #4361EE !important;
    border-radius: 0 0 10px 10px;
    padding: 35px 15px;
    border: 2px solid #4361EE;
}

.mapa-container {
    border-radius: 10px;
}

.mapa-img {
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 10px;
    z-index: -10;
    /*filter: brightness(120%);*/
    opacity: .2;
}

.mapa-logo {
    width: 40px;
}

.mapa-text {
    color: #4361EE;
    font-size: 20px;
    font-weight: 600;
}

.rapiboy-2024 {
    font-weight: 600;
}

.image-popup img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.linea-activa {
    border-left: 4px solid #28a745;
    padding-left: 10px;
}

.linea-error {
    border-left: 4px solid #dc3545;
    padding-left: 10px;
}

.texto-completado {
    color: #000;
    font-weight: bold;
}

.texto-pendiente {
    color: #aaa;
    font-weight: normal;
}

.texto-error {
    color: #dc3545 !important; 
    font-weight: bold;
}
