/**
 * Mundial Plugin - Estilos del shortcode [mundial_polla].
 *
 * Diseno tipo "fan engagement": hero verde con patron de puntos,
 * cards de partido con seleccion grande (tipo botones), animaciones suaves
 * al elegir prediccion, panel de billete que aparece despues.
 *
 * Branding: verde #206c23 + amarillo #ffc412 (Loteria del Huila).
 *
 * Especificidad alta (.mh-polla .mh-...) para sobrescribir block themes
 * como Twenty Twenty-Five que pisan inputs/buttons via theme.json.
 */

/* =====================================================================
 * RESET LOCAL — todo lo que vive dentro de .mh-polla.
 * ===================================================================== */
.mh-polla,
.mh-polla * {
	box-sizing: border-box;
}

.mh-polla {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	color: #0f172a;
	line-height: 1.5;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
}

.mh-polla h1,
.mh-polla h2,
.mh-polla h3,
.mh-polla h4,
.mh-polla p,
.mh-polla label,
.mh-polla span,
.mh-polla div,
.mh-polla button,
.mh-polla input,
.mh-polla select {
	font-family: inherit;
	box-sizing: border-box;
}

/* =====================================================================
 * HERO — banner verde de bienvenida.
 * ===================================================================== */
.mh-polla .mh-hero {
	position: relative;
	background:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .18) 1px, transparent 0) 0 0 / 18px 18px,
		linear-gradient(135deg, #154916 0%, #206c23 55%, #2d8531 100%);
	color: #fff;
	border-radius: 24px;
	padding: 2.5rem 2rem;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(21, 73, 22, .25);
	margin: 0 0 2rem 0;
}

/* Layout 2 columnas para .mh-hero--split (imagen | texto). */
.mh-polla .mh-hero--split {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 2rem;
	align-items: center;
	text-align: left;
}

@media (max-width: 780px) {
	.mh-polla .mh-hero--split {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		text-align: center;
		padding: 2.25rem 1.25rem;
	}
}

@media (max-width: 600px) {
	.mh-polla .mh-hero {
		padding: 2rem 1rem;
		border-radius: 18px;
	}
}

/* Columna IZQUIERDA: imagen grande. */
.mh-polla .mh-hero__media {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.mh-polla .mh-hero__img {
	display: block;
	width: 300px;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35));
	transition: transform .3s ease;
}

.mh-polla .mh-hero__img:hover {
	transform: scale(1.03) rotate(-2deg);
}

@media (max-width: 780px) {
	.mh-polla .mh-hero__img {
		width: 200px;
	}
}

.mh-polla .mh-hero__media-placeholder {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 220px;
	background: rgba(255, 255, 255, .12);
	border-radius: 24px;
	font-size: 5rem;
	color: #ffc412;
}

/* Columna DERECHA: contenido. */
.mh-polla .mh-hero__content {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
}

@media (max-width: 780px) {
	.mh-polla .mh-hero__content {
		align-items: center;
	}
}

.mh-polla .mh-hero__badge {
	display: inline-block;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .35);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	padding: .45rem 1.1rem;
	border-radius: 999px;
	margin: 0 0 1rem 0;
	backdrop-filter: blur(4px);
}

.mh-polla .mh-hero__title {
	font-size: clamp( 1.9rem, 4.5vw, 3rem );
	font-weight: 800;
	line-height: 1.05;
	margin: 0 0 .85rem 0;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
	letter-spacing: -.01em;
}

.mh-polla .mh-hero__title em {
	font-style: normal;
	color: #ffc412;
	background: linear-gradient(135deg, #ffc412 0%, #ffd84d 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.mh-polla .mh-hero__title .mh-ball {
	display: inline-block;
	vertical-align: middle;
	margin-left: .35rem;
	font-size: .8em;
	transform: rotate(-12deg);
}

.mh-polla .mh-hero__sub {
	font-size: 1rem;
	line-height: 1.55;
	opacity: .92;
	margin: 0 0 1.25rem 0;
}

/* =====================================================================
 * MINI BANNER DE PREMIO (debajo del subtitulo del hero, columna derecha)
 * ===================================================================== */
.mh-polla .mh-prize-mini {
	display: block;
	width: 100%;
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, .25);
	border-left: 3px solid #ffc412;
	border-radius: 12px;
	padding: .9rem 1.1rem;
	margin: 0;
}

