/* Multi-Taller · Conector — estilos de los shortcodes. Usan la tipografía del tema. */

.mtc {
	--mtc-color: #1F5D46;
	--mtc-tinta: #1C1F23;
	--mtc-suave: #5B6058;
	--mtc-borde: #D9DCD5;
	box-sizing: border-box;
	color: var(--mtc-tinta);
	line-height: 1.5;
}
.mtc *, .mtc *::before, .mtc *::after { box-sizing: border-box; }

.mtc-solo-boton { margin: 0 0 1.25em; }
.mtc-alinear-centro { text-align: center; }
.mtc-alinear-derecha { text-align: right; }

.mtc .mtc-boton,
.mtc .mtc-boton:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 10px;
	background: var(--mtc-color);
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
}
.mtc .mtc-boton:hover { filter: brightness(1.12); color: #fff; }
.mtc .mtc-boton:active { transform: translateY(1px); }
.mtc .mtc-boton:focus-visible,
.mtc input:focus-visible,
.mtc-enlace:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--mtc-color) 45%, #fff);
	outline-offset: 2px;
}

.mtc-enlace,
.mtc-enlace:visited { color: var(--mtc-color); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mtc-enlace:hover { text-decoration-thickness: 2px; }

/* Tarjeta de registro */
.mtc-tarjeta,
.mtc-acceso {
	max-width: 560px;
	margin: 0 0 1.5em;
	padding: 28px;
	border: 1px solid var(--mtc-borde);
	border-top: 4px solid var(--mtc-color);
	border-radius: 14px;
	background: #fff;
}
.mtc .mtc-titulo { margin: 0 0 8px; font-size: 1.4rem; line-height: 1.25; color: var(--mtc-tinta); }
.mtc .mtc-texto { margin: 0 0 14px; color: var(--mtc-suave); }
.mtc .mtc-puntos { margin: 0 0 20px; padding: 0; list-style: none; }
.mtc .mtc-puntos li { position: relative; margin: 0 0 6px; padding-left: 26px; }
.mtc .mtc-puntos li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .35em;
	width: 14px;
	height: 8px;
	border-left: 3px solid var(--mtc-color);
	border-bottom: 3px solid var(--mtc-color);
	transform: rotate(-45deg);
}
.mtc-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.mtc .mtc-nota { margin: 0; font-size: .9rem; color: var(--mtc-suave); }
.mtc-acceso .mtc-nota { margin-top: 16px; }

/* Formulario de acceso */
.mtc-form { margin: 0; }
.mtc .mtc-etiqueta { display: block; margin: 0 0 6px; font-weight: 600; font-size: .95rem; }
.mtc-fila { display: flex; flex-wrap: wrap; gap: 10px; }
.mtc-campo {
	display: flex;
	flex: 1 1 260px;
	min-width: 0;
	min-height: 48px;
	border: 1px solid #BFC3BA;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
.mtc-campo:focus-within { border-color: var(--mtc-color); }
.mtc-campo-error { border-color: #B42318; }
.mtc .mtc-campo input {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--mtc-tinta);
	font: inherit;
	font-size: 1rem;
	outline: none;
}
.mtc-sufijo {
	display: flex;
	align-items: center;
	padding: 0 12px;
	background: #F3F4F1;
	color: var(--mtc-suave);
	font-size: .9rem;
	white-space: nowrap;
}
.mtc .mtc-error { margin: 8px 0 0; color: #B42318; font-size: .95rem; font-weight: 500; }

.mtc-aviso {
	padding: 12px 16px;
	border: 1px dashed #B54708;
	border-radius: 8px;
	background: #FFFAEB;
	color: #93370D;
	font-size: .95rem;
}

@media (max-width: 480px) {
	.mtc-tarjeta, .mtc-acceso { padding: 20px; }
	.mtc-fila .mtc-boton { width: 100%; }
	.mtc-sufijo { max-width: 50%; overflow: hidden; text-overflow: ellipsis; }
}
