* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-family: 'Inter', sans-serif;
}

body {
	background: #f5f5f5;
	min-height: 100vh;

}

.quiz {
	margin: 30px auto;
	max-width: 1220px;
	width: 94%;
}

.quiz-base-form {
	display: grid;
	grid-template-columns: 35% 1fr;
	gap: 24px 100px;
	font-size: 16px;
	line-height: 1.5;
	background: #fff;
	border: 1px solid #c0cdda;
	border-radius: 20px;
	padding: 40px;
	min-height: 500px;
}

.quiz-base-form__column {
	display: flex;
	flex-direction: column;
}

.quiz-base-form__result-info-gap-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 32px;
}

.quiz-base-form__column-title {
	font-size: 32px;
	letter-spacing: -0.005em;
	line-height: 1.17;
	margin: 0 0 16px;
	color: #0f1830;
}

.quiz-base-form__result-info-header p {
	color: #464952;
	margin: 0;
}

.quiz-base-form__result-badge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f0f4f8;
	border: 1px solid #dadfe2;
	border-radius: 16px;
	padding: 30px;
}

.quiz-base-form__result-badge-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.quiz-base-form__result-badge-info-text {
	font-size: 18px;
	color: #464952;
	margin: 0;
}

.quiz-base-form__result-badge-info-text--bold {
	font-weight: 700;
	color: #0f1830;
}
.quiz-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #e8f2ff; /* светло-синий фон */
  border: 1px solid #c7defa;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 8px;
  color: #0a3d79;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  animation: fadeInHint 0.3s ease;
}

.quiz-hint svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

@keyframes fadeInHint {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-base-form__result-progress {
	--size: 56px;
	--percent: 0;
	--color: #19cb75;
	--track: #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--size);
	height: var(--size);
	min-width: var(--size);
	min-height: var(--size);
	border-radius: 50%;
	position: relative;
	background: conic-gradient(
		var(--color) calc(var(--percent) * 1%),
		var(--track) 0
	);
}

.quiz-base-form__result-progress-text {
	position: absolute;
	font-weight: 700;
	font-size: 12px;
	line-height: 1.33;
	color: #0f1830;
	background-color: #f0f4f8;
	width: calc(100% - 13px);
	height: calc(100% - 13px);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.quiz-base-form__question-title {
	font-size: 24px;
	font-weight: 600;
	color: #0f1830;
	margin: 0 0 24px;
}

.quiz-base-form__options {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
}

.quiz-base-form__option {
	position: relative;
}

.quiz-base-form__option input[type='radio'],
.quiz-base-form__option input[type='checkbox'] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.quiz-base-form__option-label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: #f9fafb;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s;
	font-size: 16px;
	color: #464952;
}

.quiz-base-form__option input:checked + .quiz-base-form__option-label {
	background: #e3f2fd;
	border-color: #0061ae;
	color: #0f1830;
}

.quiz-base-form__option-label:hover {
	border-color: #0061ae;
}

.quiz-base-form__option-circle {
	width: 24px;
	height: 24px;
	min-width: 24px;
	border: 2px solid #c0cdda;
	border-radius: 50%;
	position: relative;
	transition: all 0.2s;
}

.quiz-base-form__option
	input:checked
	+ .quiz-base-form__option-label
	.quiz-base-form__option-circle {
	border-color: #0061ae;
	background: #0061ae;
}

.quiz-base-form__option
	input:checked
	+ .quiz-base-form__option-label
	.quiz-base-form__option-circle::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.quiz-base-form__input-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 32px;
}

.quiz-base-form__input-wrapper {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: relative;
	margin-bottom: 8px;
}

.quiz-base-form__label {
	font-size: 14px;
	font-weight: 500;
	color: #464952;
}

.quiz-base-form__input {
	padding: 14px 16px;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	font-size: 16px;
	font-family: 'Inter', sans-serif;
	color: #0f1830;
	transition: all 0.2s;
	background: white;
	position: relative;
}

.quiz-base-form__input:focus {
	outline: none;
	border-color: #0061ae;
	z-index: 2;
}

.quiz-base-form__input.error {
	border-color: #dc2626;
}

.quiz-base-form__input::placeholder {
	color: #9ca3af;
}

.error-message {
	color: #dc2626;
	font-size: 12px;
	margin-top: 4px;
	display: block;
}

.quiz-base-form__checkbox-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.quiz-base-form__checkbox-wrapper input[type='checkbox'] {
	width: 20px;
	height: 20px;
	min-width: 20px;
	margin-top: 2px;
	cursor: pointer;
	accent-color: #0061ae;
}

.quiz-base-form__checkbox-label {
	font-size: 14px;
	color: #464952;
	cursor: pointer;
	line-height: 1.5;
}

.quiz-base-form__checkbox-label a {
	color: #0061ae;
	text-decoration: underline;
}

.quiz-base-form__checkbox-label a:hover {
	text-decoration: none;
}

.quiz-base-form__additional-fields {
	margin-top: 16px;
	padding: 16px;
	background: #f9fafb;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
}

.dadata-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-top: 4px;
	max-height: 250px;
	overflow-y: auto;
	z-index: 1000;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dadata-suggestions > div {
	padding: 10px 15px;
	cursor: pointer;
	transition: background 0.2s;
	border-bottom: 1px solid #f0f4f8;
}

.dadata-suggestions > div:last-child {
	border-bottom: none;
}

.dadata-suggestions > div:hover {
	background: #f0f4f8;
}

.quiz-base-form__btns-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
}

