/* INDICE */

#preloader,
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Fondo oscuro con opacidad */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Asegura que esté por encima de otros elementos */
  opacity: 70%;
}
#preloader p,
#loader p {
  color: white;
  font-weight: bolder;
}

/* Animación del spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animación de giro */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid rgb(222, 226, 230);
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px white inset;
  transition: background-color 5000s ease-in-out 0s;
}
/* .swal2-icon.swal2-success [class^="swal2-success-line"],
.swal2-icon.swal2-success .swal2-success-ring {
  border-color: #065a70 !important;
  color: #065a70 !important;
}

.swal2-icon.swal2-success {
  border-color: #065a70 !important;
}

.swal2-icon.swal2-warning {
  border-color: #065a70 !important;
  color: #065a70 !important;
}

.swal2-icon.swal2-error {
  border-color: #065a70 !important;
  color: #065a70 !important;
}

.swal2-icon.swal2-info {
  border-color: #065a70 !important;
  color: #065a70 !important;
}

.swal2-icon.swal2-question {
  border-color: #065a70 !important;
  color: #065a70 !important;
}
   */

/* 
*/
.w-fit-content {
  width: fit-content !important;
}

/* ALERTAS */
#confirmacion-resetPwd .btn-close,
#confirmacion-resendMail .close {
  display: none;
}

#alerta,
#alertaChallenge,
#tipo-resetPwd,
#tipo-resendMail {
  position: relative;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  transform: translateY(-10px);
  transition: all 0.35s ease;
  word-break: break-word;
  width: fit-content !important;
}

#alerta.alert-success,
#alertaChallenge.alert-success,
#tipo-resetPwd.alert-success,
#tipo-resendMail.alert-success {
  background-color: #eef0fa;
  border: 1px solid #065a70;
  color: #065a70;
}

#alerta.alert-warning,
#alertaChallenge.alert-warning,
#tipo-resetPwd.alert-warning,
#tipo-resendMail.alert-warning {
  background-color: #fff6e0;
  border: 1px solid #e0b437;
  color: #8a6d1d;
}

#alerta.alert-danger,
#alertaChallenge.alert-danger,
#tipo-resetPwd.alert-danger,
#tipo-resendMail.alert-danger {
  background-color: #fdecee;
  border: 1px solid #dc3545;
  color: #a71d2a;
}

#alerta .close,
#alertaChallenge .close,
#tipo-resetPwd .close,
#tipo-resendMail .close {
  display: none;
}

.mensaje-alerta,
.mensaje-resetPwd,
.mensaje-resendMail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mensaje-alerta i,
.mensaje-resetPwd i,
.mensaje-resendMail i {
  font-size: 2.2rem;
  display: block;
}

.respuesta {
  font-weight: 600;
}
.respuesta-resetPwd,
.respuesta-resendMail {
  display: none;
}
/* FIN ALERTAS */

h2#swal2-title {
  color: #065a70 !important;
}
div#swal2-html-container {
  color: #065a70 !important;
  font-size: 1.5rem !important;
}
button.swal2-confirm.sweet-alert-confirm.swal2-styled {
  background: #065a70 !important;
}
body {
  font-family: Lato, sans-serif !important;
  font-weight: 400;
  color: #4d4d4f !important;
}

.container {
  max-width: 1200px;
}

section {
  min-height: 61.9vh;
  padding-bottom: 25px;
}

a {
  text-decoration: none !important;
}
main {
  min-height: 70vh;
}
.sombra {
  box-shadow: 0px 4px 19px 0px rgba(0, 0, 0, 0.21);
  -webkit-box-shadow: 0px 4px 19px 0px rgba(0, 0, 0, 0.21);
  -moz-box-shadow: 0px 4px 19px 0px rgba(0, 0, 0, 0.21);
}
a.nav-link.especialNav {
  padding-left: 50px;
}
a.nav-link.salirNav {
  color: #42c0ec;
}
/* pantalla de login */

.login {
  height: 100vh;
  margin: 0;
}
#preguntas h2 {
  color: #065a70;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.bg-login {
  background: url("") no-repeat center center;
  background-size: cover;
}

.login-box {
  max-width: 400px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.login-logo {
  display: block;
  margin: 0 auto 1rem;
  max-width: 120px;
}

.login-form-control {
  border-radius: 10px;
}

.login-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #006d77;
}

