﻿:root {
	--primary-color: #4361ee;
	--secondary-color: #3f37c9;
	--accent-color: #4cc9f0;
	--light-color: #f8f9fa;
	--dark-color: #212529;
}

body {
	font-family: 'Lato', sans-serif;
	background: #E049804D;
	color: #333;
}

.ftco-section {
	padding: 5em 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.wrap {
	background: white;
	border-radius: 0px;
	overflow: hidden;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.login-title {
	font-family: 'Poppins', sans-serif;
	font-size: 26px;
	font-weight: 600;
	color: #E04980;
	letter-spacing: 0.5px;
}

.text-wrap {
	background: white;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.logo-container {
	max-width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

	.logo-container img {
		max-width: 100%;
		max-height: 400px;
		width: auto;
		height: auto;
		object-fit: contain;
	}


.login-wrap {
	padding: 40px;
	background: white;
	width: 100%;
	max-width: 600px;
}

@media (min-width: 768px) {
	.login-wrap {
		width: 50%;
	}
}

.form-control {
	height: 48px;
	border-radius: 0;
	border: 1px solid #e6e6e6;
	padding-left: 15px;
}

	.form-control:focus {
		box-shadow: none;
		border-color: var(--primary-color);
	}

.btn-primary {
	background: var(--primary-color);
	border: none;
	height: 48px;
	border-radius: 5px;
	font-weight: 600;
}

	.btn-primary:hover {
		background: var(--secondary-color);
	}

.social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f1f1f1;
	color: #333;
	margin-left: 10px;
	transition: all 0.3s;
}

	.social-icon:hover {
		background: var(--primary-color);
		color: white;
	}

.checkbox-wrap {
	display: block;
	position: relative;
	padding-left: 30px;
	cursor: pointer;
}

	.checkbox-wrap input {
		position: absolute;
		opacity: 0;
		cursor: pointer;
	}

.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background: #f1f1f1;
	border-radius: 3px;
}

.checkbox-wrap input:checked ~ .checkmark {
	background: var(--primary-color);
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.checkbox-wrap input:checked ~ .checkmark:after {
	display: block;
}

.checkbox-wrap .checkmark:after {
	left: 7px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

@media (max-width: 991.98px) {
	.wrap {
		flex-direction: column;
	}

	.text-wrap {
		padding: 30px;
		order: -1;
	}

	.logo-container img {
		max-height: 150px;
	}

	.ftco-section {
		padding: 2em 0;
	}
}

@media (max-width: 767.98px) {
	.login-wrap {
		padding: 30px 20px;
	}

	.logo-container img {
		max-height: 120px;
	}
}

#loginBtn {
	background-color: #E04980;
	border-color: #E04980;
	width: auto;
	margin: 0 auto;
	display: block;
	border-radius: 0;
	padding: 10px 0;
	font-weight: bold;
	color: white;
	transition: all 0.3s;
}

	#loginBtn:hover {
		background-color: #d43d75;
		border-color: #d43d75;
	}

/* Contenedor principal */
.form-group.d-md-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 0;
	font-family: 'Arial', sans-serif;
}

/* Checkbox personalizado */
.checkbox-wrap.checkbox-primary {
	position: relative;
	padding-left: 30px;
	cursor: pointer;
	display: inline-block;
	color: #555;
	font-size: 14px;
}

	.checkbox-wrap.checkbox-primary input {
		position: absolute;
		opacity: 0;
		cursor: pointer;
	}

.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #fff;
	border: 2px solid #E04980;
	border-radius: 4px;
	transition: all 0.3s;
}

.checkbox-wrap.checkbox-primary input:checked ~ .checkmark {
	background-color: #E04980;
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.checkbox-wrap.checkbox-primary input:checked ~ .checkmark:after {
	display: block;
}

/* Enlace "Olvidó contraseña" */
.w-50.text-md-right a {
	color: #E04980;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
}

	.w-50.text-md-right a:hover {
		color: #d43d75;
		text-decoration: underline;
	}

/* Responsive para móviles */
@media (max-width: 768px) {
	.form-group.d-md-flex {
		flex-direction: column;
		align-items: flex-start;
	}

	.w-50 {
		width: 100% !important;
		margin: 5px 0;
	}

	.text-md-right {
		text-align: left !important;
	}
}

/* Contenedor principal */
.logo-overlay-container {
	position: relative;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Estilo base para los círculos */
.circle {
	position: absolute;
	border-radius: 50%;
	filter: blur(1px);
	opacity: 0.8;
	animation: float 6s ease-in-out infinite;
}

/* Tamaños y posiciones individuales */
.circle-1 {
	width: 240px;
	height: 240px;
	top: -10%;
	left: 35%;
	background-color: #E04980 !important;
	animation-delay: 0s;
}

.circle-2 {
	width: 180px;
	height: 180px;
	bottom: 15%;
	top: 42%;
	right: 45%;
	background-color: #E04980C9 !important;
	animation-delay: 1.5s;
}

.circle-3 {
	width: 80px;
	height: 80px;
	top: 90%;
	left: 40%;
	background-color: #E04980A1 !important;
	animation-delay: 3s;
}

.circle-4 {
	width: 160px;
	height: 160px;
	top: 60%;
	left: 60%;
	background-color: #E0498073 !important;
	animation-delay: 4.5s;
}

/* Logo superpuesto */
.logo-overlay {
	position: relative;
	z-index: 10;
	width: 180px;
	height: auto;
	filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Animación flotante */
@keyframes float {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.logo-overlay-container {
		width: auto;
		height: auto;
	}

	.circle-1 {
		width: 80px;
		height: 80px;
		margin-top: 2%;
		margin-left: 1%;
	}

	.circle-2 {
		width: 60px;
		height: 60px;
	}

	.circle-3 {
		width: 43px;
		height: 43px;
		margin-top: -35%;
		margin-left: 15%;
	}

	.circle-4 {
		width: 25px;
		height: 25px;
		margin-top: 32%;
		margin-left: -18%;
	}

	.logo-overlay {
		width: 130px;
	}
}


/*GLOAT LABLE*/
.floating-label {
	position: relative;
	margin-bottom: 1.5rem;
	margin-top:20px;
}

	.floating-label label {
		position: absolute;
		top: 50%;
		left: 15px;
		transform: translateY(-50%);
		color: #999;
		font-size: 16px;
		pointer-events: none;
		transition: all 0.3s ease;
		padding: 0 5px;
		background: white;
	}

	.floating-label input {
		padding: 15px;
		border: 1px solid #ddd;
		border-radius: 4px;
		width: 100%;
	}

		.floating-label input:focus,
		.floating-label input:not(:placeholder-shown) {
			border-color: #E04980;
			outline: none;
		}

			.floating-label input:focus ~ label,
			.floating-label input:not(:placeholder-shown) ~ label {
				top: 0;
				transform: translateY(-50%) scale(0.9);
				color: #E04980;
				background: white;
				padding: 0 5px;
			}



/* Estilo mejorado para el enlace debajo del botón */
.forgot-password-link {
	color: #E04980;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
	display: inline-block;
	padding: 5px 10px;
	border-radius: 4px;
}

	.forgot-password-link i {
		margin-right: 5px;
		font-size: 12px;
	}

	.forgot-password-link:hover {
		color: #d43d75;
		text-decoration: underline;
		background-color: rgba(224, 73, 128, 0.05);
	}

.text-center.mt-3 {
	margin-top: 1rem !important;
}

@media (max-width: 767.98px) {
	.forgot-password-link {
		margin-top: 0;
		margin-bottom: 15px;
	}
}

form {
	margin-left: 20px;
	margin-top: -10px;
}