.eet-wrapper {
	max-width: 720px;
	margin: 0 auto;
	font-family: inherit;
}

.eet-quiz {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 18px rgba(0,0,0,.08);
	padding: 28px;
}

.eet-progress {
	margin-bottom: 24px;
}

.eet-progress-bar {
	background: #eee;
	border-radius: 20px;
	height: 8px;
	overflow: hidden;
}

.eet-progress-fill {
	background: linear-gradient(90deg,#6a5acd,#8f7ff0);
	height: 100%;
	transition: width .3s ease;
}

.eet-progress-text {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	color: #777;
}

.eet-step {
	display: none;
}

.eet-step.active {
	display: block;
	animation: eet-fade .25s ease;
}

@keyframes eet-fade {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.eet-step-title {
	margin: 0 0 8px;
	font-size: 22px;
}

.eet-step-desc {
	color: #666;
	margin-bottom: 20px;
}

.eet-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.eet-email-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}

.eet-question {
	margin-bottom: 26px;
}

.eet-question-text {
	font-weight: 600;
	margin-bottom: 12px;
	line-height: 1.8;
}

.eet-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eet-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e4e4e4;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
	line-height: 1.7;
}

.eet-option:hover {
	border-color: #b9adf5;
	background: #faf9ff;
}

.eet-option input[type="radio"] {
	margin-top: 4px;
	flex-shrink: 0;
}

.eet-option input[type="radio"]:checked ~ span {
	font-weight: 600;
}

/* Primary selection styling via JS-toggled class (works in all browsers).
   The :has() rule below is kept only as a harmless progressive-enhancement
   fallback for the rare case JS hasn't run yet. */
.eet-option.is-checked,
.eet-option:has(input[type="radio"]:checked) {
	border-color: #6a5acd;
	background: #f3f1ff;
}

.eet-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
}

.eet-btn {
	background: #6a5acd;
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 8px;
	font-size: 15px;
	cursor: pointer;
	transition: background .15s ease;
}

.eet-btn:hover {
	background: #5847c0;
}

.eet-btn-prev {
	background: #eee;
	color: #333;
}

.eet-btn-prev:hover {
	background: #e0e0e0;
}

.eet-step-intro .eet-nav {
	justify-content: flex-start;
}

.eet-error {
	margin-top: 16px;
	padding: 12px 14px;
	background: #fdecea;
	color: #a52a2a;
	border-radius: 8px;
	font-size: 14px;
}

.eet-loading {
	margin-top: 16px;
	color: #666;
	text-align: center;
}

/* ===== Result screen ===== */

.eet-result {
	margin-top: 10px;
}

.eet-result-title {
	font-size: 20px;
	margin-bottom: 14px;
}

.eet-result-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 26px;
}

.eet-result-table th,
.eet-result-table td {
	border: 1px solid #eee;
	padding: 10px 12px;
	text-align: center;
}

.eet-result-table thead {
	background: #f7f6ff;
}

.eet-result-blocks {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 28px;
}

.eet-result-block {
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 16px 18px;
}

.eet-result-block h4 {
	margin: 0 0 6px;
	color: #6a5acd;
}

.eet-element-name {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
}

.eet-locked-section {
	background: #f7f6ff;
	border: 1px dashed #b9adf5;
	border-radius: 12px;
	padding: 22px;
	text-align: center;
	margin-bottom: 22px;
}

.eet-locked-intro {
	font-weight: 700;
	margin-bottom: 4px;
}

.eet-locked-sub {
	color: #666;
	margin-bottom: 14px;
}

.eet-locked-list {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	text-align: right;
	display: inline-block;
}

.eet-locked-list li {
	padding: 6px 0;
	color: #555;
}

.eet-cta-button {
	display: inline-block;
	background: #6a5acd;
	color: #fff !important;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 700;
}

.eet-cta-button:hover {
	background: #5847c0;
}

.eet-share-section {
	text-align: center;
}

.eet-share-button {
	background: #fff;
	border: 1px solid #6a5acd;
	color: #6a5acd;
	padding: 10px 20px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
}

.eet-share-button:hover {
	background: #f3f1ff;
}

@media (max-width: 600px) {
	.eet-quiz {
		padding: 18px;
	}
}
