.rh-otp-phone-button-toggle {
	width: 100%;
	color: #212121;
	border-color: #e6e6e6;
	background: #e6e6e6;
	cursor: pointer;
	height: 48px;
	padding: 15px 28px;
	line-height: 1;
	font-family: inherit;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rh-otp-phone-button-toggle .otp-btn-icon {
	pointer-events: none;
	margin-right: 8px;
}

.rh-otp-phone-button-toggle .otp-btn-icon svg {
	width: 18px;
	height: 18px;
}

.rh-otp-phone-button-toggle .otp-btn-text {
	pointer-events: none;
}

/* style for modal */

.rh-otp-modal {
	max-width: 410px;
	width: 100%;
	padding: 24px 25px 20px;
	border-radius: 12px;
	-webkit-box-shadow: none;
	box-shadow: none;
}

@media screen and (max-width: 420px) {
	.rh-otp-modal {
		max-width: 340px;
		padding: 20px 20px 10px;
	}
}

.rh-otp-modal a.close-modal {
	display: none;
}

/* style for phone number input & dropdown */

.otp-phone-wrapper .iti input.otp-phone-input {
	color: #212121;
	border: 1px solid #cccccc;
	border-radius: 6px;
	min-height: 44px;
	font-size: 15px;
	box-shadow: none;
	font-weight: 400;
	-webkit-transition: border-color 0.2s ease;
	-o-transition: border-color 0.2s ease;
	transition: border-color 0.2s ease;
	-webkit-appearance: none;
}

.otp-phone-wrapper .iti input.otp-phone-input:focus {
	outline: 0;
	color: #212121;
	border-color: #212121;
	-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.otp-phone-wrapper .iti input.otp-phone-input::-webkit-input-placeholder {
	color: #a2a2a2;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-phone-wrapper .iti input.otp-phone-input::-moz-placeholder {
	color: #a2a2a2;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-phone-wrapper .iti input.otp-phone-input:-ms-input-placeholder {
	color: #a2a2a2;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-phone-wrapper .iti input.otp-phone-input::-ms-input-placeholder {
	color: #a2a2a2;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-phone-wrapper .iti input.otp-phone-input::placeholder {
	color: #a2a2a2;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.rh-otp-modal ul.iti__country-list:not(.wp-block-gallery) {
	margin: 1px 0 0;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

@media screen and (min-width: 320px) {
	.rh-otp-modal ul.iti__country-list:not(.wp-block-gallery) {
		width: 280px;
		white-space: normal;
	}
}

@media screen and (min-width: 360px) {
	.rh-otp-modal ul.iti__country-list:not(.wp-block-gallery) {
		width: 300px;
	}
}

@media screen and (min-width: 440px) {
	.rh-otp-modal ul.iti__country-list:not(.wp-block-gallery) {
		width: 360px;
	}
}

.rh-otp-modal li.iti__country {
	margin: 0;
	font-size: 14px;
}

.rh-otp-modal .iti__country-name,
.rh-otp-modal .iti__flag-box {
	margin-right: 8px;
}

.rh-otp-modal .iti__divider {
	margin-top: 0;
	border-color: #e0e0e0;
}

.rh-otp-modal .rh-otp-recaptcha-container {
	margin: 10px 0;
}

.rh-otp-modal .rh-otp-recaptcha-container .grecaptcha-badge {
	z-index: 1;
}

.rh-otp-modal .otp-phone-input,
.rh-otp-modal .iti,
.rh-otp-modal .iti__country-list {
	width: 100%;
}

.rh-otp-modal .zbl-send-otp,
.otp-verify-section .code-submit {
	width: 100%;
	cursor: pointer;
	height: 48px;
	padding: 15px 28px;
	color: #fff;
	line-height: 1;
	font-weight: 400;
	font-size: 15px;
	border: 1px solid #212121;
	border-radius: 6px;
	background: #212121;
	margin-top: 5px;
	transition: all 0.2s ease;
}

.rh-otp-modal .zbl-send-otp:hover,
.rh-otp-modal .zbl-send-otp:focus,
.otp-verify-section .code-submit:hover,
.otp-verify-section .code-submit:focus {
	outline: none;
	border-color: #3a3a3a;
	background: #3a3a3a;
}

.rh-otp-modal .zbl-send-otp span {
	pointer-events: none;
}

.otp-verify-button span {
	pointer-events: none;
}

.rh-otp-modal .zbl-send-otp .otp-mini-loader span {
	width: 8px;
	height: 8px;
}

.otp-error:empty {
	display: none;
}

/* start input phone code css */

.otp-code-wrapper .otp-form-group {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.otp-code-wrapper .letter {
	height: 54px;
	text-align: center;
	-ms-flex-preferred-size: calc(100% / 6);
	flex-basis: calc(100% / 6);
	max-width: calc((100% / 6) - 8px);
	outline-style: none;
	padding: 5px 0;
	font-size: 16px;
	font-weight: 600;
	border: 2px solid #e6e6e6;
	background-color: #e6e6e6;
	box-shadow: none;
}

@media only screen and (max-width: 420px) {
	.otp-code-wrapper .letter {
		height: 52px;
	}
}

.otp-code-wrapper .letter:focus {
	border-color: #212121;
	background-color: #ffffff;
}

.otp-code-wrapper .letter::-webkit-input-placeholder {
	font-size: 24px;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter::-moz-placeholder {
	font-size: 24px;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter:-ms-input-placeholder {
	font-size: 24px;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter::-ms-input-placeholder {
	font-size: 24px;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter::placeholder {
	font-size: 24px;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter:focus::-webkit-input-placeholder,
.otp-code-wrapper .letter:focus + input::-webkit-input-placeholder,
.otp-code-wrapper .letter:focus + input + input::-webkit-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input::-webkit-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input::-webkit-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input
	+ input::-webkit-input-placeholder {
	opacity: 0;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter:focus::-moz-placeholder,
.otp-code-wrapper .letter:focus + input::-moz-placeholder,
.otp-code-wrapper .letter:focus + input + input::-moz-placeholder,
.otp-code-wrapper .letter:focus + input + input + input::-moz-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input::-moz-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input
	+ input::-moz-placeholder {
	opacity: 0;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter:focus:-ms-input-placeholder,
.otp-code-wrapper .letter:focus + input:-ms-input-placeholder,
.otp-code-wrapper .letter:focus + input + input:-ms-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input:-ms-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input:-ms-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input
	+ input:-ms-input-placeholder {
	opacity: 0;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter:focus::-ms-input-placeholder,
.otp-code-wrapper .letter:focus + input::-ms-input-placeholder,
.otp-code-wrapper .letter:focus + input + input::-ms-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input::-ms-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input::-ms-input-placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input
	+ input::-ms-input-placeholder {
	opacity: 0;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.otp-code-wrapper .letter:focus::placeholder,
.otp-code-wrapper .letter:focus + input::placeholder,
.otp-code-wrapper .letter:focus + input + input::placeholder,
.otp-code-wrapper .letter:focus + input + input + input::placeholder,
.otp-code-wrapper .letter:focus + input + input + input + input::placeholder,
.otp-code-wrapper
	.letter:focus
	+ input
	+ input
	+ input
	+ input
	+ input::placeholder {
	opacity: 0;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

/* button styles */

.otp-verify-section {
	margin-top: 12px;
}

.rh-otp-close-modal {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 16px;
	height: 16px;
	z-index: 9999;
}

.rh-otp-close-custom-modal {
	display: inline-block;
	cursor: pointer;
}

.rh-otp-close-modal svg {
	fill: #ffffff;
	width: 16px;
	height: 16px;
}

/* styles for error and success feedback */



.rh-otp-modal .otp-success-feedback {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	background: rgba(255, 255, 255, 1);
	display: none;
}

.rh-otp-modal .otp-success-feedback.otp-success {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.rh-otp-modal .otp-success-feedback h3 {
	color: #212121;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	margin: 15px 0 0;
}

/* keyframe pulse animation loader btn */

.otp-mini-loader {
	width: 70px;
	display: none;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin: 0 auto;
}

.otp-btn.has-spinner .otp-mini-loader {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.otp-btn .otp-mini-loader .otp-btn-text {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
}

.otp-btn.has-spinner .otp-btn-text {
	display: none;
}

.otp-btn .otp-mini-loader span {
	width: 10px;
	height: 10px;
	background-color: #fff;
	border-radius: 100%;
	margin: 0 3px;
	-webkit-animation: pulse 1s infinite ease-in-out both;
	animation: pulse 1s infinite ease-in-out both;
}

.otp-btn .otp-mini-loader span.dot2 {
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s;
}

.otp-btn .otp-mini-loader span.dot3 {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

@-webkit-keyframes pulse {
	0%,
	80%,
	100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

@keyframes pulse {
	0%,
	80%,
	100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

/* success icon animation */

.success-check-icon {
	width: 80px;
	height: 80px;
	position: relative;
	border-radius: 50%;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	border: 4px solid #4caf50;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

.success-check-icon::before {
	top: -2px;
	left: -2px;
	width: 30px;
	-webkit-transform-origin: 100% 50%;
	-ms-transform-origin: 100% 50%;
	transform-origin: 100% 50%;
	border-radius: 100px 0 0 100px;
}

.success-check-icon::after {
	top: 0;
	left: 30px;
	width: 60px;
	-webkit-transform-origin: 0 50%;
	-ms-transform-origin: 0 50%;
	transform-origin: 0 50%;
	border-radius: 0 100px 100px 0;
	-webkit-animation: rotate-circle 4.25s ease-in;
	animation: rotate-circle 4.25s ease-in;
}

.success-check-icon::before,
.success-check-icon::after {
	content: '';
	height: 100px;
	position: absolute;
	background: #ffffff;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.success-check-icon .icon-line {
	height: 5px;
	background-color: #4caf50;
	display: block;
	border-radius: 2px;
	position: absolute;
	z-index: 10;
}

.success-check-icon .icon-line.line-tip {
	top: 46px;
	left: 14px;
	width: 25px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-animation: icon-line-tip 0.75s;
	animation: icon-line-tip 0.75s;
}

.success-check-icon .icon-line.line-long {
	top: 38px;
	right: 8px;
	width: 47px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: icon-line-long 0.75s;
	animation: icon-line-long 0.75s;
}

.success-check-icon .icon-circle {
	top: -4px;
	left: -4px;
	z-index: 10;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	position: absolute;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	border: 4px solid rgba(76, 175, 80, 0.5);
}

.success-check-icon .icon-fix {
	top: 8px;
	width: 5px;
	left: 26px;
	z-index: 1;
	height: 85px;
	position: absolute;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	background-color: #ffffff;
}

.iti-mobile .iti--container {
	z-index: 99999;
}

@-webkit-keyframes rotate-circle {
	0% {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	5% {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	12% {
		-webkit-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
	100% {
		-webkit-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
}

@keyframes rotate-circle {
	0% {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	5% {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	12% {
		-webkit-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
	100% {
		-webkit-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
}

@-webkit-keyframes icon-line-tip {
	0% {
		width: 0;
		left: 1px;
		top: 19px;
	}
	54% {
		width: 0;
		left: 1px;
		top: 19px;
	}
	70% {
		width: 50px;
		left: -8px;
		top: 37px;
	}
	84% {
		width: 17px;
		left: 21px;
		top: 48px;
	}
	100% {
		width: 25px;
		left: 14px;
		top: 45px;
	}
}

@keyframes icon-line-tip {
	0% {
		width: 0;
		left: 1px;
		top: 19px;
	}
	54% {
		width: 0;
		left: 1px;
		top: 19px;
	}
	70% {
		width: 50px;
		left: -8px;
		top: 37px;
	}
	84% {
		width: 17px;
		left: 21px;
		top: 48px;
	}
	100% {
		width: 25px;
		left: 14px;
		top: 45px;
	}
}

@-webkit-keyframes icon-line-long {
	0% {
		width: 0;
		right: 46px;
		top: 54px;
	}
	65% {
		width: 0;
		right: 46px;
		top: 54px;
	}
	84% {
		width: 55px;
		right: 0px;
		top: 35px;
	}
	100% {
		width: 47px;
		right: 8px;
		top: 38px;
	}
}

@keyframes icon-line-long {
	0% {
		width: 0;
		right: 46px;
		top: 54px;
	}
	65% {
		width: 0;
		right: 46px;
		top: 54px;
	}
	84% {
		width: 55px;
		right: 0px;
		top: 35px;
	}
	100% {
		width: 47px;
		right: 8px;
		top: 38px;
	}
}

.rh-hide {
	display: none;
}

.rh-show {
	display: block;
}

/* custom modal style when admin choose custom modal instead of jQuery modal */
body.rh-wfotp-custom-modal-open {
	overflow: hidden;
}

.rh-custom-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: 100%;
	width: 100%;
	height: 100%;
	z-index: 999999;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-in-out;
}

.rh-custom-modal.open-custom-modal {
	opacity: 1;
	visibility: visible;
}

.rh-custom-modal-content {
	max-width: 410px;
	width: 100%;
	padding: 24px 25px 20px;
	border-radius: 12px;
	background-color: #ffffff;
}

@media screen and (max-width: 420px) {
	.rh-custom-modal {
		padding: 16px 16px 10px;
	}

	.rh-custom-modal-content {
		padding: 20px 20px 16px;
	}
}

.zbl-otp-header {
	overflow: hidden;
	position: relative;
	margin-bottom: 32px;
}

.zbl-otp-header h2{
	margin-top: 85px;
	text-align: center;
	font-weight: 700;
	font-size: 18px;
	color: var(--text-color);
}

.zbl-otp-header::before {
	content: '';
	width: 420px;
	height: 420px;
	background-color: var(--main-color);
	display: block;
	position: absolute;
	border-radius: 100%;
	top: -310px;
	right: -245px;
}

.zbl-otp-header::after {
	content: '';
	width: 155px;
	height: 155px;
	background-color: var(--second-color);
	display: block;
	position: absolute;
	border-radius: 100%;
	top: -100px;
	left: -42px;
}

.otp .zbl-drawer__inner {
	padding: 0 40px;
}

.otp-user-name-wrapper,
.otp-phone-wrapper{
	margin-bottom: 24px;
	position: relative;
}

.otp-user-name-wrapper h3,
.otp-phone-wrapper h3{
	margin-bottom: 4px;
	font-weight: 400;
	font-size: 13px;
	color: var(--text-color);
}

.zbl-drawer__inner .otp-user-name-input, .zbl-drawer__inner .otp-phone-input {
	border: 1px solid var(--z-gray-dark);
	border-radius: 8px;
	font-weight: 400;
	font-size: 16px;
	color: var(--text-color);
	padding: 8px 16px;
	width: 100%;
}

.otp-user-name-input:focus,
.otp-phone-input:focus{
	outline: none;
}

.zbl-drawer__inner .otp-phone-input{
	margin-bottom: 8px;
}

.otp-btn.zbl-send-otp, .otp-btn.zbl-send-otp.has-spinner {
	width: 100%;
	height: 40px;
	border: none;
	border-radius: 8px;
	background-color: var(--main-color);
	color: #fff;
	margin-top: 32px;
	font-size: 16px;
	font-weight: 400;
	transition-duration: 0.3s;
}

.otp-btn.zbl-send-otp:hover, .otp-btn.zbl-send-otp.has-spinner:hover {
	transform: translateY(-5px);
}

.otp-btn.zbl-send-otp:focus,
.otp-btn.zbl-send-otp.has-spinner:focus{
	background-color: var(--main-color);
}

.zbl-drawer__close.register-later,
.zbl-drawer__close.register-later:hover,
.zbl-drawer__close.register-later:focus {
	background-color: transparent;
	border: none;
	font-size: 14px;
	font-weight: 400;
	color: var(--z-gray-dark);
	display: block;
	position: absolute;
	bottom: -8px;
	left: 0;
	right: 0;
	top: unset;
	width: 100%;
	height: 0;
}

.otp-code-wrapper.rh-show h3 {
	font-weight: 400;
	font-size: 16px;
	color: var(--text-color);
	text-align: center;
}

.otp-code-wrapper.rh-show h2 {
	font-weight: 400;
	font-size: 16px;
	text-align: center;
	color: var(--text-color);
}

.otp-code-wrapper.rh-show h2 button {
	border: none;
	padding: 0;
	margin-left: 8px;
	color: var(--main-color);
}

.otp-code-wrapper.rh-show h2 button:hover,
.otp-code-wrapper.rh-show h2 button:focus{
	background-color: transparent;
}

.otp-form-group {
	direction: ltr;
}

.otp-form-group .letter.inputPassCode {
	border: none;
	background-color: transparent;
	border-bottom: 2px solid var(--z-gray-dark);
	border-radius: 0;
	font-weight: 500;
	font-size: 24px;
	color: #000;
}

.otp-form-group .letter.inputPassCode:focus {
	border-bottom: 2px solid #000;
}

.otp-verify-section {
	margin-top: 48px;
}

.otp-verify-section .otp-verify-button,
.otp-verify-section .otp-verify-button:hover,
.otp-verify-section .otp-verify-button:focus{
	background-color: var(--main-color);
	border: none;
}

.otp-resend-code-container {
	margin-top: 24px;
	text-align: center;
}

.otp-resend-code-container button {
	border: none;
	color: var(--main-color);
}

.otp-modal-success.otp-success-feedback{
	display: none;
}

.otp-modal-success.otp-success-feedback.otp-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	left: 0;
	right: 0;
	background-color: #ffffff;
}

.otp-modal-success.otp-success-feedback .success-check-icon {
	margin-bottom: 12px;
}

.otp-modal-success.otp-success-feedback h3 {
	font-size: 16px;
	font-weight: 700;
}
.zbl-drawer {
	padding: 0;
	background: #fff;
	border: 1px solid var(--z-gray-dark);
	width: 50%;
	min-width: 380px;
	border-radius: 16px;
	overflow: hidden;
	max-width: 480px;
}
.container-otp {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}