.asksdd-widget {
	max-width: 780px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}

.asksdd-intro {
	margin-bottom: 32px;
}

.asksdd-intro-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 20px;
}

.asksdd-intro-text {
	width: 100%;
}

.asksdd-intro-text h3 {
	margin-top: 0;
}

.asksdd-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fafafa;
}

.asksdd-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.asksdd-field input[type="text"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 16px;
}

.asksdd-field--optional label {
	font-weight: 400;
	color: #555;
}

.asksdd-field-help {
	margin: 6px 0 0 0;
	font-size: 13px;
	color: #666;
}

.asksdd-field-help-details {
	margin-top: 6px;
	font-size: 13px;
}

.asksdd-field-help-details summary {
	cursor: pointer;
	color: #1d4ed8;
}

.asksdd-field-help-details p {
	margin: 6px 0 0 0;
	color: #555;
}

/* Honeypot: für Menschen unsichtbar, aber im DOM vorhanden und für Screenreader ausgeblendet */
.asksdd-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.asksdd-captcha {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.asksdd-submit {
	align-self: flex-start;
	padding: 10px 24px;
	background: #1d4ed8;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.asksdd-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.asksdd-submit:hover:not(:disabled) {
	background: #1e40af;
}

.asksdd-privacy-note {
	font-size: 13px;
	color: #666;
	margin: 0;
}

.asksdd-result {
	margin-top: 24px;
}

.asksdd-error {
	padding: 12px 16px;
	background: #fee2e2;
	border: 1px solid #fca5a5;
	border-radius: 4px;
	color: #991b1b;
}

.asksdd-overall {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 6px;
	font-weight: 600;
	margin-bottom: 16px;
}

.asksdd-block {
	border: 1px solid #ddd;
	border-left-width: 6px;
	border-radius: 6px;
	padding: 14px 18px;
	margin-bottom: 12px;
}

.asksdd-block-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.asksdd-status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	flex-shrink: 0;
}

.asksdd-status-label {
	margin-left: auto;
	font-size: 13px;
	color: #555;
}

.asksdd-block-summary {
	margin: 0 0 6px 0;
}

.asksdd-block-details summary {
	cursor: pointer;
	color: #1d4ed8;
	font-size: 14px;
}

.asksdd-raw {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.asksdd-raw code {
	display: block;
	background: #f1f1f1;
	padding: 8px 10px;
	border-radius: 4px;
	font-size: 12px;
	word-break: break-all;
	white-space: pre-wrap;
}

.asksdd-raw-ttl {
	margin: 4px 0 0 0;
	font-size: 11px;
	color: #888;
}

/* Ampelfarben */
.asksdd-status--green.asksdd-overall,
.asksdd-status--green .asksdd-status-icon { background: #16a34a; }
.asksdd-status--green.asksdd-overall { background: #dcfce7; color: #166534; }
.asksdd-status--green.asksdd-block { border-left-color: #16a34a; }

.asksdd-status--yellow.asksdd-overall,
.asksdd-status--yellow .asksdd-status-icon { background: #ca8a04; }
.asksdd-status--yellow.asksdd-overall { background: #fef9c3; color: #854d0e; }
.asksdd-status--yellow.asksdd-block { border-left-color: #ca8a04; }

.asksdd-status--red.asksdd-overall,
.asksdd-status--red .asksdd-status-icon { background: #dc2626; }
.asksdd-status--red.asksdd-overall { background: #fee2e2; color: #991b1b; }
.asksdd-status--red.asksdd-block { border-left-color: #dc2626; }

.asksdd-result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.asksdd-pdf-button,
.asksdd-refresh-button {
	padding: 10px 20px;
	background: #fff;
	color: #1d4ed8;
	border: 1px solid #1d4ed8;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
}

.asksdd-pdf-button:hover,
.asksdd-refresh-button:hover {
	background: #eff6ff;
}

.asksdd-refresh-button {
	color: #555;
	border-color: #ccc;
}

.asksdd-refresh-button:hover {
	background: #f5f5f5;
}

.asksdd-cache-note {
	margin-top: 8px;
	font-size: 12px;
	color: #777;
}

.asksdd-refresh-error {
	margin-top: 10px;
	padding: 10px 14px;
	background: #fef9c3;
	border: 1px solid #fde68a;
	border-radius: 4px;
	color: #854d0e;
	font-size: 13px;
}

