/* Login/Registrierung - eigenstaendige Seiten (kein Sidebar-Shell), aber
   dieselben Tokens/Komponenten wie das restliche Control Panel. */

.fs-auth-body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	background: var(--fs-bg);
	color: var(--fs-text);
	font-size: 13px;
	font-family: "Montserrat", sans-serif;
	position: relative;
	overflow-x: hidden;
}

.fs-auth-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: var(--fs-bg);
}

.fs-auth-bg video,
.fs-auth-bg img {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
	filter: blur(5px) brightness(0.35) saturate(0.85);
}

.fs-auth-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 80% at 15% 0%, var(--fs-accent-soft) 0%, transparent 55%),
		linear-gradient(160deg, rgba(10, 11, 13, 0.72) 0%, rgba(10, 11, 13, 0.94) 100%);
}

.fs-auth {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
}

.fs-auth-card {
	width: 100%;
	max-width: 400px;
	padding: 26px 26px 22px;
	border-radius: var(--fs-radius);
	background: rgba(16, 18, 22, 0.92);
	backdrop-filter: blur(14px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	gap: 0;
}

.fs-auth-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--fs-line);
}

.fs-auth-brand img {
	height: 30px;
	width: auto;
}

.fs-auth-brand-name {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: var(--fs-text);
	line-height: 1.2;
}

.fs-auth-brand-sub {
	font-size: 9.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	color: var(--fs-faint);
	margin-top: 2px;
}

.fs-auth-head {
	padding: 20px 0 16px;
}

.fs-auth-title {
	font-size: 19px;
	font-weight: 700;
	margin: 0;
	color: var(--fs-text);
	letter-spacing: -0.2px;
}

.fs-auth-hint {
	margin: 5px 0 0;
	font-size: 12px;
	color: var(--fs-faint);
}

.fs-auth-alert {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 10px 12px;
	margin-bottom: 16px;
	border-radius: var(--fs-radius-sm);
	border: 1px solid var(--fs-warn);
	background: var(--fs-warn-soft);
	color: var(--fs-warn);
	font-size: 12px;
	line-height: 1.5;
}

.fs-auth-alert i {
	margin-top: 1px;
	flex-shrink: 0;
}

.fs-auth-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fs-auth-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.fs-auth-field .fs-input {
	height: 38px;
	font-size: 13px;
}

.fs-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.fs-auth-link {
	font-size: 11px;
	color: var(--fs-accent);
	text-decoration: none;
}

.fs-auth-link:hover {
	color: var(--fs-accent);
	text-decoration: underline;
}

.fs-auth-submit {
	height: 38px;
	margin-top: 4px;
	justify-content: center;
	font-size: 11.5px;
}

.fs-auth-foot {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--fs-line);
	text-align: center;
	font-size: 12px;
	color: var(--fs-faint);
}

.fs-auth-foot a {
	color: var(--fs-accent);
	font-weight: 600;
	text-decoration: none;
}

.fs-auth-foot a:hover {
	text-decoration: underline;
	color: var(--fs-accent);
}

@media (max-width: 768px) {
	.fs-auth-bg video,
	.fs-auth-bg img { display: none; }
	.fs-auth-card { backdrop-filter: none; }
}
