.dtas-widget {
	max-width: 480px;
	margin: 0 auto;
	padding: 24px;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.dtas-widget__titulo {
	margin: 0 0 16px;
	font-size: 1.4rem;
	text-align: center;
}

.dtas-step label {
	display: block;
	margin: 12px 0 4px;
	font-weight: 600;
	font-size: 0.9rem;
}

.dtas-step input[type="text"],
.dtas-step input[type="email"],
.dtas-step input[type="tel"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 1rem;
	box-sizing: border-box;
}

.dtas-field-row {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	align-items: stretch;
}

.dtas-field-row input {
	flex: 1;
}

.dtas-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.85rem;
	font-weight: 400;
	margin-top: 14px;
	cursor: pointer;
}

.dtas-checkbox input {
	margin-top: 3px;
	cursor: pointer;
}

.dtas-widget .dtas-btn,
.dtas-widget button,
.dtas-widget [type="submit"] {
	cursor: pointer;
}

.dtas-btn {
	display: inline-block;
	padding: 10px 18px;
	border: none;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.dtas-btn--primary {
	background: #1a7f37;
	color: #fff;
}

.dtas-btn--primary:hover {
	background: #146029;
}

.dtas-btn--secundario {
	background: #f1f1f1;
	color: #333;
}

.dtas-btn--secundario:hover {
	background: #e4e4e4;
}

.dtas-btn--link {
	background: transparent;
	color: #1a7f37;
	text-decoration: underline;
	padding: 8px 0;
	width: 100%;
}

.dtas-btn--tasar-otro {
	background: #f0f0f0;
	color: #888;
	padding: 8px 0;
	width: 100%;
	margin-top: 8px;
	border-radius: 8px;
}

.dtas-btn--tasar-otro:hover {
	background: #e6e6e6;
}

.dtas-hint {
	margin: 8px 0 0;
	font-size: 0.8rem;
	color: #777;
}

.dtas-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	padding: 20px 0;
	color: #555;
}

.dtas-widget [hidden] {
	display: none !important;
}

.dtas-spinner {
	width: 18px;
	height: 18px;
	border: 3px solid #ddd;
	border-top-color: #1a7f37;
	border-radius: 50%;
	animation: dtas-spin 0.8s linear infinite;
}

@keyframes dtas-spin {
	to {
		transform: rotate(360deg);
	}
}

.dtas-error {
	margin-top: 12px;
	padding: 12px 14px;
	background: #fdecea;
	color: #b3261e;
	border-radius: 8px;
	font-size: 0.9rem;
}

.dtas-resultado {
	text-align: center;
}

.dtas-resultado__vehiculo {
	font-size: 1rem;
	color: #555;
	margin: 0 0 4px;
}

.dtas-resultado__valor {
	margin: 0 0 14px;
}

.dtas-resultado__valor-num {
	font-size: 2.2rem;
	font-weight: 800;
	color: #1a7f37;
}

.dtas-debug-temporal {
	font-size: 0.75rem;
	font-weight: 700;
	color: #c0392b;
	background: #fdecea;
	border: 1px dashed #c0392b;
	border-radius: 6px;
	padding: 8px 10px;
	margin: 0 0 14px;
	line-height: 1.4;
}

.dtas-aviso-legal {
	font-size: 0.75rem;
	color: #888;
	line-height: 1.4;
	margin: 0 0 18px;
}

.dtas-ctas {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

@media (max-width: 400px) {
	.dtas-field-row {
		flex-direction: column;
	}
}

.dtas-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dtas-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.dtas-popup__caja {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 28px 24px;
	max-width: 360px;
	width: calc(100% - 32px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dtas-popup__caja h3 {
	margin: 0 0 16px;
	font-size: 1.1rem;
	text-align: center;
}

.dtas-popup__cerrar {
	position: absolute;
	top: 10px;
	right: 12px;
	background: transparent;
	border: none;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	color: #888;
}

.dtas-radio {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 10px;
	cursor: pointer;
	font-size: 0.95rem;
}

.dtas-radio input {
	cursor: pointer;
}

.dtas-popup__estado {
	font-size: 0.85rem;
	color: #555;
	text-align: center;
	margin: 10px 0 0;
	min-height: 1.2em;
}
