/* Login-Seiten und Benutzerkasten - Farben und Schrift wie nachkalkulation/main.css */

/* ---------- Login-Seiten (body.auth_seite) ---------- */

body.auth_seite {
	margin: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	font-family: 'Segoe UI', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	background-color: #f0ede8;
	color: #1a1a18;
}

body.auth_seite *,
body.auth_seite *::before,
body.auth_seite *::after {
	box-sizing: border-box;
}

.auth_karte {
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	border: 0.5px solid rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	overflow: hidden;
}

.auth_kopf {
	padding: 24px 28px 18px;
	border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
	text-align: center;
}

.auth_logo {
	width: 220px;
	max-width: 100%;
}

.auth_produkt {
	margin: 10px 0 0;
	font-size: 22px;
	font-weight: 600;
	color: #185fa5;
	letter-spacing: 0.01em;
}

.auth_inhalt {
	padding: 22px 28px 26px;
}

.auth_inhalt h2 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 500;
	color: #1a1a18;
}

.auth_text {
	margin: 0 0 14px;
	color: #5f5e5a;
	font-size: 15px;
}

.auth_label {
	display: block;
	margin: 14px 0 4px;
	font-size: 11px;
	color: #888780;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.auth_input {
	display: block;
	width: 100%;
	font-family: inherit;
	font-size: 16px;
	color: #1a1a18;
	background: #f7f5f1;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 10px 12px;
}

.auth_input:focus {
	outline: 2px solid #185fa5;
	outline-offset: 1px;
	background: #ffffff;
}

/* Kennwortfeld mit Auge ("Kennwort anzeigen", auth_seite.js) */
.auth_passwort {
	position: relative;
}

.auth_passwort .auth_input {
	padding-right: 46px;
}

.auth_auge {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: #888780;
	cursor: pointer;
}

.auth_auge:hover {
	color: #185fa5;
	background: #ece8e1;
}

.auth_auge[aria-pressed='true'] {
	color: #185fa5;
}

.auth_auge:focus-visible {
	outline: 2px solid #185fa5;
	outline-offset: 1px;
}

/* Edge/IE eigenes Auge ausblenden, sonst stehen zwei Symbole im Feld */
.auth_passwort input::-ms-reveal,
.auth_passwort input::-ms-clear {
	display: none;
}

.auth_input[readonly] {
	color: #5f5e5a;
}

.auth_input.auth_code {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0.35em;
	text-align: center;
	color: #185fa5;
}

.auth_check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 16px 0 0;
	font-size: 14px;
	color: #1a1a18;
	cursor: pointer;
}

.auth_check input {
	margin-top: 4px;
	width: 16px;
	height: 16px;
	accent-color: #185fa5;
	flex-shrink: 0;
}

.auth_button {
	display: block;
	width: 100%;
	margin-top: 20px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 8px;
	padding: 10px 14px;
	background: #f0ede8;
	color: #5f5e5a;
	cursor: pointer;
}

.auth_button:hover {
	background: #e5e1da;
	text-decoration: none;
}

.auth_button.primary {
	background: #185fa5;
	color: #ffffff;
}

.auth_button.primary:hover {
	background: #134c84;
}

.auth_button:focus-visible,
.auth_link:focus-visible,
.auth_inhalt a:focus-visible {
	outline: 2px solid #185fa5;
	outline-offset: 2px;
}

.auth_links .auth_button {
	margin-top: 10px;
}

.auth_nebenaktionen {
	display: flex;
	justify-content: space-between;
	margin-top: 14px;
}

.auth_link {
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
	font-size: 14px;
	color: #185fa5;
	cursor: pointer;
}

.auth_link:hover {
	text-decoration: underline;
}

.auth_fuss {
	margin: 18px 0 0;
	text-align: center;
	font-size: 14px;
}

.auth_inhalt a {
	color: #185fa5;
	text-decoration: none;
}

.auth_inhalt a:hover {
	text-decoration: underline;
}

.auth_inhalt a.auth_button.primary {
	color: #ffffff;
}

.auth_hilfe {
	margin: 10px 0 0;
	font-size: 13px;
	color: #888780;
}

.auth_meldung {
	border-radius: 8px;
	padding: 10px 12px;
	margin: 0 0 6px;
	font-size: 14px;
}

.auth_meldung.fehler {
	background: #fbeaea;
	color: #a32d2d;
}

.auth_meldung.hinweis {
	background: #e8f0f9;
	color: #185fa5;
}

@media (max-width: 480px) {
	.auth_kopf, .auth_inhalt {
		padding-left: 18px;
		padding-right: 18px;
	}
}


/* ---------- Benutzerkasten im Kopf der Anwendungen ---------- */

#header_rechts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}

#auth_userbox {
	display: flex;
	gap: 14px;
	align-items: center;
	font-size: 13px;
	color: #5f5e5a;
	white-space: nowrap;
}

#auth_userbox a {
	color: #185fa5;
	text-decoration: none;
}

#auth_userbox a:hover {
	text-decoration: underline;
}

#auth_userbox i {
	margin-right: 3px;
}

@media (max-width: 950px) {
	#header_rechts {
		align-items: center;
	}
}
