/* WP-Verein – Mitgliederbereich Frontend */

:root {
	--wpverein-vereinsfarbe: #eeeeee;
	--wpverein-textfarbe:    #333333;
}

.wpv-meldung {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 15px;
	line-height: 1.5;
}

.wpv-meldung--erfolg {
	background: #edfbe6;
	border-left: 4px solid #4caf50;
	color: #1a6b1e;
}

.wpv-meldung--fehler {
	background: #fdecea;
	border-left: 4px solid #e53935;
	color: #7b1a1a;
}

.wpv-meldung--info,
.wpv-meldung--warnung {
	background: #fff8e1;
	border-left: 4px solid #f9a825;
	color: #6b4a00;
}

/* Formular */

.wpv-formular {
	max-width: 480px;
}

.wpv-formular__feld {
	margin-bottom: 20px;
}

.wpv-formular__feld--fehler .wpv-formular__input {
	border-color: #e53935;
}

.wpv-formular__label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.wpv-pflicht {
	color: #e53935;
	font-weight: normal;
}

.wpv-formular__input {
	display: block;
	width: 100%;
	padding: 9px 12px;
	font-size: 15px;
	line-height: 1.5;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	background: #fff;
	color: #333;
	transition: border-color 0.15s;
}

.wpv-formular__input:focus {
	outline: none;
	border-color: var(--wpverein-vereinsfarbe);
	box-shadow: 0 0 0 2px rgba(181, 203, 2, 0.2);
}

.wpv-formular__fehler {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	color: #e53935;
}

.wpv-formular__hinweis {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	color: #888;
}

/* Passwort-Stärke */

.wpv-passwort-staerke {
	height: 4px;
	background: #e0e0e0;
	border-radius: 2px;
	margin-top: 8px;
	overflow: hidden;
}

.wpv-passwort-staerke__balken {
	height: 100%;
	width: 0;
	border-radius: 2px;
	transition: width 0.2s, background-color 0.2s;
}

/* Bedingungen */

.wpv-formular__bedingungen {
	margin-bottom: 20px;
}

.wpv-formular__bedingungen.wpv-formular__feld--fehler .wpv-formular__bedingung {
	color: #e53935;
}

.wpv-formular__bedingung {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.wpv-formular__bedingung input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--wpverein-vereinsfarbe);
}

/* Dashboard */

.wpv-dashboard__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 160px));
	gap: 16px;
}

