:root {
	--bg-main: #070a12;
	--bg-card: rgba(16, 20, 35, 0.82);
	--bg-input: rgba(255, 255, 255, 0.065);
	--border-soft: rgba(255, 255, 255, 0.12);
	--text-main: #ffffff;
	--text-muted: #9ca3af;
	--primary: #5b7cfa;
	--primary-hover: #7893ff;
	--danger: #ff5b7e;
	--success: #38d996;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
	--radius-lg: 28px;
	--radius-md: 16px;
	--transition: 180ms ease;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text-main);
	background:
		radial-gradient(circle at top left, rgba(91, 124, 250, 0.35), transparent 34%),
		radial-gradient(circle at bottom right, rgba(56, 217, 150, 0.18), transparent 30%),
		linear-gradient(135deg, #070a12 0%, #0d1220 50%, #080b13 100%);
	display: grid;
	place-items: center;
	padding: 24px;
	overflow-x: hidden;
}

.background-grid {
	position: fixed;
	inset: 0;
	pointer-events: none;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.login-shell {
	width: min(1060px, 100%);
	display: grid;
	grid-template-columns: 1fr 430px;
	gap: 26px;
	position: relative;
	z-index: 1;
}

.hero-panel,
.login-card {
	border: 1px solid var(--border-soft);
	background: var(--bg-card);
	backdrop-filter: blur(22px);
	box-shadow: var(--shadow);
	border-radius: var(--radius-lg);
}

.hero-panel {
	padding: 44px;
	min-height: 620px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	position: relative;
}

.hero-panel::after {
	content: "";
	position: absolute;
	width: 360px;
	height: 360px;
	right: -120px;
	bottom: -120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(91,124,250,0.42), transparent 68%);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.brand-icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--primary), #38d996);
	box-shadow: 0 12px 34px rgba(91, 124, 250, 0.38);
}

.brand-icon svg {
	width: 24px;
	height: 24px;
}

.hero-copy {
	max-width: 560px;
	position: relative;
	z-index: 1;
}

.hero-copy .eyebrow {
	color: var(--success);
	text-transform: uppercase;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin-bottom: 18px;
}

.hero-copy h1 {
	font-size: clamp(2.4rem, 5vw, 4.7rem);
	line-height: 0.94;
	letter-spacing: -0.08em;
	margin-bottom: 24px;
}

.hero-copy p {
	color: var(--text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 500px;
}

.status-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	position: relative;
	z-index: 1;
}

.status-card {
	padding: 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.09);
}

.status-card strong {
	display: block;
	font-size: 1.45rem;
	margin-bottom: 4px;
}

.status-card span {
	color: var(--text-muted);
	font-size: 0.86rem;
}

.login-card {
	padding: 34px;
	align-self: center;
}

.login-head {
	margin-bottom: 30px;
}

.login-head h2 {
	font-size: 1.95rem;
	letter-spacing: -0.04em;
	margin-bottom: 10px;
}

.login-head p {
	color: var(--text-muted);
	line-height: 1.6;
}

.form-group {
	margin-bottom: 18px;
}

label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.9rem;
	color: #d1d5db;
	font-weight: 650;
}

.input-wrap {
	position: relative;
}

.input-wrap input {
	width: 100%;
	height: 54px;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-md);
	background: var(--bg-input);
	color: var(--text-main);
	padding: 0 48px 0 16px;
	outline: none;
	font: inherit;
	transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.input-wrap input:focus {
	border-color: rgba(91, 124, 250, 0.82);
	background: rgba(255, 255, 255, 0.095);
	box-shadow: 0 0 0 4px rgba(91, 124, 250, 0.14);
}

.input-wrap input::placeholder {
	color: #6b7280;
}

.input-icon,
.password-toggle {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #8b93a5;
}

.password-toggle {
	border: 0;
	background: transparent;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 4px;
	transition: color var(--transition);
}

.password-toggle:hover {
	color: var(--text-main);
}

.form-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 20px 0 24px;
	font-size: 0.92rem;
}

.checkbox-row {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--text-muted);
	user-select: none;
}

.checkbox-row input {
	width: 16px;
	height: 16px;
	accent-color: var(--primary);
}

.forgot-link {
	color: #c7d2fe;
	text-decoration: none;
	transition: color var(--transition);
}

.forgot-link:hover {
	color: var(--primary-hover);
}

.login-button {
	width: 100%;
	height: 56px;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--primary), #7c5bfa);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 16px 34px rgba(91, 124, 250, 0.28);
	transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.login-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 20px 42px rgba(91, 124, 250, 0.34);
}

.login-button:disabled {
	cursor: not-allowed;
	opacity: 0.72;
	transform: none;
}

.alert {
	display: none;
	margin-bottom: 18px;
	padding: 13px 15px;
	border-radius: 14px;
	font-size: 0.92rem;
	line-height: 1.5;
}

