:root {
    --color-primario: #1563A4;
    /*--color-primario: #0E455C;*/
    --color-secundario: #70CAF1;
    --color-btn: #21A6DC;
    --color-btnHover: #1563A4;
    --color-txt: #3A87C8;
    --color-base: #EDEDED;
    --color-baseAzul: #004AAD;
    --color-error: #ff3d00;
}

body {
    background-color: var(--color-base);

}

.background-base-blue {
    background-image: url('../logo/fondo.png');
    width: 100%;
    background-size:cover; /* Ajusta el tamaño de la imagen para cubrir completamente el fondo */
    background-position:bottom; /* Centra la imagen en el fondo */
}
.container-logo{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
}
.img-logo {
    position:relative;
    background-image: url('../logo/logo.png');
    background-size:cover; /* Ajusta el tamaño de la imagen para cubrir completamente el fondo */
    background-position:center;
    width: 700px;
    height: 120px;
    /*position:relative;
    right:auto;
    top:-100px;
    width: auto;
    height: auto;*/
}
.navbar-dashboard {
    margin: 0 0 0 0;
    background-color: var(--color-primario);
}
.img-back {
    width: 50px;
    height: auto;
}
.background-primary {
    background-color: var(--color-primario);
}
.background-base {
    background-color: var(--color-primario);
}
.container-school {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    border-radius: 20px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
}

.card-drive {
    border-radius: 10px;
    width: 100%;
    color: white;
    font-weight: 600;
}
.cardIntoMapSpaces p{
    margin-right: 8px;
}
.cardIntoMapSpaces {
    position: absolute;
    top: 1%;
    right: 5%;
    box-shadow: 0px 0px 15px 1px rgba(21, 99, 164, 1);
    background-color: rgb(255, 255, 255, 0.75);
    border-radius: 5px;
    width: 55%;
    height: 5%;
    font-weight: 400;
    text-align: right;
    color: var(--color-txt);
    padding:1px;
}
@media screen and (min-width: 768px) {
    .cardIntoMapSpaces {
        width: 20%;
        height: 10%;
    }
}
@media screen and (min-width: 990px) {
    .cardIntoMapSpaces {
        width: 20%;
        height: 5%;
    }
}
.btn-primary {
    background-color: var(--color-base);
    color: var(--color-baseAzul);
    font-weight: 600;
}
    .btn-primary:hover {
        background-color: var(--color-primario);
    }
.btn-primary-config {
    border: 0px solid transparent !important;
    outline: none !important;
}
.border-left-custom {
    border-left: 3px solid var(--color-baseAzul) !important;
}
.border-right-custom {
    border-right: 3px solid var(--color-baseAzul) !important;
}
.border-top-custom {
    border-top: 3px solid gray !important;
    width: 75%;
    opacity: 0.5;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
/* Estilos para cuando no está activo */
.background-config-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    /* Hacer que el div ocupe todo el ancho disponible */
}

    .background-config-btn a {
        height: 100%;
        width: 100%;
        text-decoration: none;
        color: var(--color-btnHover);
        background-color: var(--color-base);
        font-weight: bold;
    }

        .background-config-btn a:hover {
            color: var(--color-base);
            background-color: var(--color-btnHover);
        }

        /* Estilos para cuando está activo (usando una clase "active" en el ancla) */
        .background-config-btn a.active {
            background-color: var(--color-btnHover);
            color: var(--color-base);
        }

.error-message {
    color: var(--color-error);
    display: none;
}

.signup-link {
    text-align: center;
}

.forgot-password-link {
    text-align: center;
}


.input-txt-l {
    background-color: var(--color-secundario);
    border: none;
    background: linear-gradient(270deg, rgba(126, 2, 195, 1) 0%, rgba(112, 202, 241, 0.25253851540616246) 0%);
}

.txt-color-primary {
    color: var(--color-txt);
}

.txt-color-sec {
    color: var(--color-primario);
}

.txt-color-hov {
    color: var(--color-btnHover);
}
.arrow-Up-individual {
    top: 15px;
    left: 6%;
    bottom: 0px;
    right: 0px;
    transform: translateX(-50%);
    z-index: 1;
    height: 20px;
    width: 20px;
}
.btnArrow {
}

    .btnArrow svg {
        width: 25px;
        height: 25px;
    }


.linea-decorativa {
    height: 3px;
    border: 0;
}

.linea-azul-claro {
    background-color: var(--color-secundario);
    /* Color rojo personalizado */
}
.linea-blanco {
    background-color: white;
    /* Color rojo personalizado */
}

.btn-buscar {
    background-color: white;
}
    .linea-azul-oscuro {
    background-color: var(--color-btnHover);
    /* Color azul personalizado */
}

