.iban_form {
	padding: 47px 32px;
	border: 2px solid rgba(108, 157, 149, 0.30);
	border-radius: 2px;
	width: 543px;
	max-width: 100%;
}

.iban_form_hidden {
	display: none;
}

.iban_form_message {
	display: none;
	padding: 32px;
	border: 2px solid rgba(108, 157, 149, 0.30);
	border-radius: 2px;
	font-size: 18px;
	line-height: 29px;
	text-align: center;
	margin-top: 24px;
}

.iban_form_message.active {
	display: block;
}

.iban_form_message.success {
	background: #F3FBF8;
	color: #006D68;
}

.iban_form_message.error {
	background: #FFF5F2;
	color: #A53C00;
}

.iban_form_wrapper {
	display: flex;
	justify-content: flex-end;
}

.iban_header_text {
	font-size: 18px;
	line-height: 29px;
	margin-bottom: 22px;
}

.form_field_element {
	width: 100%;
	display: block;
	border-radius: 2px;
	border: 2px solid #6C9D95;
	height: 56px;
	padding: 0 12px;
	line-height: 19px;
	font-size: 16px;
	color: #4F3011;
}

.form_field_element::placeholder {
	color: #4F3011;
}

.form_row {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}

.form_row:last-child {
	margin-bottom: 0;
}

.form_col {
	flex: 1;
	position: relative;
}

.postcode_api_row,
.custom_amount_row,
.form_more_info_content {
	display: none;
}

.postcode_api_row.active,
.form_more_info_content.active,
.custom_amount_row.active {
	display: flex;
}

.form_more_info {
	border-radius: 0 0 3px 3px;
	background: #F2F2F2;
	padding: 7px 11px;
}

.form_more_info_toggle {
	font-size: 16px;
	line-height: 20px;
	text-decoration: underline;
	cursor: pointer;
	color: #4F3011;
}

.iban_submit_button {
	border-radius: 2px;
	background: #EB6408;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
	color: white;
	padding: 16px 30px;
	text-align: center;
	display: block;
	width: 100%;
	border: none;
	transition: background 0.3s ease;
}

.iban_submit_button:hover {
	background: #d75c07;
}

.iban_submit_button.is_loading {
	position: relative;
	color: transparent;
	cursor: progress;
}

.iban_submit_button.is_loading::after {
	content: '';
	position: absolute;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.5);
	border-top-color: #fff;
	top: 50%;
	left: 50%;
	margin-top: -13px;
	margin-left: -13px;
	animation: iban_button_spin 0.8s linear infinite;
}

@keyframes iban_button_spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.form_field {
	margin-bottom: 16px;
}

.form_privacy_policy_text {
	font-size: 16px;
	line-height: 25px;
	font-weight: 500;
	font-style: italic;
	color: #A9998A;
	margin-top: 16px;
}

.iban_form label {
	color: #4F3011;
	font-size: 16px;
	line-height: 27px;
	font-weight: 600;
	display: block;
}

.flex_form_field {
	display: flex;
	align-items: center;
	gap: 14px;
}

ul.iban_footer__logos {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 24px 0;
	justify-content: center;
}

.iban_footer {
	text-align: center;
}

.iban_footer__logo img {
	max-height: 44px;
	width: auto;
}

.iban_footer__text {
	font-size: 20px;
	line-height: 38px;
	color: #006D68;
}

.flex_form_field label {
	margin-bottom: 0;
}

.checkbox_labels {
	display: flex;
	gap: 13px;
}

.iban_form .checkbox_label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 16px;
	line-height: 19px;
	font-weight: 400;
}

.form_more_info.active .form_more_info_toggle {
	display: none;
}

.form_more_info.active .form_more_info_content {
	display: block;
}

.monthly_toggle,
.yearly_toggle {
	display: none;
}

.monthly_toggle.active,
.yearly_toggle.active {
	display: inline;
}

.form_more_info_content {
	font-size: 16px;
	line-height: 20px;
	padding: 5px 0;
}

.post_newsletter_field {
	margin-bottom: 2px;
}

.checkbox_wrapper label {
	line-height: 27px;
}

.form_remark {
	font-size: 16px;
	line-height: 19px;
}