.alert.error {
	display: block;
	color: #ffd6df;
	background: rgba(255, 91, 126, 0.12);
	border: 1px solid rgba(255, 91, 126, 0.24);
}

.alert.success {
	display: block;
	color: #d8fff0;
	background: rgba(56, 217, 150, 0.12);
	border: 1px solid rgba(56, 217, 150, 0.24);
}

.footer-note {
	margin-top: 24px;
	color: var(--text-muted);
	font-size: 0.84rem;
	line-height: 1.6;
	text-align: center;
}

@media (max-width: 920px) {
	.login-shell {
		grid-template-columns: 1fr;
	}

	.hero-panel {
		min-height: auto;
		gap: 70px;
	}
}

@media (max-width: 560px) {
	body {
		padding: 14px;
	}

	.hero-panel,
	.login-card {
		border-radius: 22px;
		padding: 24px;
	}

	.status-row {
		grid-template-columns: 1fr;
	}

	.form-options {
		align-items: flex-start;
		flex-direction: column;
	}
}

/*
|--------------------------------------------------------------------------
| Passwort vergessen Link
|--------------------------------------------------------------------------
*/

.forgot-link {
	border: none;

	background: transparent;

	padding: 0;

	color: #8ea2ff;

	font-size: 0.92rem;

	font-weight: 600;

	cursor: pointer;

	transition:
		color 0.18s ease,
		opacity 0.18s ease;
}

.forgot-link:hover {
	color: #c7d2fe;
}

/*
|--------------------------------------------------------------------------
| Forgot Password Modal
|--------------------------------------------------------------------------
*/

.station-modal {
	position: fixed;

	inset: 0;

	display: none;

	align-items: center;

	justify-content: center;

	z-index: 10000;
}

.station-modal.active {
	display: flex;
}

.station-modal-overlay {
	position: absolute;

	inset: 0;

	background:
		rgba(2, 6, 23, 0.78);

	backdrop-filter: blur(6px);
}

.station-modal-content {
	position: relative;

	width: min(460px, 92vw);

	background:
		linear-gradient(
			180deg,
			rgba(15,23,42,0.98),
			rgba(10,15,30,0.98)
		);

	border:
		1px solid rgba(255,255,255,0.08);

	border-radius: 28px;

	padding: 30px;

	z-index: 2;

	box-shadow:
		0 30px 80px rgba(0,0,0,0.45);
}

.station-modal-header {
	display: flex;

	align-items: center;

	justify-content: space-between;

	margin-bottom: 26px;
}

.station-modal-header h2 {
	margin: 0;

	font-size: 1.45rem;

	font-weight: 800;

	color: #fff;
}

.station-modal-header button {
	width: 42px;
	height: 42px;

	border: none;

	border-radius: 14px;

	cursor: pointer;

	background:
		rgba(255,255,255,0.06);

	color: #fff;

	font-size: 1rem;

	transition:
		background 0.18s ease,
		transform 0.18s ease;
}

.station-modal-header button:hover {
	background:
		rgba(255,255,255,0.12);

	transform: scale(1.04);
}

/*
|--------------------------------------------------------------------------
| Modal Input
|--------------------------------------------------------------------------
*/

.station-modal .form-group {
	display: flex;

	flex-direction: column;

	gap: 10px;
}

.station-modal .form-group label {
	font-size: 0.92rem;

	font-weight: 700;

	color: #cbd5e1;
}

.station-modal .form-group input {
	height: 54px;

	border: 1px solid rgba(255,255,255,0.08);

	border-radius: 16px;

	padding: 0 18px;

	font-size: 0.95rem;

	background:
		rgba(255,255,255,0.04);

	color: #fff;

	outline: none;

	transition:
		border-color 0.18s ease,
		background 0.18s ease,
		box-shadow 0.18s ease;
}

.station-modal .form-group input::placeholder {
	color: #64748b;
}

.station-modal .form-group input:focus {
	border-color: #5b7cfa;

	background:
		rgba(255,255,255,0.06);

	box-shadow:
		0 0 0 4px rgba(91,124,250,0.15);
}

/*
|--------------------------------------------------------------------------
| Modal Button
|--------------------------------------------------------------------------
*/

.station-modal .primary-button {
	width: 100%;

	height: 54px;

	border: none;

	border-radius: 18px;

	cursor: pointer;

	font-size: 0.96rem;

	font-weight: 700;

	color: #fff;

	background:
		linear-gradient(
			135deg,
			#5b7cfa,
			#7c3aed
		);

	box-shadow:
		0 10px 30px rgba(91,124,250,0.25);

	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		opacity 0.18s ease;
}

.station-modal .primary-button:hover {
	transform: translateY(-1px);

	box-shadow:
		0 14px 40px rgba(91,124,250,0.35);
}

.station-modal .primary-button:active {
	transform: scale(0.99);
}