.wpv-dashboard__karte {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 28px 16px 22px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	text-decoration: none;
	color: #1d2327;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.wpv-dashboard__karte:hover,
.wpv-dashboard__karte:focus {
	border-color: var(--wpverein-vereinsfarbe);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
	outline: none;
	background: #fff;
	color: #1d2327;
	text-decoration: none;
}

.wpv-dashboard__karte-icon {
	width: 44px;
	height: 44px;
	object-fit: contain;
	display: block;
	opacity: 0.85;
	transition: opacity 0.15s;
}

.wpv-dashboard__karte:hover .wpv-dashboard__karte-icon {
	opacity: 1;
}

/* Form-Wrapper für Action-Karten (z. B. Abmeldung) unsichtbar */
.wpv-dashboard__karte-form {
	display: contents;
}

/* Hilfslinks (z. B. "Passwort vergessen?") */

.wpv-formular__link {
	margin-top: -8px;
	margin-bottom: 20px;
	font-size: 13px;
}

.wpv-formular__link a {
	color: inherit;
	opacity: 0.7;
	text-decoration: underline;
}

.wpv-formular__link a:hover {
	opacity: 1;
}

/* Aktionszeile (Speichern + Abbrechen) */

.wpv-formular__aktionen {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.wpv-formular__abbrechen {
	display: inline-block;
	padding: 10px 24px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: transparent;
	color: #555;
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.15s, color 0.15s;
}

.wpv-formular__abbrechen:hover,
.wpv-formular__abbrechen:focus {
	border-color: #888;
	color: #333;
	text-decoration: none;
	outline: none;
}

/* Submit */

.wpv-formular__submit {
	display: inline-block;
	padding: 10px 24px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	border: none;
	border-radius: 4px;
	background: var(--wpverein-vereinsfarbe);
	color: var(--wpverein-textfarbe);
	cursor: pointer;
	text-decoration: none;
	transition: filter 0.15s;
}

.wpv-formular__submit:hover,
.wpv-formular__submit:focus {
	background: var(--wpverein-vereinsfarbe);
	color: var(--wpverein-textfarbe);
	filter: brightness(0.9);
	text-decoration: none;
	outline: none;
}

.wpv-formular__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.wpv-formular__submit--gefahr {
	background: #c62828;
	color: #fff;
}

.wpv-formular__submit--gefahr:hover,
.wpv-formular__submit--gefahr:focus {
	background: #c62828;
	color: #fff;
}

/* Textarea */

.wpv-formular__textarea {
	display: block;
	width: 100%;
	padding: 9px 12px;
	font-size: 15px;
	line-height: 1.6;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	background: #fff;
	color: #333;
	transition: border-color 0.15s;
	resize: vertical;
	font-family: inherit;
}

.wpv-formular__textarea:focus {
	outline: none;
	border-color: var(--wpverein-vereinsfarbe);
	box-shadow: 0 0 0 2px rgba(181, 203, 2, 0.2);
}

/* Breite Formular-Variante (Beiträge) */

.wpv-formular--breit {
	max-width: 720px;
}

.wpv-formular__input--datum {
	max-width: 180px;
}

/* Content-Manager: Kopfzeile */

.wpv-cm__kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 12px;
}

.wpv-cm__titel {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.wpv-cm__kopf .wpv-cm__titel {
	margin-bottom: 0;
}

/* Content-Manager: Tabelle */

.wpv-cm__tabelle {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.wpv-cm__tabelle th,
.wpv-cm__tabelle td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid #e2e2e2;
	font-size: 14px;
	vertical-align: middle;
}

.wpv-cm__tabelle th {
	font-weight: 600;
	background: #f9f9f9;
}

.wpv-cm__aktionen {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.wpv-cm__aktionen form {
	margin: 0;
}

/* Content-Manager: Zustände */

.wpv-cm__leer {
	color: #888;
	font-style: italic;
	margin-bottom: 24px;
}

.wpv-cm__zurueck {
	margin-top: 28px;
}

/* Content-Manager: Action-Buttons */

.wpv-cm__btn {
	display: inline-block;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: transparent;
	color: #555;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color 0.15s, color 0.15s;
}

.wpv-cm__btn:hover,
.wpv-cm__btn:focus {
	border-color: #888;
	color: #333;
	text-decoration: none;
	outline: none;
	background: transparent;
}

.wpv-cm__btn--gefahr {
	border-color: #e53935;
	color: #c62828;
}

.wpv-cm__btn--gefahr:hover,
.wpv-cm__btn--gefahr:focus {
	border-color: #c62828;
	color: #b71c1c;
	background: transparent;
}

/* Status-Badge (inline in Tabellen) */

.wpv-status-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.wpv-status-badge--erfolg {
	background: #edfbe6;
	color: #1a6b1e;
}

.wpv-status-badge--warnung {
	background: #fff8e1;
	color: #6b4a00;
}

.wpv-status-badge--fehler {
	background: #fdecea;
	color: #7b1a1a;
}

/* Content-Manager: Kategorien */

.wpv-cm__kategorien {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
}

/* Content-Manager: Beitragsbild */

.wpv-cm__bild-vorschau {
	margin-bottom: 10px;
}

.wpv-cm__bild-vorschau img {
	border-radius: 4px;
	border: 1px solid #e2e2e2;
	display: block;
}

.wpv-cm__datei {
	display: block;
	margin-bottom: 6px;
}

/* Schwarzes Brett: Typ-Badge */

.wpv-sb__typ {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.wpv-sb__typ--biete {
	background: #e8f5e9;
	color: #1b5e20;
}

.wpv-sb__typ--suche {
	background: #e3f2fd;
	color: #0d47a1;
}

/* Inline-Feld (Label + Inhalt in einer Zeile, z. B. Typ) */

.wpv-formular__feld--inline {
	display: flex;
	align-items: center;
	gap: 16px;
}

.wpv-formular__feld--inline .wpv-formular__label {
	margin-bottom: 0;
	white-space: nowrap;
}

/* Schwarzes Brett: Radio-Gruppe */

.wpv-sb__radio-gruppe {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-bottom: 8px;
}

.wpv-sb__radio-option {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	cursor: pointer;
}

.wpv-sb__radio-option input[type="radio"] {
	width: 16px;
	height: 16px;
	accent-color: var(--wpverein-vereinsfarbe);
	flex-shrink: 0;
}

/* Schwarzes Brett: Kontaktinfo-Eingabe */

.wpv-sb__kontakt-info {
	margin-top: 8px;
}

/* Schwarzes Brett: schmale Eingabe (Preis) */

.wpv-formular__input--schmal {
	max-width: 240px;
}

/* Schwarzes Brett: Select-Feld */

select.wpv-formular__input {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 32px;
	cursor: pointer;
}

/* Schwarzes Brett: Bildvorschau */

.wpv-sb__bilder-vorschau {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.wpv-sb__bild-thumb {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #e2e2e2;
	display: block;
}

.wpv-sb__datei-input {
	display: block;
	margin-top: 8px;
	margin-bottom: 4px;
}

/* Schwarzes Brett: Per-Image-Verwaltung */

.wpv-sb__bild-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 6px;
	border: 2px solid #e2e2e2;
	border-radius: 6px;
	background: #fff;
	transition: border-color 0.15s;
}

.wpv-sb__bild-item--aktiv {
	border-color: var(--wpverein-vereinsfarbe);
}

.wpv-sb__bild-aktiv-label {
	display: none;
	font-size: 10px;
	font-weight: 700;
	background: var(--wpverein-vereinsfarbe);
	color: var(--wpverein-textfarbe);
	padding: 2px 6px;
	border-radius: 3px;
	line-height: 1.4;
	white-space: nowrap;
}

.wpv-sb__bild-item--aktiv .wpv-sb__bild-aktiv-label {
	display: block;
}

.wpv-sb__bild-aktionen {
	display: flex;
	gap: 4px;
	width: 100%;
}

.wpv-sb__bild-btn {
	flex: 1;
	padding: 4px 6px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: transparent;
	color: #555;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	transition: border-color 0.15s, color 0.15s;
}

.wpv-sb__bild-btn:hover,
.wpv-sb__bild-btn:focus {
	border-color: #888;
	color: #333;
	outline: none;
}

.wpv-sb__bild-btn--loeschen {
	border-color: #e53935;
	color: #c62828;
}

.wpv-sb__bild-btn--loeschen:hover,
.wpv-sb__bild-btn--loeschen:focus {
	border-color: #c62828;
	color: #b71c1c;
}

/* Content-Manager: abgelaufene Zeile */

.wpv-cm__zeile--abgelaufen td {
	opacity: 0.6;
}

.wpv-cm__zeile--abgelaufen .wpv-cm__btn {
	opacity: 1;
}

/* Schwarzes Brett: Board */

.wpv-sb__board {
	margin-bottom: 32px;
}

.wpv-sb__board-titel {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 20px;
	line-height: 1.3;
}

/* Biete / Suche Kacheln */

.wpv-sb__typ-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 480px;
}

.wpv-sb__typ-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 28px 20px;
	border-radius: 10px;
	text-decoration: none;
	color: #fff;
	transition: transform 0.15s, box-shadow 0.15s;
}

.wpv-sb__typ-tile:hover,
.wpv-sb__typ-tile:focus {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	text-decoration: none;
	outline: none;
}

.wpv-sb__typ-tile--biete {
	background: #2e7d32;
}

.wpv-sb__typ-tile--biete:hover,
.wpv-sb__typ-tile--biete:focus {
	color: #fff;
	background: #256427;
}

.wpv-sb__typ-tile--suche {
	background: #1565c0;
}

.wpv-sb__typ-tile--suche:hover,
.wpv-sb__typ-tile--suche:focus {
	color: #fff;
	background: #0d4f9e;
}

.wpv-sb__typ-tile__count {
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
}

.wpv-sb__typ-tile__label {
	font-size: 15px;
	font-weight: 600;
	opacity: 0.9;
}

/* Schwarzes Brett: Breadcrumb */

.wpv-sb__breadcrumb {
	font-size: 14px;
	color: #666;
	margin-bottom: 20px;
}

.wpv-sb__breadcrumb a {
	color: inherit;
	text-decoration: underline;
}

.wpv-sb__breadcrumb a:hover {
	color: #333;
}

/* Schwarzes Brett: Rubrik-Navigation */

.wpv-sb__rubrik-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 8px;
}

.wpv-sb__rubrik-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 18px 20px;
	min-width: 100px;
	border-radius: 10px;
	text-decoration: none;
	color: #fff;
	transition: transform 0.15s, box-shadow 0.15s;
}

