/**
 * LL AUTO Booking — formulaires d'authentification.
 *
 * Dépend de llab-app.css pour les tokens, les champs et les boutons.
 * Conçu en 375px d'abord.
 */

.llab-auth {
	padding-bottom: 48px;
}

/* Carte centrée, largeur de lecture confortable. */
.llab-auth__card {
	max-width: 480px;
	margin: 0 auto;
	padding: 24px;
	background: var(--llab-bg-light);
	border: 1px solid var(--llab-border);
	border-radius: var(--llab-radius-card);
	box-shadow: var(--llab-shadow);
}

.llab-auth__title {
	margin: 0 0 8px;
	font-family: var(--llab-font-heading);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--llab-color-primary);
}

.llab-auth__intro {
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--llab-text-muted);
}

.llab-auth__form {
	margin: 0;
}

.llab-auth__links {
	margin: 20px 0 0;
	text-align: center;
	font-size: 15px;
}

.llab-auth__links a {
	color: var(--llab-color-primary);
	text-decoration: underline;
}

.llab-auth__links span {
	margin: 0 8px;
	color: var(--llab-text-muted);
}

/* Rappel que le compte n'est pas obligatoire pour réserver. */
.llab-auth__guest {
	margin: 20px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--llab-border);
	font-size: 13px;
	line-height: 1.5;
	color: var(--llab-text-muted);
	text-align: center;
}

/* ------------------------------------------------------------------
 * Indicateur de robustesse du mot de passe
 * ------------------------------------------------------------------ */

.llab-strength {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: -8px 0 16px;
	min-height: 20px;
}

.llab-strength__track {
	flex: 1 1 auto;
	height: 6px;
	background: var(--llab-border);
	border-radius: 999px;
	overflow: hidden;
}

.llab-strength__bar {
	width: 0;
	height: 100%;
	border-radius: 999px;
	background: var(--llab-danger);
	transition: width var(--llab-transition), background-color var(--llab-transition);
}

.llab-strength__bar.is-weak {
	width: 33%;
	background: var(--llab-danger);
}

.llab-strength__bar.is-medium {
	width: 66%;
	background: var(--llab-warning);
}

.llab-strength__bar.is-strong {
	width: 100%;
	background: var(--llab-success);
}

.llab-strength__label {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--llab-text-muted);
}

/* Le retour de concordance des deux mots de passe. */
.llab-help.is-error {
	color: var(--llab-danger);
}

.llab-help.is-success {
	color: var(--llab-success);
}

@media (min-width: 768px) {
	.llab-auth__card {
		padding: 32px;
	}

	.llab-auth__title {
		font-size: 32px;
	}
}