.vertical-line {
    /* background-color: var(--color-btnHover); */
    width: 2px;
    border-left: 4px solid var(--color-btnHover);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.step-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--color-base);
    transition: .4s;
}

    .step-button[aria-expanded="true"] {
        width: 60px;
        height: 60px;
        background-color: var(--color-btnHover);
        color: #fff;
    }

.done {
    background-color: var(--color-primario);
    color: #fff;
}

.step-item {
    z-index: 10;
    text-align: center;
}

#progress {
    -webkit-appearance: none;
    position: absolute;
    width: 95%;
    z-index: 5;
    height: 10px;
    margin-left: 18px;
    margin-bottom: 18px;
}

    /* to customize progress bar */
    #progress::-webkit-progress-value {
        background-color: var(--color-btnHover);
        transition: .5s ease;
    }

    #progress::-webkit-progress-bar {
        background-color: var(--color-base);
    }

#fileInput {
    display: none; /* Oculta el input original */
}

.custom-file-label::after {
    content: ''; /* Contenido vacío */
    display: none;
    width: 0%; /* Ancho del icono */
    height: 0%; /* Alto del icono */
}

.custom-file-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
}

.loading-circle {
    width: 50px;
    height: 50px;
    border: 5px solid #3498db; /* Color del círculo */
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.loading-container-map {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.loading-circle-map {
    width: 150px;
    height: 150px;
    border: 5px solid #3498db; /* Color del círculo */
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-message-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px; /* Ajusta el tamaño del texto según necesites */
    color: #3498db; /* Puedes ajustar el color del texto según tus preferencias */
    overflow: hidden;
}

    .loading-message-map span {
        display: inline-block;
        opacity: 0;
        animation: fadeInLetter 0.5s ease-in-out forwards;
    }

@keyframes fadeInLetter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/**/
/* Estilos para el interruptor deslizante */
.switch {
    position: relative;
    display: inline-block;
    width: 150px; /* Ancho ajustado para acomodar el texto */
    height: 34px;
}

    /* Ocultar el input nativo */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Estilos del slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-base);
    transition: .4s;
    border-radius: 34px;
    overflow: hidden; /* Ocultar cualquier contenido que se salga */
}

    /* Estilos del slider cuando está en posición de "Iniciar Viaje" */
    .slider:before {
        position: absolute;
        content: "Iniciar Viaje";
        height: 26px;
        width: 100px;
        left: 5px;
        top: 4px;
        border-radius: 34px;
        transition: .4s;
        text-align: center;
        line-height: 26px;
        color: var(--color-txt);
        padding-right: 0px;
        white-space: nowrap; /* Evitar el salto de línea */
    }

/* Cambiar apariencia del slider cuando el input está marcado */
input:checked + .slider {
    background-color: #5cb85c; /* Cambio de color a un verde más suave */
}

    input:checked + .slider:before {
        content: "Viaje iniciado";
        left: calc(100% - 110px); /* Ajuste de posición para el nuevo texto */
        color: black;
        white-space: nowrap; /* Evitar el salto de línea */
    }

input[type="checkbox"]:not(:checked) + .slider:before {
    content: "Iniciar Viaje";
    left: 10px; /* Ajuste de posición para el texto "Iniciar Viaje" */
    color: var(--color-txt);
    white-space: nowrap; /* Evitar el salto de línea */
}

/*sdfsadfsadf*/
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Ajusta la altura según tus necesidades */
}

.line {
    width: 30px; /* Ancho de las líneas */
    height: 2px; /* Altura de las líneas */
    background-color: #000; /* Color de las líneas */
    margin: 0 5px; /* Espacio entre las líneas */
    animation: loadingAnimation 1.5s infinite; /* Animación */
}

@keyframes loadingAnimation {
    0% {
        transform: scaleX(0);
        opacity: 0.5;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(0);
        opacity: 0.5;
    }
}

/* Estilos del slider para el nuevo switch */
.new-switch {
    position: relative;
    display: inline-block;
    width: 150px; /* Ancho ajustado para acomodar el texto */
    height: 34px;
}

    /* Ocultar el input nativo del nuevo switch */
    .new-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Estilos del slider */
.new-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-base);
    transition: .4s;
    border-radius: 34px;
    overflow: hidden; /* Ocultar cualquier contenido que se salga */
}

    /* Estilos del slider cuando está en posición de "Iniciar Viaje" */
    .new-slider:before {
        position: absolute;
        content: "Terminar viaje";
        height: 26px;
        width: 100px;
        left: 5px;
        top: 4px;
        border-radius: 34px;
        transition: .4s;
        text-align: center;
        line-height: 26px;
        color: var(--color-txt);
        padding-right: 0px;
        white-space: nowrap; /* Evitar el salto de línea */
    }

