/**
 * BilListe Frontend — dealer-registration.css (Slutmilepæl: selvbetjent
 * forhandlerregistrering, `/bliv-forhandler/`).
 *
 * Genbruger UDELUKKENDE `foundation.css`s allerede etablerede
 * `--billiste-*`-designtokens - samme disciplin som `dealer-account.css`
 * (M23), hvis felt-/knap-udtryk denne fil BEVIDST spejler (samme
 * værdier, IKKE genbrugt kode/klassenavn - "ét nyt, uafhængigt
 * handle-par pr. feature-side"). Mobile first.
 */

.billiste-dealer-registration-page__title {
	margin-top: var(--billiste-space-4);
	margin-bottom: var(--billiste-space-4);
}

.billiste-dealer-registration-page__already-notice {
	color: var(--billiste-color-text-muted);
}

.billiste-dealer-registration-page__account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--billiste-touch-target-min);
	padding: var(--billiste-space-2) var(--billiste-space-4);
	color: #ffffff;
	background: var(--billiste-color-accent);
	border-radius: var(--billiste-radius);
	text-decoration: none;
	font-weight: 600;
}

.billiste-dealer-registration-page__account-link:focus-visible {
	outline: 2px solid var(--billiste-color-focus);
	outline-offset: 2px;
}

.billiste-dealer-registration__locked-notice {
	color: var(--billiste-color-text-muted);
}

.billiste-dealer-registration__error:empty {
	display: none;
}

.billiste-dealer-registration__error {
	color: var(--billiste-color-error);
	font-weight: 600;
}

.billiste-dealer-registration__form {
	display: flex;
	flex-direction: column;
	gap: var(--billiste-space-3);
	max-width: 32rem;
}

.billiste-dealer-registration__field {
	display: flex;
	flex-direction: column;
	gap: var(--billiste-space-1);
}

.billiste-dealer-registration__field label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--billiste-color-text);
}

.billiste-dealer-registration__field input {
	min-height: var(--billiste-touch-target-min);
	padding: var(--billiste-space-2);
	font-size: 1rem;
	font-family: inherit;
	border: 1px solid var(--billiste-color-border);
	border-radius: var(--billiste-radius);
	background: var(--billiste-color-background);
	color: var(--billiste-color-text);
	box-sizing: border-box;
	width: 100%;
}

.billiste-dealer-registration__field input:focus-visible {
	outline: 2px solid var(--billiste-color-focus);
	outline-offset: 2px;
}

.billiste-dealer-registration__hint {
	font-size: 0.8125rem;
	color: var(--billiste-color-text-muted);
}

.billiste-dealer-registration__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--billiste-space-2);
}

.billiste-dealer-registration__submit-button {
	min-height: var(--billiste-touch-target-min);
	padding: var(--billiste-space-2) var(--billiste-space-4);
	font: inherit;
	font-weight: 600;
	border-radius: var(--billiste-radius);
	cursor: pointer;
	color: #ffffff;
	background: var(--billiste-color-accent);
	border: none;
}

.billiste-dealer-registration__submit-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.billiste-dealer-registration__submit-button:focus-visible {
	outline: 2px solid var(--billiste-color-focus);
	outline-offset: 2px;
}
