/* wp-content/themes/Schlenker Spannwerkzeuge/css/lt-form-child-theme.css */

/**
 * LT Form shared frontend styles.
 *
 * Place this file in the active WordPress child theme, for example:
 * /wp-content/themes/your-child-theme/css/lt-form.css
 *
 * The CSS is intentionally plugin-neutral. It styles the shared lt-form markup
 * layer used by LT Divi Jobs and can be reused by other LT plugins that keep
 * their own plugin-specific PHP/JS classes.
 *
 * Source extracted from LT Divi Jobs 1.5.15.
 */

/* ==========================================================================
 * Section: LT Form universal markup layer, version 1.5.13
 * --------------------------------------------------------------------------
 * Shared, plugin-neutral form system. Other LT plugins can reuse these classes
 * while keeping their own PHP/JS-specific classes and field names.
 * ======================================================================= */

.lt-form-shell,
.lt-form {
	--lt-form-surface: rgba(20, 20, 20, 0.82);
	--lt-form-surface-focus: rgba(20, 20, 20, 0.88);
	--lt-form-text: rgba(245, 245, 255, 0.92);
	--lt-form-muted: rgba(245, 245, 255, 0.68);
	--lt-form-placeholder: rgba(245, 245, 255, 0.42);
	--lt-form-border: rgba(255, 255, 255, 0.16);
	--lt-form-border-hover: rgba(255, 255, 255, 0.24);
	--lt-form-accent: #ffe100;
	--lt-form-button-text: #141414;
	width: 100%;
	box-sizing: border-box;
	color-scheme: dark !important;
}

.lt-form-shell *,
.lt-form * {
	box-sizing: border-box;
}

.lt-form__sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.lt-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 30px;
	font-size: inherit;
	line-height: inherit;
}

.lt-form__field {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
}

.lt-form__field--placeholder {
	gap: 0;
}

.lt-form__field--full,
.lt-form__actions,
.lt-form__message {
	grid-column: 1 / -1;
}

.lt-form input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.lt-form textarea,
.lt-form select,
.lt-form__file-control {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 100% !important;
	min-height: 56px !important;
	padding: 14px 16px !important;
	border: 1px solid var(--lt-form-border) !important;
	border-radius: 10px !important;
	outline: 0 !important;
	background: var(--lt-form-surface) !important;
	background-image: none !important;
	background-clip: padding-box !important;
	-webkit-background-clip: padding-box !important;
	color: var(--lt-form-text) !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72) !important;
	filter: none !important;
	transform: none !important;
	transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease !important;
}

.lt-form input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):hover,
.lt-form textarea:hover,
.lt-form select:hover,
.lt-form__file-control:hover {
	border-color: var(--lt-form-border-hover) !important;
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.78) !important;
	transform: none !important;
}

.lt-form input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):focus,
.lt-form textarea:focus,
.lt-form select:focus,
.lt-form__file-control:focus-within {
	border-color: rgba(255, 225, 0, 0.92) !important;
	outline: 0 !important;
	background: var(--lt-form-surface-focus) !important;
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.86) !important;
	transform: none !important;
}

.lt-form input::placeholder,
.lt-form textarea::placeholder {
	color: var(--lt-form-placeholder) !important;
	opacity: 1 !important;
}

.lt-form textarea {
	min-height: 190px !important;
	resize: vertical;
}

.lt-form__native-file {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.lt-form__file-control {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) !important;
	align-items: center !important;
	gap: clamp(10px, 1.2vw, 14px) !important;
	padding: 8px 10px !important;
	cursor: pointer !important;
	overflow: hidden !important;
}

.lt-form__file-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 0 16px !important;
	border: 1px solid rgba(255, 225, 0, 0.42) !important;
	border-radius: 999px !important;
	background: linear-gradient(180deg, #fff176, #ffe100) !important;
	color: var(--lt-form-button-text) !important;
	font-weight: 850 !important;
	letter-spacing: 0.01em !important;
	white-space: nowrap !important;
	pointer-events: none !important;
	transform: none !important;
}

.lt-form__file-list {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	color: var(--lt-form-muted) !important;
	white-space: nowrap;
}

.lt-form__file-empty,
.lt-form__file-item-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--lt-form-muted) !important;
}

.lt-form__file-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	max-width: none;
	width: auto;
	overflow: hidden;
	flex: 0 0 auto;
}

.lt-form__file-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 22px;
	padding: 0 7px;
	border-radius: 5px;
	background: rgba(255, 225, 0, 0.95);
	color: #000;
	font-size: 0.72em;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	flex: 0 0 auto;
}

.lt-form__support-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 8px 0 0;
}

.lt-form__description {
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.92em;
	line-height: 1.5;
}

.lt-form__checkbox {
	display: inline-flex !important;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1em;
	line-height: 1.55;
}

