.ia-form-wrapper {
	max-width: 720px;
	margin: 0 auto;
	font-family: inherit;
}

.ia-form-notice {
	padding: 14px 18px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 15px;
}

.ia-form-success {
	background: #eaf7ea;
	border: 1px solid #b7dfb7;
	color: #2c662d;
}

.ia-form-error-notice {
	background: #fdecea;
	border: 1px solid #f3b3ac;
	color: #a3231c;
}

.ia-form-error-notice ul {
	margin: 8px 0 0 20px;
}

.ia-form h3 {
	margin-top: 32px;
	margin-bottom: 12px;
	font-size: 18px;
}

.ia-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 20px;
}

@media (max-width: 600px) {
	.ia-form-grid {
		grid-template-columns: 1fr;
	}
}

.ia-form-row {
	display: flex;
	flex-direction: column;
}

.ia-form-row label {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #333;
}

.ia-form-row input[type="text"],
.ia-form-row input[type="email"],
.ia-form-row input[type="tel"],
.ia-form-row input[type="date"],
.ia-form-row select {
	padding: 9px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

.ia-form-checkbox {
	margin: 14px 0;
}

.ia-form-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.4;
}

.ia-form-checkbox input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
}

.ia-required {
	color: #d9534f;
}

.ia-form-required-note {
	font-size: 12px;
	color: #666;
	margin-top: 16px;
}

.ia-form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ia-form-submit {
	margin-top: 20px;
	padding: 12px 28px;
	background: #5a0f09;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	cursor: pointer;
}

.ia-form-submit:hover {
	background: #834b46;
}

.ia-form-legal-notice {
	margin-top: 28px;
	padding: 16px 20px;
	background: #f7f7f7;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.6;
	color: #444;
	max-height: 320px;
	overflow-y: auto;
}

.ia-form-legal-notice h3 {
	margin-top: 0;
	font-size: 15px;
}

.ia-form-legal-notice h3:not(:first-child) {
	margin-top: 20px;
}

.ia-form-widerruf-box {
	border: 1px solid #ccc;
	padding: 12px 16px;
	background: #fff;
	margin-top: 10px;
}

.ia-form-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 20px;
}

.ia-form-modal {
	background: #fff;
	padding: 24px 28px;
	border-radius: 6px;
	max-width: 440px;
	width: 100%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.ia-form-modal p {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.ia-form-modal-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 6px;
}

.ia-form-modal-buttons button {
	padding: 9px 22px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	font-size: 14px;
}

.ia-form-modal-yes {
	background: #5a0f09;
	color: #fff;
}

.ia-form-modal-yes:hover {
	background: #834b46;
}

.ia-form-modal-no {
	background: #eee;
	color: #333;
}

.ia-form-modal-no:hover {
	background: #ddd;
}

.ia-form-success-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	padding: 56px 40px;
	text-align: center;
}

.ia-form-success-icon {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: #dcefdd;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 28px;
}

.ia-form-success-title {
	color: #4a8f4f;
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 16px;
}

.ia-form-success-text {
	color: #5b6b7c;
	font-size: 16px;
	line-height: 1.6;
	max-width: 460px;
	margin: 0 auto;
}
