/* El atributo hidden tiene que ganar a los display de las clases */
.lh-pwa[hidden],
.lh-pwa [hidden] {
	display: none !important;
}

.lh-pwa {
	--lh-pwa-color: #0f766e;
	--lh-pwa-texto: #ffffff;
	box-sizing: border-box;
	margin: 24px 0;
	padding: 18px;
	border: 2px solid var(--lh-pwa-color);
	border-radius: 14px;
	background: #ffffff;
	font-family: inherit;
	color: #0f172a;
	line-height: 1.4;
}

.lh-pwa *,
.lh-pwa *::before,
.lh-pwa *::after {
	box-sizing: border-box;
}

.lh-pwa__cab {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lh-pwa__ico {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	flex: none;
	display: block;
}

.lh-pwa__txt {
	min-width: 0;
}

.lh-pwa__titulo {
	margin: 0 0 3px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: #0f172a;
}

.lh-pwa__sub {
	margin: 0;
	font-size: 13px;
	color: #475569;
	line-height: 1.35;
}

.lh-pwa__boton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 50px;
	margin-top: 14px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: var(--lh-pwa-color);
	color: var(--lh-pwa-texto);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: filter .15s ease;
}

.lh-pwa__boton:hover,
.lh-pwa__boton:focus-visible {
	filter: brightness(1.12);
}

.lh-pwa__boton svg {
	flex: none;
}

.lh-pwa__pasos {
	list-style: none;
	margin: 14px 0 0;
	padding: 15px;
	border-radius: 11px;
	background: #f8fafc;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lh-pwa__pasos li {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
	color: #0f172a;
}

.lh-pwa__num {
	width: 25px;
	height: 25px;
	flex: none;
	border-radius: 50%;
	background: var(--lh-pwa-color);
	color: var(--lh-pwa-texto);
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lh-pwa__compartir {
	flex: none;
	margin-left: auto;
	color: var(--lh-pwa-color);
}

.lh-pwa__pie {
	margin: 12px 0 0;
	font-size: 12px;
	color: #64748b;
	text-align: center;
}

/* Cuando ya está instalada */
.lh-pwa--lista {
	border-style: solid;
	border-color: #cbd5e1;
	background: #f8fafc;
}

.lh-pwa--lista .lh-pwa__pie {
	margin-top: 0;
}

@media (prefers-color-scheme: dark) {
	.lh-pwa {
		background: #0f172a;
		color: #e2e8f0;
	}
	.lh-pwa__titulo {
		color: #f8fafc;
	}
	.lh-pwa__sub {
		color: #cbd5e1;
	}
	.lh-pwa__pasos {
		background: #1e293b;
	}
	.lh-pwa__pasos li {
		color: #e2e8f0;
	}
	.lh-pwa__pie {
		color: #94a3b8;
	}
	.lh-pwa--lista {
		background: #1e293b;
		border-color: #334155;
	}
}
