/**
 * Estilos de "Compartir página" — reutilizan la misma paleta y tipografías
 * que ya usa el sitio (Barlow Condensed / DM Sans / navy #103c61 / rojo
 * #c81e2c), consistente con la calculadora y la tabla de gastos.
 *
 * Las "Propiedades sugeridas" NO tienen CSS acá — ese shortcode reutiliza
 * directamente las clases nativas del tema (.mp-related, .mp-card, etc.),
 * así que hereda el estilo real del sitio sin necesitar reglas propias.
 */

/* ===== Compartir ===== */
.mp-compartir {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin: 32px 0;
	font-family: "DM Sans", -apple-system, "system-ui", "Segoe UI", sans-serif;
}

.mp-compartir__label {
	font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 13px;
	color: #6b6b6b;
}

.mp-compartir__botones {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.mp-compartir__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #f2efe9;
	color: #103c61;
	border: 1px solid #d5cfc5;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease;
	position: relative;
}

.mp-compartir__btn svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.mp-compartir__btn:hover {
	background: #103c61;
	color: #ffffff;
	transform: translateY( -1px );
}

.mp-compartir__btn--copiado::after {
	content: '¡Link copiado! Pegalo en tu Instagram';
	position: absolute;
	bottom: 46px;
	left: 50%;
	transform: translateX( -50% );
	background: #1a1a18;
	color: #ffffff;
	font-size: 11px;
	padding: 6px 10px;
	border-radius: 6px;
	white-space: nowrap;
	pointer-events: none;
}

/* ===== Formulario de embed (código a cambio de nombre/email/sitio) ===== */
.mp-embed-lead {
	max-width: 420px;
	margin: 32px 0;
	font-family: "DM Sans", -apple-system, "system-ui", "Segoe UI", sans-serif;
}

.mp-embed-lead__form label {
	display: block;
	font-size: 13px;
	color: #6b6b6b;
	margin-bottom: 14px;
}

.mp-embed-lead__form input {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 14px;
	border: 1px solid #d5cfc5;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
}

.mp-embed-lead__btn {
	display: inline-block;
	background: #103c61;
	color: #ffffff;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s ease;
}

.mp-embed-lead__btn:hover {
	background: #0b2c48;
}

.mp-embed-lead__btn:disabled {
	opacity: .6;
	cursor: default;
}

.mp-embed-lead__error {
	color: #c81e2c;
	font-size: 13px;
	margin-top: 10px;
}

.mp-embed-lead__resultado textarea {
	display: block;
	width: 100%;
	min-height: 90px;
	margin: 10px 0;
	padding: 10px;
	font-family: monospace;
	font-size: 12px;
	border: 1px solid #d5cfc5;
	border-radius: 8px;
	box-sizing: border-box;
	resize: vertical;
}

