.cc-progress {
	margin: 1.5em 0;
	max-width: 100%;
	color: var( --cc-text-color, inherit );
}

.cc-progress__bar {
	width: 100%;
	height: 14px;
	background: var( --cc-track-color, #e5e5e5 );
	border-radius: 7px;
	overflow: hidden;
}

.cc-progress__fill {
	height: 100%;
	background: var( --cc-fill-color, #2e7d32 );
	border-radius: 7px;
	transition: width 0.4s ease;
}

.cc-progress__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1.25em;
	margin-top: 0.6em;
	font-size: 0.9em;
}

.cc-progress__raised {
	font-weight: 600;
}

@media (max-width: 480px) {
	.cc-progress__meta {
		flex-direction: column;
		gap: 0.25em;
	}
}

.cx-nickname-field {
	margin: 1.25em 0;
	max-width: 360px;
}

.cx-nickname-field label {
	display: block;
	font-size: 0.9em;
	font-weight: 600;
	margin-bottom: 0.4em;
	color: var( --cc-text-color, inherit );
}

.cx-nickname-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.8em;
	border-radius: 8px;
	border: 1px solid var( --cx-border, #ccc );
	background: var( --cx-bg-elevated, #fff );
	color: var( --cc-text-color, inherit );
}

.cx-nickname-field__hint {
	font-size: 0.8em;
	opacity: 0.75;
	margin: 0.4em 0 0;
}

.cx-credits__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
	justify-content: center;
}

.cx-credits__list li {
	background: var( --cx-bg-elevated, rgba( 0, 0, 0, 0.05 ) );
	border: 1px solid var( --cx-border, transparent );
	border-radius: 999px;
	padding: 0.4em 1em;
	font-size: 0.9em;
}

.cx-credits__empty {
	text-align: center;
	opacity: 0.7;
}

.cx-availability-notice {
	background: var( --cx-bg-elevated, rgba( 0, 0, 0, 0.05 ) );
	border-left: 3px solid var( --cx-violet, #8b5cf6 );
	border-radius: 6px;
	padding: 0.75em 1em;
	font-size: 0.92em;
	margin: 1em 0;
}

.cx-widerruf-form {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
	max-width: 480px;
	margin: 1.5em 0;
}

.cx-widerruf-form label {
	font-weight: 600;
	margin-top: 0.8em;
}

/* Attributselektoren sind hier nötig, nicht schmückend: Kadence stylt die
   Felder über "input[type='text'], input[type='email'], …" mit derselben
   Spezifität wie eine einfache Klassenregel — und global.min.css lädt nach
   dieser Datei, gewinnt also den Gleichstand. Die Felder waren dadurch weiß
   mit hellgrauer Schrift, Kontrast 2,25:1, und beim Tippen unlesbar.
   Das Textarea blieb korrekt, weil Kadences Regel es nicht erfasst. */
.cx-widerruf-form input[type="text"],
.cx-widerruf-form input[type="email"],
.cx-widerruf-form input[type="tel"],
.cx-widerruf-form input[type="date"],
.cx-widerruf-form textarea {
	padding: 0.6em 0.8em;
	border-radius: 8px;
	border: 1px solid var( --cx-border, #ccc );
	background: var( --cx-bg, #fff );
	color: var( --cx-text, #1d2327 );
	font-family: inherit;
}

.cx-widerruf-form input[type="text"]:focus,
.cx-widerruf-form input[type="email"]:focus,
.cx-widerruf-form input[type="tel"]:focus,
.cx-widerruf-form input[type="date"]:focus,
.cx-widerruf-form textarea:focus {
	border-color: var( --cx-violet, #8b5cf6 );
	outline: 2px solid var( --cx-violet-tint, rgba( 139, 92, 246, 0.15 ) );
}

.cx-widerruf-form input::placeholder,
.cx-widerruf-form textarea::placeholder {
	color: var( --cx-text-muted, #6b7280 );
	opacity: 1;
}

/* Die Browser-Autovervollständigung überschreibt Hintergrund und Schriftfarbe
   mit eigenen Werten — ohne diese Ausnahme wären ausgefüllte Felder wieder
   hell. */
.cx-widerruf-form input:-webkit-autofill,
.cx-widerruf-form input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px var( --cx-bg, #fff ) inset;
	-webkit-text-fill-color: var( --cx-text, #1d2327 );
}

.cx-widerruf-form button {
	margin-top: 1.5em;
	align-self: flex-start;
}

.cx-widerruf-form__error {
	color: #e05252;
	font-weight: 600;
}

.cx-widerruf-success {
	background: var( --cx-bg-elevated, rgba( 0, 0, 0, 0.05 ) );
	border-left: 3px solid var( --cx-green, #4a7c59 );
	border-radius: 6px;
	padding: 1em 1.25em;
	margin: 1.5em 0;
	font-weight: 600;
}