.login-links a:hover {
  text-decoration: underline;
}

/* pantalla de login */

.logo {
  display: block;
  width: 180px;
  height: 45px;
  font-size: 0;
  background-image: url(../img/logo.svg);
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  margin: 8px;
}

.barraseparadora {
  font-size: 32px;
  margin-top: -6px;
  color: #9d9d9c;
  font-weight: 400;
  display: block;
}

.espacios-left {
  padding-right: 10px;
  padding-left: 10px;
  display: block;
  margin-left: -15px;
}
.espacios {
  padding-left: 15px;
  display: block;
}

.h2nuevo {
  display: block;
}

.h2viejo {
  display: none;
}
/* 
header .superior {
  border-bottom: 1px solid #aaa;
} */

header h2 {
  max-width: 720px;
  font-size: 38px;
  color: #007fa3;
  font-family: Lato, sans-serif !important;
  font-weight: 400;
  padding: 0px;
  margin: 0px;
}
.menu-principal {
  background-color: #007fa3;
}
.nav-link {
  color: white;
  font-weight: bold;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: white;
  font-weight: bold;
  background: #065a70;
  border-radius: 5px;
  font-weight: bolder;
  padding: 5px 30px;
}
.nav-link:focus,
.nav-link:hover {
  color: white;
  font-weight: bold;
}
/* nav dark */
.bg-azul {
  background-color: #007fa3 !important;
}
.text-bg-dark {
  color: white;
  background-color: #007fa3 !important;
}
.navbar-toggler {
  color: white;
  font-size: 1rem;
  border: var(--bs-border-width) solid white;
}
.navbar-toggler-icon {
  background-image: url(../img/iconos/menu.svg);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.1rem;
}
/* NAVBAR */
.navbar {
  background: #fff;
  padding: 0.75rem 1rem;
}

.navbar-nav .nav-item {
  position: relative;
  margin: 0 0.5rem;
}

.navbar-nav .nav-link {
  text-align: left;
  color: #3c3c3b;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 5px 30px;
  position: relative;
}

/* Activo */
.navbar-nav .nav-link.active {
  color: white;
  font-weight: 800;
  padding: 5px 30px;
  background: #065a70;
  border-radius: 5px;
  font-weight: bolder;
}

.cerrarsesion {
  color: #42c0ec;
  height: 16px;
}
.nombreUsuario {
  color: #42c0ec;
  font-size: 1rem;
  margin-left: 10px;
  font-weight: bolder;
}
.logoblanco {
  display: block;
  width: 228px;
  height: 60px;
  font-size: 0;
  background-image: url(../img/logo-blanco.svg);
  background-repeat: no-repeat;
}

.dropdown-item.active,
.dropdown-item:active {
  color: white;
  background-color: #065a70;
  font-weight: bolder;
}

/*inicio para prestadores  */

.importante {
  margin-top: 45px;
}

.barra-titulo {
  margin-top: 30px;
  padding: 15px 0;
}
.barra-titulo .container h2 {
  font-size: 32px;
  color: #007fa3;
  font-weight: 700;
}

.titulo-institucion {
  margin-top: 30px;
  padding: 20px 0;
}

.titulo-institucion .container h3 {
  font-size: 28px;
  color: #007fa3;
  font-weight: 700;
}

/***** Form steps *****/

.f1 h3 {
  margin-top: 0;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.f1-steps {
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  text-align: center;
}

.f1-progress {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
}
.f1-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background: #065a70;
}

.f1-step {
  position: relative;
  float: left;
  width: 33.333333%;
  padding: 0 5px;
  /* cursor: pointer; */
}

.f1-step-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-top: 4px;
  background: #ddd;
  font-size: 16px;
  color: #fff;
  line-height: 40px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 10%;
}
.f1-step.activated .f1-step-icon {
  background: #fff;
  border: 1px solid #065a70;
  color: #065a70;
  line-height: 38px;
}
.f1-step.active .f1-step-icon {
  width: 48px;
  height: 48px;
  margin-top: 0;
  background: #065a70;
  font-size: 22px;
  line-height: 48px;
}

.f1-step p {
  color: #ccc;
}
.f1-step.activated p {
  color: #065a70;
  font-weight: bold;
}
.f1-step.active p {
  color: #065a70;
  font-weight: bold;
}

