/*Loader general de la app*/
.loader_container{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #1a457f;
    z-index: 991;
}
.loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 108px;
    height: 108px;
    color: #002855;
}
.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}
.loader:after {
    color: #e9ba2e;
    transform: rotateY(70deg);
    animation-delay: .4s;
}
@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {
    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}

/*Loader sala de espera*/
.waiting_time {
  box-sizing: border-box;
  display: inline-block;
  width: 50px;
  height: 80px;
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
  position: relative;
  background: linear-gradient(#e5b905 30px, transparent 0) no-repeat;
  background-size: 2px 40px;
  background-position: 50% 0px;
  animation: spinx 5s linear infinite;
}
.waiting_time:before, .waiting_time:after {
  content: "";
  width: 40px;
  left: 50%;
  height: 35px;
  position: absolute;
  top: 0;
  transform: translatex(-50%);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0 0 20px 20px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: 0 0px;
  animation: lqt 5s linear infinite;
}
.waiting_time:after {
  top: auto;
  bottom: 0;
  border-radius: 20px 20px 0 0;
  animation: lqb 5s linear infinite;
}
@keyframes lqt {
  0%, 100% {
    background-image: linear-gradient(#e5b905 40px, transparent 0);
    background-position: 0% 0px;
  }
  50% {
    background-image: linear-gradient(#e5b905 40px, transparent 0);
    background-position: 0% 40px;
  }
  50.1% {
    background-image: linear-gradient(#e5b905 40px, transparent 0);
    background-position: 0% -40px;
  }
}
@keyframes lqb {
  0% {
    background-image: linear-gradient(#e5b905 40px, transparent 0);
    background-position: 0 40px;
  }
  100% {
    background-image: linear-gradient(#e5b905 40px, transparent 0);
    background-position: 0 -40px;
  }
}
@keyframes spinx {
  0%, 49% {
    transform: rotate(0deg);
    background-position: 50% 36px;
  }
  51%, 98% {
    transform: rotate(180deg);
    background-position: 50% 4px;
  }
  100% {
    transform: rotate(360deg);
    background-position: 50% 36px;
  }
}
    

.logo_text{
    display: flex;
    flex-direction: column;
    flex: auto;
    align-items: center;
    justify-content: start;

    margin-top: 60px;
}
footer {
    background-color: #f8f9fa;
    padding: 25px !important;
}

footer p {
    margin: 0;
    color: #6c757d;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

.footer_copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    max-width: 170px;
    align-items: center;
    margin: 0 auto;
    gap: 20px;

}

.row.mb-4.px-3.text-center {
    display: flex;
    width: 184.724px;
    height: 59.487px;
    padding: 12.056px 16.105px 9.716px 0px;
    align-items: center;
}

.col-6.d-flex.justify-content-center.align-items-center.mb-2:nth-child(1) {
    display: flex;
    align-items: center;
}

.col-6.d-flex.justify-content-center.align-items-center.mb-2:nth-child(2) {
    display: flex;
    width: 64.967px;
    height: 39.136px;
    justify-content: center;
    align-items: center;
}

footer a:hover {
    text-decoration: underline;
    color: #0074BE;
}

.footer-title {
    font-family: "Trebuchet MS";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    color: var(--Primary-borgoa-500, #870051);
    text-align: left;
}

.footer-paragraph {
    font-family: "Trebuchet MS";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    color: var(--Text-500, #58585B);
    text-align: left;
}

.ref-med {
    color: var(--Text-600, #BEBEC0);
    text-align: center;
    font-family: "Trebuchet MS";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    /* 150% */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* Asegúrate de que el contenedor tenga una altura definida */
    text-align: center;
}

.logos_footer {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0px;
}

#btnArriba {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    display: block;
    /* Oculto al inicio */
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000000000;
}

.texto_terminos {
    color: #003E66;
    text-align: center;

    /* párrafo small/regular */
    font-family: "Trebuchet MS";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
}

.copyright {
    color: var(--Text-500, #58585B);
    text-align: center;
    font-family: "Trebuchet MS";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    /* 150% */
}

.codigo {
    color: var(--Text-600, #BEBEC0);
    text-align: center;
    font-family: "Trebuchet MS";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    /* 150% */
}

.terminos_mobil {
    display: flex !important;
    justify-content: center;
    margin-bottom: 30px;
}

.terminos_desktop {
    display: none !important;
}

.farmacovigilancia_mobil {
    display: flex !important;
    justify-content: center;
    margin-bottom: 30px;
}

.farmacovigilancia_desktop {
    display: none !important;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    footer {
        padding: 10px 49px !important;
    }

    .logos_footer {
        padding: 20px 0px;
    }

    .footer_copy {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        align-items: center;
        margin: 0 auto;
        margin-bottom: 50px;
        gap: 20px;

    }

    .terminos_mobil {
        display: none !important;
    }

    .terminos_desktop {
        display: flex !important;
        flex-direction: row;
        gap: 30px;
        justify-content: center;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .farmacovigilancia_mobil {
        display: none !important;
    }

    .farmacovigilancia_desktop {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        margin-top: 30px;
    }

}
