@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

/* Variables de color */
:root {
    --color-primary: #69a5bb;
    --color-secondary: #6c89ae;
}


* {
	box-sizing: border-box;
}

body {
	margin: auto;
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	overflow: auto;
	background: linear-gradient(315deg, var(--color-primary) 3%, var(--color-secondary) 38%, var(--color-primary) 68%, var(--color-secondary) 98%);
	animation: gradient 120s ease infinite;
	background-size: 400% 400%;
	background-attachment: fixed;
    font-size: 11px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-family: 'Montserrat', sans-serif;
	height: 100vh;
	margin: -20px 0 50px;
	overflow: hidden;
}

@keyframes gradient {
	0% {
		background-position: 0% 0%;
	}

	50% {
		background-position: 100% 100%;
	}

	100% {
		background-position: 0% 0%;
	}
}

.wave {
	background: rgba(255, 255, 255, 0.171);
	border-radius: 1000% 1000% 0 0;
	position: fixed;
	width: 200%;
	height: 12em;
	animation: wave 10s -3s linear infinite;
	transform: translate3d(0, 0, 0);
	opacity: 0.8;
	bottom: 0;
	left: 0;
	z-index: -1;
}

.wave:nth-of-type(2) {
	bottom: -1.25em;
	animation: wave 18s linear reverse infinite;
	opacity: 0.8;
}

.wave:nth-of-type(3) {
	bottom: -2.5em;
	animation: wave 20s -1s reverse infinite;
	opacity: 0.9;
}

@keyframes wave {
	2% {
		transform: translateX(1);
	}

	25% {
		transform: translateX(-25%);
	}

	50% {
		transform: translateX(-50%);
	}

	75% {
		transform: translateX(-25%);
	}

	100% {
		transform: translateX(1);
	}
}

h1 {
	font-weight: bold;
	margin: 0;
	color: white;
}

small {
	color: white;
}

h2 {
	text-align: center;
}

p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
}

span {
	font-size: 10px;
}

button {
	border-radius: 10px;
	border: 1px solid var(--color-secondary);
	background-color: var(--color-primary);
	color: #FFFFFF;
	font-size: 10px;
	font-weight: bold;
	padding: 8px 30px;
	letter-spacing: 1px;
	transition: transform 80ms ease-in;
}

button:hover {
	background-color: var(--color-primary);
	color: #000000;
	transform: scale(1.1);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);

}

button:active {
	transform: scale(0.95);
}

button:focus {
	outline: none;
}

button.ghost {
	background-color: transparent;
	border-color: #FFFFFF;
}

button:disabled {
	background-color: grey;
}


.forregistro {
	background-color: var(--color-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
}

.container {
	background-color: #ffffff00;
	border-radius: 10px;
	border: rgba(255, 255, 255, 0.212) 2px solid;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
	position: absolute; /* Cambiar a absolute */
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); /* Centrado perfecto */
	overflow: hidden;
	width: 780px;
	max-width: 100%;
	min-height: 500px;
}


.form-container {
	position: absolute;
	top: 0;
	height: 100%;
	transition: all 0.6s ease-in-out;
}

.sign-in-container {
	left: 0;
	width: 50%;
	z-index: 2;
}

.container.right-panel-active .sign-in-container {
	transform: translateX(100%);
}

.sign-up-container {
	left: 0;
	width: 50%;
	opacity: 0;
	z-index: 1;
}

.container.right-panel-active .sign-up-container {
	transform: translateX(100%);
	opacity: 1;
	z-index: 5;
	animation: show 0.6s;
}

@keyframes show {

	0%,
	49.99% {
		opacity: 0;
		z-index: 1;
	}

	50%,
	100% {
		opacity: 1;
		z-index: 5;
	}
}

.overlay-container {
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	overflow: hidden;
	transition: transform 0.6s ease-in-out;
	
}

.container.right-panel-active .overlay-container {
	transform: translateX(-100%);
}

.overlay {
	background-color: var(--color-secondary);
	background: linear-gradient(to right, var(--color-primary), var(--color-primary));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	color: #FFFFFF;
	position: relative;
	left: -100%;
	height: 100%;
	width: 200%;
	transform: translateX(0);
	transition: transform 0.7s ease-in-out;
}

.container.right-panel-active .overlay {
	transform: translateX(50%);
}

.overlay-panel {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 20px;
	text-align: center;
	top: 0;
	height: 100%;
	width: 50%;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}

.overlay-left {
	transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
	transform: translateX(0);
}

.overlay-right {
	right: 0;
	transform: translateX(0);
}

.container.right-panel-active .overlay-right {
	transform: translateX(20%);
}


.dialogrec {
	border-radius: 10px;
	width: 450px;
	background-color: rgba(255, 255, 255, 0.932);
	border: 2px var(--color-secondary) solid;
}

