/* Moot premium signup onboarding — light step-by-step flow */

body.moot-signup-onboarding-page,
body.moot-signup-onboarding-page .site-main {
	background: #f1f5f9 !important;
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}

.moot-signup-onboarding {
	position: relative;
	min-height: 100vh;
	padding: 2rem 1rem 3rem;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.moot-signup-onboarding__bg {
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08), transparent 42%),
		radial-gradient(circle at 85% 10%, rgba(124, 58, 237, 0.06), transparent 40%),
		#f1f5f9;
	z-index: 0;
}

.moot-signup-onboarding__shell {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
}

.moot-signup-card {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
	padding: 2rem 2rem 2.25rem;
}

.moot-signup-card__brand {
	text-align: center;
	margin-bottom: 1.5rem;
}

.moot-signup-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: #0f172a;
	font-weight: 800;
	font-size: 1.35rem;
}

.moot-signup-logo__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, #eef4ff, #e0e7ff);
	color: #2563eb;
}

/* Progress */
.moot-signup-preset-badge {
	display: inline-block;
	margin: 0 0 0.65rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: #eef4ff;
	color: #2563eb;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.moot-signup-onboarding--preset .moot-signup-step[data-step="2"].is-active {
	display: block !important;
}

.moot-signup-onboarding--preset .moot-signup-step[data-step="1"] {
	display: none !important;
}

.moot-signup-onboarding--preset .moot-signup-progress__steps li[data-progress-step="1"] {
	display: none;
}


.moot-signup-progress__track {
	height: 4px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 1rem;
}

.moot-signup-progress__fill {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #2563eb, #4f46e5);
	border-radius: 999px;
	transition: width 0.35s ease;
}

.moot-signup-progress__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.moot-signup-progress__steps li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: #475569;
	text-align: center;
}

.moot-signup-progress__steps li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #64748b;
	font-size: 0.8rem;
}

.moot-signup-progress__steps li.is-active {
	color: #2563eb;
}

.moot-signup-progress__steps li.is-active span,
.moot-signup-progress__steps li.is-complete span {
	background: #2563eb;
	color: #fff;
}

.moot-signup-progress__steps li.is-complete {
	color: #475569;
}

/* Steps */
.moot-signup-step {
	animation: mootSignupFade 0.35s ease;
}

.moot-signup-onboarding--portal .moot-signup-step,
.moot-signup-onboarding--portal .moot-signup-form {
	display: block !important;
}

.moot-signup-divider {
	border: 0;
	border-top: 1px solid #e2e8f0;
	margin: 1.75rem 0 1.25rem;
}

.moot-signup-section-title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.moot-signup-step[hidden],
.moot-signup-onboarding--portal .moot-signup-step[hidden],
.moot-signup-step3-panel[hidden] {
	display: none !important;
}

.moot-signup-step__head h1:focus {
	outline: none;
}

@keyframes mootSignupFade {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.moot-signup-step__head {
	text-align: center;
	margin-bottom: 1.5rem;
}

.moot-signup-step__head h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.45rem, 3vw, 1.85rem);
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.moot-signup-step__head p {
	margin: 0;
	color: #64748b;
	font-size: 0.98rem;
	line-height: 1.5;
}

/* Type cards */
.moot-signup-type-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	margin-bottom: 1.5rem;
}

.moot-signup-type-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	padding: 1.1rem 1.15rem;
	border: 2px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	font: inherit;
	color: inherit;
}

.moot-signup-type-card:hover {
	border-color: rgba(37, 99, 235, 0.35);
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.moot-signup-type-card.is-selected {
	border-color: #2563eb;
	background: #eef4ff;
	box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
}

.moot-signup-type-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #f8fafc;
	color: #2563eb;
	margin-bottom: 0.35rem;
}

.moot-signup-type-card.is-selected .moot-signup-type-card__icon {
	background: #fff;
}

.moot-signup-type-card strong {
	font-size: 0.98rem;
	color: #0f172a;
}

.moot-signup-type-card > span:not(.moot-signup-type-card__icon):not(.moot-signup-type-card__tick) {
	font-size: 0.78rem;
	font-weight: 700;
	color: #2563eb;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.moot-signup-type-card small {
	font-size: 0.82rem;
	color: #64748b;
	line-height: 1.45;
	margin-top: 0.15rem;
}