.f1 fieldset {
  display: none;
  text-align: left;
}

.f1-buttons {
  text-align: right;
}

.btn-desplegar-menu:hover {
  /* color: #138496; */
  color: #ffffff;
  border: 1px solid #138496;
  background-color: #117a8b !important;
}

.sweet-alert-confirm {
  color: #fff;
  background-color: #065a70;
  border-color: #065a70;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: normal;
  margin-right: 10px;
}

.sweet-alert-confirm:hover {
  background-color: #008498 !important;
  border-color: #10707f !important;
}

.sweet-alert-cancel {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: normal;
}

.sweet-alert-cancel:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

/*  */

.info1 {
  background-color: #007fa3;
  color: #fff;
}

.fecha {
  font-size: 12px;
}

.titulo {
  font-size: 20px;
  margin-bottom: 10px;
}

.texto {
  font-size: 16px;
}

/* fin  FOOTER V1 */

footer.footer-iosfa {
  background-color: #3c3c3b;
}

.iosfa-logo-footer {
  max-width: 150px;
}
.md-logo {
  max-width: 150px;
}

footer.footer-iosfa strong {
  color: #d3d3d3;
  font-size: 13px;
  letter-spacing: 1px;
}
.rrss img {
  padding: 5px;
  text-decoration: none;
}
footer .footerRedes {
  margin-top: 0px;
  margin-bottom: 0px;
}

footer.footer-iosfa .redes img {
  max-width: 35px;
  max-height: 35px;
}

.defensa {
  font-size: 0;
  margin: 0 auto;
  display: block;
  width: 228px;
  height: 78px;
  background-image: url(../img/logo-defensa-2020.svg);
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}

.btn {
  color: white;
  background: #007fa3;
  border: none;
}

.btn-warning {
  color: rgb(37, 37, 37);
  background: #ffc107;
  border: none;
}

.btn-secondary {
  color: rgb(204, 204, 204);
  background: #6c757d;
  border: none;
}

.card {
  background-color: #065a70;
  color: #fff;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  background-color: #3c3c3b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
  font-size: 2rem;
  border-bottom: none;
}

.card-title {
  font-size: 1.1rem;
  color: #fff;
  margin-top: 0.5rem;
}

.icon-blue {
  color: #007fa3;
  transition: transform 0.3s ease, color 0.3s ease;
}

.text-info {
  color: #007fa3 !important;
}
.mrxReceta {
  width: 100px;
}

.imgReceta {
  width: 30px;
  padding-right: 10px;
}
.ojito {
  height: 25px;
}
.text-az {
  color: #007fa3;
  font-weight: 600;
}
#recConf .btn-check:checked + .btn,
#recConf .btn.active,
#recConf .btn.show,
#recConf .btn:first-child:active,
#recConf :not(.btn-check) + .btn:active {
  color: white;
  background-color: #065a70;
  border-color: none;
}

#recConf .btn-check:checked + .btn:focus-visible,
#recConf .btn.active:focus-visible,
#recConf .btn.show:focus-visible,
#recConf .btn:first-child:active:focus-visible,
#recConf :not(.btn-check) + .btn:active:focus-visible {
  box-shadow: none;
}

#recConf .btn:hover {
  color: #065a70;
  background-color: white;
  border: solid 1px #065a70;
}

#recConf .btn {
  color: white;
  background: #065a70;
  border: none;
}
#recConf .ocultPass {
  background-color: white;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top: var(--bs-border-width) solid var(--bs-border-color);
  border-right: var(--bs-border-width) solid var(--bs-border-color);
  border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}
/* preguntas */
#preg-frecuentes .preg-frec {
  color: #42c0ec;
  font-weight: 600;
}

/* fondo del logueo */
#fondo-perfil {
  background-image: url("../img/fondo/inicio-desktop.png");
  background-size: cover;
  height: 100%;
}

@media (min-width: 768px) {
  #inicio {
    height: 95vh;
  }
}

@media (max-width: 767px) {
  h2:where(.swal2-title),
  h2.swal2-title {
    font-size: 1.5em;
  }
 
}

#inicio .card img {
  width: 50%;
}
#inicio h2 {
  color: #065a70;
  font-size: 3rem;
  font-weight: bolder;
}
#inicio h3 {
  color: #3c3c3b;
  font-size: 2.5rem;
  font-weight: bolder;
}
#inicio h4 {
  color: #065a70;
  font-size: 2rem;
}