.dialoginv {
	border-radius: 10px;
	width: 450px;
	background-color: rgba(255, 255, 255, 0.932);
	border: 2px var(--color-secondary) solid;
}

.bounce-in-top {
	animation: bounce-in-top 1.1s both
}

@keyframes bounce-in-top {
	0% {
		-webkit-transform: scale(2);
				transform: scale(2);
		-webkit-filter: blur(4px);
				filter: blur(4px);
		opacity: 0;
	  }
	  100% {
		-webkit-transform: scale(1);
				transform: scale(1);
		-webkit-filter: blur(0px);
				filter: blur(0px);
		opacity: 1;
	  }
	}
	@keyframes puff-in-center {
	  0% {
		-webkit-transform: scale(2);
				transform: scale(2);
		-webkit-filter: blur(4px);
				filter: blur(4px);
		opacity: 0;
	  }
	  100% {
		-webkit-transform: scale(1);
				transform: scale(1);
		-webkit-filter: blur(0px);
				filter: blur(0px);
		opacity: 1;
	  }
}

.inputGroup {
	font-family: 'Segoe UI', sans-serif;
	padding: 10px;
	position: relative;
}

/* input */
.inputGroup input {
	text-align: center;
	color: white;
	font-size: 100%;
    border: 0.1px rgba(0, 0, 0, 0.137) solid ;
	outline: none;
	background-color: var(--color-secondary); /* Fondo neutro para neomorfismo */
	border-radius: 10px;
	width: 350px;
	height: 30px;
	/* Sombras para el efecto de neomorfismo */
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.185), /* Sombra oscura */
	            -3px -3px 10px var(--color-secondary); /* Sombra clara */
	transition: all 0.2s ease-in-out; /* Animación suave para hover y active */
}

/* Efecto al pasar el cursor */
.inputGroup input:hover {
	box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.3), 
	            -3px -3px 12px var(--color-secondary); /* Más profundidad */
}

/* Efecto al hacer clic */
.inputGroup input:active {
	box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.2), 
	            inset -4px -4px 10px var(--color-secondary); /* Relieve hundido */
	background-color: #d1d1d1; /* Ligero cambio de fondo */
}

.inputselc {
	color: white;
	text-align: center;
	font-size: 100%;
	outline: none;
	border: 0.1px rgba(0, 0, 0, 0.075) solid ;
	border-radius: 10px;
	background-color: transparent;
	width: 350px;
	height: 30px;
    padding-left: 4px;
	cursor: pointer; /* Cambiar el cursor al pasar por encima *

    /* Sombras para el efecto de neomorfismo */
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.185), /* Sombra oscura */
    -3px -3px 10px var(--color-secondary); /* Sombra clara */
    transition: all 0.2s ease-in-out; /* Animación suave para hover y active */
}

.inputselc select:hover {
	box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.3), 
	            -3px -3px 12px var(--color-secondary); /* Más profundidad */
}

/* texto interno */
.inputGroup label {
	font-size: 100%;
	position: absolute;
	left: 0;
	padding-top: 0.6em;
	margin-left: 1.7em;
	pointer-events: none;
	transition: all 0.3s ease;
	color: rgb(255, 255, 255);
}

.inputGroup :is(input:focus, input:valid)~label {
	transform: translateY(-80%) scale(.9);
	margin-left: 1.2em;
	padding: 0.4em;
	background-color: transparent;
}

.inputGroup :is(input:focus, input:valid) {
	border-color: var(--color-primary);
}

@media (max-width: 768px) {
	.inputGroup input {
		width: 200px;
		height: 30px;
	}

	.inputGroup input ::placeholder {
		font-size: 60%;
	}

	small {
		font-size: 70%;
	}

	.inputGroup label {
		font-size: 80%;
		padding: 0.9em;
	}

	span {
		font-size: 7px;
	}

	p {
		font-size: 11px;
	}

	button {
		font-size: 70%;
		width: 180px;
	}

	.error{
		font-size: 10px;
	}

	.inputselc{
        font-size: 9px;
		width: 200px;
		height: 30px;
	}
}


      

.divresta{
	border-radius: 10px; 
	background-color: var(--color-secondary); 
	margin-top: 20px; 
	padding: 20px;
}
      
.checkboxGroup {
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: flex-start; /* Alinea el contenido horizontalmente */
    margin-top: 10px; /* Espaciado opcional */
}

.checkboxGroup input[type="checkbox"] {
    margin-right: 8px; /* Espacio entre el checkbox y el texto */
}

.checkboxGroup span {
    line-height: 1; /* Asegura un ajuste correcto del texto */
    display: inline-block; /* Hace que el span se comporte como un bloque alineado */
    vertical-align: middle; /* Alinea el texto con el centro del checkbox */
    font-size: 10px; /* Ajusta el tamaño del texto si es necesario */
}
      