/* Cambiar apariencia del slider cuando el input está marcado */
.new-switch input:checked + .new-slider:before {
    content: "Terminar Viaje";
    left: calc(100% - 110px); /* Ajuste de posición para el nuevo texto */
    color: black;
    white-space: nowrap; /* Evitar el salto de línea */
}

/* Cambiar apariencia del slider cuando el input está marcado */
.new-switchAccept input:checked + .new-sliderAccept:before {
    left: calc(100% - 110px); /* Ajuste de posición para el nuevo texto */
    color: black;
    white-space: nowrap; /* Evitar el salto de línea */
}
/* Estilos del slider para el nuevo switch */
.new-switchAccept {
    position: relative;
    display: inline-block;
    width: 185px; /* Ancho ajustado para acomodar el texto */
    height: 34px;
}

    /* Ocultar el input nativo del nuevo switch */
    .new-switchAccept input {
        opacity: 0;
        width: 0;
        height: 0;
    }
/* Estilos del slider */
.new-sliderAccept {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 128, 0, 0.5);
    transition: .4s;
    border-radius: 34px;
    overflow: hidden; /* Ocultar cualquier contenido que se salga */
}

    /* Estilos del slider cuando está en posición de "Iniciar Viaje" */
    .new-sliderAccept:before {
        position: absolute;
        height: 26px;
        width: 100px;
        left: 8%;
        top: 10%;
        border-radius: 34px;
        transition: .4s;
        text-align: left;
        line-height: 26px;
        color: var(--color-txt);
        padding-right: 0px;
        white-space: nowrap; /* Evitar el salto de línea */
    }
.contador-slider {
    position: absolute;
    text-align: left;
    left: 5%;
    top: 12%;
    color: var(--color-baseAzul);
}
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

    .rating input[type="radio"] {
        display: none;
    }

    .rating label {
        cursor: pointer;
        width: 25px;
        height: 25px;
        margin: 0 2px;
        background-color: #ccc;
        border-radius: 50%;
    }

        .rating label:before {
            content: '\2605';
            font-size: 22px;
            color: #fff;
            display: block;
            text-align: center;
            line-height: 25px;
        }

    .rating input[type="radio"]:checked ~ label {
        background-color: #f90;
    }