.mh-polla .mh-prize-mini__label {
	display: inline-block;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #ffc412;
	margin-bottom: .25rem;
}

.mh-polla .mh-prize-mini__title {
	display: block;
	font-size: 1.02rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	margin-bottom: .4rem;
}

.mh-polla .mh-prize-mini__note {
	display: block;
	font-size: .82rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, .9);
	font-weight: 500;
}

/* =====================================================================
 * WARNING DE BILLETE DUPLICADO (validacion en vivo)
 * ===================================================================== */
.mh-polla .mh-billete.mh-billete--dup > label > input,
.mh-polla .mh-billete.mh-billete--dup > label > select {
	border-color: #dc2626;
	background: #fef2f2;
}

.mh-polla .mh-billete__dup-warn {
	grid-column: 1 / -1;
	margin-top: .5rem;
	padding: .55rem .75rem;
	background: #fef2f2;
	color: #991b1b;
	border-left: 3px solid #dc2626;
	border-radius: 6px;
	font-size: .8rem;
	font-weight: 600;
}

/* =====================================================================
 * SECCIONES (steps)
 * ===================================================================== */
.mh-polla .mh-step {
	background: #fff;
	border-radius: 18px;
	padding: 1.75rem;
	margin: 0 0 1.5rem 0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
	border: 1px solid #e2e8f0;
}

@media (max-width: 600px) {
	.mh-polla .mh-step {
		padding: 1.1rem;
		border-radius: 14px;
	}
}

.mh-polla .mh-step__title {
	display: flex !important;
	align-items: center;
	gap: .6rem;
	margin: 0 0 .35rem 0;
	font-size: 1.4rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
}

.mh-polla .mh-step__title .mh-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(32, 108, 35, .1);
	color: #206c23;
	border-radius: 10px;
	flex-shrink: 0;
}

.mh-polla .mh-step__sub {
	color: #64748b;
	font-size: .95rem;
	margin: 0 0 1.25rem 0;
}

/* =====================================================================
 * MATCH CARDS — una por partido.
 * ===================================================================== */
.mh-polla .mh-match {
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.25rem;
	margin: 0 0 1rem 0;
	transition: border-color .2s, box-shadow .2s;
}

.mh-polla .mh-match.is-selected {
	border-color: #206c23;
	box-shadow: 0 6px 18px rgba(32, 108, 35, .12);
	background: #fff;
}

.mh-polla .mh-match__meta {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #64748b;
	margin: 0 0 .85rem 0;
	font-weight: 700;
}

.mh-polla .mh-match__meta .mh-match__when {
	color: #94a3b8;
	letter-spacing: .08em;
}

/* Las 3 opciones: layout en grilla [team] [draw] [team]. */
.mh-polla .mh-match__options {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	gap: .75rem;
	align-items: stretch;
}

@media (max-width: 540px) {
	.mh-polla .mh-match__options {
		grid-template-columns: 1fr;
		gap: .5rem;
	}
}

