.wtbp-is-open {
	overflow: hidden;
}

.wtbp-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: Montserrat, Arial, sans-serif;
}

.wtbp-modal[aria-hidden="false"] {
	display: flex;
}

.wtbp-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.5) !important;
	backdrop-filter: blur(15px);
}

.wtbp-modal__dialog {
	position: relative;
	width: min(100%, 650px);
	max-height: calc(100vh - 48px);
	overflow: visible;
	padding: 54px 70px 58px;
	color: #fff;
	background: linear-gradient(249.53deg, #0266A2 3.73%, #203C96 78.59%);
	border-radius: 58px 36px 50px 44px;
	box-shadow: 0 28px 72px rgba(15, 40, 95, 0.36);
	transform: none;
}

.wtbp-modal__dialog > * {
	position: relative;
	z-index: 1;
	transform: none;
}

.wtbp-modal__close {
	position: absolute;
	top: 24px;
	right: 28px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #dceaff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transition: none;
}

.wtbp-modal .wtbp-modal__close {
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	padding: 0 !important;
}

.wtbp-modal .wtbp-modal__close svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	color: currentColor !important;
	fill: currentColor !important;
	pointer-events: none;
}

.wtbp-modal__close:hover,
.wtbp-modal__close:focus,
.wtbp-modal__close:active {
	background: transparent;
	color: #fff;
	outline: none;
}

.wtbp-modal .wtbp-modal__close:hover,
.wtbp-modal .wtbp-modal__close:focus,
.wtbp-modal .wtbp-modal__close:active {
	background: transparent !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
	transform: none !important;
}

.wtbp-modal__header {
	max-width: 100%;
	margin-bottom: 28px;
}

.wtbp-modal__title {
	margin: 0 0 10px;
	font-family: "Montserrat", Sans-serif;
	font-size: clamp(1.5rem, 1.25rem + 1.5vw, 40px);
	line-height: 1.1;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.2em;
	letter-spacing: 0;
	color: #fff;
}

.wtbp-modal__subtitle {
	max-width: 460px;
	margin: 0;
	font-family: "Open Sans", Sans-serif;
	font-size: 1.375rem;
	line-height: 1.45;
	font-weight: 400;
	color: #fff;
}

.wtbp-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.wtbp-form__field {
	display: grid;
	gap: 0;
}

.wtbp-form__field:nth-child(5),
.wtbp-form__message,
.wtbp-form__submit {
	grid-column: 1 / -1;
}

.wtbp-form__field label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.wtbp-form__field input,
.wtbp-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #FFFFFFCC;
	border-radius: 10px;
	background-color: #FFFFFF00;
	color: #fff;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	padding: 16px 20px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.wtbp-modal .wtbp-form .wtbp-form__field input,
.wtbp-modal .wtbp-form .wtbp-form__field textarea {
	border: 1.4px solid rgba(255, 255, 255, 0.78) !important;
	border-width: 1px !important;
	border-color: #FFFFFFCC !important;
	border-radius: 10px !important;
	background-color: #FFFFFF00 !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
}

.wtbp-form__field input {
	min-height: 58px;
}

.wtbp-form__field textarea {
	min-height: 104px;
	resize: vertical;
}

.wtbp-form__field input::placeholder,
.wtbp-form__field textarea::placeholder {
	color: rgba(255, 255, 255, 0.62);
	opacity: 1;
}

.wtbp-form__field input:focus,
.wtbp-form__field textarea:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
	outline: none;
}

.wtbp-modal .wtbp-form .wtbp-form__field input:focus,
.wtbp-modal .wtbp-form .wtbp-form__field textarea:focus {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.05) !important;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12) !important;
	outline: none !important;
}

.wtbp-form__message {
	display: none;
	border-radius: 9px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.45;
}

.wtbp-form__message:not(:empty) {
	display: block;
}

.wtbp-form__message--info {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.wtbp-form__message--error {
	background: #fff2ec;
	color: #bb3100;
}

.wtbp-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 58px;
	margin-top: 4px;
	border: 0;
	border-radius: 10px;
	background: #ff5500;
	color: #fff;
	font-family: "Montserrat", Sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	padding: 20px 0;
	cursor: pointer;
	transition: none;
}

.wtbp-modal .wtbp-form .wtbp-form__submit {
	border: 0 !important;
	border-radius: 10px !important;
	background: #ff5500 !important;
	background-image: none !important;
	color: #fff !important;
	font-family: "Montserrat", Sans-serif !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	padding: 20px 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	transition: none !important;
}

.wtbp-modal .wtbp-form .wtbp-form__submit .wtbp-form__submit-text {
	font-family: "Montserrat", Sans-serif !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
}

.wtbp-form__submit:hover,
.wtbp-form__submit:focus,
.wtbp-form__submit:active {
	background: #ff5500;
	transform: none;
	outline: none;
}

.wtbp-modal .wtbp-form .wtbp-form__submit:hover,
.wtbp-modal .wtbp-form .wtbp-form__submit:focus,
.wtbp-modal .wtbp-form .wtbp-form__submit:active {
	background: #ff5500 !important;
	color: #fff !important;
	transform: none !important;
}

.wtbp-form__submit:disabled {
	cursor: wait;
	opacity: 0.82;
	transform: none;
}

.wtbp-form__submit-arrow {
	font-size: 22px;
	line-height: 1;
}

.wtbp-form__submit-loader {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.48);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wtbp-spin 0.75s linear infinite;
}

.wtbp-form__submit.is-loading .wtbp-form__submit-arrow {
	display: none;
}

.wtbp-form__submit.is-loading .wtbp-form__submit-loader {
	display: inline-block;
}

@keyframes wtbp-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 720px) {
	.wtbp-modal {
		align-items: flex-end;
		padding: 10px;
	}

	.wtbp-modal__dialog {
		width: 100%;
		max-height: calc(100vh - 20px);
		overflow: auto;
		padding: 68px 20px 24px;
		border-radius: 32px 24px 28px 24px;
		transform: none;
	}

	.wtbp-modal__dialog > * {
		transform: none;
	}

	.wtbp-modal__close {
		top: 16px;
		right: 18px;
	}

	.wtbp-modal__header {
		max-width: 100%;
		margin-bottom: 20px;
	}

	.wtbp-modal__title {
		font-size: 25px;
	}

	.wtbp-modal__subtitle {
		font-size: 14px;
	}

	.wtbp-form {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.wtbp-form__field input {
		min-height: 54px;
	}

	.wtbp-form__field input,
	.wtbp-form__field textarea {
		padding: 14px 16px;
	}
}