.blanc h2 {
  color: #065a70;
  font-weight: 800;
}
.blanc h3 {
  color: #3c3c3b;
}

/* card blanco */
.blanco {
  color: white;
}
.blanco .card-title {
  color: white;
}

/* card de receta*/
.recet {
  background-color: #fff;
  color: #444444;
  border-bottom-right-radius: 2rem;
  border-top-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
  border: 1px solid #0d576c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}
/* hasta acá */

/* Login */

#bannerCreacion {
  min-height: auto;
  padding-bottom: 0px;
}
#registroUsuario .barraRegistrar {
  border-bottom: 2px solid #065a70;
}
#bannerCreacion .creaUsuario {
  width: 100%;
}

#registroUsuario #confirmacion {
  height: auto;
}

#confirmacion,
.registroConfirmado {
  background: url("../img/fondo/confirmacion-desk.jpg") no-repeat center center;
  background-size: cover;
  height: 82.7vh;
}
section h5.title {
  font-weight: 600;
  font-size: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: #004e65;
}

#loginSection {
  height: 100%;
  margin: 0;
  font-family: "Lato", sans-serif;
  padding-bottom: 0px;
}

#loginSection .recaptcha-checkbox-expired .recaptcha-checkbox-border,
.recaptcha-checkbox-expired .recaptcha-checkbox-spinner-gif {
  border: 2px solid #a9a9a9 !important;
}

/* --- Login Box --- */
#loginSection.login-box {
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  margin: auto;
}

#loginSection #form-login {
  margin-left: 20%;
  max-width: 60%;
}

#loginSection .login-logo {
  display: block;
  margin: 0 auto 1rem;
  max-width: 175px;
}

#loginSection h5.title {
  font-weight: 600;
  font-size: 2rem;
  /*margin-left: 20%;*/
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: #004e65;
}

#loginSection .form-control {
  border-radius: 10px;
}

/* #loginSection .form-label {
  display: none;
} */

#loginSection .form-control::placeholder {
  color: #999;
}

#loginSection .btn-primary {
  border-radius: 10px;
  background-color: #065a70;
  border: none;
  font-weight: 600;
}

#loginSection .btn-primary:hover {
  background-color: #065a70;
}

#loginSection .login-links {
  margin-left: 20%;
  max-width: 60%;
  font-size: 0.85rem;
}

#loginSection .login-links p {
  font-size: 0.85rem;
  color: #065a70;
}

#loginSection .login-links a {
  color: #065a70;
  text-decoration: none;
}

#loginSection .login-links a:hover {
  text-decoration: underline;
}

/* --- Desktop Right Side --- */
#loginSection .right-side {
  background: url("../img/fondo/inicio-desktop.jpg") no-repeat center center;
  background-size: cover;
  height: 87vh;
  padding: 0px !important;
  margin: 0px !important;
}

#loginSection .right-side .text {
  padding: 2rem;
}

#loginSection .right-side h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: #065a70;
}

#loginSection .right-side p {
  font-size: 2rem;
  font-weight: 400;
  color: #3c3c3b;
}

#loginSection .mobile-bg {
  background: url("../img/fondo/inicio-login-resp.png") no-repeat center center;
  background-size: cover;
  align-items: center;
  padding: 1rem;
}

#loginSection .mobile-bg h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: #065a70;
}

#loginSection .mobile-bg p {
  font-size: 2rem;
  font-weight: 400;
  color: #3c3c3b;
}

#loginSection label {
  font-size: 1.2rem;
  color: #065a70;
}

.ocultPass {
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}
a#togglePassword:active {
  color: #065a70;
  background-color: white;
  border-top: 1px solid rgb(222, 226, 230);
  border-right: 1px solid rgb(222, 226, 230);
  border-bottom: 1px solid rgb(222, 226, 230);
  border-left: 1px solid white;
}
input#password {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
input#password_confirm {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.btnOcultPass,
.btnOcultPass:hover,
.btnOcultPass:active,
.btnOcultPass:focus-within,
.btnOcultPass:focus-visible,
.btnOcultPass:target,
.btnOcultPass:focus {
  border-radius: 10px;
  background-color: white;
  border-top: 1px solid #dee2e6;
  font-weight: 600;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

#loginSection.creaCuenta {
  background-color: #42c0ec;
}

