.dekotablas-personalizador {
	margin: 20px 0;
	border-top: solid 1px #B4BD00;
	border-radius: 0;
	width: 100%;
	padding-top: 30px;
}

.dekotablas-paso {
	margin-bottom: 24px;
}

.dekotablas-paso:last-of-type {
	margin-bottom: 0;
}

.dekotablas-label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 14px;
}

.dekotablas-paso-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #333;
	color: #fff;
	font-size: 12px;
	margin-right: 6px;
}

.dekotablas-requerido {
	color: #c0392b;
}

.dekotablas-select {
	width: 100%;
	max-width: 400px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
}

.dekotablas-select:disabled {
	background: #f0f0f0;
	color: #999;
}

/* ---------------------------------------------------------------
 * Selector visual: FORMATO
 * ------------------------------------------------------------- */
.dekotablas-formato-visual {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.dekotablas-formato-opcion {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	width: 96px;
	min-height: 96px;
	padding: 10px 8px;
	background: transparent;
	border: 2px solid #ddd;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, transform .1s ease;
}

.dekotablas-formato-opcion:hover {
	border-color: #B4BD00;
}

.dekotablas-formato-opcion.is-selected {
	border-color: #B4BD00;
	background-color: rgba(180, 189, 0, 0.08);
	transform: translateY(-1px);
}

.dekotablas-formato-icono {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
}

.dekotablas-formato-nombre {
	font-size: 12px;
	text-align: center;
	line-height: 1.2;
}

/* ---------------------------------------------------------------
 * Selector visual: ORIENTACIÓN
 * ------------------------------------------------------------- */
.dekotablas-orientacion-visual {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.dekotablas-orientacion-opcion {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 96px;
	min-height: 72px;
	padding: 10px 8px;
	background: transparent;
	border: 2px solid #ddd;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, transform .1s ease;
}

.dekotablas-orientacion-opcion:hover {
	border-color: #B4BD00;
}

.dekotablas-orientacion-opcion.is-selected {
	border-color: #B4BD00;
	background-color: rgba(180, 189, 0, 0.08);
	transform: translateY(-1px);
}

.dekotablas-orientacion-icono {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 24px;
}

.dekotablas-orientacion-nombre {
	font-size: 12px;
	text-align: center;
}

/* ---------------------------------------------------------------
 * Diseño / archivo
 * ------------------------------------------------------------- */
.dekotablas-file-input {
	display: block;
	margin-top: 4px;
}

.dekotablas-upload-status {
	margin-top: 8px;
	font-size: 13px;
}

/* ---------------------------------------------------------------
 * LED (sí/no) y mando (sí/no)
 * ------------------------------------------------------------- */
.dekotablas-radio-group {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.dekotablas-radio-opcion {
	font-weight: normal;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

/* ---------------------------------------------------------------
 * Color LED (círculos)
 * ------------------------------------------------------------- */
.dekotablas-led-color-wrap {
	margin-top: 16px;
}

.dekotablas-led-color-circulos {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.dekotablas-led-color-circulo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	width: 56px;
}

.dekotablas-led-color-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dekotablas-led-color-swatch {
	display: block;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid #ddd;
	box-shadow: inset 0 0 0 2px #fff;
	transition: border-color .15s ease, transform .15s ease;
}

.dekotablas-led-color-input:checked + .dekotablas-led-color-swatch {
	border-color: #B4BD00;
	transform: scale(1.12);
}

.dekotablas-led-color-input:focus-visible + .dekotablas-led-color-swatch {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

.dekotablas-led-color-nombre {
	font-size: 11px;
	text-align: center;
	line-height: 1.2;
}

/* ---------------------------------------------------------------
 * Precio estimado / mensajes
 * ------------------------------------------------------------- */
.dekotablas-precio-estimado {
	margin-top: 30px;
	padding: 20px 0px 10px;
	border-top: 1px solid #B4BD00;
	border-radius: 0;
	font-size: 15px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

.dekotablas-precio-label {
	font-weight: 600;
	margin-right: 6px;
}

.dekotablas-precio-valor {
	font-size: 36px;
	font-weight: 600;
	color: #B4BD00;
}

.dekotablas-ok {
	color: #2b6e2b;
	font-weight: 600;
}

.dekotablas-error {
	color: #c0392b;
	font-weight: 600;
}

.dekotablas-subiendo {
	color: #555;
	font-style: italic;
}

.dekotablas-error-general {
	margin-top: 14px;
	padding: 10px 14px;
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #c0392b;
	border-radius: 6px;
	font-size: 14px;
}
