/**
 * Trainerabrechnung – Gestaltung des HTML-Editors (Abschnitt 9 des Bauplans).
 *
 * Alle Klassen tragen das Präfix ta-.
 */

.ta-editor {
	border: 1px solid #c3c8ce;
	border-radius: 6px;
	background: #fff;
	margin: 0 0 8px;
	overflow: hidden;
}

.ta-editor__leiste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: 6px 8px;
	background: #f3f5f7;
	border-bottom: 1px solid #dce0e5;
}

.ta-editor__knopf {
	min-width: 32px;
	padding: 4px 8px;
	border: 1px solid #c3c8ce;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.ta-editor__knopf:hover,
.ta-editor__knopf:focus {
	background: #e8eef5;
	border-color: #7c8b9c;
	outline: none;
}

.ta-editor__knopf--fett {
	font-weight: 700;
}

.ta-editor__knopf--kursiv {
	font-style: italic;
}

.ta-editor__knopf--unterstrichen {
	text-decoration: underline;
}

.ta-editor__farbe {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px;
	border: 1px solid #c3c8ce;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.ta-editor__farbfeld {
	width: 26px;
	height: 22px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}

.ta-editor__text {
	font-size: 12px;
	color: #50575e;
}

.ta-editor__auswahl {
	max-width: 170px;
	padding: 3px 6px;
	border: 1px solid #c3c8ce;
	border-radius: 4px;
	background: #fff;
	font-size: 12px;
}

.ta-editor__feld {
	min-height: 140px;
	padding: 10px 12px;
	font-size: 15px;
	line-height: 1.6;
	color: #1d2327;
	overflow-y: auto;
	max-height: 420px;
}

.ta-editor__feld:focus {
	outline: 2px solid #2271b1;
	outline-offset: -2px;
}

.ta-editor__feld p {
	margin: 0 0 0.7em;
}

.ta-editor__feld ul,
.ta-editor__feld ol {
	margin: 0 0 0.7em 1.4em;
	padding: 0;
}

.ta-editor__feld a {
	color: #2271b1;
	text-decoration: underline;
}

.ta-editor__feld blockquote {
	margin: 0 0 0.7em;
	padding: 4px 12px;
	border-left: 3px solid #c3c8ce;
	color: #50575e;
}

.ta-editor__feld:empty::before {
	content: "Text eingeben …";
	color: #8c8f94;
}

@media ( max-width: 600px ) {

	.ta-editor__auswahl {
		max-width: 120px;
	}

	.ta-editor__feld {
		min-height: 120px;
		font-size: 14px;
	}
}

/* Rückfrage zu den persönlichen Daten (Abschnitt 10). */
.ta-profil {
	margin: 16px 0 0;
	padding: 14px 16px;
	border: 1px solid #d7dce2;
	border-left: 4px solid #1d5c8f;
	border-radius: 6px;
	background: #f6f9fc;
}

.ta-profil__frage {
	margin: 0 0 10px;
	font-weight: 600;
}

.ta-profil__aktionen {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.ta-profil__meldung {
	margin: 0;
}
