/* Quiz loading overlay after «Показать результат» */

.tariff-quiz,
.quiz-modal .ask-question-modal__panel {
	position: relative;
}

.tariff-quiz__loading {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(255, 255, 255, 0.94);
	border-radius: inherit;
}

.tariff-quiz__loading[hidden] {
	display: none !important;
}

.tariff-quiz__loading-inner {
	max-width: 280px;
	text-align: center;
}

.tariff-quiz__loading-spinner {
	width: 44px;
	height: 44px;
	margin: 0 auto 16px;
	border: 3px solid #ece7e1;
	border-top-color: var(--accent, #e8590c);
	border-radius: 50%;
	animation: bezlimitik-quiz-spin 0.75s linear infinite;
}

.tariff-quiz__loading-title {
	margin: 0 0 6px;
	color: var(--ink, #1a1a1a);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.tariff-quiz__loading-text {
	margin: 0;
	color: var(--ink-soft, #5c6b7a);
	font-size: 15px;
	line-height: 1.4;
}

@keyframes bezlimitik-quiz-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 720px) {
	.tariff-quiz__loading {
		border-radius: 0;
	}
	.tariff-quiz__loading-title {
		font-size: 18px;
	}
}