.quiz-base-form__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	background: #e3e9ef;
	color: #0061ae;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.33;
	padding: 15px 31px;
	transition: all 0.2s;
	cursor: pointer;
}

.quiz-base-form__btn--full {
	background: #0061ae;
	color: #f0f4f8;
}

.quiz-base-form__btn:hover {
	border-color: #0061ae;
}

.quiz-base-form__btn--full:hover {
	box-shadow: 0 15px 40px rgba(0, 97, 174, 0.34);
}

.quiz-base-form__btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.quiz-base-form__result-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.quiz-base-form__result-info * {
	margin: 0;
}

.quiz-base-form__result-semititle {
	font-weight: 600;
	font-size: 18px;
	line-height: 1.5;
	color: #000;
}

.quiz-base-form__accent {
	color: #0061ae;
}

.quiz-base-form p {
	color: #464952;
}

.quiz-base-form strong {
	color: #000;
}

.quiz-base-form ul {
	list-style-position: inside;
	padding-left: 0;
}

.quiz-base-form li {
	color: #464952;
	margin-bottom: 8px;
}

.quiz-base-form li::marker {
	color: #0061ae;
}

.hidden {
	display: none;
}

@media (max-width: 1199px) {
	.quiz-base-form {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 30px;
	}

	.quiz-base-form__column-title {
		font-size: 30px;
	}
}

@media (max-width: 767px) {
	.quiz-base-form {
		grid-template-columns: 100%;
		padding: 20px;
	}

	.quiz-base-form__column-title {
		font-size: 28px;
		line-height: 1.29;
	}

	.quiz-base-form__result-badge {
		padding: 20px;
	}

	.quiz-base-form__btn {
		width: 100%;
		font-size: 16px;
		padding: 11px 23px;
	}

	.quiz-base-form__question-title {
		font-size: 20px;
	}
}
/* Payment styles */
.payment-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

.payment-info-card,
.payment-methods-card {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
}

.payment-card-title {
	font-size: 20px;
	font-weight: 600;
	color: #0f1830;
	margin: 0 0 20px 0;
}

.payment-info-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 12px 0;
	border-bottom: 1px solid #e5e7eb;
	gap: 16px;
}

.payment-info-row:last-of-type {
	border-bottom: none;
}

.payment-info-label {
	color: #6b7280;
	font-size: 14px;
	flex-shrink: 0;
}

.payment-info-value {
	font-size: 14px;
	font-weight: 600;
	color: #0f1830;
	text-align: right;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
}

.payment-price {
	font-size: 18px;
	font-weight: 700;
	color: #0f1830;
	white-space: nowrap;
}

.payment-old-price {
	font-size: 14px;
	color: #9ca3af;
	text-decoration: line-through;
	white-space: nowrap;
}

.payment-discount {
	display: inline-block;
	background: #ef4444;
	color: white;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
}

.payment-total {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 2px solid #c0cdda;
}

.payment-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.payment-total-label {
	font-size: 14px;
	color: #6b7280;
}

.payment-secure {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
}

.payment-secure-text {
	font-size: 12px;
	color: #6b7280;
}

.payment-secure-icons {
	display: flex;
	gap: 6px;
}

.payment-icon {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 10px;
	font-weight: 600;
	color: #464952;
}

.payment-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.payment-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background: white;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s;
}

.payment-option:hover {
	border-color: #0061ae;
}

.payment-option-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.payment-option-content {
	flex: 1;
}

.payment-option-name {
	font-size: 15px;
	font-weight: 600;
	color: #0f1830;
	margin-bottom: 2px;
}

.payment-option-desc {
	font-size: 13px;
	color: #6b7280;
}

.payment-footer {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
	text-align: center;
}

.payment-footer-text {
	font-size: 12px;
	color: #6b7280;
	margin: 0;
}

.payment-footer-logo {
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	color: #9ca3af;
	opacity: 0.6;
}

@media (max-width: 1024px) {
	.payment-container {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 410px) {
	.payment-info-row,
	.payment-total-row,
	.payment-total-row > div {
		display: flex;
		flex-direction: column;
		align-items: start;
	}
}

.hidden {
	display: none;
}

	.quiz-base-form__btns-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: auto;
}
}

/* === Animated checklist in header === */
.result-checklist { display:flex; flex-direction:column; gap:18px; margin-top:18px; }
.result-checklist__group { display:flex; flex-direction:column; gap:10px; }
.result-checklist__group-title {
  font-weight:700; color:#0f1830; font-size:18px;
}
.result-checklist__list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.result-checklist__item {
  --delay: 0ms;
  display:flex; align-items:center; gap:12px;
  padding:10px 12px; border:1px solid #dadfe2; border-radius:12px; background:#f9fafb;
  opacity:0; transform: translateY(6px);
  animation: checklist-in .35s ease forwards; animation-delay: var(--delay);
}
.result-checklist__icon {
  width:22px; height:22px; min-width:22px; border-radius:50%;
  border:2px solid #19cb75; position:relative; display:inline-flex; align-items:center; justify-content:center;
}
.result-checklist__icon::after{
  content:""; width:10px; height:6px; border:2px solid #19cb75; border-top:0; border-left:0;
  transform: rotate(45deg) scale(0.6); opacity:0;
  transition: transform .25s ease .05s, opacity .25s ease .05s;
}
.result-checklist.is-visible .result-checklist__item .result-checklist__icon::after{
  opacity:1; transform: rotate(45deg) scale(1);
}

@keyframes checklist-in {
  from { opacity:0; transform: translateY(6px); }
  to   { opacity:1; transform: translateY(0); }
}
#resultChecklist {
  margin-top: 15px;
}