.comment textarea {
    width: 100%;
    height: 100px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

/* Estilo para el modal de error */
.modalError {
    display: none; /* Ocultar el modal por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Contenido del modal de error */
.modal-content-error {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* Botón para cerrar el modal de error */
.close-error {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close-error:hover,
    .close-error:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Estilo del checkbox personalizado */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-input {
    display: none; /* Oculta el input nativo */
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 5px; /* Bordes redondeados */
    position: relative;
    border-radius: 50%;
}

.checkmark {
    position: absolute;
    width: 12px;
    height: 5px;
    border-top: 2px solid white; /* Color de la palomita */
    border-right: 2px solid white; /* Color de la palomita */
    transform-origin: bottom right;
    transform: rotate(130deg); /* Cambia el valor de rotate según */
    /* Añade las siguientes propiedades para centrar la palomita */
    top: 30%;
    left: -55%;

}


/* Estilo para cambiar la apariencia del checkbox cuando está marcado */
.checkbox-input:checked + .custom-checkbox .checkmark {
    display: block;
}
.triangulo {
    width: 0;
    height: 0;
    border-left: 8px solid transparent; /* Ajusta el tamaño según tus necesidades */
    border-right: 10px solid transparent;
    border-top: 10px solid gray; /* Cambia el color según tus necesidades */
    transform: rotate(-90deg);
}
    .triangulo:hover {
        border-top: 10px solid var(--color-baseAzul); /* Cambia el color según tus necesidades */
        opacity: 90%;
    }
.fs-1{
    font-size: 1rem;
}
.fs-2{
    font-size: 1.5rem;
}
.fs-12px{
    font-size: 12px;

}

.custom-color-gray{
    background-color: gray;
}
.custom-color-BaseAzul {
    background-color: var(--color-baseAzul);
}


/* Flecha hacia abajo */
.containerArrow {
    position: absolute;
    right: 10px;
    top:10px;
    width: 15%;
    height: 100%;
}
.top-330 {
    top: 320px;
    height: 30%;
}
.arrowDown {
    position: relative;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
}

    .arrowDown:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 100%;
        width: 20px;
        height: 20px;
        border-right: 3px var(--color-btnHover) solid;
        border-bottom: 3px var(--color-btnHover) solid;
        animation: arrowDownAnimation 2s ease-in-out infinite;
    }

@keyframes arrowDownAnimation {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    100% {
        opacity: 0;
        transform: translate(50px, 50px);
    }
}
.hiddenClass.collapsed {
    /*position: relative;
    display: none;
    height: 1px;*/
    animation: collapsedAnimation 2s ease-in-out forwards;
}

@keyframes collapsedAnimation {
    0% {
        opacity: 1;
        transform: translate(0, 0px);
    }

    100% {
        opacity: 0;
        transform: translate(0, 100%);
    }
}

/* Flecha hacia arriba */
.invisible-arrow {
    visibility: hidden;
}
    .invisible-arrow.arrowUp,
    .invisible-arrow.arrowUp:before {
        position: absolute;
        left: 50%;
    }

    .invisible-arrow.arrowUp {
        visibility: visible;
        width: 20px;
        height: 20px;
        top: 100%;
        bottom: -10%;
        margin: -30px 0px 0px -130px;
        transform: rotate(45deg);
        border-left: 3px solid rgba(0, 74, 173, 0.5);
        border-top: 3px solid rgba(0, 74, 173, 0.5);
        border-right: none;
        border-bottom: none;

        z-index: 2;
    }

        .invisible-arrow.arrowUp:before {
            content: '';
            width: 20px;
            height: 20px;
            top: 0%;
            margin: -10px 0px 0 -20px;
            border-right: none;
            border-bottom: none;
            border-left: 3px var(--color-btnHover) solid;
            border-top: 3px var(--color-btnHover) solid;

            animation-duration: 2s;
            animation-iteration-count: infinite;
            animation-name: arrowUpK;
        }

@keyframes arrowUpK {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-5px, -5px);
    }
}

.cardPrincipal {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0px 0px 15px 0px rgba(255,255,255, 0);
    background-color: rgba(255,255,255, 0.85);
    bottom: 0;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
    z-index: 1;
    height: auto;
    transition: height 0.5s ease;
}

/*fin Estilo para el modal de error */

/*Boton para cambiar foto*/
.btn-change-photo {
    position: absolute;
    align-content: center;
    justify-content: center;
    bottom: 0;
    right: 10px;
    bottom: -10px;
    width:40px;
    height:40px;
    padding:0;
    margin:0;
    border-radius: 100%;
    background-color: rgba(237, 237, 237, 0.5);
}
    .btn-change-photo:hover,
    .btn-change-photo:focus {
        border: none !important;
        box-shadow: none !important;
    }

.icon-change-photo {
    padding: 0;
    margin: 0;
    width: 20px;
    height: 20px;
    color: white;
}
.icon-change-photo:hover {
    color: black;
}
.btn-change-username{
    position:absolute;
    padding-left:8px;
    cursor:pointer;
}
.icon-change-username {
    width: 20px;
    height: 20px;
    color: white;
}
    .icon-change-username:hover {
        color: black;
    }
.btn-icon-bell:hover {
    animation: none;
}
.c-msg-driver-pending {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-right: 100px;
    margin-left: 0px;
    height: 50px;
}
.btn-icon-bell {
    position: absolute;
    top: -8px;
    border: none !important;
    box-shadow: none !important;
    right: -5px;
    font-size: 20px;
    color: var(--color-primario);
    animation: shake 2s infinite;
}
@keyframes shake {
    0% {
        transform: translateX(0);
    }

    10%, 90% {
        transform: translateX(-5px);
    }

    20%, 80% {
        transform: translateX(5px);
    }

    30%, 50%, 70% {
        transform: translateX(-5px);
    }

    40%, 60% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}
.tooltip_custom {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* Línea punteada bajo el texto */
    cursor: help; /* Cambia el cursor a una mano */
}

    .tooltip_custom .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #333; /* Color de fondo del tooltip */
        color: #fff; /* Color del texto del tooltip */
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px; /* Centrar el tooltip */
        transition: opacity 0.3s; /* Transición suave para la visibilidad */
    }

    .tooltip_custom:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }
.fade-up-Notification {
    position: absolute;
    border-radius: 8px;
    width: 120px;
    height: 100px;
    background-color: rgba(21, 99, 164, .8);
    color: white;
    font-weight: bold;
    font-size: 15px;
    justify-content: center;
    align-content: center;
    box-shadow: 0px 0px 15px 0px rgba(255,255,255, 0);
    z-index: 1;
    text-align: center;
    top: 15%;
    left: 3%;
    right: 0%;
    bottom: 0%;
    animation: fadeUpNotification 3s forwards;
}

@keyframes fadeUpNotification {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}
.move_arrow {
    position: absolute !important;
    right: 15px !important;
    top: 190px !important;
}
.containerAux_move_arrow {
    width: 15% !important;
    height: 25% !important;
}
.containerAux_trips_individual {
    top: 250px !important;
    left: 8% !important;
}
.m-top{
    margin-top:30px;
}
.scroll-div {
    max-height: 300px;
    overflow-y: auto;
    overflow-x:hidden;
    border: 1px solid #ccc;
}