.pv-overlay[hidden],
.pv-screen[hidden],
.pv-modal [hidden] {
	display: none !important;
}

body.pv-modal-open {
	overflow: hidden;
}

.pv-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 16px;
	overflow-y: auto;
	background: rgba(16, 30, 56, .45);
}

.pv-modal {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-width: 400px;
	min-height: 380px;
	margin: auto;
	padding: 26px 30px 18px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 16px 48px rgba(16, 30, 56, .2);
	font-family: inherit;
	text-align: center;
}

.pv-modal__title {
	margin: 0 0 18px;
	color: #1a47a9;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.25;
}

.pv-screen {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
}

.pv-modal__spacer {
	flex: 1 1 auto;
	min-height: 12px;
}

.pv-modal__lead {
	margin: 0 0 16px;
	color: #55606f;
	font-size: 14px;
	line-height: 1.45;
}

.pv-modal__error {
	min-height: 18px;
	margin: -8px 0 12px;
	color: #e5342b;
	font-size: 13px;
	line-height: 1.35;
}

.pv-callout {
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 18px;
	padding: 14px 10px 10px;
	background: #fff5ee;
	border-radius: 6px;
}

.pv-callout__phone {
	display: block;
	color: #f07c26;
	font-size: 21px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.pv-callout__note {
	margin-top: 6px;
	color: #1b3d77;
	font-size: 12px;
	font-weight: 700;
}

.pv-plate {
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 16px;
	padding: 16px 14px;
	border-radius: 6px;
}

.pv-plate__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-bottom: 8px;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 18px;
	font-weight: 700;
}

.pv-plate__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.pv-plate_success {
	background: #eefaf2;
	color: #1fa14c;
}

.pv-plate_error {
	background: #fdf0f0;
	color: #e5342b;
}

.pv-timer {
	color: #1a47a9;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.pv-timer__label {
	margin-bottom: 10px;
	color: #55606f;
	font-size: 14px;
}

.pv-dots {
	display: inline-flex;
	gap: 6px;
	margin-bottom: 8px;
}

.pv-dots i {
	width: 8px;
	height: 8px;
	background: #1a47a9;
	border-radius: 50%;
	animation: pv-blink 1.2s infinite ease-in-out;
}

.pv-dots i:nth-child(2) {
	background: #7b9ad9;
	animation-delay: .2s;
}

.pv-dots i:nth-child(3) {
	background: #bccdea;
	animation-delay: .4s;
}

@keyframes pv-blink {
	0%, 80%, 100% { opacity: .45; }
	40% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.pv-dots i {
		animation: none;
	}
}

.pv-waiting__label {
	margin-bottom: 12px;
	color: #1b3d77;
	font-size: 13px;
	font-weight: 700;
}

.pv-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin-bottom: 16px;
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.pv-button_primary {
	background: #1a47a9;
	color: #fff;
}

.pv-button_primary:hover,
.pv-button_primary:focus {
	background: #163c8f;
	color: #fff;
}

.pv-button_primary:disabled {
	background: #b9c4dd;
	cursor: default;
}

.pv-button_mobile-only {
	display: none;
}

@media (pointer: coarse), (max-width: 640px) {
	.pv-button_mobile-only {
		display: inline-flex;
	}
}

.pv-code-input {
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 16px;
	padding: 11px 12px;
	background: #f2f4f8;
	border: 1px solid #e6e9f0;
	border-radius: 4px;
	color: #1b3d77;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 10px;
	text-align: center;
}

.pv-modal__back-link,
.pv-modal__close-link {
	padding: 0;
	background: none;
	border: none;
	color: #1a47a9;
	font-size: 14px;
	cursor: pointer;
}

.pv-modal__back-link {
	margin-bottom: 14px;
}

.pv-modal__back-link:hover,
.pv-modal__close-link:hover {
	text-decoration: underline;
}

.pv-modal__divider {
	width: 100%;
	margin: 0 0 14px;
	border-top: 1px solid #e6e9f0;
}

@media (max-width: 480px) {
	.pv-overlay {
		padding: 12px;
	}

	.pv-modal {
		padding: 22px 18px 16px;
	}

	.pv-modal__title {
		font-size: 19px;
	}
}