.lt-form__checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-height: 18px;
	margin: 3px 0 0;
	accent-color: var(--lt-form-accent);
	flex: 0 0 auto;
}

.lt-form__checkbox a {
	color: var(--lt-form-accent);
	text-decoration: none;
}

.lt-form__checkbox a:hover {
	text-decoration: underline;
}

.lt-form__actions {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	margin-top: 10px !important;
	text-align: center !important;
}

.lt-form__button--primary {
	appearance: none !important;
	-webkit-appearance: none !important;
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 46px !important;
	padding: 0.72em 1.42em !important;
	border: 1px solid rgba(255, 225, 0, 0.42) !important;
	border-radius: 999px !important;
	background: linear-gradient(180deg, #fff176, #ffe100) !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48) !important;
	color: var(--lt-form-button-text) !important;
	font-family: inherit !important;
	font-weight: 850 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.01em !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer !important;
	transform: none !important;
	translate: none !important;
	vertical-align: middle !important;
	transition: padding 200ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

.lt-form__button--primary:hover,
.lt-form__button--primary:focus-visible {
	padding-right: 2.34em !important;
	padding-left: 1.08em !important;
	border-color: rgba(255, 225, 0, 0.68) !important;
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.56), 0 0 20px rgba(255, 225, 0, 0.16) !important;
	transform: none !important;
	translate: none !important;
}

.lt-form__button--primary::after {
	content: "\35" !important;
	font-family: ETmodules !important;
	font-size: 30px !important;
	line-height: 1em !important;
	position: absolute !important;
	display: inline-block !important;
	top: 50% !important;
	right: 0.48em !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--lt-form-button-text) !important;
	opacity: 0 !important;
	pointer-events: none !important;
	text-shadow: none !important;
	transform: translateY(-50%) !important;
	transition: opacity 200ms ease, right 200ms ease !important;
}

.lt-form__button--primary:hover::after,
.lt-form__button--primary:focus-visible::after {
	right: 0.28em !important;
	opacity: 1 !important;
	transform: translateY(-50%) !important;
}

.lt-form__message {
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 0.95em;
	line-height: 1.5;
}

.lt-form__message--success {
	border: 1px solid rgba(255, 225, 0, 0.28);
	background: rgba(255, 225, 0, 0.08);
	color: rgba(245, 245, 255, 0.94);
}

.lt-form__message--error,
.lt-form__message--warning {
	border: 1px solid rgba(255, 115, 115, 0.32);
	background: rgba(255, 80, 80, 0.08);
	color: rgba(255, 235, 235, 0.96);
}

.lt-form input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):-webkit-autofill,
.lt-form input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):-webkit-autofill:hover,
.lt-form input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):-webkit-autofill:focus,
.lt-form input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):-webkit-autofill:active,
.lt-form textarea:-webkit-autofill,
.lt-form textarea:-webkit-autofill:hover,
.lt-form textarea:-webkit-autofill:focus,
.lt-form textarea:-webkit-autofill:active {
	-webkit-text-fill-color: rgba(245, 245, 255, 0.94) !important;
	caret-color: rgba(245, 245, 255, 0.94) !important;
	color: rgba(245, 245, 255, 0.94) !important;
	border-color: rgba(255, 255, 255, 0.18) !important;
	background-color: rgba(20, 20, 20, 0.94) !important;
	background-image: none !important;
	box-shadow: 0 0 0 1000px rgba(20, 20, 20, 0.94) inset, 0 18px 42px rgba(0, 0, 0, 0.72) !important;
	-webkit-box-shadow: 0 0 0 1000px rgba(20, 20, 20, 0.94) inset, 0 18px 42px rgba(0, 0, 0, 0.72) !important;
	transition: background-color 999999s ease-in-out 0s, color 999999s ease-in-out 0s, -webkit-text-fill-color 999999s ease-in-out 0s, border-color 180ms ease, box-shadow 180ms ease !important;
}

@media (max-width: 767px) {
	.lt-form {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.lt-form__field,
	.lt-form__field--full,
	.lt-form__actions {
		grid-column: 1;
	}

	.lt-form__support-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}
}

@media (max-width: 560px) {
	.lt-form__file-control {
		grid-template-columns: 1fr !important;
		align-items: stretch !important;
	}

	.lt-form__file-button {
		width: 100% !important;
	}
}

/* ==========================================================================
 * Section: LT Form focus-border lock, version 1.5.14
 * --------------------------------------------------------------------------
 * Overrides older high-specificity focus-within rules kept for backwards
 * compatibility. All LT form controls now use the same single 1px border on
 * focus, including textarea fields, so the message field does not appear
 * thicker than standard inputs.
 * ======================================================================= */