#loginSection .modal-content {
  background-color: #e7e9f7;
  border-radius: 30px;
  width: 100%;
}

#loginSection .modal-content img {
  width: 75%;
  align-items: center;
}

#loginSection .modal-content .close {
  background: none;
  border: none;
  font-size: 30px;
  font-weight: 300;
  align-content: end;
  text-align: end;
  margin: -50px 0px -50px 0px;
}

#loginSection .modal-header {
  border-bottom: none;
}
#loginSection .modal-content .btnConfirm {
  border-radius: 10px;
  background-color: #065a70;
  border: none;
  font-weight: 600;
}
#loginSection .modal-content .btn-check:checked + .btn:focus-visible,
.btn.active:focus-visible,
.btn.show:focus-visible,
.btn:first-child:active:focus-visible,
:not(.btn-check) + .btn:active:focus-visible {
  box-shadow: none;
}
#loginSection .modal-content .btn:hover {
  color: #065a70;
  background-color: white;
  border: 1px solid #065a70;
}
#loginSection .modal-content .btn:focus-visible {
  color: #065a70;
  background-color: white;
  border: 1px solid #065a70;
  outline: 0;
  box-shadow: none;
}
#loginSection .modal-content .btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  color: #065a70;
  background-color: white;
  border: 1px solid #065a70;
}
/* Valida Usuario Renaper */

#validaUsuario {
  height: 100%;
  margin: 0;
  font-family: "Lato", sans-serif;
  min-height: 47.2vh;
}

#validaUsuario h5.title {
  font-weight: 600;
  font-size: 2rem;
  /*margin-left: 20%;*/
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: #004e65;
}

#validaUsuario label {
  font-size: 1.2rem;
  color: #065a70;
}

#validaUsuario .modal-content {
  background-color: #e7e9f7;
  border-radius: 30px;
  width: 85%;
}

#validaUsuario .modal-content img {
  width: 75%;
  align-items: center;
}

#validaUsuario .modal-content button {
  background: none;
  border: none;
  font-size: 30px;
  font-weight: 300;
  align-content: end;
  text-align: end;
  margin: -50px 0px -50px 0px;
}

#validaUsuario .modal-header {
  border-bottom: none;
}

#validaUsuario .btn-check:checked + .btn,
#validaUsuario .btn.active,
#validaUsuario .btn.show,
#validaUsuario .btn:first-child:active,
#validaUsuario :not(.btn-check) + .btn:active {
  color: white;
  background-color: #065a70;
  border-color: none;
}

#validaUsuario .btn-check:checked + .btn:focus-visible,
#validaUsuario .btn.active:focus-visible,
#validaUsuario .btn.show:focus-visible,
#validaUsuario .btn:first-child:active:focus-visible,
#validaUsuario :not(.btn-check) + .btn:active:focus-visible {
  box-shadow: none;
}

#validaUsuario .btn:hover {
  color: #065a70;
  background-color: white;
  border: solid 1px #065a70;
}

#validaUsuario a {
  color: #065a70;
}

#validaUsuario .btn {
  color: white;
  background: #065a70;
  border: none;
}

/* REGISTRAR USUARIO */

#registroUsuario {
  font-family: "Lato", sans-serif;
  background-color: #f8f9fa;
}

#registroUsuario .registroUsuario img.creaUsuario {
  width: 100%;
  height: auto;
}

#registroUsuario h5.title {
  font-weight: 700;
  font-size: 1.9rem;
  color: #065a70;
  text-align: center;
  margin-bottom: 1.5rem;
}

#registroUsuario .f1-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#registroUsuario .f1-progress {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #065a70;
  transform: translateY(-50%);
  z-index: 1;
}

#registroUsuario .f1-progress-line {
  position: absolute;
  height: 6px;
  background-color: #065a70;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.3s ease;
}

#registroUsuario .f1-step {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 33%;
}

#registroUsuario .f1-step-icon {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border: 2px solid #065a70;
  border-radius: 30%;
  margin: 0 auto;
  color: #065a70;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

#registroUsuario .f1-step.active .f1-step-icon,
#registroUsuario .f1-step.completed .f1-step-icon {
  background-color: #065a70;
  color: #fff;
}
#registroUsuario .f1-step.activated .f1-step-icon {
  background: #065a70;
  color: white;
}
#registroUsuario .f1-step p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #065a70;
}

