.beultec-cf7-form {
	--beultec-bg: #111111;
	--beultec-field: #080808;
	--beultec-border: #5f6368;
	--beultec-border-strong: #878b91;
	--beultec-text: #f5f5f5;
	--beultec-muted: #9a9a9a;
	--beultec-red: #ef001e;
	--beultec-red-dark: #c90019;
	background: var(--beultec-bg);
	color: var(--beultec-text);
	font-family: sans-serif;
	padding: 0;
	width: 100%;
}

.beultec-cf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.beultec-cf7-form *,
.beultec-cf7-form *::before,
.beultec-cf7-form *::after {
	box-sizing: border-box;
}

.beultec-cf7-form {
	accent-color: var(--beultec-red);
}

.beultec-btn {
	font-size: 16px !important;
}

.beultec-cf7-form .beultec-step[hidden] {
	display: none !important;
}

.beultec-cf7-form .beultec-step {
	background: var(--beultec-bg);
	padding: 30px 28px 38px;
}

.beultec-cf7-form h2 {
	color: #ffffff;
	font-family: sans-serif;
	font-size: clamp(24px, 2vw, 29px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.beultec-cf7-form p {
	color: #dedede;
	font-size: 18px;
	line-height: 1.45;
	margin: 0;
}

.beultec-cf7-form strong,
.beultec-cf7-form .beultec-red-text {
	color: var(--beultec-red);
	font-weight: 600;
}

.beultec-step-intro {
	margin: 0 auto 36px;
	max-width: 1280px;
	text-align: center;
}

.beultec-step-intro h2 {
	margin-bottom: 10px;
}

.beultec-step-intro p + p {
	margin-top: 8px;
}

.beultec-grid {
	display: grid;
	gap: 26px;
	margin: 0 auto;
	max-width: 1540px;
}

.beultec-grid-3 {
	align-items: start;
	grid-template-columns: 1fr 1fr 1fr;
}

.beultec-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.beultec-field label,
.beultec-cf7-form .wpcf7-form-control-wrap + label {
	color: #f0f0f0;
	display: block;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 8px;
}

.beultec-required {
	color: var(--beultec-red);
}

.beultec-cf7-form input[type="text"],
.beultec-cf7-form input[type="email"],
.beultec-cf7-form input[type="tel"],
.beultec-cf7-form input[type="file"],
.beultec-cf7-form select,
.beultec-cf7-form textarea {
	background: var(--beultec-field);
	border: 1px solid var(--beultec-border);
	border-radius: 7px;
	color: var(--beultec-text);
	font-family: sans-serif;
	font-size: 18px;
	height: 55px;
	line-height: 1.2;
	outline: none;
	padding: 0 17px;
	width: 100%;
}

.beultec-cf7-form select {
	appearance: auto;
	color: #d8d8d8;
}

.beultec-cf7-form select option {
	background: #090909;
	color: #dcdcdc;
}

.beultec-cf7-form select option:checked {
	background: var(--beultec-red);
	color: #ffffff;
}

.beultec-cf7-form input::placeholder {
	color: #9b9b9b;
	opacity: 1;
}

.beultec-cf7-form ::selection {
	background: var(--beultec-red);
	color: #ffffff;
}

.beultec-cf7-form input:focus,
.beultec-cf7-form select:focus,
.beultec-cf7-form textarea:focus {
	border-color: var(--beultec-border-strong);
	box-shadow: 0 0 0 1px rgba(239, 0, 30, 0.22);
}

.beultec-field-error,
.beultec-cf7-form .wpcf7-not-valid {
	border-color: var(--beultec-red) !important;
}

.beultec-actions {
	align-items: center;
	display: flex;
	gap: 58px;
	justify-content: center;
	margin-top: 50px;
}

.beultec-actions p {
	align-items: center;
	display: flex;
	gap: 58px;
	justify-content: center;
	margin: 0;
}

.beultec-actions-left {
	justify-content: flex-end;
	margin-top: 56px;
}

.beultec-btn,
.beultec-cf7-form button.beultec-btn,
.beultec-cf7-form input[type="submit"],
.beultec-cf7-form input.wpcf7-submit {
	background: var(--beultec-red) !important;
	border: 0 !important;
	border-radius: 7px;
	color: #ffffff !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1;
	min-height: 51px;
	min-width: 175px;
	padding: 14px 34px;
	text-transform: uppercase;
	transition: background-color 160ms ease, transform 160ms ease;
	width: auto !important;
}

.beultec-btn:hover,
.beultec-cf7-form button.beultec-btn:hover,
.beultec-cf7-form input[type="submit"]:hover,
.beultec-cf7-form input.wpcf7-submit:hover {
	background: var(--beultec-red-dark) !important;
	transform: translateY(-1px);
}

.beultec-prev,
.beultec-cf7-form button.beultec-prev {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--beultec-muted) !important;
	cursor: pointer;
	font-family: sans-serif;
	font-size: 16px;
	font-weight: 400;
	min-height: auto;
	min-width: 0;
	padding: 12px 0;
	text-decoration: none;
	text-transform: none;
	width: auto !important;
}

.beultec-prev:hover,
.beultec-cf7-form button.beultec-prev:hover {
	background: transparent !important;
	color: #ffffff !important;
}

.beultec-choice-row {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin: 0 auto;
	max-width: 820px;
	width: 100%;
}

.beultec-choice-row p {
	display: contents;
	margin: 0;
}

.beultec-cf7-form .wpcf7-radio {
	display: flex;
	gap: 20px;
	justify-content: center;
	width: 100%;
}

.beultec-cf7-form .wpcf7-list-item {
	margin: 0;
}

.beultec-cf7-form .wpcf7-radio .wpcf7-list-item {
	flex: 1 1 0;
}

.beultec-cf7-form .wpcf7-radio label {
	align-items: center;
	background: #1a1a1a;
	border: 2px solid #44484d;
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	font-weight: 700;
	justify-content: center;
	min-height: 64px;
	padding: 16px 22px;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
}

.beultec-cf7-form .wpcf7-radio input {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.beultec-cf7-form .wpcf7-radio .wpcf7-list-item.is-selected label,
.beultec-cf7-form .wpcf7-radio label:has(input:checked) {
	background: var(--beultec-red);
	border-color: var(--beultec-red);
	color: #ffffff;
}

.beultec-choice-error .wpcf7-radio label {
	border-color: var(--beultec-red);
}

.beultec-choice-error .wpcf7-radio .wpcf7-list-item.is-selected label,
.beultec-choice-error .wpcf7-radio label:has(input:checked) {
	background: var(--beultec-red);
	border-color: var(--beultec-red);
	color: #ffffff;
}

.beultec-cf7-form .wpcf7-checkbox .wpcf7-list-item.is-selected label,
.beultec-cf7-form .wpcf7-acceptance .wpcf7-list-item.is-selected label {
	background: transparent;
	border-color: transparent;
	color: #f1f1f1;
}

.beultec-upload {
	margin: 0 auto;
	max-width: 620px;
	text-align: center;
}

.beultec-upload-box {
	border: 2px dashed #55585d;
	border-radius: 12px;
	color: #838383;
	cursor: pointer;
	display: grid;
	gap: 14px;
	min-height: 210px;
	place-items: center;
	padding: 34px;
	text-align: center;
}

.beultec-upload-box.is-dragging {
	border-color: var(--beultec-red);
}

.beultec-upload-icon {
	color: #666666;
	font-size: 38px;
	font-weight: 700;
	line-height: 1;
}

.beultec-upload-title {
	color: #858585;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.beultec-upload-fields {
	display: none !important;
	gap: 10px;
	margin-top: 18px;
}

.beultec-upload-fields input[type="file"] {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.beultec-upload-files {
	color: #cfcfcf;
	font-size: 14px;
	line-height: 1.4;
	margin-top: 12px;
	min-height: 20px;
}

.beultec-upload-error .beultec-upload-box {
	border-color: var(--beultec-red);
}

.beultec-upload.is-skip-upload .beultec-upload-box,
.beultec-upload.is-skip-upload .beultec-upload-fields,
.beultec-upload.is-skip-upload .beultec-upload-files {
	display: none;
}

.beultec-upload-file-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.beultec-upload-file-item {
	align-items: center;
	background: #1a1a1a;
	border: 1px solid #3f4449;
	border-radius: 4px;
	color: #dddddd;
	display: inline-flex;
	font-size: 13px;
	gap: 8px;
	line-height: 1.2;
	padding: 7px 9px;
}

.beultec-upload-remove {
	background: transparent !important;
	border: 0 !important;
	color: var(--beultec-red) !important;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	min-height: 0;
	min-width: 0;
	padding: 0;
	width: auto !important;
}

.beultec-checkline {
	align-items: flex-start;
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: 34px;
	text-align: left;
}

.beultec-checkline .wpcf7-list-item label,
.beultec-privacy .wpcf7-list-item label {
	align-items: flex-start;
	color: #f1f1f1;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	font-weight: 600;
	gap: 15px;
	line-height: 1.35;
}

.beultec-cf7-form input[type="checkbox"] {
	appearance: none;
	background: transparent;
	border: 1px solid #70757c;
	border-radius: 3px;
	cursor: pointer;
	flex: 0 0 22px;
	height: 22px;
	margin: 2px 0 0;
	position: relative;
	width: 22px;
}

.beultec-cf7-form input[type="checkbox"]:checked {
	border-color: var(--beultec-red);
}

.beultec-cf7-form input[type="checkbox"]:checked::after {
	border: solid var(--beultec-red);
	border-width: 0 2px 2px 0;
	content: "";
	height: 10px;
	left: 7px;
	position: absolute;
	top: 3px;
	transform: rotate(45deg);
	width: 6px;
}

.beultec-appointment-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
	margin-top: 48px;
	max-width: 950px;
	width: 100%;
}

.beultec-appointment-fields p {
	display: contents;
	margin: 0;
}

.beultec-appointment-fields br {
	display: none;
}

.beultec-time-dropdown {
	position: relative;
	width: 100%;
}

.beultec-time-dropdown > button.beultec-time {
	background: var(--beultec-field) !important;
	border: 1px solid var(--beultec-border) !important;
	border-radius: 7px !important;
	color: var(--beultec-text) !important;
	cursor: pointer;
	display: block;
	font-family: sans-serif;
	font-size: 18px;
	font-weight: 600;
	height: 55px;
	line-height: 1.2;
	padding: 0 42px 0 17px;
	position: relative;
	text-align: left;
	width: 100% !important;
}

.beultec-time-dropdown > button.beultec-time::after {
	border-color: #ffffff transparent transparent;
	border-style: solid;
	border-width: 5px 5px 0;
	content: "";
	position: absolute;
	right: 17px;
	top: 50%;
	transform: translateY(-50%);
}

.beultec-time-dropdown.is-open > button.beultec-time {
	border-color: var(--beultec-red) !important;
	box-shadow: 0 0 0 1px rgba(239, 0, 30, 0.22);
}

.beultec-time-options {
	background: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 4px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
	display: none;
	left: 0;
	max-height: 174px;
	overflow-y: auto;
	position: absolute;
	top: calc(100% + 6px);
	width: 100%;
	z-index: 99999;
}

.beultec-time-dropdown.is-open .beultec-time-options {
	display: block;
}

.beultec-time-option {
	background: #ffffff !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #111111 !important;
	cursor: pointer;
	display: block;
	font-family: sans-serif;
	font-size: 16px !important;
	font-weight: 600;
	min-height: 36px;
	padding: 8px 15px;
	text-align: left;
	width: 100% !important;
}

.beultec-time-option:hover,
.beultec-time-option:focus {
	background: var(--beultec-red) !important;
	color: #ffffff !important;
	outline: 0;
}

.beultec-lead-fields {
	gap: 24px;
	max-width: 1000px;
}

.beultec-privacy {
	margin: 30px auto 54px;
	max-width: 1020px;
}

.beultec-final-submit {
	margin: 0 auto;
	max-width: 500px;
	text-align: center;
}

.beultec-final-submit p {
	margin: 0;
}

.beultec-final-submit input[type="submit"] {
	width: 100% !important;
}

.beultec-cf7-form .wpcf7-spinner {
	display: block;
	margin: 18px auto 0;
}

.beultec-cf7-form .wpcf7-not-valid-tip,
.beultec-cf7-form .wpcf7-response-output,
.beultec-step-error {
	color: var(--beultec-red);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	margin-top: 8px;
}

.beultec-cf7-form .wpcf7-response-output {
	border-color: var(--beultec-red);
	text-align: center;
}

.flatpickr-month,
.flatpickr-current-month {
	background: #ffffff !important;
	color: #000000 !important;
}

@media (max-width: 900px) {
	.beultec-cf7-form {
		padding: 0;
	}

	.beultec-cf7-form .beultec-step {
		padding: 24px 16px 32px;
	}

	.beultec-grid-3,
	.beultec-grid-2,
	.beultec-choice-row {
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.beultec-actions,
	.beultec-actions-left {
		align-items: stretch;
		flex-direction: column;
		gap: 18px;
		justify-content: center;
		margin-top: 36px;
	}

	.beultec-actions p {
		align-items: stretch;
		flex-direction: column;
		gap: 18px;
		width: 100%;
	}

	.beultec-actions-left {
		flex-direction: column;
	}

	.beultec-step-intro {
		margin-bottom: 34px;
	}

	.beultec-cf7-form h2 {
		font-size: 21px;
	}

	.beultec-cf7-form p,
	.beultec-checkline .wpcf7-list-item label,
	.beultec-privacy .wpcf7-list-item label {
		font-size: 15px;
	}

	.beultec-cf7-form input[type="text"],
	.beultec-cf7-form input[type="email"],
	.beultec-cf7-form input[type="tel"],
	.beultec-cf7-form input[type="file"],
	.beultec-cf7-form select,
	.beultec-cf7-form textarea {
		font-size: 16px;
	}

	.beultec-appointment-fields {
		grid-template-columns: 1fr;
	}

	.beultec-cf7-form .wpcf7-radio {
		flex-direction: column;
		gap: 14px;
	}

	.beultec-cf7-form .wpcf7-radio label {
		font-size: 15px;
		line-height: 1.15;
		min-height: 58px;
		padding: 13px 16px;
	}

	.beultec-btn,
	.beultec-cf7-form button.beultec-btn,
	.beultec-cf7-form input[type="submit"],
	.beultec-cf7-form input.wpcf7-submit {
		font-size: 16px;
		min-width: 0;
		width: 100% !important;
	}

	.beultec-prev,
	.beultec-cf7-form button.beultec-prev {
		text-align: center;
		width: 100% !important;
	}
}

.beultec-btn,
.beultec-cf7-form button.beultec-btn {
	font-size: 16px !important;
}
