/*
 * Sits_OnlineWiderruf — shared frontend styles.
 *
 * Loaded on all three flow pages (form, review, success) via the
 * respective layout XML files. Two scoping layers:
 *   · body.sits-online-widerruf ...  — targets whole-page chrome
 *     (page title wrapper) that Magento renders OUTSIDE the module
 *     content block.
 *   · .sits-onlinewiderruf ...       — targets the module's own
 *     content wrapper and its children.
 */

/* Centered page title, aligned to the same 720px column as the form,
   with breathing room above so the H1 doesn't clamp against the main
   navigation on narrower viewports. ~2em ≈ 1–2 headline heights. */
body.sits-online-widerruf .page-title-wrapper {
	max-width: 720px;
	margin: 2em auto 0;
	text-align: center;
}

/* Content column — same on all three steps so the layout does not
   jump from form to review to success. */
.sits-onlinewiderruf {
	max-width: 720px;
	margin: 0 auto;
}

.sits-onlinewiderruf__lead {
	margin: 1em 0 1.5em;
}

/* Form fields — labels above their inputs, full-width inputs. */
.sits-onlinewiderruf__form .field {
	margin-bottom: 1em;
}

.sits-onlinewiderruf__form label.label {
	display: block;
	font-weight: bold;
	margin-bottom: 0.3em;
}

.sits-onlinewiderruf__form input[type="text"],
.sits-onlinewiderruf__form input[type="email"] {
	width: 100%;
	padding: 0.6em;
	box-sizing: border-box;
}

/* Honeypot: visually hidden but focusable by bots. */
.sits-onlinewiderruf__hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sits-onlinewiderruf .actions-toolbar {
	margin-top: 1.5em;
}

/* Review — summary card echoing the submitted values back. */
.sits-onlinewiderruf__summary {
	border: 1px solid #d8e2e2;
	padding: 1em;
	margin: 1em 0;
	background: #f6fafa;
}

.sits-onlinewiderruf__summary dt {
	font-weight: bold;
	margin-top: 0.5em;
}

.sits-onlinewiderruf__summary dt:first-child {
	margin-top: 0;
}

.sits-onlinewiderruf__summary dd {
	margin: 0 0 0.5em 0;
}
