/**
 * BilListe Frontend — account-login.css ("Log ind" - den nye, brandede
 * login-side, `/log-ind/`, "Opret konto"-rettelse: brandet login-side).
 *
 * Genbruger UDELUKKENDE `foundation.css`s allerede etablerede
 * `--billiste-*`-designtokens - samme disciplin/felt-/knap-udtryk som
 * `account-registration.css`, hvis struktur denne fil BEVIDST spejler
 * (samme værdier, IKKE genbrugt kode/klassenavn - "ét nyt, uafhængigt
 * handle-par pr. feature-side"). Mobile first.
 */

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

.billiste-account-login-page__already-notice {
	color: var(--billiste-color-text-muted);
}

.billiste-account-login-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-account-login-page__account-link:focus-visible {
	outline: 2px solid var(--billiste-color-focus);
	outline-offset: 2px;
}

.billiste-account-login__error:empty {
	display: none;
}

.billiste-account-login__error {
	color: var(--billiste-color-error);
	font-weight: 600;
}

.billiste-account-login__form {
	display: flex;
	flex-direction: column;
	gap: var(--billiste-space-3);
	max-width: 28rem;
}

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

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

.billiste-account-login__field input[type="text"],
.billiste-account-login__field input[type="password"] {
	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-account-login__field input:focus-visible {
	outline: 2px solid var(--billiste-color-focus);
	outline-offset: 2px;
}

/**
 * "Husk mig"-afkrydsningsfeltet - egen modifier, IKKE samme
 * label/input-lodret-layout som de øvrige tekstfelter ovenfor.
 */
.billiste-account-login__field--checkbox label {
	display: flex;
	align-items: center;
	gap: var(--billiste-space-1);
	font-weight: 400;
}

.billiste-account-login__field--checkbox input {
	min-height: auto;
	min-width: 1.25rem;
	min-height: 1.25rem;
}

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

.billiste-account-login__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-account-login__submit-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

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

.billiste-account-login__register-hint {
	color: var(--billiste-color-text-muted);
}

/**
 * **"Opret konto"-rettelse (e-mailbekræftelse):** "Send bekræftelsesmail
 * igen"-knappen, vist på et 403 ("konto ikke bekræftet")-svar - egen,
 * mindre fremtrædende sekundær-knap-stil (i modsætning til selve
 * login-submit-knappen ovenfor).
 */
.billiste-account-login__resend-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: var(--billiste-color-accent);
	background: transparent;
	border: 1px solid var(--billiste-color-accent);
}

.billiste-account-login__resend-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

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