.ltdj-application-form.lt-form .ltdj-field.lt-form__field:focus-within input[type="text"],
.ltdj-application-form.lt-form .ltdj-field.lt-form__field:focus-within input[type="email"],
.ltdj-application-form.lt-form .ltdj-field.lt-form__field:focus-within input[type="tel"],
.ltdj-application-form.lt-form .ltdj-field.lt-form__field:focus-within textarea,
.ltdj-application-form.lt-form .ltdj-field.lt-form__field:focus-within select,
.ltdj-application-form.lt-form .ltdj-field.lt-form__field:focus-within .ltdj-file-control,
.ltdj-application-form.lt-form .ltdj-field.lt-form__field:focus-within .lt-form__file-control,
.lt-form .lt-form__field:focus-within input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.lt-form .lt-form__field:focus-within textarea,
.lt-form .lt-form__field:focus-within select,
.lt-form .lt-form__field:focus-within .lt-form__file-control {
	border-width: 1px !important;
	border-style: solid !important;
	border-color: rgba(255, 225, 0, 0.92) !important;
	outline: 0 !important;
	background: var(--lt-form-surface-focus, rgba(20, 20, 20, 0.88)) !important;
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.86) !important;
	filter: none !important;
	transform: none !important;
}

.ltdj-application-form.lt-form .ltdj-field.lt-form__field:focus-within textarea,
.lt-form .lt-form__field:focus-within textarea {
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.86) !important;
}


/* ==========================================================================
 * LT Divi Jobs bridge classes
 * --------------------------------------------------------------------------
 * These rules keep LT Divi Jobs runtime states styled while the visual system
 * lives in the child theme. They do not control PHP validation, uploads,
 * anti-spam, email delivery or application storage.
 * ======================================================================= */

.ltdj-application-form-wrap,
.ltdj-application-form {
	container: ltdj-form / inline-size;
}

.lt-form__field--honeypot,
.ltdj-field--honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.ltdj-application-form .ltdj-form-message[hidden] {
	display: none !important;
}

.ltdj-application-form .ltdj-field--invalid input[type="text"],
.ltdj-application-form .ltdj-field--invalid input[type="email"],
.ltdj-application-form .ltdj-field--invalid input[type="tel"],
.ltdj-application-form .ltdj-field--invalid textarea,
.ltdj-application-form .ltdj-field--invalid select,
.ltdj-application-form .ltdj-field--invalid .ltdj-file-control,
.ltdj-application-form .ltdj-field--invalid .lt-form__file-control,
.ltdj-application-form .ltdj-checkbox-label.ltdj-field--invalid {
	border-color: rgba(255, 91, 91, 0.92) !important;
	box-shadow: 0 0 0 2px rgba(255, 91, 91, 0.28), 0 0 28px rgba(255, 91, 91, 0.16) !important;
}

.ltdj-application-form .ltdj-field--invalid input::placeholder,
.ltdj-application-form .ltdj-field--invalid textarea::placeholder {
	color: rgba(255, 210, 210, 0.82) !important;
}

.ltdj-application-form .ltdj-field--invalid .ltdj-file-button,
.ltdj-application-form .ltdj-field--invalid .lt-form__file-button {
	border-color: rgba(255, 91, 91, 0.70) !important;
}

.ltdj-application-form .ltdj-checkbox-label.ltdj-field--invalid input[type="checkbox"] {
	border-color: rgba(255, 91, 91, 0.92) !important;
	box-shadow: 0 0 0 2px rgba(255, 91, 91, 0.24) !important;
}

.ltdj-application-form .ltdj-anti-spam-field {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	margin: 0;
}

.ltdj-application-form .ltdj-anti-spam-field--turnstile {
	overflow: visible;
}

.ltdj-application-form .ltdj-anti-spam-field--turnstile .cf-turnstile {
	max-width: 100%;
}

.ltdj-application-form .ltdj-anti-spam-field--recaptcha-v3 {
	height: 0;
	min-height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.ltdj-application-form .ltdj-submit-button[disabled],
.ltdj-application-form .ltdj-submit-button[aria-busy="true"] {
	cursor: wait;
	opacity: 0.72;
}

.ltdj-application-form .ltdj-anti-spam-admin-notice {
	grid-column: 1 / -1;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 225, 0, 0.4);
	border-radius: 6px;
	background: rgba(255, 225, 0, 0.08);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.92em;
	line-height: 1.45;
}

