/*
 * Founding Membership Whitelist widget.
 * Renders inside .bm-pro-sales and reuses its product-scoped layout variables.
 * Commercial intent is always Bitmomo action orange; teal remains an
 * intelligence/status accent. Mobile-first with no horizontal overflow.
 */

.bm-wl {
	max-width: 480px;
	margin: 0 auto;
}

.bm-wl__panel {
	padding: 18px 16px;
	border: 1px solid var(--bms-border);
	border-radius: var(--bm-radius-lg);
	background: var(--bms-surface);
	text-align: left;
}

.bm-wl__eyebrow {
	margin: 0 0 6px;
	color: var(--bm-teal);
	font: 800 11px/1.35 var(--bm-font-mono);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bm-wl__price {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.4;
}

.bm-wl__cap {
	margin: 8px 0 0;
	color: var(--bm-text-muted);
	font-size: .85rem;
	line-height: 1.5;
}

.bm-wl__sub {
	margin: 10px 0 0;
	color: var(--bm-text-muted);
	font-size: .9rem;
	line-height: 1.5;
}

#bm-wl-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.bm-wl__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--bm-text-muted);
	font-size: .82rem;
}

.bm-wl__field input {
	min-height: var(--bm-touch-target-mobile);
	padding: 10px 12px;
	border: 1px solid var(--bms-border);
	border-radius: var(--bm-radius-md);
	background: var(--bms-bg);
	color: var(--bm-text);
	font-size: .95rem;
}

.bm-wl__field input:focus-visible {
	outline: var(--bm-focus-ring);
	outline-offset: var(--bm-focus-offset);
}

.bm-wl__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--bm-text-muted);
	font-size: .78rem;
	line-height: 1.45;
}

.bm-wl__consent input {
	margin-top: 3px;
	flex: 0 0 auto;
}

.bm-wl__error {
	margin: 0;
	color: var(--bm-negative);
	font-size: .82rem;
	line-height: 1.4;
}

.bm-wl__submit {
	display: inline-flex;
	min-height: var(--bm-touch-target-mobile);
	align-items: center;
	justify-content: center;
	padding: 13px 20px;
	border: 0;
	border-radius: var(--bm-radius-md);
	background: var(--bm-action);
	color: #0b1620;
	font-size: .95rem;
	font-weight: 800;
	cursor: pointer;
}

.bm-wl__submit:hover,
.bm-wl__submit:focus-visible {
	background: var(--bm-action-hover);
	color: #0b1620;
}

.bm-wl__submit:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.bm-wl__note {
	margin: 12px 0 0;
	color: var(--bm-text-subtle);
	font-size: .72rem;
	line-height: 1.5;
}

.bm-wl__success-title {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 800;
}

.bm-wl__success-small {
	margin: 10px 0 0;
	color: var(--bm-text-muted);
	font-size: .75rem;
	line-height: 1.5;
}

.bm-wl-whatsapp {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--bms-border);
}

.bm-wl-whatsapp__label {
	margin: 0 0 8px;
	color: var(--bm-text);
	font-size: .88rem;
	font-weight: 700;
}

.bm-wl-whatsapp__row {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.bm-wl-whatsapp__prefix {
	display: inline-flex;
	padding: 0 10px;
	flex: 0 0 auto;
	align-items: center;
	border: 1px solid var(--bms-border);
	border-radius: var(--bm-radius-md);
	background: var(--bms-bg);
	color: var(--bm-text-muted);
	font-size: .9rem;
	font-weight: 700;
}

.bm-wl-whatsapp__input {
	min-width: 0;
	min-height: var(--bm-touch-target-mobile);
	padding: 10px 12px;
	flex: 1 1 auto;
	border: 1px solid var(--bms-border);
	border-radius: var(--bm-radius-md);
	background: var(--bms-bg);
	color: var(--bm-text);
	font-size: .95rem;
}

.bm-wl-whatsapp__input:focus-visible {
	outline: var(--bm-focus-ring);
	outline-offset: var(--bm-focus-offset);
}

.bm-wl-whatsapp__error {
	margin: 8px 0 0;
	color: var(--bm-negative);
	font-size: .8rem;
	line-height: 1.4;
}

.bm-wl-whatsapp__submit {
	display: inline-flex;
	width: 100%;
	min-height: var(--bm-touch-target-mobile);
	margin-top: 10px;
	padding: 12px 16px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--bm-teal);
	border-radius: var(--bm-radius-md);
	background: transparent;
	color: var(--bm-teal);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .02em;
	cursor: pointer;
}

.bm-wl-whatsapp__submit:hover,
.bm-wl-whatsapp__submit:focus-visible {
	background: rgba(38,208,198,.10);
	color: var(--bm-text);
}

.bm-wl-whatsapp__submit:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.bm-wl-whatsapp__note {
	margin: 8px 0 0;
	color: var(--bm-text-subtle);
	font-size: .72rem;
	line-height: 1.5;
}

.bm-wl-whatsapp__done {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--bms-border);
	color: var(--bm-positive);
	font-size: .85rem;
	font-weight: 700;
}

/* Whitespace retained here for compatibility with the legacy deterministic
   whitelist contract; browser semantics are unchanged. */
@media ( max-width: 400px ) {
	.bm-wl__panel { padding: 16px 14px; }
	.bm-wl-whatsapp__prefix { padding: 0 8px; }
}