.wpv-sb__rubrik-tile:hover,
.wpv-sb__rubrik-tile:focus {
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	text-decoration: none;
	outline: none;
}

.wpv-sb__rubrik-tile--biete {
	background: #2e7d32;
}

.wpv-sb__rubrik-tile--biete:hover,
.wpv-sb__rubrik-tile--biete:focus {
	color: #fff;
	background: #256427;
}

.wpv-sb__rubrik-tile--suche {
	background: #1565c0;
}

.wpv-sb__rubrik-tile--suche:hover,
.wpv-sb__rubrik-tile--suche:focus {
	color: #fff;
	background: #0d4f9e;
}

.wpv-sb__rubrik-tile__count {
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.wpv-sb__rubrik-tile__label {
	font-size: 13px;
	font-weight: 600;
	opacity: 0.9;
	text-align: center;
}

/* Schwarzes Brett: Aushang-Karten */

.wpv-sb__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.wpv-sb-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: #1d2327;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.wpv-sb-card:hover,
.wpv-sb-card:focus {
	border-color: var(--wpverein-vereinsfarbe);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
	text-decoration: none;
	color: #1d2327;
	outline: none;
}

.wpv-sb-card__bild {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wpv-sb-card__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wpv-sb-card__bild--leer {
	background: #f5f5f5;
	color: #bbb;
}

.wpv-sb-card__bild--leer .dashicons {
	font-size: 36px;
	width: 36px;
	height: 36px;
}

.wpv-sb-card__body {
	padding: 12px 14px;
}

.wpv-sb-card__titel {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 6px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wpv-sb-card__preis {
	font-size: 14px;
	font-weight: 700;
	margin: 0;
	color: #2e7d32;
}

/* Schwarzes Brett: Trenner */

.wpv-sb__trenner {
	border: none;
	border-top: 1px solid #e2e2e2;
	margin: 32px 0;
}

/* Schwarzes Brett: Abo-Kachel-Wrapper (Biete/Suche) */

.wpv-sb__typ-kachel {
	position: relative;
}

.wpv-sb__abo-form {
	position: absolute;
	top: 8px;
	right: 8px;
	margin: 0;
	line-height: 1;
}

.wpv-sb__abo-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s, color 0.15s;
}

.wpv-sb__abo-btn:hover,
.wpv-sb__abo-btn:focus {
	background: rgba(255, 255, 255, 0.35);
	color: #fff;
	outline: none;
}

.wpv-sb__abo-btn--aktiv {
	background: #ffd600;
	color: #333 !important;
}

/* Schwarzes Brett: Rubrik-Kachel Wrapper */

.wpv-sb__rubrik-kachel {
	position: relative;
}

/* Schwarzes Brett: Meine Abos */

.wpv-sb__abo-liste {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.wpv-sb__abo-eintrag {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #e2e2e2;
	font-size: 14px;
}

.wpv-sb__abo-eintrag:first-child {
	border-top: 1px solid #e2e2e2;
}

.wpv-sb__abo-label {
	flex: 1;
}

.wpv-sb__abo-eintrag form {
	margin: 0;
}

/* Schwarzes Brett: Detail-Ansicht */

.wpv-sb__detail {
	max-width: 680px;
}

.wpv-sb__detail-back {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.wpv-sb__detail-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.wpv-sb__detail-rubrik {
	font-size: 13px;
	color: #666;
	background: #f0f0f0;
	padding: 3px 10px;
	border-radius: 12px;
}

.wpv-sb__detail-datum {
	font-size: 13px;
	color: #888;
}

.wpv-sb__detail-titel {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 20px;
	line-height: 1.3;
}

.wpv-sb__detail-hauptbild {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 20px;
}

.wpv-sb__detail-beschreibung {
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 20px;
}

.wpv-sb__detail-preis {
	font-size: 18px;
	margin-bottom: 16px;
}

.wpv-sb__detail-kontakt {
	font-size: 14px;
	background: #f9f9f9;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 20px;
}

.wpv-sb__detail-bilder {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.wpv-sb__detail-bild-thumb {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #e2e2e2;
}

/* Editor-Toolbar */
.wpv-editor-toolbar {
	display: flex;
	gap: 3px;
	padding: 5px 6px;
	background: #f6f7f7;
	border: 1px solid #8c8f94;
	border-bottom: none;
	border-radius: 4px 4px 0 0;
}

.wpv-editor-toolbar + .wpv-formular__textarea {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.wpv-editor-toolbar button {
	padding: 2px 8px;
	min-width: 28px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.6;
	color: #2c3338;
	text-align: center;
}

.wpv-editor-toolbar button:hover {
	background: #f0f0f1;
	border-color: #8c8f94;
}

.wpv-kostenlos-hinweis {
	margin-top: 20px;
	font-size: 0.85em;
	color: #666;
}

/* Vorlagenbilder-Auswahl Frontend */

.wpv-vorlagenbilder-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.wpv-vorlagenbilder-grid__item {
	cursor: pointer;
	position: relative;
}

.wpv-vorlagenbilder-grid__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.wpv-vorlagenbilder-grid__bild {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 4px;
	border: 2px solid transparent;
	display: block;
	transition: border-color 0.15s;
}

.wpv-vorlagenbilder-grid__input:checked + .wpv-vorlagenbilder-grid__bild {
	border-color: var(--wpverein-vereinsfarbe, #b5cb02);
	box-shadow: 0 0 0 2px var(--wpverein-vereinsfarbe, #b5cb02);
}

.wpv-vorlagenbilder-grid__kein {
	width: 100px;
	height: 100px;
	border: 2px dashed #ccc;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #999;
	text-align: center;
	padding: 8px;
	box-sizing: border-box;
	transition: border-color 0.15s, color 0.15s;
}

.wpv-vorlagenbilder-grid__input:checked + .wpv-vorlagenbilder-grid__kein {
	border-color: var(--wpverein-vereinsfarbe, #b5cb02);
	color: #333;
}