#registroUsuario label {
  font-size: 1rem;
  color: #065a70;
  font-weight: 500;
}

#registroUsuario .form-control {
  border-radius: 10px;
  border: 1px solid #ced4da;
  padding: 0.6rem 1rem;
  font-size: 1rem;
}

#registroUsuario .form-control:disabled {
  background-color: #e9ecef;
}

#registroUsuario #alerta {
  font-size: 0.9rem;
}
#registroUsuario .datosCorrectos {
  font-size: 1rem;
}
#registroUsuario .btnSeguir {
  color: white;
  background: #40bfea;
  border: none;
}
#registroUsuario .btnIncorrectos {
  color: white;
  background: #065a70;
  border: none;
}
#registroUsuario .btnSeguir:hover {
  color: #40bfea;
  background: white;
  border: 1px solid #40bfea;
  font-weight: bolder;
}
#registroUsuario .btnIncorrectos:hover {
  color: #065a70;
  background: white;
  border: 1px solid #065a70;
  font-weight: bolder;
}
#registroUsuario .swal2-popup.sweet-alert-custom {
  border-radius: 20px;
  font-family: "Poppins", sans-serif;
  padding: 30px 20px;
  box-shadow: none;
}

#registroUsuario .swal2-close {
  color: #065a70 !important;
  font-size: 18px !important;
}

#registroUsuario .swal2-close:hover {
  color: #043f51 !important;
}

#registroUsuario .swal2-title {
  font-size: 1.1rem;
}
#RecetaDigital .card:hover {
  background-color: white;
}
#RecetaDigital input#searchInput {
  border-left: 1px solid #065a70;
  border-right: 0px solid white;
  border-top: 1px solid #065a70;
  border-bottom: 1px solid #065a70;
}
#RecetaDigital #lupa {
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-right: 1px solid #065a70;
  border-left: 0px solid white;
  border-top: 1px solid #065a70;
  border-bottom: 1px solid #065a70;
  width: 35px;
}
#RecetaDigital #lupa .lupa {
  padding-right: 10px;
  padding-top: 6px;
  width: 35px;
}
#preg-frecuentes img.creaUsuario {
  width: 100%;
  height: auto;
}
#preg-frecuentes {
  background: #f9f9f9;
}
#preg-frecuentes .accordion-item {
  color: var(--bs-accordion-color);
  background-color: var(--bs-accordion-bg);
  border: none;
  margin: 10px 0px 10px 0px;
}
#preg-frecuentes .accordion-button {
  color: #065a70;
  background-color: white;
  box-shadow: none;
  font-weight: bolder;
  font-size: 1.2rem;
}
#preg-frecuentes .accordion-button:not(.collapsed) {
  color: #065a70;
  background-color: #42bfec10;
  box-shadow: none;
  font-weight: bolder;
  font-size: 1.2rem;
}

#actualizaDatos {
  font-family: "lato", sans-serif;
  color: #3c3c3b;
  background-color: #fff;
}

#actualizaDatos h2 {
  font-weight: 700;
  color: #065a70;
}

#actualizaDatos .usuario {
  height: 65px;
}

#actualizaDatos .info-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem;
  font-size: 0.9rem;
  color: #3c3c3b;
}

#actualizaDatos .section-title {
  font-weight: 600;
  border: 2px solid #065a70;
  border-radius: 5px;
  padding: 0.25rem 0.75rem;
  display: inline-block;
  color: #3c3c3b;
  margin-bottom: 10px;
}

#actualizaDatos .form-control,
#actualizaDatos .form-select {
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #065a70;
}

#actualizaDatos .form-control:focus,
#actualizaDatos .form-select:focus {
  border-color: #065a70;
  box-shadow: 0 0 0 0.2rem rgba(6, 90, 112, 0.25);
}

#actualizaDatos .alert-custom {
  background-color: #eef0fa;
  color: #065a70;
  border-radius: 20px;
  text-align: center;
  padding: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

#actualizaDatos .btn-primary {
  background-color: #065a70;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.5rem;
}

#actualizaDatos .btn-primary:hover {
  background-color: #05495b;
}
#actualizaDatos .iconoAprobacion {
  height: 30px;
}
#credencial h2 {
  color: #065a70;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* Contenedor principal */
