
/* Reset y fuente base coherente con el proyecto */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', sans-serif;
}

body {
	background: linear-gradient(135deg, #0a0e17 0%, #1a0b2e 25%, #16213e 50%, #0f3460 75%, #0a0e17 100%);
	background-size: 400% 400%;
	animation: cyberpunkGradient 15s ease infinite;
	position: relative;
	color: white;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	overflow: hidden;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(0, 255, 255, 0.03) 2px,
			rgba(0, 255, 255, 0.03) 4px
		),
		repeating-linear-gradient(
			90deg,
			transparent,
			transparent 2px,
			rgba(255, 0, 255, 0.03) 2px,
			rgba(255, 0, 255, 0.03) 4px
		);
	pointer-events: none;
	z-index: 0;
}

body::after {
	content: '';
	position: fixed;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 50px 50px;
	animation: gridMove 20s linear infinite;
	pointer-events: none;
	z-index: 0;
}

@keyframes cyberpunkGradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes gridMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(50px, 50px); }
}

.login-page {
	width: 100%;
	max-width: 980px;
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.login-card {
	width: 100%;
	max-width: 420px;
	background: linear-gradient(135deg, rgba(10, 14, 23, 0.9) 0%, rgba(26, 11, 46, 0.85) 50%, rgba(15, 52, 96, 0.8) 100%);
	border-radius: 12px;
	padding: 28px;
	border-top: 3px solid cyan;
	border: 1px solid rgba(0, 255, 255, 0.3);
	box-shadow: 
		0 10px 40px rgba(0, 255, 255, 0.2),
		0 0 60px rgba(255, 0, 255, 0.1),
		inset 0 0 50px rgba(0, 255, 255, 0.03);
	backdrop-filter: blur(15px);
	position: relative;
}

.login-card::before {
	content: '';
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	background: linear-gradient(45deg, cyan, magenta, cyan);
	border-radius: 12px;
	z-index: -1;
	opacity: 0.3;
	filter: blur(10px);
	animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
	0%, 100% { opacity: 0.3; }
	50% { opacity: 0.6; }
}

.brand {
	text-align: center;
	margin-bottom: 18px;
}

.brand-logo {
	width: 72px;
	filter: drop-shadow(0 0 10px cyan);
	opacity: 0.95;
}

.brand h1 {
	color: white;
	font-size: 1.8rem;
	margin-top: 8px;
	letter-spacing: 1px;
	text-shadow: 0 0 8px rgba(0, 255, 255, 0.12);
}

.brand .subtitle {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
	margin-top: 6px;
}

.login-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.label-text {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	font-size: 0.85rem;
}

.field input {
	background: linear-gradient(180deg, rgba(0, 255, 255, 0.02), rgba(0, 0, 0, 0.2));
	border: 1px solid rgba(0, 255, 255, 0.12);
	color: white;
	padding: 12px 14px;
	border-radius: 8px;
	outline: none;
	transition: box-shadow 0.18s, transform 0.12s;
}

.field input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.field input:focus {
	box-shadow: 0 6px 18px rgba(0, 212, 170, 0.08);
	transform: translateY(-1px);
	border-color: #00d4aa;
}

.options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
}

.options .remember {
	display: flex;
	align-items: center;
	gap: 8px;
}

.options input[type="checkbox"] {
	width: 16px;
	height: 16px;
	border-radius: 3px;
	border: 2px solid cyan;
	background: rgba(0, 255, 255, 0.06);
}

.forgot {
	color: white;
	text-decoration: none;
	opacity: 0.95;
}

.btn-login {
	background: linear-gradient(135deg, rgba(0, 255, 255, 0.12), rgba(0, 212, 170, 0.06));
	border: 1px solid rgba(0, 255, 255, 0.6);
	color: white;
	padding: 12px;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 6px;
	box-shadow: 0 6px 18px rgba(0, 255, 255, 0.05);
	transition: transform 0.15s, box-shadow 0.15s;
}

.btn-login:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 212, 170, 0.12);
}

.divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0;
}

.divider::before,
.divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.06), transparent);
}

.divider span {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.4);
	color: rgba(255, 255, 255, 0.7);
}

.socials {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.btn-social {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid rgba(0, 255, 255, 0.08);
	cursor: pointer;
	color: white;
	background: rgba(0, 0, 0, 0.35);
	transition: all 0.18s;
}

.btn-social i {
	font-size: 1.05rem;
}

.btn-social.facebook {
	background: linear-gradient(135deg, rgba(59, 89, 152, 0.2), rgba(59, 89, 152, 0.06));
	border-color: rgba(59, 89, 152, 0.4);
}

.btn-social.google {
	background: linear-gradient(135deg, rgba(219, 68, 55, 0.12), rgba(219, 68, 55, 0.04));
	border-color: rgba(219, 68, 55, 0.25);
}

.btn-social:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 255, 255, 0.06);
}

.login-footer {
	margin-top: 14px;
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
}

.login-footer a {
	color: white;
	text-decoration: none;
	font-weight: 600;
}

@media (max-width: 520px) {
	body {
		padding: 15px;
	}

	.login-card {
		padding: 20px;
	}

	.brand h1 {
		font-size: 1.4rem;
	}

	.brand-logo {
		width: 60px;
	}

	.field input {
		padding: 10px 12px;
	}

	.options {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}

	.socials {
		flex-direction: column;
	}

	.btn-social {
		width: 100%;
	}
}

@media (max-width: 768px) {
	body {
		padding: 20px;
	}

	.login-page {
		max-width: 100%;
	}

	.login-card {
		max-width: 100%;
	}
}
