:root {
  --azulFondoBotones: #0082d9;
  --azulBordeBotones: #04699d;
  --naranjaFondoBotones: #d38536;
  --salmonClaro: #fcf3ea;
  --sepia: #f2dec4;
  --marronOscuro: #423222;
  --naranjaOscuro: #d38536;
  --naranjaClaro: #f5a700;
  --azulFooter: #bbdffc;
  --salmonFooter: #fcf3ea;
  --grisFondoForm: #f8f8f8;
  --verdeGrisaceo: #84ce4e;
  --verdeOscuro: #579c25;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Inter", "sans-serif";
}

body {
  min-height: 100dvh;                                     
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--grisFondoForm);
}

header {
  width: 100dvw;
  background-color: var(--sepia);
  box-shadow: 0px 3px 10px #03030318;
  margin-bottom: 10px;
}

header p.logo {
  width: min-content;
  font-family: "Bebas Neue", "sans-serif";
  padding: 0.7rem 2rem;
  font-size: 2rem;
  color: white;
  font-weight: bold;
  letter-spacing: 1px;
}

header p.logo > span {
  font-family: "Bebas Neue", "sans-serif";
  color: var(--marronOscuro);
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  flex: 1;
}

.grid-container {
  height: 100dvh;
  width: 100dvw;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  justify-content: center;
}


.form-section {
  width: 100%;
  height: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  position: relative;
  box-shadow: 0px 0px 30px #70707018;
  z-index: 1;
}

.wrapper {
  display: flex;
  gap: 1rem;
}

.wrapper .campo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.politica {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.politica a {
  color: var(--azulFondoBotones);
  text-decoration: none;
  transition: all 0.2s ease;
}

.politica a:hover {
  color:#f5a700;
}

.politica input, .politica label {
  margin-bottom: 0 !important;
}

.politica input {
  width: 1rem;
  height: 1rem;
}

.logo {
  position: absolute;
  top: 20px;
  left: auto;

}

.form-section h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  margin-top: 4.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  font-family: "Inter", "sans-serif";
  color: #1d2940;
}

.form-section p.texto {
  margin-bottom: 2rem;
  color: #6e6e6e;
  font-size: 1.1rem;
}

.form-section label {
  font-size: 1rem;
  font-family: "Inter", "sans-serif";
  margin-bottom: 0.5rem;
}

form {
  display: flex;
  flex-direction: column;
}


input {
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 1rem;
  background-color: var(--grisFondoForm);
  border: 1px solid #dbdbdb;
  border-radius: 5px;
}

.input-password-wrapper {
  position: relative;
  width: 100%;
}

.input-password-wrapper input {
  width: 100%;
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  top: 47%;
  right: 12px;
  transform: translateY(-70%);
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: #1d4ed8;
}

.password-toggle-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 50%;
}

.password-toggle-btn i {
  font-size: 1rem;
}

input.btn-login {
  margin-top: 1rem;
  color: white;
  border: none;
  background-color: #0082d9;
  border-radius: 5px;
  font-size: 1rem;
  padding: 10px 12px;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.input-error {
	border: 1px solid #e74c3c !important;
	animation: shake 0.2s ease-in-out;
}

@keyframes shake {
	0% { transform: translateX(0); }
	25% { transform: translateX(-2px); }
	50% { transform: translateX(2px); }
	75% { transform: translateX(-2px); }
	100% { transform: translateX(0); }
}

input.btn-login:hover {
  cursor: pointer;
  background-color: #f5a700;
}

input.btn-login.disabled:hover {
  cursor: default;
  background-color: #0082d9;
} 

.disabled {
  opacity: 0.6;
  cursor: default;
}

a.btn-recuperar {
  margin-left: auto;
  text-decoration: none;
  color: var(--azulFondoBotones);
  font-size: 1rem;
}

a.btn-recuperar:hover {
  cursor: pointer;
  color: #f5a700;
}

.crear-cuenta {
  font-size: 1rem;
  align-self: center;
  margin-top: 5px;
  display: flex;
  gap: 5px;
}

.crear-cuenta a {
  font-weight: 500;
  text-decoration: none;
  color: var(--azulBordeBotones);
    transition: all 0.2s ease-in-out;
}

.crear-cuenta a:hover {
  cursor: pointer;
  color: var(--naranjaClaro);
}



.fondo-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  /* max-width: min-content; */
  background-color:  #f3faff;
  box-shadow: 0px 0px 20px #e7f5ff;
  border-radius: 10px;

}

/* .caracteristicas {
  margin: 3rem 0rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.caracteristica {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.caracteristica .barra {
  width: 100%;
  height: 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.caracteristica .barra.uno {
  background: linear-gradient(135deg, #d4ecff, #a8d3f0, #88bde0);
}

.caracteristica .barra.dos {
  background: linear-gradient(135deg, #f2e6d4, #d8c2a5, #bfa585);
}

.caracteristica .barra.tres {
  background: linear-gradient(135deg, #ffe0b2, #f5b97d, #e8a66a);
}

.caracteristica p {
  font-size: 0.9rem;
  color: #6e6e6e;
} */

.info-app {
    width: 100%;
  height: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  position: relative;

}



.swipper-container {
  max-width: 450px;
  min-height: 400px;
  background-color: white;
  border-radius: 10px;
  z-index: 10;
}

.swiper {
  height: 100%;
  width: 100%;
}

.slide-container {
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.slide-container ul {
  margin-top: 1rem;
  height: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 2rem;
  margin-left: 2rem;

}

.slide-container ul li {
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

.slide-container ul li  i {
  color: var(--azulFondoBotones);
  margin-right: 0.5rem;
}

.img-info-general {
  margin-top: 1rem;
  border-radius: 10px;
}

.titulo-info-general {
  margin-top: 1.1rem;
  font-weight: 600;
}

.texto-info-general {
  margin-top: 0.5rem;
  font-weight: 500;
  color: #666666;
}

/* ALERTAS */
.alerta {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.alerta.error {
  background-color: #ffe0e0;
  color: #a00;
  border: 1px solid #a00;
}

.alerta.success {
  background-color: #e0ffe0;
  color: #0a0;
  border: 1px solid #0a0;
}

/* REGISTER PAGE */


.show-info-password,
.label-password {
  display: block;
  min-width: min-content;
}

.password-checklist {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.4;
}

.password-checklist-req i {
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.password-checklist-req {
  transition: all 0.2s ease;
}


/* MODAL GENERAL */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);

  justify-content: center;
  align-items: center;
}

/* CONTENIDO DEL MODAL */
.modal-content {
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 10px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  font-size: 0.95rem;
  position: relative;
  animation: modalFade 0.3s ease-out;
  color: #333;
  line-height: 1.5;
}

.modal-content h3 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #00082a;
}

.modal-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.modal-content ul li {
  margin-bottom: 6px;
}

.modal-content p {
  font-weight: bold;
  margin-top: 15px;
  color: #000;
}

/* BOTÓN DE CIERRE */
.close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

/* ANIMACIÓN */
@keyframes modalFade {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* PAGINA ESPERA */
body.espera {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}
.header-espera {
  width: 100%;
  background-color: #00082a;
  color: white;
  padding: 20px;
}

.header-espera h2 {
  font-size: 1.2rem;
}

.main-espera {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.card-espera {
  width: max-content;
  padding: 30px 50px;
  border: 1px solid #d4d4d4;
  background-color: #f3f3f3;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.card-espera p {
  color: #333;
}

.info-app {
  background-color: var(--salmonClaro);
  width: 100%;
  height: 100%;
}