#credencial .credencial-wrap {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Tarjeta del carrusel */
#credencial .credencial-card {
  width: 100%;
  overflow: hidden;
  position: relative;
}

#credencial .credencial-card .img-wrap {
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

#credencial .credencial-card .img-wrap img {
  display: block;
  width: 80%;
  height: auto;
  margin: 0% 10%;
}

/* Overlay de datos */
#credencial .cred-overlay {
  position: absolute;
  left: 30px;
  bottom: 13%;
  color: #fff;
  font-size: 1.2em;
  line-height: 1.3;
  font-weight: 500;
  margin: 0% 10%;
}

/* Lista de beneficiarios */
#credencial .benef-list {
  flex: 1 1 320px;
  max-width: 480px;
}

#credencial .benef-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(6, 90, 112, 0.12);
  cursor: pointer;
  transition: background 0.15s, border-left 0.15s;
}

#credencial .benef-item:hover {
  background: rgba(6, 90, 112, 0.03);
}

#credencial .benef-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; 
}
/* 23/12 */
#credencial .benef-item .icon img {
  width: 100%;  
  height: 100%;  
  object-fit: contain; 
  max-width: 50px;  
  max-height: 50px; 
}

#credencial .benef-item .meta {
  font-weight: 600;
  color: #065a70;
  font-size: 0.95rem;
}

#credencial .benef-item .sub {
  font-size: 0.82rem;
  color: rgba(6, 90, 112, 0.7);
}

#credencial .benef-item.active {
  background: rgba(6, 90, 112, 0.04);
  border-left: 4px solid #065a70;
}

/* Controles del carrusel */
#credencial .carousel-control-prev,
#credencial .carousel-control-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  top: 50%;
  transform: translateY(-50%);
}

#credencial .carousel-control-prev,
#credencial .carousel-control-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: none;
  display: grid;
  place-items: center;
  top: 50%;
  transform: translateY(-50%);
  color: #c6c6c6;
  font-size: 2.5rem;
  font-weight: bolder;
}
/* recetas */
#RecetaDigital .fw-lighter {
  font-weight: lighter !important;
}
#RecetaDigital .fc-black {
  color: black !important;
}
#RecetaDigital .registrosRecetas {
  width: auto;
  margin: 0px 10px;
}
#RecetaDigital .paginacion {
  --bs-pagination-padding-x: 0.75rem;
  --bs-pagination-padding-y: 0.375rem;
  display: flex;
  padding-left: 0;
  list-style: none;
}
#RecetaDigital .recetasAnterior {
  color: #3c3c3b !important;
  background: none !important;
  padding: 0px 5px !important;
  font-weight: bolder !important;
}
#RecetaDigital .paginacion .disabled .recetasAnterior {
  color: #898989 !important;
  background: none !important;
}
#RecetaDigital .recetasSiguiente {
  color: #3c3c3b !important;
  background: none !important;
  padding: 0px 5px !important;
  font-weight: bolder !important;
}
#RecetaDigital .paginacion .disabled .recetasSiguiente {
  color: #898989 !important;
  background: none !important;
}
#RecetaDigital .recetasNumero {
  color: #3c3c3b !important;
  background: none !important;
  padding: 0px 5px !important;
  font-weight: bolder !important;
}
#RecetaDigital .paginacion .active .page-link {
  color: #42c0ec !important;
  background: none !important;
  font-weight: bolder !important;
}
.page-item:not(:first-child) .page-link {
  border-right: 2px solid #3c3c3b !important;
}
.page-item:last-child .page-link {
  border-right: none !important;
}
.page-item:nth-last-child(2) .page-link {
  border-right: none !important;
}
#inicio .card.blanco .row {
  display: flex;
  align-items: center;
  height: 100%;
}

#inicio .card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#inicio .card-title {
  margin: 0;
  font-weight: 600;
  text-align: center;
  padding-bottom: 10px;
}

