* { box-sizing: border-box; margin: 0; padding: 0; }
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0f172a;
	color: #334155;
}
body::before {
	content: '';
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.12) 0%, transparent 50%),
		radial-gradient(ellipse at 50% 80%, rgba(14,165,233,0.1) 0%, transparent 50%);
	z-index: 0;
}
.login-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 400px;
	padding: 1.5rem;
}
.login-brand {
	text-align: center;
	margin-bottom: 2rem;
}
.login-brand h1 {
	color: #fff;
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.login-brand h1 span { color: #60a5fa; }
.login-brand p {
	color: #94a3b8;
	font-size: 0.9rem;
	margin-top: 0.4rem;
}
.login-box {
	background: #fff;
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 0 25px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
}
.alert {
	padding: 0.75rem 1rem;
	border-radius: 10px;
	font-size: 0.85rem;
	margin-bottom: 1.25rem;
}
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.field { margin-bottom: 1.25rem; }
.field label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 0.4rem;
}
.field input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	font-size: 1rem;
	color: #1e293b;
	background: #f8fafc;
	transition: all 0.15s;
	outline: none;
}
.field input:focus {
	border-color: #3b82f6;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.field input::placeholder { color: #94a3b8; }
.pw-field { position: relative; }
.pw-field input { padding-right: 3rem; }
.pw-toggle {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	opacity: 0.3;
	padding: 0.25rem;
	transition: opacity 0.15s;
}
.pw-toggle:hover, .pw-toggle.active { opacity: 0.7; }
.submit-btn {
	width: 100%;
	padding: 0.85rem;
	background: #3b82f6;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
	margin-top: 0.25rem;
}
.submit-btn:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(59,130,246,0.35); }
.submit-btn:active { transform: translateY(0); }
.login-links {
	text-align: center;
	margin-top: 1.25rem;
	font-size: 0.85rem;
}
.login-links a { color: #64748b; text-decoration: none; }
.login-links a:hover { color: #3b82f6; }
