/*
 * Additions to styles.css (kept apart because the SCSS source is old and not to be touched, 2026-11-24).
 * Loaded after styles.css via page.includeCSS.additions in Configuration/TypoScript/Setup/main.typoscript.
 */

/* EXT:form (TYPO3 13, default "version1" templates):
   wrapper div.form-group (+ .has-error), message div.error.form-text, invalid input/textarea.error.
   Replaces the look of the old powermail classes (.powermail_field_error, .f3-form-error) from styles.css. */
.form-group.has-error label {
	color: #b00;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
	background-color: #fcc;
	border-color: #f00;
	box-shadow: 0 0 0 1px #f00;
}

.form-group div.error,
.form-group .error.form-text {
	color: #b00;
	font-weight: bold;
	margin: .25rem 0 0;
}

/* EXT:indexed_search: the searched word in a result (span in the result title and the text excerpt).
   styles.css only sets "font-weight: inherit" for it inside .resultitem, so colour it here. */
.tx-indexedsearch-redMarkup {
	color: #c00;
}
