.endoreg-wrap {
	max-width: 760px;
	margin: 0 auto;
	font-size: 14px;
	color: #1e293b;
	line-height: 1.5;
}

.endoreg-wrap * {
	box-sizing: border-box;
}

.endoreg-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.endoreg-intro {
	text-align: center;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 18px;
	margin-bottom: 20px;
}

.endoreg-icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	background: #e0effe;
	color: #0369a1;
	margin-bottom: 8px;
}

.endoreg-intro h2 {
	font-size: 19px;
	font-weight: 700;
	margin: 4px 0;
	color: #0f172a;
}

.endoreg-intro p {
	font-size: 12px;
	color: #64748b;
	margin: 0;
}

.endoreg-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

@media (max-width: 600px) {
	.endoreg-grid-2 {
		grid-template-columns: 1fr;
	}
}

.endoreg-field label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 4px;
}

.endoreg-field input[type="text"],
.endoreg-field input[type="email"],
.endoreg-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13px;
	background: #fff;
	color: #1e293b;
}

.endoreg-field-hint {
	font-size: 11px;
	color: #64748b;
	margin: 4px 0 0;
	line-height: 1.4;
}

.endoreg-field input:focus,
.endoreg-field select:focus {
	outline: none;
	border-color: #0284c7;
	box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
}

.endoreg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 13px;
	padding: 12px 18px;
	border-radius: 10px;
	transition: background-color 0.15s ease;
}

.endoreg-btn-block {
	width: 100%;
	margin-top: 6px;
}

.endoreg-btn-grow {
	flex-grow: 2;
}

.endoreg-btn-primary {
	background: #0369a1;
	color: #fff;
}
.endoreg-btn-primary:hover {
	background: #075985;
}

.endoreg-btn-secondary {
	background: #e2e8f0;
	color: #334155;
	flex: 1;
}
.endoreg-btn-secondary:hover {
	background: #cbd5e1;
}

.endoreg-btn-success {
	background: #059669;
	color: #fff;
}
.endoreg-btn-success:hover {
	background: #047857;
}

.endoreg-btn-row {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.endoreg-btn-row-center {
	justify-content: center;
}

.endoreg-erro {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 12px;
	margin: 10px 0;
}

.endoreg-progress-wrap {
	margin-bottom: 20px;
}

.endoreg-progress-labels {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 6px;
}

.endoreg-progress-bar-bg {
	background: #e2e8f0;
	height: 8px;
	border-radius: 999px;
	overflow: hidden;
}

.endoreg-progress-bar {
	background: #0369a1;
	height: 100%;
	transition: width 0.3s ease;
}

.endoreg-banner {
	padding: 14px 16px;
	border-radius: 12px;
	margin-bottom: 20px;
	border: 1px solid;
}

.endoreg-banner-blue {
	background: #f0f9ff;
	border-color: #bae6fd;
}
.endoreg-banner-blue h3 { color: #0c4a6e; }
.endoreg-banner-blue p { color: #075985; }

.endoreg-banner-indigo {
	background: #eef2ff;
	border-color: #c7d2fe;
}
.endoreg-banner-indigo h3 { color: #312e81; }
.endoreg-banner-indigo p { color: #3730a3; }

.endoreg-banner h3 {
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 4px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.endoreg-banner p {
	font-size: 12px;
	margin: 0;
}

.endoreg-slider-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 16px;
}

.endoreg-slider-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.endoreg-slider-head label {
	font-size: 12px;
	font-weight: 700;
	color: #1e293b;
}

.endoreg-badge {
	background: #0369a1;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	padding: 2px 10px;
	border-radius: 999px;
}

.endoreg-slider-card input[type="range"] {
	width: 100%;
	accent-color: #0369a1;
	cursor: pointer;
}

.endoreg-slider-legend {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	color: #94a3b8;
	font-weight: 600;
	margin-top: 4px;
}

.endoreg-secao-odi {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 16px;
}

.endoreg-secao-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 8px;
	margin-bottom: 8px;
}

.endoreg-secao-head h4 {
	font-size: 12px;
	font-weight: 700;
	margin: 0;
	color: #1e293b;
}

.endoreg-tag {
	font-size: 10px;
	font-weight: 600;
	background: #e2e8f0;
	color: #475569;
	padding: 2px 8px;
	border-radius: 6px;
}

.endoreg-secao-pergunta {
	font-size: 12px;
	color: #475569;
	margin: 0 0 10px;
}

.endoreg-opcoes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.endoreg-opcao {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	cursor: pointer;
	font-size: 12px;
	color: #334155;
}

.endoreg-opcao:hover {
	background: #f0f9ff;
}

.endoreg-opcao input {
	margin-top: 3px;
}

.endoreg-omitir {
	margin-top: 8px;
	text-align: right;
	font-size: 11px;
	color: #64748b;
}

.endoreg-opcoes.endoreg-omitida {
	opacity: 0.3;
	pointer-events: none;
}

.endoreg-macnab-opcoes {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 10px;
}

.endoreg-opcao-macnab .endoreg-opcao-titulo {
	font-size: 12px;
	font-weight: 700;
	margin: 0;
	color: #1e293b;
}

.endoreg-opcao-macnab .endoreg-opcao-desc {
	font-size: 11px;
	color: #64748b;
	margin: 2px 0 0;
}

.endoreg-step-sucesso {
	text-align: center;
	padding: 20px 0;
}

.endoreg-sucesso-icone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 999px;
	background: #d1fae5;
	color: #059669;
	font-size: 28px;
	margin-bottom: 16px;
}

.endoreg-step-sucesso h2 {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px;
}

.endoreg-step-sucesso > p {
	font-size: 12px;
	color: #64748b;
	margin: 0 0 20px;
}

.endoreg-resumo {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px;
	max-width: 420px;
	margin: 0 auto;
	text-align: left;
}

.endoreg-resumo-linha {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #e2e8f0;
}

.endoreg-resumo-linha:last-child {
	border-bottom: none;
}

.endoreg-resumo-linha span {
	color: #64748b;
	font-weight: 600;
}

.endoreg-resumo-linha strong {
	color: #0f172a;
}

.endoreg-email-status {
	max-width: 420px;
	margin: 12px auto 0;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}
.endoreg-email-status.endoreg-email-status-ok {
	background: #d1fae5;
	color: #065f46;
}
.endoreg-email-status.endoreg-email-status-erro {
	background: #fef3c7;
	color: #92400e;
}
