/* PZL Intranet Login – Farben von pflegezentrum-langenlois.at */
:root {
	--pzl-lime: #c7d300;
	--pzl-lime-dark: #a8b302;
	--pzl-lime-deep: #6f7700;
	--pzl-navy: #15212f;
	--pzl-navy-2: #1f3044;
	--pzl-ink: #1c1c1c;
	--pzl-muted: #5d6470;
	--pzl-line: #dfe2d6;
	--pzl-paper: #f5f6ef;
	--pzl-radius: 18px;
}

html { background: var(--pzl-paper); }

html, body.login { overflow-x: hidden; }
body.login {
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	color: var(--pzl-ink);
	background: var(--pzl-paper);
	min-height: 100vh;
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	grid-template-rows: 1fr auto;
}
body.login > * { grid-column: 2; }
body.login > .clear,
body.login .language-switcher,
body.login #backtoblog { display: none !important; }

/* ---------- Linke Bühne ---------- */
.pzl-stage {
	grid-column: 1 !important;
	grid-row: 1 / 3;
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 90% at 10% 0%, var(--pzl-navy-2) 0%, var(--pzl-navy) 60%);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 6vw, 96px);
	min-height: 100vh;
	box-sizing: border-box;
}
.pzl-stage__bg { position: absolute; inset: 0; pointer-events: none; }
.pzl-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: .55;
	animation: pzl-float 18s ease-in-out infinite alternate;
}
.pzl-blob--1 { width: 360px; height: 360px; background: var(--pzl-lime); top: -180px; right: -160px; opacity: .18; }
.pzl-blob--2 { width: 300px; height: 300px; background: var(--pzl-lime-dark); bottom: 12%; left: -120px; opacity: .25; animation-duration: 22s; }
.pzl-blob--3 { width: 220px; height: 220px; background: #7fa7c9; top: 40%; right: 18%; opacity: .12; animation-duration: 26s; }
@keyframes pzl-float {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to   { transform: translate3d(30px, 40px, 0) scale(1.12); }
}
.pzl-wave {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	width: 100%;
	height: 26%;
	fill: var(--pzl-lime);
}
.pzl-stage__symbol {
	display: block;
	margin: 0 0 26px;
	width: clamp(96px, 9vw, 140px);
	height: auto;
	opacity: .95;
	z-index: 1;
	filter: drop-shadow(0 10px 30px rgba(0,0,0,.25));
	animation: pzl-sway 9s ease-in-out infinite alternate;
	transform-origin: 50% 100%;
}
@keyframes pzl-sway {
	from { transform: rotate(-1.5deg); }
	to   { transform: rotate(1.5deg); }
}
.pzl-stage__text { position: relative; z-index: 2; max-width: 560px; margin-bottom: 14vh; }
.pzl-stage__kicker {
	display: inline-block;
	margin: 0 0 22px;
	padding: 7px 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pzl-navy);
	background: var(--pzl-lime);
	border-radius: 999px;
}
.pzl-stage__title {
	margin: 0 0 18px;
	font-size: clamp(40px, 5.4vw, 76px);
	line-height: 1.02;
	font-weight: 700;
	color: #fff;
	letter-spacing: -.02em;
}
.pzl-stage__title span { color: var(--pzl-lime); }
.pzl-stage__lead {
	margin: 0 0 34px;
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.65;
	color: rgba(255,255,255,.78);
	max-width: 470px;
}
.pzl-stage__clock { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pzl-time {
	font-size: clamp(28px, 2.6vw, 40px);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #fff;
}
.pzl-date { font-size: 15px; color: rgba(255,255,255,.65); }

/* ---------- Rechte Seite / Formular ---------- */
body.login #login {
	grid-row: 1;
	align-self: center;
	justify-self: center;
	width: 100%;
	max-width: 468px;
	padding: 48px 24px 24px;
	box-sizing: border-box;
	animation: pzl-in .6s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes pzl-in {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}
.login h1 { margin-bottom: 26px; }
.login h1 a {
	width: 260px !important;
	height: 72px !important;
	background-size: contain !important;
	background-position: left center !important;
	margin: 0 !important;
}
.login form {
	margin: 0;
	padding: 34px 32px 30px;
	background: #fff;
	border: 1px solid var(--pzl-line);
	border-radius: var(--pzl-radius);
	box-shadow: 0 1px 2px rgba(21,33,47,.04), 0 18px 50px -18px rgba(21,33,47,.25);
	overflow: visible;
}
.login form::before {
	content: 'Anmelden';
	display: block;
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 700;
	color: var(--pzl-navy);
}
.login form#lostpasswordform::before { content: 'Passwort vergessen'; }
.login form#resetpassform::before { content: 'Neues Passwort'; }
.login form#registerform::before { content: 'Registrieren'; }
.login form#loginform::after {
	content: 'Mit Ihrem Intranet-Zugang';
	position: absolute;
	top: 70px;
	font-size: 14px;
	color: var(--pzl-muted);
}
.login form#loginform { position: relative; padding-top: 34px; }
.login form#loginform > p:first-child { margin-top: 38px; }