/* Opcion de equipo (boton clickeable grande). */
.mh-polla .mh-option {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: 1.1rem .75rem;
	background: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
	color: #0f172a;
	width: 100%;
	min-height: 130px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.mh-polla .mh-option:hover {
	border-color: #206c23;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(15, 23, 42, .08);
}

/* Pinta el card del equipo con un degradado sutil basado en sus colores
   (lo aplica el inline style data-team-color en la vista). */
.mh-polla .mh-option--team {
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.mh-polla .mh-option .mh-option__flag {
	display: block;
	width: 56px;
	height: 42px;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
	overflow: hidden;
	margin: 0;
	line-height: 0;
}

.mh-polla .mh-option .mh-option__flag img,
.mh-polla .mh-option .mh-option__flag svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mh-polla .mh-option .mh-option__code {
	display: block;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: .03em;
	line-height: 1;
	margin: 0;
	color: #0f172a;
}

.mh-polla .mh-option .mh-option__name {
	display: block;
	font-size: .85rem;
	color: #475569;
	font-weight: 600;
	margin: 0;
	line-height: 1.2;
}

/* Opcion de empate (pill compacto en el centro). */
.mh-polla .mh-option--draw {
	min-height: 130px;
	min-width: 90px;
	background: #fff;
	font-weight: 700;
	color: #475569;
	font-size: .95rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 1rem .85rem;
}

@media (max-width: 540px) {
	.mh-polla .mh-option--draw {
		min-height: 60px;
	}
}

.mh-polla .mh-option--draw::before {
	content: "VS";
	display: block;
	font-size: .7rem;
	color: #cbd5e1;
	font-weight: 800;
	letter-spacing: .15em;
	margin-bottom: .35rem;
}

/* Estado SELECTED. */
.mh-polla .mh-option.is-selected {
	border-color: #206c23;
	background: linear-gradient(135deg, #206c23 0%, #2d8531 100%);
	color: #fff;
	box-shadow: 0 6px 18px rgba(32, 108, 35, .35);
	transform: translateY(-2px);
}

.mh-polla .mh-option.is-selected .mh-option__code,
.mh-polla .mh-option.is-selected .mh-option__name {
	color: #fff;
}

.mh-polla .mh-option.is-selected::after {
	content: "";
	position: absolute;
	top: .5rem;
	right: .5rem;
	width: 22px;
	height: 22px;
	background: #ffc412;
	color: #154916;
	border-radius: 50%;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23154916' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='20 6 9 17 4 12'%3e%3c/polyline%3e%3c/svg%3e");
	background-size: 14px 14px;
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.mh-polla .mh-option--draw.is-selected {
	background: linear-gradient(135deg, #ffc412 0%, #d9a700 100%);
	color: #0f172a;
	border-color: #d9a700;
}

.mh-polla .mh-option--draw.is-selected::before {
	color: rgba(15, 23, 42, .4);
}

.mh-polla .mh-option--draw.is-selected::after {
	background-color: #154916;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc412' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='20 6 9 17 4 12'%3e%3c/polyline%3e%3c/svg%3e");
}

/* =====================================================================
 * BOTON "AGREGAR NUEVA APUESTA" + APUESTAS DINAMICAS
 * ===================================================================== */
.mh-polla .mh-add-apuesta {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	width: 100%;
	margin: 1.25rem 0 0 0;
	padding: 1rem 1.25rem;
	background: #fff;
	border: 2px dashed #206c23;
	border-radius: 14px;
	cursor: pointer;
	font-weight: 700;
	font-size: 1rem;
	font-family: inherit;
	color: #206c23;
	transition: background .2s, transform .1s, box-shadow .2s;
	line-height: 1.3;
	height: auto;
	min-height: 0;
	text-align: center;
}

.mh-polla .mh-add-apuesta:hover {
	background: rgba(32, 108, 35, .06);
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(32, 108, 35, .12);
}

.mh-polla .mh-add-apuesta[disabled] {
	border-color: #cbd5e1;
	color: #94a3b8;
	cursor: not-allowed;
	background: #f8fafc;
	transform: none;
	box-shadow: none;
}

/* Variante: card de apuesta dinamica (con header + dropdown). */
.mh-polla .mh-match--dynamic {
	border-style: dashed;
	background: linear-gradient(180deg, #fffef5 0%, #fff 100%);
}

.mh-polla .mh-match--dynamic.is-selected {
	border-style: solid;
}

.mh-polla .mh-match__dynamic-header {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 .85rem 0;
}

.mh-polla .mh-match__dynamic-title {
	display: inline-block;
	background: #ffc412;
	color: #154916;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: .3rem .75rem;
	border-radius: 999px;
}

.mh-polla .mh-match__dynamic-remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #94a3b8;
	cursor: pointer;
	padding: 0;
	margin: 0;
	font-family: inherit;
	transition: all .15s;
}

.mh-polla .mh-match__dynamic-remove:hover {
	background: #fef2f2;
	color: #dc2626;
	border-color: #fecaca;
}

/* Dropdown de seleccion de partido dentro de una apuesta dinamica. */
.mh-polla .mh-match__select-wrap {
	display: flex !important;
	flex-direction: column;
	gap: .4rem;
	margin: 0 0 1rem 0;
}

.mh-polla .mh-match__select-label {
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.mh-polla .mh-match__select {
	display: block;
	width: 100%;
	padding: .75rem 2.5rem .75rem 1rem;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	font-size: 1rem;
	background-color: #fff;
	color: #0f172a;
	margin: 0;
	font-family: inherit;
	font-weight: 500;
	height: auto;
	min-height: 0;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right .85rem center;
	background-size: 1.2em;
	cursor: pointer;
}

.mh-polla .mh-match__select:focus {
	outline: 0;
	border-color: #206c23;
	box-shadow: 0 0 0 3px rgba(32, 108, 35, .18);
}

.mh-polla .mh-match__options[hidden] {
	display: none !important;
}

/* =====================================================================
 * PANEL DE BILLETES (aparece cuando hay seleccion).
 * ===================================================================== */
.mh-polla .mh-billetes-panel {
	margin-top: 1rem;
	padding: 1rem 1.1rem;
	background: rgba(255, 196, 18, .08);
	border: 1px dashed #d9a700;
	border-radius: 12px;
	animation: mh-slide-down .25s ease-out;
}

.mh-polla .mh-billetes-panel[hidden] {
	display: none;
}

@keyframes mh-slide-down {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.mh-polla .mh-billetes-panel__title {
	display: flex !important;
	align-items: center;
	gap: .4rem;
	font-size: .85rem;
	font-weight: 700;
	color: #6b5d10;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin: 0 0 .75rem 0;
}

.mh-polla .mh-billete {
	display: grid !important;
	grid-template-columns: 1fr 1fr 1fr;
	gap: .6rem;
	margin: 0;
	align-items: end;
}

@media (max-width: 560px) {
	.mh-polla .mh-billete {
		grid-template-columns: 1fr 1fr;
	}
}

.mh-polla .mh-billete > label {
	display: flex !important;
	flex-direction: column;
	gap: .25rem;
	margin: 0;
	font-size: .8rem;
	font-weight: 600;
	color: #475569;
}

.mh-polla .mh-billete > label > input {
	display: block;
	width: 100%;
	padding: .55rem .7rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1rem;
	background: #fff;
	color: #0f172a;
	margin: 0;
	font-family: inherit;
	box-shadow: none;
	height: auto;
	min-height: 0;
	appearance: none;
	-webkit-appearance: none;
}

.mh-polla .mh-billete > label > select {
	display: block;
	width: 100%;
	padding: .55rem .7rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1rem;
	background: #fff;
	color: #0f172a;
	margin: 0;
	font-family: inherit;
	box-shadow: none;
	height: auto;
	min-height: 0;
	cursor: pointer;
}

.mh-polla .mh-billete > label > input:focus,
.mh-polla .mh-billete > label > select:focus {
	outline: 0;
	border-color: #206c23;
	box-shadow: 0 0 0 3px rgba(32, 108, 35, .18);
}

/* Hint debajo del billete (explica que un billete = una apuesta). */
.mh-polla .mh-billetes-panel__hint {
	display: block;
	margin: .75rem 0 0 0;
	padding: .55rem .75rem;
	background: rgba(32, 108, 35, .07);
	border-left: 2px solid #206c23;
	border-radius: 6px;
	font-size: .78rem;
	color: #475569;
	line-height: 1.45;
	font-style: italic;
}

/* =====================================================================
 * DATOS DEL CLIENTE (segundo step) - grid 2x2 + polish
 * ===================================================================== */
.mh-polla .mh-client-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem 1.25rem;
}

@media (max-width: 640px) {
	.mh-polla .mh-client-grid {
		grid-template-columns: 1fr;
		gap: .9rem;
	}
}

/* Cada campo es un label con icono + input. */
.mh-polla .mh-field {
	display: flex !important;
	flex-direction: column;
	gap: .45rem;
	margin: 0;
	position: relative;
}

/* Modifier: campo que ocupa las 2 columnas del grid (ej. email). */
.mh-polla .mh-field--span2 {
	grid-column: 1 / -1;
}

@media (max-width: 640px) {
	.mh-polla .mh-field--span2 {
		grid-column: 1;
	}
}

.mh-polla .mh-field__label {
	display: inline-flex !important;
	align-items: center;
	gap: .4rem;
	font-size: .82rem;
	font-weight: 700;
	color: #334155;
	letter-spacing: .01em;
	text-transform: uppercase;
}

.mh-polla .mh-field__label small {
	color: #94a3b8;
	font-weight: 500;
	font-size: .72rem;
	text-transform: none;
	letter-spacing: 0;
	margin-left: .15rem;
}

.mh-polla .mh-field__icon {
	display: inline-block;
	color: #206c23;
	flex-shrink: 0;
}

.mh-polla .mh-field > input {
	display: block;
	width: 100%;
	padding: .85rem 1rem;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	font-size: 1rem;
	background: #fff;
	color: #0f172a;
	margin: 0;
	font-family: inherit;
	font-weight: 500;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04), inset 0 1px 0 rgba(255, 255, 255, .6);
	height: auto;
	min-height: 0;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color .2s, box-shadow .2s, transform .1s;
}

.mh-polla .mh-field > input::placeholder {
	color: #cbd5e1;
	font-weight: 400;
}

.mh-polla .mh-field > input:hover {
	border-color: #cbd5e1;
}

.mh-polla .mh-field > input:focus {
	outline: 0;
	border-color: #206c23;
	box-shadow:
		0 0 0 4px rgba(32, 108, 35, .15),
		0 4px 12px rgba(32, 108, 35, .08);
	transform: translateY(-1px);
}

/* Cuando el campo tiene contenido valido (no vacio y valida HTML5). */
.mh-polla .mh-field > input:not(:placeholder-shown):valid {
	border-color: #86b988;
}

.mh-polla .mh-field > input:not(:placeholder-shown):invalid {
	border-color: #fca5a5;
}

/* =====================================================================
 * BOTON SUBMIT
 * ===================================================================== */
.mh-polla .mh-submit-wrap {
	text-align: center;
	margin: 2rem 0 0 0;
}

.mh-polla .mh-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	background: linear-gradient(135deg, #ffc412 0%, #d9a700 100%);
	color: #154916;
	border: 0;
	padding: 1.1rem 3rem;
	border-radius: 999px;
	font-size: 1.1rem;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(255, 196, 18, .4);
	transition: transform .15s, box-shadow .15s;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.3;
	height: auto;
	min-height: 0;
}

.mh-polla .mh-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(255, 196, 18, .5);
}

.mh-polla .mh-submit:active {
	transform: translateY(0);
}

.mh-polla .mh-submit[disabled] {
	background: #cbd5e1;
	color: #fff;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.mh-polla .mh-legal {
	display: block;
	font-size: .78rem;
	color: #64748b;
	margin: .85rem auto 0;
	line-height: 1.5;
	max-width: 540px;
}

/* =====================================================================
 * ALERTAS (error/info)
 * ===================================================================== */
.mh-polla .mh-alert {
	padding: 1rem 1.15rem;
	border-radius: 12px;
	margin: 0 0 1.25rem 0;
	border-left: 4px solid;
	font-size: .95rem;
	display: flex !important;
	align-items: flex-start;
	gap: .65rem;
}

.mh-polla .mh-alert--error {
	background: #fef2f2;
	border-left-color: #dc2626;
	color: #991b1b;
}

.mh-polla .mh-alert--info {
	background: #fffbeb;
	border-left-color: #ffc412;
	color: #6b5d10;
}

/* =====================================================================
 * EXITO POST-ENVIO
 * ===================================================================== */
.mh-polla.mh-polla__success {
	text-align: center;
	padding: 3rem 1.5rem;
	background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
	border-radius: 22px;
	border: 2px solid #206c23;
	box-shadow: 0 12px 30px rgba(32, 108, 35, .12);
}

.mh-polla__success-icon {
	color: #206c23;
	margin: 0 0 1rem 0;
	line-height: 0;
}

.mh-polla__success-icon svg {
	width: 72px;
	height: 72px;
}

.mh-polla.mh-polla__success h3 {
	color: #154916;
	border-bottom: 0;
	font-size: 1.75rem;
	padding: 0;
	margin: .5rem 0;
	font-weight: 800;
}

.mh-polla__success-id {
	display: inline-block;
	background: #ffc412;
	color: #154916;
	padding: .65rem 1.5rem;
	border-radius: 999px;
	margin: 1.25rem 0;
	font-size: 1rem;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(255, 196, 18, .35);
}

.mh-polla__success-id small {
	display: inline-block;
	margin-right: .45rem;
	color: rgba(21, 73, 22, .7);
	font-weight: 600;
}

/* Bloque CRITICO: guardar billete */
.mh-polla .mh-polla__keep {
	display: flex !important;
	align-items: flex-start;
	gap: .85rem;
	max-width: 540px;
	margin: 1.5rem auto;
	padding: 1rem 1.15rem;
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border: 2px solid #ffc412;
	border-radius: 14px;
	text-align: left;
	box-shadow: 0 4px 14px rgba(255, 196, 18, .25);
}

.mh-polla .mh-polla__keep-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	background: #154916;
	color: #ffc412;
	border-radius: 12px;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.mh-polla .mh-polla__keep-text {
	display: flex !important;
	flex-direction: column;
	gap: .25rem;
}

.mh-polla .mh-polla__keep-text strong {
	color: #154916;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: .01em;
	line-height: 1.3;
}

.mh-polla .mh-polla__keep-text span {
	color: #6b5d10;
	font-size: .87rem;
	line-height: 1.5;
}

/* Card del premio en pantalla de exito. */
.mh-polla .mh-polla__prize-card {
	display: flex !important;
	align-items: center;
	gap: 1rem;
	max-width: 540px;
	margin: 1rem auto 0;
	padding: 1rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	text-align: left;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

@media (max-width: 540px) {
	.mh-polla .mh-polla__prize-card {
		flex-direction: column;
		text-align: center;
	}
}

.mh-polla .mh-polla__prize-card .mh-prize-thumb {
	display: block;
	width: 100px;
	height: 100px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 10px;
	border: 2px solid #ffc412;
	background-color: #f8fafc;
	flex-shrink: 0;
}

.mh-polla .mh-polla__prize-card small {
	display: block;
	font-size: .72rem;
	font-weight: 800;
	color: #94a3b8;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: .25rem;
}

.mh-polla .mh-polla__prize-card strong {
	display: block;
	color: #154916;
	font-size: 1.05rem;
	font-weight: 800;
	margin-bottom: .35rem;
}

.mh-polla .mh-polla__prize-card p {
	color: #475569;
	font-size: .85rem;
	margin: 0;
	line-height: 1.45;
}

/* Honeypot oculto. */
.mh-polla__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	pointer-events: none;
}

/* =====================================================================
 * REGLAMENTO (siempre visible al final del formulario)
 * Estilo profesional, legal, formato documento.
 * ===================================================================== */
.mh-polla .mh-reglamento {
	display: block;
	margin: 2.5rem 0 0;
	padding: 2rem 1.75rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	color: #1e293b;
	font-size: .9rem;
	line-height: 1.65;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}

@media (max-width: 600px) {
	.mh-polla .mh-reglamento {
		padding: 1.5rem 1.2rem;
		font-size: .85rem;
		border-radius: 10px;
	}
}

.mh-polla .mh-reglamento__head {
	border-bottom: 2px solid #ffc412;
	padding-bottom: 1.25rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.mh-polla .mh-reglamento__badge {
	display: inline-block;
	background: rgba(32, 108, 35, .1);
	color: #206c23;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	padding: .35rem .85rem;
	border-radius: 999px;
	margin-bottom: .75rem;
}

.mh-polla .mh-reglamento__title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #154916;
	line-height: 1.25;
	margin: 0 0 .85rem 0;
}

.mh-polla .mh-reglamento__title em {
	font-style: italic;
	font-weight: 700;
	color: #475569;
	font-size: 1.05rem;
}

.mh-polla .mh-reglamento__intro {
	margin: 0;
	color: #475569;
	font-size: .88rem;
	max-width: 720px;
	margin: 0 auto;
}

.mh-polla .mh-reglamento__section {
	display: block;
	padding: 0 0 1.1rem 0;
	margin: 0 0 1.1rem 0;
	border-bottom: 1px dashed #e2e8f0;
}

.mh-polla .mh-reglamento__section:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.mh-polla .mh-reglamento h3 {
	display: block;
	font-size: 1rem;
	font-weight: 800;
	color: #206c23;
	margin: 0 0 .65rem 0;
	letter-spacing: .01em;
}

.mh-polla .mh-reglamento p {
	margin: 0 0 .6rem 0;
	color: #334155;
}

.mh-polla .mh-reglamento p:last-child {
	margin-bottom: 0;
}

.mh-polla .mh-reglamento strong {
	color: #0f172a;
	font-weight: 700;
}

.mh-polla .mh-reglamento em {
	color: #94a3b8;
	font-style: italic;
}

.mh-polla .mh-reglamento__list {
	margin: .25rem 0 .75rem 1.5rem;
	padding: 0;
	list-style: disc;
	color: #334155;
}

.mh-polla .mh-reglamento__list li {
	margin: .25rem 0;
	padding: 0;
	display: list-item;
}

.mh-polla .mh-reglamento__list li strong {
	color: #154916;
}
