/* Moved out of login.html: the CSP does not allow inline <style>. */
* { box-sizing: border-box; }
body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
	background: radial-gradient(ellipse at top, #ffffff 0%, #f4f5f7 60%, #eceef1 100%);
	font-family: "Montserrat", "Segoe UI", -apple-system, Roboto, Helvetica, Arial, sans-serif;
	color: #000;
}
.wrap {
	width: 100%;
	max-width: 400px;
	padding: 44px 45px 40px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.08);
	text-align: center;
	animation: fadeUp .5s ease-out both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wrap { animation: none; } }
.bg-image { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
	.bg-overlay { position: fixed; inset: 0; z-index: -1; background: rgba(0,0,0,.35); pointer-events: none; }
	@media (prefers-reduced-motion: reduce) { .bg-video { display: none; } }
	body.has-video .footer { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
	.logo-lookcast { display: block; width: 100%; height: auto; }
.client { margin-top: 28px; }
.client .for {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 12px;
	color: #003087;
	letter-spacing: 2px;
}
.client .for::before, .client .for::after { content: ""; flex: 1; height: 1px; background: #dfe3e8; }
.client img { display: block; max-width: 160px; max-height: 90px; height: auto; margin: 0 auto; }
.welcome { margin: 32px 0 0; padding-top: 28px; border-top: 1px solid #eef0f3; }
.welcome h1 { margin: 0; font-size: 20px; font-weight: 600; }
.welcome p { margin: 6px 0 0; font-size: 13px; color: #6b7280; }
.msg {
	margin: 24px 0 0;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: 13px;
	text-align: left;
}
.msg.error { background: #fde7e9; color: #a4262c; }
.msg.info { background: #eef4fb; color: #1d4f8c; }
.sso {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: 40px;
	margin-top: 28px;
	border-radius: 4px;
	background: #000;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s, background .15s;
}
.msg + .sso { margin-top: 24px; }
.sso:hover { background: #222; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.sso .arrow { transition: transform .15s; }
.sso:hover .arrow { transform: translateX(3px); }
.sso:focus-visible { outline: 2px solid #0067b8; outline-offset: 2px; }
.footer { margin-top: 24px; font-size: 12px; line-height: 1.6; color: #8a919c; text-align: center; }
@media (max-width: 480px) {
	.wrap { padding: 32px 24px; box-shadow: none; }
}