#inicio .card-title span {
  display: block;
}
@media (max-width: 992px) {
  #alerta,
  #alertaChallenge,
  #tipo-resetPwd,
  #tipo-resendMail {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }

  .mensaje-alerta i,
  .mensaje-resetPwd i,
  .mensaje-resendMail i {
    font-size: 2.1rem;
  }

  .menu-principal {
    background-color: white;
  }

  .nav-link {
    color: #ffffff;
    text-align: center;
    margin: 15px;
  }

  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link.show {
    color: white;
    text-align: left;
    border-bottom: 1px solid #00a6cf;
    background-color: none;
    padding: 10px 30px;
    margin: 0;
  }
  .offcanvas-header {
    background-color: #065a70;
    color: white;
  }
  .offcanvas-header .iconoUsuario {
    color: white;
  }
  .offcanvas-header .btn-close {
    color: white !important;
  }
  .offcanvas-body {
    background-color: white;
  }
  .navbar-nav .nav-link {
    text-align: left;
    color: #3c3c3b;
    border-bottom: 1px solid #00a6cf;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 10px 30px;
    position: relative;
    margin: 0;
  }
  #fondo-perfil {
    background-image: none;
    height: auto;
  }
  .inicioBaner {
    background-image: url(../img/fondo/inicio-login-resp.png);
    height: 220px;
    background-size: cover;
    border-radius: 15px;
  }
  .inicioBaner .text-container {
    padding: 15px;
  }
  #inicio h2 {
    font-size: 2rem;
  }
  #inicio h3 {
    font-size: 1.8rem;
  }
  #inicio h4 {
    font-size: 1.4rem;
    color: #3c3c3b;
  }
  #credencial .cred-overlay {
    font-size: 1em;
    line-height: 1.2;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  #loginSection .login-logo {
    display: none;
  }
  #alerta,
  #alertaChallenge,
  #tipo-resetPwd,
  #tipo-resendMail {
    font-size: 0.93rem;
    padding: 0.9rem 1rem;
  }

  .mensaje-alerta i,
  .mensaje-resetPwd i,
  .mensaje-resendMail i {
    font-size: 1.9rem;
  }

  #confirmacion {
    background: url("../img/fondo/confirmacion-resp.jpg") no-repeat center
      center;
    background-size: cover;
    width: 100%;
  }
  .logoiosfa {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #aaa;
  }
  .barraseparadora {
    display: none;
  }
  .espacios {
    display: none;
  }
  .h2nuevo {
    display: none;
  }
  .h2viejo {
    display: block;
    font-size: 30px;
    margin: 10px;
  }
  footer.footer-iosfa .redes img {
    max-width: 35px;
    max-height: 35px;
  }
  .header-provedores {
    text-align: center;
  }

  .footer-logo {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .mrxReceta {
    width: 50px;
  }
  #fondo-perfil {
    background-image: none;
  }
  #registroUsuario h5.title {
    font-size: 1.6rem;
  }

  #registroUsuario .f1-step p {
    font-size: 0.85rem;
  }
  #actualizaDatos .alert-custom {
    font-size: 0.9rem;
    padding: 1rem;
  }
  #credencial .credencial-wrap {
    flex-direction: column;
    align-items: center;
  }

  #credencial .credencial-card {
    width: 92%;
    max-width: 400px;
  }

  #credencial .benef-list {
    width: 100%;
  }
  #credencial .cred-overlay {
    font-size: 0.9em;
    line-height: 1.3;
    font-weight: 500;
  }
}

@media (max-width: 576px) {
  #alerta,
  #alertaChallenge,
  #tipo-resetPwd,
  #tipo-resendMail {
    font-size: 0.9rem;
    padding: 0.8rem 0.9rem;
  }
  #inicio .card-title {
    padding-bottom: 0px;
  }
  .mensaje-alerta i,
  .mensaje-resetPwd i,
  .mensaje-resendMail i {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
  }

  .respuesta {
    font-size: 0.95rem;
  }

  #credencial .cred-overlay {
    bottom: 20%;
    font-size: 0.7em;
    line-height: 1.1;
    font-weight: 500;
  }
  #inicio .card img {
    width: 50%;
  }
  #inicio .card.blanco .row {
    flex-direction: row; /* Imagen y texto en una sola línea */
    justify-content: center; /* Centra el conjunto */
    align-items: center; /* Centra verticalmente */
  }

  #inicio .card-body,
  #inicio .card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
  }

  #inicio .card-title span {
    display: inline;
  }
  #registroUsuario .text-start {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #registroUsuario .text-start .datosCorrectos {
    display: block;
  }

   #credencial .benef-item .meta {
    font-size: 0.8rem;
  }
}
@media (max-width: 350px) {
  #inicio .card img {
    width: 100%;
  }
}
