.harfest-application-modal {
	inset: 0;
	position: fixed;
	z-index: 100000;
}

.harfest-application-modal__overlay {
	background: rgba(0, 0, 0, 0.78);
	cursor: pointer;
	inset: 0;
	position: absolute;
}

.harfest-application-modal__dialog {
	background: #111;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
	color: #fff;
	left: 50%;
	max-height: calc(100vh - 48px);
	max-width: 560px;
	overflow: auto;
	padding: 28px 28px 24px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.harfest-application-modal__close {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	opacity: 0.72;
	padding: 4px 8px;
	position: absolute;
	right: 12px;
	top: 10px;
	transition: opacity 0.2s ease;
}

.harfest-application-modal__close:hover,
.harfest-application-modal__close:focus {
	opacity: 1;
}

.harfest-application-modal__title {
	color: #e42126;
	font-family: "Slavic", "Slavik", "LogoFont", "Juno", sans-serif;
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	margin: 0 36px 18px 0;
	text-transform: uppercase;
}

.harfest-cf7-intro {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	line-height: 1.45;
	margin: 0 0 18px;
}

.harfest-cf7-form label {
	color: #fff;
	display: block;
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 14px;
}

.harfest-cf7-input,
.harfest-cf7-textarea {
	background: #1a1a1a;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	box-sizing: border-box;
	color: #fff;
	font: inherit;
	margin-top: 6px;
	padding: 12px 14px;
	width: 100%;
}

.harfest-cf7-textarea {
	min-height: 110px;
	resize: vertical;
}

.harfest-cf7-input:focus,
.harfest-cf7-textarea:focus {
	border-color: #e42126;
	outline: none;
}

.harfest-cf7-actions {
	margin: 8px 0 0;
}

.harfest-cf7-submit,
.harfest-application-modal .wpcf7-submit {
	background: #e42126 !important;
	border: 2px solid #e42126 !important;
	border-radius: 999px;
	color: #fff !important;
	cursor: pointer;
	font-family: "Slavic", "Slavik", "LogoFont", "Juno", sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.06em;
	min-width: 220px;
	padding: 14px 28px;
	text-transform: uppercase;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.harfest-cf7-submit:hover,
.harfest-cf7-submit:focus,
.harfest-application-modal .wpcf7-submit:hover,
.harfest-application-modal .wpcf7-submit:focus {
	background: #c41c20 !important;
	border-color: #c41c20 !important;
}

.harfest-application-modal .wpcf7 form {
	margin: 0;
}

.harfest-application-modal .wpcf7-response-output {
	border-radius: 8px;
	color: #fff;
	margin: 16px 0 0;
}

.harfest-application-success {
	color: #8dff9a;
	font-size: 15px;
	margin: 14px 0 0;
}

body.harfest-application-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.harfest-application-modal__dialog {
		max-height: calc(100vh - 24px);
		padding: 24px 18px 18px;
		width: calc(100% - 20px);
	}

	.harfest-cf7-submit,
	.harfest-application-modal .wpcf7-submit {
		min-width: 100%;
		width: 100%;
	}
}
