/*******************
SIGEDU
*******************/
* {
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
	margin: 0;
	padding: 0;
}

body {
	display: flex;
	height: 100vh;
	background-color: #f0f2f5;
	overflow: hidden;
}

.login-container {
	width: 35%;
	background: #ffffff;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	position: relative;
	background-image: url('norma_iso_9001.png');
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: 60px;
}

.header-section {
	text-align: center;
	width: 100%;
}

.logo-container {
	border: 15px solid rgba(206, 208, 210, 0.3);
	background: transparent;
	display: inline-block;
	border-radius: 50%;
	width: 180px;
	height: 180px;
	overflow: hidden;
	animation: bounce 1.5s ease-in-out;
}

.logo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@keyframes bounce {
	0% {
		transform: translateY(-100vh);
		opacity: 0;
	}
	50% {
		transform: translateY(20px);
		opacity: 1;
	}
	70% {
		transform: translateY(-10px);
	}
	90% {
		transform: translateY(5px);
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.platform-text {
	margin-bottom: 5px;
	color: #555;
	font-size: 14px;
}

.title {
	margin: 10px 0 25px;
	font-weight: 700;
	font-size: 18px;
	color: #333;
}

.form-wrapper {
	width: 100%;
	max-width: 400px;
	background: #f9f9f9;
	padding: 30px 25px;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group {
	width: 100%;
	margin-bottom: 20px;
	position: relative;
}

.form-group label {
	display: block;
	font-size: 14px;
	color: #333;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-group .input-wrapper {
	position: relative;
}

.form-group input {
	width: 100%;
	padding: 12px 15px 12px 40px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
	outline: none;
	border-color: #0d223f;
	box-shadow: 0 0 5px rgba(13, 34, 63, 0.2);
}

.form-group .input-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
}

.password-group {
	position: relative;
}

.toggle-password {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	width: 16px;
	height: 16px;
}

.login-btn {
	width: 100%;
	padding: 12px;
	background: linear-gradient(90deg, #0d223f, #1a3a6e);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.1s ease;
}

.login-btn:hover {
	background: linear-gradient(90deg, #08172b, #142f5a);
	transform: translateY(-1px);
}

.footer {
	margin-top: 30px;
	font-size: 12px;
	color: #666;
}

.login-right {
	width: 65%;
	position: relative;
	overflow: hidden;
}

.slider {
	width: 100%;
	height: 100%;
	position: relative;
}

.slide {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.slide.active {
	opacity: 1;
}

.login-right::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.slider-dots {
	position: absolute;
	bottom: 20px;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 3;
}

.dot {
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s ease;
}

.dot.active {
	background: #fff;
}

.bg-bubbles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bg-bubbles li {
	position: absolute;
	bottom: -100px;
	background: none;
	animation: float 15s infinite;
	opacity: 0.8;
}

.bg-bubbles li:nth-child(1),
.bg-bubbles li:nth-child(4),
.bg-bubbles li:nth-child(7),
.bg-bubbles li:nth-child(10) {
	width: 35px;
	height: 35px;
	border: 2px solid #ff6f61;
	transform: rotate(45deg);
	animation: float-rotate 12s infinite;
}

.bg-bubbles li:nth-child(2),
.bg-bubbles li:nth-child(5),
.bg-bubbles li:nth-child(8) {
	width: 40px;
	height: 40px;
	border: 2px solid #6b7280;
	border-radius: 50%;
	animation: float-scale 14s infinite;
}

.bg-bubbles li:nth-child(3),
.bg-bubbles li:nth-child(6),
.bg-bubbles li:nth-child(9) {
	width: 30px;
	height: 30px;
	border: 2px solid #4a90e2;
	border-radius: 10px;
	animation: float-scale 16s infinite;
}

.bg-bubbles li:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.bg-bubbles li:nth-child(2) { left: 20%; animation-duration: 18s; animation-delay: 2s; }
.bg-bubbles li:nth-child(3) { left: 30%; animation-duration: 15s; animation-delay: 4s; }
.bg-bubbles li:nth-child(4) { left: 40%; animation-duration: 20s; animation-delay: 1s; }
.bg-bubbles li:nth-child(5) { left: 50%; animation-duration: 14s; animation-delay: 3s; }
.bg-bubbles li:nth-child(6) { left: 60%; animation-duration: 16s; animation-delay: 5s; }
.bg-bubbles li:nth-child(7) { left: 70%; animation-duration: 13s; animation-delay: 2s; }
.bg-bubbles li:nth-child(8) { left: 80%; animation-duration: 19s; animation-delay: 0s; }
.bg-bubbles li:nth-child(9) { left: 90%; animation-duration: 17s; animation-delay: 3s; }
.bg-bubbles li:nth-child(10) { left: 95%; animation-duration: 15s; animation-delay: 4s; }

@keyframes float {
	0% {
		transform: translateY(0);
		opacity: 0.8;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		transform: translateY(-100vh) translateX(15px);
		opacity: 0;
	}
}

@keyframes float-rotate {
	0% {
		transform: translateY(0) rotate(45deg);
		opacity: 0.8;
	}
	50% {
		transform: translateY(-50vh) rotate(405deg);
		opacity: 0.5;
	}
	100% {
		transform: translateY(-100vh) translateX(15px) rotate(765deg);
		opacity: 0;
	}
}

@keyframes float-scale {
	0% {
		transform: translateY(0) scale(1);
		opacity: 0.8;
	}
	50% {
		transform: translateY(-50vh) scale(1.3);
		opacity: 0.5;
	}
	100% {
		transform: translateY(-100vh) translateX(15px) scale(0.9);
		opacity: 0;
	}
}

/* Media query para tablets (mismo diseño que móviles) */
@media (max-width: 824px) {
	body {
		display: block;
		height: 100vh;
		background-color: #fff;
	}

	.login-container {
		width: 100%;
		height: 100%;
		padding: 20px;
		justify-content: center;
		background-position: bottom left;
		background-size: 60px;
	}

	.logo-container {
		width: 180px;
		height: 180px;
	}

	.platform-text {
		font-size: 12px;
	}

	.title {
		font-size: 16px;
		margin-bottom: 20px;
	}

	.form-wrapper {
		padding: 25px 20px;
		max-width: 350px;
	}

	.form-group label {
		font-size: 12px;
	}

	.form-group input {
		padding: 10px 12px 10px 35px;
		font-size: 12px;
	}

	.form-group .input-icon {
		left: 10px;
		width: 14px;
		height: 14px;
	}

	.toggle-password {
		width: 14px;
		height: 14px;
	}

	.login-btn {
		padding: 10px;
		font-size: 14px;
	}

	.footer {
		font-size: 11px;
	}

	.login-right {
		display: none;
	}

	.bg-bubbles li {
		display: none;
	}
}

/* Media query para móviles (mantener consistencia) */
@media (max-width: 576px) {
	body {
		display: block;
		height: 100vh;
		background-color: #fff;
	}

	.login-container {
		width: 100%;
		height: 100%;
		padding: 20px;
		justify-content: center;
		background-position: bottom left;
		background-size: 60px;
	}

	.logo-container {
		width: 180px;
		height: 180px;
	}

	.platform-text {
		font-size: 12px;
	}

	.title {
		font-size: 16px;
		margin-bottom: 20px;
	}

	.form-wrapper {
		padding: 25px 20px;
		max-width: 350px;
	}

	.form-group label {
		font-size: 12px;
	}

	.form-group input {
		padding: 10px 12px 10px 35px;
		font-size: 12px;
	}

	.form-group .input-icon {
		left: 10px;
		width: 14px;
		height: 14px;
	}

	.toggle-password {
		width: 14px;
		height: 14px;
	}

	.login-btn {
		padding: 10px;
		font-size: 14px;
	}

	.footer {
		font-size: 11px;
	}

	.login-right {
		display: none;
	}

	.bg-bubbles li {
		display: none;
	}
}