/*-------------------------------------------------------------------------*/
/* Register Module - Estilo Quel'dorei (Sub-Header Theme)
/*-------------------------------------------------------------------------*/

/* Contenedor principal */
.register-container {
	display: flex;
	min-height: 550px;
	background: rgba(10, 15, 0, 0.9);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 80px rgba(179, 255, 0, 0.1);
	border: 1px solid rgba(179, 255, 0, 0.35);
	margin: 40px 0;
	backdrop-filter: blur(15px);
	position: relative;
	animation: containerGlow 3s ease-in-out infinite alternate;
}

/* Banner lateral izquierdo */
.register-banner {
	width: 40%;
	position: relative;
	background-image: url('../../../assets/images/slider/sliderCharacter_cfbg.webp'), linear-gradient(135deg, rgba(51, 77, 0, 0.6), rgba(76, 102, 0, 0.5));
	background-size: cover;
	background-position: center;
	background-blend-mode: overlay;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px;
	text-align: center;
	color: white;
}

.register-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(10, 15, 0, 0.8));
	z-index: 1;
}

.register-banner-content {
	position: relative;
	z-index: 2;
}

.register-banner h2 {
	font-family: 'Cinzel', serif;
	font-size: 2.2rem;
	margin-bottom: 15px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(179, 255, 0, 0.3);
	color: #fff;
	text-transform: uppercase;
	animation: titlePulse 2s ease-in-out infinite;
}

.register-banner p {
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	margin-bottom: 30px;
	opacity: 0.9;
	line-height: 1.6;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Botón en el banner */
.btn-outline-glow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 35px;
	border: 2px solid rgba(179, 255, 0, 0.6);
	color: white;
	text-transform: uppercase;
	font-weight: 600;
	transition: all 0.3s ease;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
	text-decoration: none;
	font-size: 0.95rem;
	box-shadow: 0 0 20px rgba(179, 255, 0, 0.2);
}

.btn-outline-glow:hover {
	background: linear-gradient(135deg, #4c6600, #334d00);
	color: #ffffff;
	border-color: #b3ff00;
	box-shadow: 0 0 35px rgba(179, 255, 0, 0.6), 0 5px 20px rgba(0, 0, 0, 0.4);
	transform: translateY(-3px) scale(1.05);
}

/* Contenido del formulario (derecha) */
.register-content {
	width: 60%;
	padding: 50px;
	background: rgba(10, 20, 5, 0.6);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.register-header {
	margin-bottom: 35px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding-bottom: 20px;
}

.register-header h3 {
	font-family: 'Cinzel', serif;
	font-size: 2rem;
	color: #fff;
	margin-bottom: 10px;
	background: linear-gradient(90deg, #fff, #b3ff00);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: titleShimmer 3s ease-in-out infinite;
}

.register-header p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.95rem;
}

/* Campos del formulario */
.form-group.form-icon-container {
	position: relative;
	margin-bottom: 25px;
}

/* Iconos de campo ("Cajita pequeña") - A la IZQUIERDA */
.form-group.form-icon-container i {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 50px;
	background: rgba(255, 255, 255, 0.1);
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.1rem;
	pointer-events: none;
	z-index: 3;
	transition: all 0.3s ease;
}

/* Input padding ajustado (Left 65px para librar la cajita, Right 45px para validación) */
.form-group.form-icon-container input {
	width: 100%;
	height: 50px;
	padding: 0 45px 0 65px !important;
	/* !important necesario para sobrescribir form.css */
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(179, 255, 0, 0.2);
	border-radius: 8px;
	color: white;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	transition: all 0.3s ease;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group.form-icon-container input:focus {
	background: rgba(0, 0, 0, 0.6);
	border-color: #b3ff00;
	box-shadow: 0 0 20px rgba(179, 255, 0, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.3);
	outline: none;
	transform: translateY(-1px);
}

/* Highlight del icono cuando el input tiene foco */
.form-group.form-icon-container input:focus+i {
	background: rgba(179, 255, 0, 0.2);
	color: #fff;
	border-right-color: rgba(179, 255, 0, 0.5);
}

.form-group.form-icon-container input::placeholder {
	color: rgba(255, 255, 255, 0.3);
}

/* Iconos de Validación (Check/Error) - A la DERECHA */
/* Iconos de Validación (Check/Error) - A la DERECHA */
/* Iconos de Validación (Check/Error) - A la DERECHA */
.form-group.form-icon-container img {
	position: absolute;
	right: 15px;
	top: 15px !important;
	/* Fixed px placement (50px / 2 - 10px) */
	width: 20px;
	height: 20px;
	z-index: 10;
	display: block;
	cursor: help;
	pointer-events: auto !important;
	transform: none !important;
	/* Remove transform to avoid sub-pixel blur or conflicts */
}

/* Errores */
.form-group span[id$="_error"] {
	position: static !important;
	/* STATIC para que la imagen absoluta tome al .form-group como referencia */
	width: 100%;
	color: #ff5555;
	font-size: 0.85rem;
	margin-top: 5px;
	display: block;
	margin-left: 0;
	font-weight: 600;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
	padding-left: 65px;
	/* Alinear con el texto del input */
}

/* Captcha */
.captcha-container {
	display: flex;
	align-items: center;
	gap: 15px;
	background: rgba(0, 0, 0, 0.3);
	padding: 10px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-container input {
	flex: 1;
	background: transparent;
	border: none;
	color: white;
	padding: 10px;
}

.captcha-container input:focus {
	box-shadow: none;
}

/* Botón Submit */
.btn-register-submit {
	background: linear-gradient(135deg, #4c6600 0%, #334d00 100%);
	border: none;
	padding: 18px;
	width: 100%;
	color: white;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 8px;
	font-size: 1.1rem;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 5px 20px rgba(179, 255, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	position: relative;
	overflow: hidden;
}

.btn-register-submit:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(179, 255, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	filter: brightness(1.2);
	background: linear-gradient(135deg, #5a7700 0%, #3d5500 100%);
}

/* Responsive */
@media (max-width: 991px) {
	.register-container {
		flex-direction: column;
		margin: 20px 0;
	}

	.register-banner {
		width: 100%;
		padding: 40px 20px;
		min-height: 250px;
	}

	.register-content {
		width: 100%;
		padding: 40px 20px;
	}
}

/* Animaciones mejoradas */
@keyframes containerGlow {
	0% {
		box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(179, 255, 0, 0.1);
	}

	100% {
		box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 100px rgba(179, 255, 0, 0.2);
	}
}

@keyframes titlePulse {

	0%,
	100% {
		text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(179, 255, 0, 0.3);
	}

	50% {
		text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 40px rgba(179, 255, 0, 0.5);
	}
}

@keyframes titleShimmer {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.register-header h3 {
	background-size: 200% auto;
}

/* Efecto de partículas en el contenedor */
.register-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23b3ff00" opacity="0.05"/></svg>') repeat;
	pointer-events: none;
	animation: particleFloat 40s linear infinite;
	z-index: 0;
}

@keyframes particleFloat {
	0% {
		background-position: 0 0;
	}

	100% {
		background-position: 200px 200px;
	}
}

/* Asegurar que el contenido esté por encima de las partículas */
.register-banner,
.register-content {
	position: relative;
	z-index: 1;
}

.register-banner {
	width: 100%;
	padding: 40px 20px;
	min-height: 250px;
}

.register-content {
	width: 100%;
	padding: 40px 20px;
}
}