@container ltdj-form (max-width: 680px) {
	.ltdj-application-form .lt-form__support-row,
	.ltdj-application-form .ltdj-form-support-row {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		gap: 12px !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.ltdj-application-form .lt-form__support-row .lt-form__description,
	.ltdj-application-form .ltdj-form-support-row .description {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 0 !important;
		flex: 0 0 auto !important;
		line-height: 1.45 !important;
	}

	.ltdj-application-form .lt-form__support-row .lt-form__checkbox,
	.ltdj-application-form .ltdj-form-support-row .ltdj-checkbox-label {
		display: inline-flex !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 0 !important;
		white-space: normal !important;
		overflow: visible !important;
	}

	.ltdj-application-form .lt-form__support-row .lt-form__checkbox > span,
	.ltdj-application-form .ltdj-form-support-row .ltdj-checkbox-label > span {
		display: block !important;
		min-width: 0 !important;
		max-width: calc(100% - 32px) !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
		line-height: 1.45 !important;
	}
}

/* ==========================================================================
 * Section: LT Form secondary button, version 1.5.18
 * --------------------------------------------------------------------------
 * Matches the primary LT button structure and hover behaviour while using a
 * dark grey visual treatment for secondary actions such as Back/Cancel.
 * This block is intentionally placed at the end of the shared child-theme CSS
 * so it can override older plugin-specific button rules.
 * ======================================================================= */

.lt-form__actions {
	gap: 12px !important;
	flex-wrap: wrap !important;
}

.lt-form__button,
button.lt-form__button {
	appearance: none !important;
	-webkit-appearance: none !important;
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 46px !important;
	padding: 0.72em 1.42em !important;
	border-radius: 999px !important;
	font-family: inherit !important;
	font-weight: 850 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.01em !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer !important;
	transform: none !important;
	translate: none !important;
	vertical-align: middle !important;
	transition:
		padding 200ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease,
		background-color 180ms ease,
		color 180ms ease !important;
}

.lt-form__button:hover,
.lt-form__button:focus-visible,
button.lt-form__button:hover,
button.lt-form__button:focus-visible {
	transform: none !important;
	translate: none !important;
}

.lt-form__button--secondary,
button.lt-form__button.lt-form__button--secondary,
.lt-form .lt-form__button--secondary,
.lt-form-shell .lt-form__button--secondary,
button.lt-form__button.lt-form__button--secondary.ltfmt-back-button {
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	background:
		linear-gradient(180deg, rgba(92, 92, 92, 0.98), rgba(48, 48, 48, 0.98)) !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48) !important;
	color: rgba(245, 245, 255, 0.94) !important;
}

.lt-form__button--secondary:hover,
.lt-form__button--secondary:focus-visible,
button.lt-form__button.lt-form__button--secondary:hover,
button.lt-form__button.lt-form__button--secondary:focus-visible,
.lt-form .lt-form__button--secondary:hover,
.lt-form .lt-form__button--secondary:focus-visible,
.lt-form-shell .lt-form__button--secondary:hover,
.lt-form-shell .lt-form__button--secondary:focus-visible,
button.lt-form__button.lt-form__button--secondary.ltfmt-back-button:hover,
button.lt-form__button.lt-form__button--secondary.ltfmt-back-button:focus-visible {
	padding-right: 2.34em !important;
	padding-left: 1.08em !important;
	border-color: rgba(255, 255, 255, 0.34) !important;
	background:
		linear-gradient(180deg, rgba(106, 106, 106, 0.98), rgba(58, 58, 58, 0.98)) !important;
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.56), 0 0 20px rgba(255, 255, 255, 0.08) !important;
	color: rgba(245, 245, 255, 0.98) !important;
	transform: none !important;
	translate: none !important;
}

.lt-form__button--secondary::after,
button.lt-form__button.lt-form__button--secondary::after,
.lt-form .lt-form__button--secondary::after,
.lt-form-shell .lt-form__button--secondary::after,
button.lt-form__button.lt-form__button--secondary.ltfmt-back-button::after {
	content: "\35" !important;
	font-family: ETmodules !important;
	font-size: 30px !important;
	line-height: 1em !important;
	position: absolute !important;
	display: inline-block !important;
	top: 50% !important;
	right: 0.48em !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: rgba(245, 245, 255, 0.94) !important;
	opacity: 0 !important;
	pointer-events: none !important;
	text-shadow: none !important;
	transform: translateY(-50%) !important;
	transition: opacity 200ms ease, right 200ms ease !important;
}

.lt-form__button--secondary:hover::after,
.lt-form__button--secondary:focus-visible::after,
button.lt-form__button.lt-form__button--secondary:hover::after,
button.lt-form__button.lt-form__button--secondary:focus-visible::after,
.lt-form .lt-form__button--secondary:hover::after,
.lt-form .lt-form__button--secondary:focus-visible::after,
.lt-form-shell .lt-form__button--secondary:hover::after,
.lt-form-shell .lt-form__button--secondary:focus-visible::after,
button.lt-form__button.lt-form__button--secondary.ltfmt-back-button:hover::after,
button.lt-form__button.lt-form__button--secondary.ltfmt-back-button:focus-visible::after {
	right: 0.28em !important;
	opacity: 1 !important;
	transform: translateY(-50%) !important;
}
