.nolan-phone-field-wrap,
.nolan-phone-field-wrap .iti {
	width: 100%;
	display: block;
}

.nolan-phone-field-wrap .nolan-international-phone-input {
	width: 100%;
}

.nolan-phone-field-wrap .iti__country-container,
.nolan-phone-field-wrap .iti__selected-country {
	min-height: 100%;
}

.nolan-phone-field-wrap .iti__dropdown-content,
.nolan-phone-field-wrap .iti__country-list {
	z-index: 1000000;
}

.nolan-phone-field-wrap .iti__search-input {
	width: calc(100% - 16px);
	margin: 8px;
	padding: 9px 10px;
	border: 1px solid #d5d8dc;
	border-radius: 3px;
	font: inherit;
	background: #fff;
	color: #222;
}

.nolan-phone-field-wrap .iti__country-name,
.nolan-phone-field-wrap .iti__dial-code {
	white-space: nowrap;
}

.nolan-phone-field-wrap.nolan-phone-hide-flag .iti__flag,
.nolan-phone-field-wrap.nolan-phone-hide-flag .iti__globe {
	display: none !important;
}

.nolan-phone-field-wrap.nolan-phone-hide-code .iti__selected-dial-code {
	display: none !important;
}

.nolan-phone-is-invalid {
	border-color: #d63638 !important;
}

.nolan-phone-error {
	display: block;
	min-height: 0;
	margin-top: 5px;
	font-size: 12px;
	line-height: 1.4;
	color: #d63638;
}

.nolan-phone-error:empty {
	display: none;
}

/* Keep the selector above Elementor popups and sticky containers. */
.iti--container,
.iti--detached-dropdown {
	z-index: 1000001 !important;
}

/* Real-time phone validity indicator. */
.nolan-phone-field-wrap .iti {
	position: relative;
}

.nolan-phone-field-wrap.nolan-phone-status-valid .nolan-international-phone-input,
.nolan-phone-field-wrap.nolan-phone-status-invalid .nolan-international-phone-input {
	padding-right: 54px !important;
}

.nolan-phone-status {
	display: none;
	position: absolute;
	top: 50%;
	right: 12px;
	width: 28px;
	height: 28px;
	box-sizing: border-box;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 5;
}

.nolan-phone-status-valid .nolan-phone-status,
.nolan-phone-status-invalid .nolan-phone-status {
	display: block;
}

.nolan-phone-status-valid .nolan-phone-status {
	border: 2px solid #00ad45;
	border-radius: 2px;
}

.nolan-phone-status-valid .nolan-phone-status::before {
	content: '';
	position: absolute;
	left: 7px;
	top: 3px;
	width: 8px;
	height: 15px;
	border-right: 2px solid #00ad45;
	border-bottom: 2px solid #00ad45;
	transform: rotate(42deg);
}

.nolan-phone-status-invalid .nolan-phone-status {
	border: 3px solid #ef5350;
	border-radius: 50%;
}

.nolan-phone-status-invalid .nolan-phone-status::before,
.nolan-phone-status-invalid .nolan-phone-status::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 10px;
	width: 12px;
	height: 3px;
	border-radius: 2px;
	background: #ef5350;
}

.nolan-phone-status-invalid .nolan-phone-status::before {
	transform: rotate(45deg);
}

.nolan-phone-status-invalid .nolan-phone-status::after {
	transform: rotate(-45deg);
}

.nolan-phone-status-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.nolan-phone-field-wrap.nolan-phone-status-invalid .nolan-international-phone-input {
	color: #e53935;
}
