/*@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300&family=Montserrat:wght@300;400;700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

@font-face {
	font-family: familiagibson;
	src: url(../fonts/Gibson/Gibson-SemiBold.ttf);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	outline: none;
	/*font-family: "Euclid Circular A", "Poppins";*/
    font-family: "Nunito", sans-serif;

}


/*:root{
	--primary: #6b59d3;
	--secondary: #bfc0c0;
	--white: #fff;
	--text-clr: #5b6475;
	--header-clr: #25273d;
	--next-btn-hover: #8577d2;
	--back-btn-hover: #8b8c8c;
}*/


body {
	background-color: #b4acac;
	color: var(--text-clr);
	font-size: 16px;
	position: relative;
	/*letter-spacing: -0.01rem;
    font-weight: 400;*/
}

.wrapper {
	width: 100%;
	max-width: 500px;
	/*min-height: 1200px;*/
	margin: 50px auto 0;
	margin: auto;
	padding: 3.5em 0.5em;
	background-color: white;

}

.wrapper .header {
	margin-bottom: 35px;
	display: flex;
	justify-content: center;
}

.wrapper .header ul {
	display: flex;
}

.wrapper .header ul li {
	margin-right: 50px;
	position: relative;
}

.wrapper .header ul li:last-child {
	margin-right: 0;
}

.wrapper .header ul li:before {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 34px;
	width: 150%;
	height: 2px;
	background: #ede6de;
}

.wrapper .header ul li:last-child:before {
	display: none;
}

.wrapper .header ul li div {
	padding: 3px;
	border-radius: 50%;
}

.wrapper .header ul li p {
	width: 30px;
	height: 30px;
	background: #ede6de;
	color: #ffff;
	text-align: center;
	line-height: 30px;
	border-radius: 50%;
	
}

.wrapper .header ul li.active:before {
	background: #79d695;
}

.wrapper .header ul li.active p {
	background: #79d695;
}

.wrapper .form_wrap {
	width: 100%;
	display: grid;
	gap: 1em;
	grid-auto-columns: 100%;
	margin-bottom: 28px;

}

.wrapper .form_wrap form h2
{
	color: #29489d;
	text-align: left;
	margin-bottom: 6px;
}

.wrapper .form_wrap form .sub-title{
	font-weight: 300;
}

.wrapper .form_wrap .input_wrap {
	width: 450px;
	max-width: 100%;
	margin: 0 auto 20px;
}

.wrapper .form_wrap .input_wrap:last-child {
	margin-bottom: 0;
}

.wrapper .form_wrap .input_wrap label {
	display: block;
	margin-bottom: 5px;
}

.wrapper .form_wrap .input_wrap .input {
	/*border: 1px solid #ede6de;
	border-radius: 3px;*/
	padding: 10px;
	display: block;
	width: 100%;
	font-size: 16px;
	transition: 0.5s ease;


	 padding-left: 0 !important; /* elimina el espacio del placeholder */
  padding-right: 10px;        /* podés ajustar el resto del padding si lo necesitás */
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 0 !important;  /* por si hubiera margen también */
  box-sizing: border-box;



  
  border: none;                 /* quita todos los bordes */
  border-bottom: 1px solid #b4b4b4; /* línea inferior */
  border-radius: 0;             /* sin bordes redondeados */
  padding-left: 0 !important;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: transparent;      /* por si hay un fondo blanco predeterminado */
  box-sizing: border-box;
  outline: none;  
 -webkit-appearance: none;
  appearance: none;              /* quita el borde azul al hacer focus */


}

.wrapper .form_wrap .input_wrap .input:focus {
  border-bottom: 1px solid #007bff; /* color azul por ejemplo */
}


.input::placeholder {
  text-align: left;
  color: #999; /* opcional para que se vea mejor */
}




.wrapper .btns_wrap {
	width: 450px;
	max-width: 100%;
	margin: 0 auto;
}

.wrapper .btns_wrap .common_btns {
	display: flex;
	justify-content: space-between;
}

.wrapper .btns_wrap .common_btns.form_1_btns {
	justify-content: flex-end;
}

.wrapper .btns_wrap .common_btns button {
	border: 0;
	padding: 12px 15px;
	color: white;
	width: 100%;
	height: 50px;
	justify-content: center;
	display: flex;
	align-items: center;
	font-size: 16px;
	border-radius: 3px;
	transition: 0.5s ease;
	cursor: pointer;
	background-color: #29489d;

}

.wrapper .btns_wrap .common_btns button.btn_back {
	background: #f3eef6;
}

.wrapper .btns_wrap .common_btns button.btn_next .icon {
	display: flex;
	margin-left: 10px;
}

.wrapper .btns_wrap .common_btns button.btn_back .icon {
	display: flex;
	margin-right: 10px;
}



.wrapper .btns_wrap .common_btns button.btn_back:hover {
	background: #8b8c8c;
}

.modal_wrapper {
  display: none; /* Oculto por defecto */
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background-color: white;
 
}

.modal_wrapper.active {
  display: flex; /* Se muestra al activar */
}