.form_warning {
	border-radius: 0 0 3px 3px;
	background: rgba(255, 0, 0, 0.10);
	padding: 4px 12px 6px 12px;
	font-size: 16px;
	line-height: 19px;
	color: #A12534;
}

.infield_label {
	font-size: 12px;
	line-height: 14px;
	color: #6C9D95;
	position: absolute;
	top: 8px;
	left: 12px;
	display: flex;
	gap: 7px;
	align-items: center;
}

.infield_label:after {
	content: "";
	width: 10px;
	height: 8px;
	display: block;
	background-image: url(../img/green-checkmark.svg);
}

.custom_amount_label:after {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}

.custom_amount_label.custom_amount_label--valid:after {
	opacity: 1;
	visibility: visible;
}

input.custom_amount {
	padding-top: 12px;
}

.floating_label_wrapper {
	position: relative;
}

.floating_label {
	font-size: 16px;
	line-height: 19px;
	color: #4F3011;
	position: absolute;
	top: 50%;
	left: 12px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	pointer-events: none;
	transition: all 0.2s ease;
}

.floating_label_wrapper .form_field_element {
	transition: padding-top 0.2s ease;
}

.floating_label_wrapper.has_value .form_field_element,
.floating_label_wrapper.has_focus .form_field_element {
	padding-top: 12px;
}

.floating_label_wrapper.has_value .floating_label,
.floating_label_wrapper.has_focus .floating_label {
	font-size: 12px;
	line-height: 14px;
	color: #6C9D95;
	top: 8px;
	transform: translateY(0);
}

.floating_label:after {
	display: none;
}

.form_warning {
	display: none;
}

.form_warning.active {
	display: block;
}

.iban_input_wrapper {
	position: relative;
}

.iban_mask {
	position: absolute;
	top: calc(50% + 1px);
	left: 13px;
	transform: translateY(-50%);
	color: #A9998A;
}

#iban_input,
.iban_mask {
	font-family: 'Courier New', Courier, monospace;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
}

#iban_input {
	z-index: 1;
	position: relative;
	background-color: transparent;
}

.more_info_iban_wrapper {
	display: none;
}

.more_info_iban_wrapper.active {
	display: block;
}

.iban_validation_list:empty {
	display: none;
}

ul.iban_validation_list {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.iban_validation_list li {
	font-size: 16px;
	line-height: 20px;
	display: flex;
	gap: 5px;
}

.iban_validation_list li.validation_success::before {
	content: "";
	width: 11px;
	height: 9px;
	display: block;
	background-image: url(../img/validated.svg);
	position: relative;
	top: 8px;
}

.final_validation_success {
	font-weight: 500;
}

.checkbox_label input[type="radio"],
.checkbox_wrapper input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 18px;
	flex: 0 0 18px;
	height: 18px;
	border: 2px solid #6C9D95;
	border-radius: 2px;
	background-color: white;
	cursor: pointer;
	position: relative;
	vertical-align: middle;
}

.checkbox_label input[type="radio"]:checked,
.checkbox_wrapper input[type="checkbox"]:checked {
	background-color: #6C9D95;
	background-image: url(../img/white-checkmark.svg);
	background-repeat: no-repeat;
	background-position: center;
}

.checkbox_label input[type="radio"]:not(:checked):hover,
.checkbox_wrapper input[type="checkbox"]:not(:checked):hover {
	border-color: #5a8379;
}

.checkbox_label {
	cursor: pointer;
}

.street_name_wrapper,
.city_name_wrapper {
	position: relative;
}

.street_name_wrapper.loading::after,
.city_name_wrapper.loading::after {
	content: '';
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	border: 2px solid #f3f3f3;
	border-top: 2px solid #6C9D95;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	0% { transform: translateY(-50%) rotate(0deg); }
	100% { transform: translateY(-50%) rotate(360deg); }
}

.iban_form_inner {
	max-width: 100%;
}

@media (max-width: 991px) and (min-width: 768px) {
	.form_col {
		flex: 0 0 100%;
	}

	.form_row {
		flex-wrap: wrap;
	}
}

@media (max-width: 767px) {
	.iban_form {
		padding: 26px 16px;
	}	
}
