/**
 * Frontend-Styling für den Diagnose-Flow.
 *
 * Bewusst minimal und dem Theme untergeordnet: keine eigene font-family,
 * font-size oder color - Typografie und Farben bleiben Theme-Sache. Gesetzt
 * werden nur Layout, Abstände und Rahmen (currentColor erbt die Theme-Farbe).
 *
 * @package Idf_Pathway
 */

.idf-pathway {
	max-width: 640px;
	margin: 1.5em auto;
}

.idf-pathway-card {
	border: 1px solid currentColor;
	border-radius: 8px;
	padding: 1.5em;
}

/* Fortschritt */
.idf-pathway-progress {
	height: 6px;
	border: 1px solid currentColor;
	border-radius: 4px;
	overflow: hidden;
}

.idf-pathway-progress-fill {
	height: 100%;
	background: currentColor;
	transition: width 0.25s ease;
}

.idf-pathway-step {
	margin: 0.5em 0 1em;
	font-size: 0.85em;
	opacity: 0.7;
}

.idf-pathway-question {
	margin: 0 0 1em;
}

/* Auswahl-Optionen */
.idf-pathway-options {
	display: flex;
	flex-direction: column;
	gap: 0.6em;
}

.idf-pathway-option {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
	text-align: left;
	width: 100%;
	padding: 0.9em 1.1em;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.idf-pathway-option:hover,
.idf-pathway-option:focus {
	opacity: 0.7;
}

.idf-pathway-option-label {
	font-weight: 600;
}

.idf-pathway-option-sub {
	font-size: 0.85em;
	opacity: 0.7;
}

/* Zurück-Button */
.idf-pathway-back {
	margin-top: 1.2em;
	padding: 0.4em 0.2em;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	opacity: 0.7;
	cursor: pointer;
}

.idf-pathway-back:hover {
	opacity: 1;
}

/* Empfehlung */
.idf-pathway-intro {
	margin: 0 0 1em;
}

.idf-pathway-pages {
	display: flex;
	flex-direction: column;
	gap: 0.6em;
	margin-bottom: 1.5em;
}

.idf-pathway-page {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
	padding: 0.9em 1.1em;
	border: 1px solid currentColor;
	border-radius: 6px;
	text-decoration: none;
	color: inherit;
}

.idf-pathway-page:hover {
	opacity: 0.75;
}

.idf-pathway-page-title {
	font-weight: 600;
}

.idf-pathway-page-excerpt {
	font-size: 0.85em;
	opacity: 0.75;
}

/* CTA & Formulare */
.idf-pathway-cta {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.idf-pathway-button {
	display: inline-block;
	padding: 0.7em 1.4em;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.idf-pathway-button:hover {
	opacity: 0.75;
}

/* Primär-Aktion: kräftigerer Rahmen statt eigener Farbe - bleibt
   theme-untergeordnet, ohne color/background zu erzwingen. */
.idf-pathway-button-primary {
	border-width: 2px;
}

.idf-pathway-leadform {
	display: flex;
	flex-direction: column;
	gap: 0.6em;
	padding-top: 1em;
	border-top: 1px solid currentColor;
}

.idf-pathway-leadform-intro {
	margin: 0;
	font-weight: 600;
}

.idf-pathway-leadform input[type="text"],
.idf-pathway-leadform input[type="email"],
.idf-pathway-freetext {
	width: 100%;
	padding: 0.6em 0.8em;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
}

.idf-pathway-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
	font-size: 0.85em;
}

.idf-pathway-error {
	margin: 0;
	font-size: 0.85em;
	font-weight: 600;
}

.idf-pathway-done {
	text-align: center;
}

.idf-pathway-thanks {
	margin: 0;
	font-weight: 600;
}

.idf-pathway-empty {
	max-width: 640px;
	margin: 1.5em auto;
	opacity: 0.7;
}