.modal_wrapper .success_wrap {
	background-color: #fafafa;
	padding: 190px 20px;
	/*max-width: 400px;*/
	width: 100%;
	height: 100%;
	text-align: center;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.modal_wrapper .modal_icon {
	font-size: 50px;
	color: #6c63ff;
	margin-bottom: 150px;

}


.modal_wrapper .rechazo_wrap {
	background-color: #fcebb8;	
	padding: 190px 20px;
	/*max-width: 400px;*/
	width: 100%;
	height: 100%;
	text-align: center;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}


.modal_wrapper .advert_icon {
	

  width: 70px;
	height: 70px;
	background: #ca9912;
	color: #ffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 45px;
	font-weight: 700;
	margin: 0px auto;
  margin-bottom: 20px;

}


.modal_wrapper .success_wrap .modal_icon {
	/*margin-right: 20px;*/
	width: 50px;
	height: 50px;
	background: #6c63ff;
	color: #ffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 45px;
	font-weight: 700;
	margin: 0px auto;
  margin-bottom: 20px;
}

.modal_wrapper.active {
	visibility: visible;
}

.modal_wrapper.active .shadow {
	opacity: 1;
}

.modal_wrapper.active .success_wrap {
	/*transform: translate(-50%, -50%);*/
}

/*FORM 3*/

.form_3 {
  max-width: 480px;
  margin: auto;
  padding: 30px 20px;
  text-align: center;
}

#tituloOferta {
  font-size: 22px;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.monto-seleccion input[type="text"] {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
}

#montoSlider {
  width: 100%;
  margin-top: 5px;
}

.monto-limites {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

.opciones-cuotas {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.opcion-cuota {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 12px 16px;
  transition: border 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.opcion-cuota.selected {
  border-color: #6c63ff;
  box-shadow: 0 0 6px rgba(108, 99, 255, 0.5);
}

.opcion-cuota input[type="radio"] {
  margin-right: 8px;
}

.cuota-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cuota-detalle {
  text-align: right;
}

.cuota-detalle strong {
  font-size: 18px;
  display: block;
}

.cuota-detalle small {
  font-size: 13px;
  color: #666;
}

.mejor-tasa {
  background-color: #6c63ff;
  color: #fff;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 12px;
  margin-left: 6px;
}

#verMasCuotas {
  margin-top: 25px;
  padding: 10px 20px;
  background-color: #00c49a;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

/* Aplica a .cuota-3, .cuota-6, .cuota-12 (y cualquier clase que empiece con "cuota-") */
[class^="cuota-"] {
  display: inline-block;
  will-change: opacity, transform;
  transition: opacity 0.60s cubic-bezier(.2,.8,.2,1), transform 0.60s cubic-bezier(.2,.8,.2,1);
  opacity: 1;
  
}

[class^="cuota-"].fade-out {
  opacity: 0;
 
}

[class^="cuota-"].fade-in {
  opacity: 1;
 
}





/*RESPONSIVE*/

@media (max-width: 900px) {

	body{
		background-color: white;
	}

	.wrapper {
		max-width: 100%;


	}

	.wrapper .form_wrap .input_wrap {
		width: 100%;

	}


	.wrapper .btns_wrap {
		width: 100%;
	}

  .modal_wrapper .modal_icon {
	font-size: 50px;
	color: #6c63ff;
	margin-bottom: 150px;

}


.modal_wrapper .success_wrap .modal_icon {
	
	font-size: 55px;
	font-weight: 700;
}

}

#nombreUsuario {
  color: inherit !important;      /* hereda el color del padre (h2) */
  font-weight: inherit !important; /* mismo grosor que el resto */
  text-decoration: none !important; /* por si lo está tomando como link */
}


.opcion-cuota input[type="radio"] {
  display: none; /* invisible pero funcional */
}


/* Igualar altura del input montoEditable con las tarjetas de cuotas */
#montoEditable {
  height: 60px;             /* mismo alto aproximado que .opcion-cuota */
  font-size: 1.1rem;        /* texto más grande para equilibrar */
  padding: 10px 15px;       /* espacio interno */
  box-sizing: border-box;   /* incluye padding en el cálculo de altura */
  display: block;
  width: 100%;              /* ocupa todo el ancho disponible */
}


/* Modal base */
.modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Contenido del modal */
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

/* Botón de cerrar */
.cerrar-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}



/*detalle*/

.titulo-detalle {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.detalle-prestamo {
  margin-top: 10px;
}

.fila-detalle {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.fila-detalle strong {
  color: #222;
  font-weight: 600;
}

.fila-detalle del {
  color: #999;
  margin-right: 8px;
}

.info-vencimiento {
  background: #f3f8ff;
  padding: 12px;
  border-radius: 8px;
  margin: 15px 0;
}

.alerta-vencimiento {
  font-weight: 600;
  margin-bottom: 5px;
}

.legales {
  margin-top: 15px;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
}



.acciones-modal {
  margin-top: 20px;
  text-align: center;
}

#confirmarCuotaExtra {
  background-color: #6200ee;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

#confirmarCuotaExtra:hover {
  background-color: #4e00c7;
}


/*estilos 6 campos de codigos validacion*/

.codigo-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.codigo-inputs .digito {
  width: 40px;
  height: 50px;
  text-align: center;
  font-size: 22px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}

.codigo-inputs .digito:focus {
  border-color: #004aad;
  box-shadow: 0 0 5px rgba(0, 74, 173, 0.3);
}

.codigo-inputs .digito.valid {
  border-color: #28a745;
}


.success_wrap{
  background: red;;
}



.opcion-cuota.oculta {
  visibility: hidden;
  position: absolute;
}