.login label {
	font-size: 13px;
	font-weight: 600;
	color: var(--pzl-navy);
	margin-bottom: 6px;
	display: inline-block;
}
.login input[type="text"],
.login input[type="email"],
.login input[type="password"] {
	font-family: inherit;
	font-size: 16px !important;
	line-height: 1.4;
	min-height: 50px;
	padding: 10px 14px !important;
	margin: 0 0 18px !important;
	background: #fafbf6 !important;
	border: 1.5px solid var(--pzl-line) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	color: var(--pzl-ink);
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.login input[type="text"]:focus,
.login input[type="email"]:focus,
.login input[type="password"]:focus {
	background: #fff !important;
	border-color: var(--pzl-lime-dark) !important;
	box-shadow: 0 0 0 4px rgba(199,211,0,.28) !important;
	outline: none;
}
.login .wp-pwd { margin-bottom: 0; }
.login .user-pass-wrap { margin-top: 0; }
.login form .input, .login input[type="text"] { width: 100%; box-sizing: border-box; }
.login .button.wp-hide-pw {
	height: 50px;
	min-height: 50px;
	width: 48px;
	color: var(--pzl-muted);
	border-radius: 0 12px 12px 0;
}
.login .button.wp-hide-pw:focus { box-shadow: 0 0 0 2px var(--pzl-lime-dark); }
.login .button.wp-hide-pw .dashicons { top: .6rem; }

.login .forgetmenot { margin: 4px 0 0; float: none; }
.login .forgetmenot label { font-weight: 500; color: var(--pzl-muted); font-size: 14px; }
.login input[type="checkbox"] {
	accent-color: var(--pzl-lime-dark);
	border-radius: 5px;
	border-color: #c5c9bb;
}
.login input[type="checkbox"]:checked::before { content: none; }
.login input[type="checkbox"]:checked { background: var(--pzl-lime-dark); border-color: var(--pzl-lime-dark); }
.login input[type="checkbox"]:focus { box-shadow: 0 0 0 3px rgba(199,211,0,.35); }

.login .submit { margin-top: 22px; clear: both; }
.login .button-primary,
.login #wp-submit {
	float: none !important;
	display: block;
	width: 100%;
	min-height: 52px !important;
	padding: 0 20px !important;
	font-family: inherit;
	font-size: 16px !important;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--pzl-navy) !important;
	background: var(--pzl-lime) !important;
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 20px -8px rgba(168,179,2,.8) !important;
	text-shadow: none !important;
	cursor: pointer;
	transition: transform .12s, background .15s, box-shadow .15s;
}
.login .button-primary:hover,
.login #wp-submit:hover {
	background: var(--pzl-lime-dark) !important;
	color: #fff !important;
	transform: translateY(-1px);
}
.login .button-primary:focus,
.login #wp-submit:focus {
	outline: none;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pzl-navy) !important;
}
.login .button-primary:active { transform: translateY(1px); }

/* Meldungen */
.login #login_error,
.login .message,
.login .notice,
.login .success {
	margin: 0 0 18px;
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.5;
	background: #fff;
	border: 1px solid var(--pzl-line);
	border-left: 4px solid var(--pzl-lime-dark);
	border-radius: 12px;
	box-shadow: none;
}
.login #login_error,
.login .notice-error { border-left-color: #c0392b; background: #fff7f6; }

/* Links unter dem Formular */
.login #nav {
	margin: 22px 0 0;
	padding: 0 4px;
	text-align: center;
	font-size: 14px;
}
.login #nav a,
.login .privacy-policy-page-link a,
.pzl-foot a {
	color: var(--pzl-lime-deep);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .15s, color .15s;
}
.login #nav a:hover,
.pzl-foot a:hover { color: var(--pzl-navy); border-bottom-color: var(--pzl-lime); }
.login a:focus { box-shadow: 0 0 0 2px var(--pzl-lime-dark); border-radius: 3px; outline: none; }
.login .privacy-policy-page-link { text-align: center; margin: 12px 0 0; }

.pzl-foot {
	grid-row: 2;
	justify-self: center;
	padding: 18px 24px 28px;
	font-size: 12.5px;
	color: var(--pzl-muted);
	text-align: center;
}
.pzl-foot__dot { margin: 0 6px; color: var(--pzl-lime-dark); }

/* ---------- Mobil / Tablet ---------- */
@media (max-width: 900px) {
	body.login {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto 1fr;
	}
	body.login > *, .pzl-stage { grid-column: 1 !important; }
	.pzl-stage {
		grid-row: 1;
		min-height: 0;
		padding: 36px 26px 70px;
	}
	.pzl-stage__text { margin-bottom: 0; }
	.pzl-stage__kicker { margin-bottom: 14px; }
	.pzl-stage__title { font-size: 38px; margin-bottom: 10px; }
	.pzl-stage__lead { display: none; }
	.pzl-stage__clock { gap: 10px; }
	.pzl-time { font-size: 24px; }
	.pzl-date { font-size: 13px; }
	.pzl-stage__symbol { width: 64px; margin-bottom: 16px; }
	.pzl-wave { height: 38px; }
	body.login #login { grid-row: 2; padding: 0 18px; margin-top: -36px; position: relative; z-index: 3; max-width: 440px; box-sizing: border-box; }
	.login h1 { display: none; }
	.pzl-foot { grid-row: 3; align-self: end; }
	.login form { padding: 28px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.pzl-blob, .pzl-stage__symbol, body.login #login { animation: none !important; }
}
