/* APO24 Policen-Check: Formular-Styling, folgt dem bestehenden Clinical-Authority-Tokensystem. */

.apo24-pc {
	--bg-primary: #0a0f1e;
	--bg-secondary: #111827;
	--accent: #00c896;
	--text-primary: #f0f4ff;
	--text-secondary: #8892a4;
	--border: #1e2a3a;
	--radius: 8px;
	background: var( --bg-secondary );
	border: 1px solid var( --border );
	border-radius: var( --radius );
	padding: 2rem;
	max-width: 640px;
	margin: 0 auto;
	font-family: 'DM Sans', sans-serif;
	color: var( --text-primary );
}

.apo24-pc-step {
	border: none;
	margin: 0;
	padding: 0;
}

.apo24-pc-step legend {
	font-family: 'DM Serif Display', serif;
	font-size: 1.4rem;
	padding: 0;
	margin: 0 0 1.25rem;
	color: var( --text-primary );
}

.apo24-pc-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.apo24-pc-field {
	margin-bottom: 1.25rem;
}

.apo24-pc-field label {
	display: block;
	font-size: 0.9rem;
	color: var( --text-secondary );
	margin-bottom: 0.4rem;
}

.apo24-pc-field input[type="text"],
.apo24-pc-field input[type="email"],
.apo24-pc-field input[type="tel"],
.apo24-pc-field input[type="file"],
.apo24-pc-field select {
	width: 100%;
	background: var( --bg-primary );
	border: 1px solid var( --border );
	border-radius: var( --radius );
	color: var( --text-primary );
	padding: 0.7rem 0.9rem;
	font-size: 1rem;
	font-family: 'DM Sans', sans-serif;
	box-sizing: border-box;
}

.apo24-pc-field input:focus,
.apo24-pc-field select:focus {
	outline: none;
	border-color: var( --accent );
}

.apo24-pc-hint {
	font-size: 0.8rem;
	color: var( --text-secondary );
	margin-top: 0.4rem;
}

.apo24-pc-field-error {
	font-size: 0.85rem;
	color: #ff6b6b;
	margin-top: 0.4rem;
}

.apo24-pc-consent {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.85rem;
	color: var( --text-secondary );
}

.apo24-pc-consent input {
	margin-top: 0.2rem;
}

.apo24-pc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.apo24-pc-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.apo24-pc-btn-primary,
.apo24-pc-btn-secondary {
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
	border-radius: var( --radius );
	padding: 0.8rem 1.4rem;
	font-size: 1rem;
	cursor: pointer;
	border: 1px solid transparent;
	margin-top: 1.5rem;
}

.apo24-pc-btn-primary {
	background: var( --accent );
	color: #06100c;
}

.apo24-pc-btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.apo24-pc-btn-secondary {
	background: transparent;
	border-color: var( --border );
	color: var( --text-secondary );
	margin-top: 0;
}

.apo24-pc-disclaimer {
	font-size: 0.8rem;
	color: var( --text-secondary );
	margin-top: 1rem;
}

.apo24-pc-result p {
	font-size: 1.05rem;
	line-height: 1.6;
}

.apo24-pc-result .apo24-pc-success {
	color: var( --accent );
}

.apo24-pc-result .apo24-pc-error {
	color: #ff6b6b;
}
