.tef-form-wrap {
	max-width: 860px;
	margin: 30px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #1f2937;
}

.tef-alert {
	padding: 14px 16px;
	border-radius: 12px;
	margin-bottom: 16px;
	font-weight: 500;
}

.tef-alert-success {
	background: #e8f7ec;
	color: #17653f;
}

.tef-alert-error {
	background: #fce8e8;
	color: #8d1f1f;
}

.tef-form {
	background: linear-gradient(135deg, #f8fafc, #f2f6ff);
	border-radius: 20px;
	padding: 22px;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.tef-progress-wrap {
	margin-bottom: 20px;
}

.tef-step-indicator {
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 8px;
}

.tef-progress-track {
	height: 8px;
	border-radius: 999px;
	background: #e5e7eb;
	overflow: hidden;
}

.tef-progress-bar {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #2563eb, #0ea5e9);
	transition: width 0.35s ease;
}

.tef-step-card {
	display: none;
	background: #fff;
	border: 1px solid #edf2f7;
	border-radius: 18px;
	padding: 22px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.tef-step-card.is-active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.tef-question-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.tef-question-header h3 {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 700;
	color: #111827;
}

.tef-icon {
	color: #2563eb;
	background: #dbeafe;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.tef-description {
	margin: 10px 0 18px;
	color: #4b5563;
	line-height: 1.55;
}

.tef-options-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.tef-option-card {
	position: relative;
	display: block;
	cursor: pointer;
}

.tef-option-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tef-option-card span {
	display: block;
	padding: 14px 14px;
	border: 1px solid #d1d5db;
	border-radius: 14px;
	background: #fff;
	transition: all 0.25s ease;
	font-weight: 500;
}

.tef-option-card input:checked + span {
	border-color: #2563eb;
	background: #eff6ff;
	color: #1d4ed8;
	box-shadow: 0 8px 22px rgba(37, 99, 235, 0.15);
}

.tef-option-card span:hover {
	border-color: #93c5fd;
}

.tef-contact-fields {
	margin-bottom: 18px;
}

.tef-field-row {
	margin-bottom: 14px;
}

.tef-field-row label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: #374151;
}

.tef-field-row input[type="email"],
.tef-field-row input[type="text"] {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
}

.tef-field-row-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.tef-field-check label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.tef-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.tef-btn {
	border: 0;
	border-radius: 999px;
	padding: 11px 18px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tef-btn:hover {
	transform: translateY(-1px);
}

.tef-btn-primary {
	background: linear-gradient(90deg, #2563eb, #0284c7);
	color: #fff;
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.tef-btn-secondary {
	background: #e5e7eb;
	color: #374151;
}

@media (max-width: 768px) {
	.tef-form {
		padding: 16px;
	}

	.tef-step-card {
		padding: 16px;
	}

	.tef-options-grid,
	.tef-field-row-2 {
		grid-template-columns: 1fr;
	}

	.tef-question-header h3 {
		font-size: 1.2rem;
	}
}