.moot-signup-type-card__tick {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #2563eb;
	color: #fff;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.moot-signup-type-card.is-selected .moot-signup-type-card__tick {
	opacity: 1;
	transform: scale(1);
}

/* Form fields */
.moot-signup-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.moot-signup-field,
.moot-signup-field-row .moot-signup-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.moot-signup-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.moot-signup-field label,
.moot-signup-field__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
}

.moot-signup-optional {
	font-weight: 500;
	color: #94a3b8;
	font-size: 0.78rem;
}

.moot-signup-field input,
.moot-signup-field select,
.moot-signup-field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font: inherit;
	color: #0f172a;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.moot-signup-field textarea {
	min-height: 72px;
	resize: vertical;
	line-height: 1.45;
}

.moot-signup-field-hint {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	color: #64748b;
	line-height: 1.4;
}

.moot-signup-address {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0.35rem 0 0.75rem;
	padding: 1rem 1rem 0.85rem;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #f8fafc;
}

.moot-signup-section-title--sm {
	margin: 0;
	font-size: 0.95rem;
}

.moot-signup-field--places {
	position: relative;
}

.moot-signup-places-dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	z-index: 40;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 12px;
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
	max-height: 240px;
	overflow-y: auto;
}

.moot-signup-places-dropdown[hidden] {
	display: none !important;
}

.moot-signup-places-dropdown li {
	margin: 0;
}

.moot-signup-places-dropdown button {
	display: block;
	width: 100%;
	padding: 0.65rem 0.9rem;
	border: 0;
	background: transparent;
	text-align: left;
	font: inherit;
	color: #0f172a;
	cursor: pointer;
}

.moot-signup-places-dropdown button:hover,
.moot-signup-places-dropdown li.is-active button {
	background: #eef4ff;
}

.moot-signup-field input:focus,
.moot-signup-field select:focus,
.moot-signup-field textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.moot-signup-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
}

.moot-signup-check {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	color: #475569;
	cursor: pointer;
}

.moot-signup-check input {
	accent-color: #2563eb;
}

/* Buttons */
.moot-signup-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.moot-signup-actions--end {
	justify-content: flex-end;
}

.moot-signup-actions--center {
	justify-content: center;
}

.moot-signup-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.25rem;
	border-radius: 12px;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.moot-signup-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.moot-signup-btn--primary {
	background: #2563eb;
	color: #fff;
}

.moot-signup-btn--primary:hover:not(:disabled) {
	background: #1d4ed8;
}

.moot-signup-btn--ghost {
	background: #fff;
	border-color: #e2e8f0;
	color: #475569;
}

.moot-signup-btn--ghost:hover:not(:disabled) {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.moot-signup-btn--lg {
	padding: 0.95rem 1.75rem;
	font-size: 1rem;
}

.moot-signup-footnote {
	text-align: center;
	margin: 1rem 0 0;
	font-size: 0.9rem;
	color: #64748b;
}

.moot-signup-footnote a {
	color: #2563eb;
	font-weight: 600;
	text-decoration: none;
}

.moot-signup-footnote a:hover {
	text-decoration: underline;
}

/* Alert */
.moot-signup-alert {
	padding: 0.75rem 1rem;
	border-radius: 12px;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.moot-signup-alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}

/* Success */
.moot-signup-step--success {
	text-align: center;
	padding-top: 0.5rem;
}

.moot-signup-success-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #2563eb, #4f46e5);
	color: #fff;
	font-size: 1.75rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
}

@media (max-width: 640px) {
	.moot-signup-card {
		padding: 1.35rem 1.15rem 1.5rem;
		border-radius: 18px;
	}

	.moot-signup-type-grid,
	.moot-signup-field-row {
		grid-template-columns: 1fr;
	}

	.moot-signup-progress__steps li {
		font-size: 0.65rem;
	}

	.moot-signup-actions {
		flex-direction: column-reverse;
	}

	.moot-signup-actions .moot-signup-btn {
		width: 100%;
	}
}
