/* Mitgliederbereich: Basis-Styling für Registrierungs-, Profil- und Anfrage-Formular */

.mb-formular {
	max-width: 560px;
	margin: 0;
}

.mb-field {
	margin-bottom: 1.25em;
}

.mb-field-row {
	display: flex;
	gap: 1em;
}

.mb-field-row .mb-field {
	flex: 1;
	min-width: 0;
}

@media (max-width: 480px) {
	.mb-field-row {
		flex-direction: column;
		gap: 0;
	}
}

.mb-zustimmung-ueberschrift {
	font-weight: 600;
	margin: 1.5em 0 0.5em;
}

.mb-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.mb-field input[type="text"],
.mb-field input[type="email"],
.mb-field input[type="password"],
.mb-field input[type="tel"],
.mb-field input[type="url"],
.mb-field input[type="number"],
.mb-field input[type="date"],
.mb-field select,
.mb-field textarea {
	width: 100%;
	padding: 0.6em 0.75em;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
}

.mb-field textarea {
	min-height: 6em;
}

.mb-choice {
	display: block;
	font-weight: normal;
	margin: 0.25em 0;
}

.mb-required {
	color: #c0392b;
}

.mb-field-error input,
.mb-field-error select,
.mb-field-error textarea {
	border-color: #c0392b;
}

.mb-field-error-message {
	color: #c0392b;
	font-size: 0.9em;
	margin: 0.35em 0 0;
}

.mb-field-instructions {
	color: #666;
	font-size: 0.85em;
	margin: 0.35em 0 0;
}

.mb-fehler {
	color: #c0392b;
	font-weight: 600;
}

.mb-erfolg-hinweis {
	color: #1e7e34;
	font-weight: 600;
}

.mb-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mb-status {
	margin-bottom: 1.5em;
	padding: 0.6em 1em;
	border-radius: 4px;
	background: #f4f4f4;
}

.mb-status-aktiv {
	background: #e6f6ea;
}

.mb-status-pending {
	background: #fff7e0;
}

.mb-status-inaktiv {
	background: #fbe9e7;
}

.mb-hinweis {

}

.mb-hinweis-klein {
	font-weight: 600;
	margin-top: 2em;
}

.mb-passwort-checkliste {
	list-style: none;
	margin: 0.5em 0 0;
	padding: 0;
	font-size: 0.9em;
}

.mb-passwort-checkliste li {
	position: relative;
	padding-left: 1.4em;
	color: #888;
	margin-bottom: 0.2em;
}

.mb-passwort-checkliste li::before {
	content: "•";
	position: absolute;
	left: 0.2em;
}

.mb-passwort-checkliste li.mb-ok {
	color: #1e7e34;
}

.mb-passwort-checkliste li.mb-ok::before {
	content: "✓";
}

.mb-passwort-checkliste li.mb-fail {
	color: #c0392b;
}

.mb-passwort-checkliste li.mb-fail::before {
	content: "✕";
}

.mb-passwort-checkliste.mb-passwort-leer li {
	color: #888;
}

.mb-passwort-checkliste.mb-passwort-leer li::before {
	content: "•";
}

.mb-profilbild-vorschau {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 0.6em;
	border: 1px solid #ccc;
}

.mb-passwort-sichtbar-wrap {
	display: flex;
	justify-content: start;
	flex-direction: row;
}

.mb-passwort-sichtbar-wrap input[type="password"],
.mb-passwort-sichtbar-wrap input[type="text"] {
	padding-right: 2.4em;
}

.mb-passwort-sichtbar-button {
	/*position: absolute;
	top: 50%;
	right: 0.5em;
	transform: translateY(-50%);*/
	background: none;
	border: none;
	padding: 0.25em;
	margin: 0;
	cursor: pointer;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.mb-passwort-sichtbar-button:hover {
	color: #111;
}

/* Edge zeigt für Passwort-Felder bereits einen eigenen Button an - der eigene
   Button oben ersetzt diesen einheitlich für alle Browser (u. a. Firefox, das
   keinen eigenen anzeigt), daher wird der native Edge-Button ausgeblendet. */
.mb-passwort-sichtbar-wrap input[type="password"]::-ms-reveal,
.mb-passwort-sichtbar-wrap input[type="password"]::-ms-clear {
	display: none;
}

button[type="submit"]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.mb-field-zustimmung label {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
	font-weight: normal;
	cursor: pointer;
}

.mb-field-zustimmung input[type="checkbox"] {
	margin-top: 0.25em;
	flex-shrink: 0;
}

.mb-vorschau-hinweis {
	max-width: 560px;
	margin: 0 auto 1.5em;
	padding: 0.8em 1em;
	background: #fff3cd;
	color: #855800;
	border: 1px solid #f0d78c;
	border-radius: 4px;
	font-weight: 600;
	text-align: center;
}

.mb-field-zustimmung a {
	white-space: nowrap;
}

.mb-field input[readonly],
.mb-field input[readonly]:focus {
	background: #f4f4f4;
	color: #666;
	cursor: not-allowed;
}

.mb-abschnitt-ueberschrift {
	margin: 2em 0 1em;
	padding-top: 1em;
	border-top: 1px solid #ddd;
}

.mb-mitgliedsnummer {
	font-family: monospace;
	font-size: 1.05em;
}

.mb-profil-tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 1.5em;
	border-bottom: 1px solid #ccc;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.mb-tab-button {
	background: none;
	border: 1px solid transparent;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	padding: 0.6em 1em;
	cursor: pointer;
	font-weight: 600;
	color: #555;
}

.mb-tab-button.mb-tab-aktiv {
	background: #fff;
	border-color: #ccc;
	color: #111;
	margin-bottom: -1px;
	border-bottom: 1px solid #fff;
}

.mb-tab-panel-info {
	max-width: 560px;
	margin: 0 auto 1.5em;
	padding: 0.6em 1em;
	background: #f4f4f4;
	border-radius: 4px;
	padding-bottom: 0.6em !important;
}
