/* ─────────────────────────────────────────────────────────────
   TCH Presupuesto Auto — CTA alineada con el generador principal (naranja #ff7300, texto blanco, padding compacto).
   El wrap va en inline-block para no “estirar” bloque al 100 % del módulo texto.
   ───────────────────────────────────────────────────────────── */

.tch-presupuesto-auto-wrap {
	display: inline-block;
	width: auto;
	max-width: 100%;
	vertical-align: top;
	margin: 0.5rem 0 0;
	padding-left: 0;
	text-align: left;
	font-family: inherit;
	box-sizing: border-box;
}

/* Sin banda vacía mientras el mensaje no tiene texto */
.tch-auto-msg:empty {
	display: none;
}

.tch-auto-msg:not(:empty) {
	min-height: 1.5em;
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	line-height: 1.5;
	white-space: pre-wrap;
	color: inherit;
}

.tch-auto-msg.tch-error {
	color: #e74c3c;
}

/* Botón — padding ajustado al texto; sin efecto hover */
.tch-presupuesto-auto-wrap .tch-btn,
.tch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.25em;
	padding: 0.45rem 0.65rem;
	min-height: 0;
	border: 1px solid #000;
	border-radius: 0;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.25;
	cursor: pointer;
	transition: none !important;
	box-sizing: border-box;
	background: #ff7300 !important;
	color: #fff !important;
	box-shadow: none !important;
}

.tch-btn-primary,
.tch-btn-auto-cta {
	background: #ff7300 !important;
	color: #fff !important;
	border-color: #000 !important;
}

.tch-presupuesto-auto-wrap .tch-btn:hover:not(:disabled),
.tch-presupuesto-auto-wrap .tch-btn:focus:not(:disabled),
.tch-presupuesto-auto-wrap .tch-btn:active:not(:disabled),
.tch-btn-primary:hover:not(:disabled),
.tch-btn-primary:focus:not(:disabled),
.tch-btn-primary:active:not(:disabled),
.tch-btn-auto-cta:hover:not(:disabled),
.tch-btn-auto-cta:focus:not(:disabled),
.tch-btn-auto-cta:active:not(:disabled) {
	background: #ff7300 !important;
	color: #fff !important;
	border-color: #000 !important;
	filter: none !important;
	opacity: 1 !important;
	transform: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.tch-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
