/* Identité commune des pages de connexion et de mot de passe */
:root {
	--auth-burgundy: #75171d;
	--auth-burgundy-dark: #4d1015;
	--auth-cream: #f7f2ec;
	--auth-sand: #c7a27a;
	--auth-ink: #292323;
	--auth-muted: #746b69;
	--auth-line: #e4d8d2;
	--auth-error: #a42b34;
	--auth-success: #267047;
}

.auth-page {
	position: relative;
	display: grid;
	min-height: 100vh;
	padding: clamp(18px, 5vw, 64px) 16px;
	color: var(--auth-ink);
	background:
		radial-gradient(circle at 12% 15%, rgba(199, 162, 122, .22), transparent 27%),
		radial-gradient(circle at 90% 85%, rgba(117, 23, 29, .12), transparent 29%),
		linear-gradient(145deg, #f9f6f3, #efe7e2);
	font-family: Arial, sans-serif;
	place-items: center;
}

.auth-page *,
.auth-page *::before,
.auth-page *::after {
	box-sizing: border-box;
}

.auth-page::before,
.auth-page::after {
	content: "";
	position: fixed;
	z-index: 0;
	border: 1px solid rgba(117, 23, 29, .08);
	border-radius: 50%;
	pointer-events: none;
}

.auth-page::before {
	top: -190px;
	right: -150px;
	width: 420px;
	height: 420px;
}

.auth-page::after {
	bottom: -240px;
	left: -180px;
	width: 480px;
	height: 480px;
}

.auth-shell.content-login {
	position: relative;
	z-index: 1;
	width: min(100%, 590px);
	height: auto;
	min-height: 0;
	margin: 0 auto;
	padding-top: 68px;
	color: var(--auth-ink);
	text-align: left;
}

.auth-shell::before {
	content: "Marie-Hélène D&Co";
	position: absolute;
	top: 7px;
	left: 50%;
	color: var(--auth-burgundy-dark);
	font: 500 clamp(24px, 5vw, 31px)/1 "florence-regular", Georgia, serif;
	letter-spacing: .035em;
	white-space: nowrap;
	transform: translateX(-50%);
}

.auth-shell::after {
	content: "Décoration d’intérieur";
	position: absolute;
	top: 45px;
	left: 50%;
	color: var(--auth-burgundy);
	font: 700 8px/1 Arial, sans-serif;
	letter-spacing: .2em;
	text-transform: uppercase;
	white-space: nowrap;
	transform: translateX(-50%);
}

.auth-shell > p:not(.error):not(.message) {
	display: none;
}

.auth-shell .retour {
	position: absolute;
	top: 4px;
	left: 0;
	z-index: 2;
	width: auto;
	min-width: 44px;
	height: 40px;
	margin: 0;
	background: rgba(255, 255, 255, .72);
	border: 1px solid var(--auth-line);
	border-radius: 22px;
	box-shadow: none;
}

.auth-shell .retour a {
	display: flex;
	width: auto;
	height: 100%;
	margin: 0;
	padding: 0 15px;
	color: var(--auth-burgundy);
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
}

.auth-shell .retour:hover {
	background: var(--auth-burgundy);
}

.auth-shell .retour:hover a {
	color: #fff;
}

.auth-shell.content-login form {
	width: 100%;
	margin: 0;
	padding: clamp(25px, 6vw, 46px);
	background: rgba(255, 255, 255, .96);
	border: 1px solid rgba(117, 23, 29, .12);
	border-top: 4px solid var(--auth-burgundy);
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(58, 30, 31, .13);
	font-weight: 400;
}

.auth-shell form fieldset {
	min-width: 0;
	border: 0;
}

.auth-shell.content-login form legend {
	width: 100%;
	margin-bottom: 9px;
	padding: 0;
	color: var(--auth-ink);
	font: 500 clamp(27px, 5vw, 37px)/1.12 "florence-regular", Georgia, serif;
	text-align: left;
}

.auth-shell form legend::after {
	content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin: 17px 0 24px;
	background: var(--auth-sand);
}

.auth-shell.content-login form fieldset table {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-collapse: collapse;
	text-align: left;
}

.auth-shell table tbody,
.auth-shell table tr,
.auth-shell table td {
	display: block;
	width: 100%;
	height: auto;
}

.auth-shell.content-login form fieldset table tr {
	height: auto;
	margin: 0 0 15px;
}

.auth-shell table td {
	position: relative;
}

.auth-shell.content-login form label {
	display: block;
	margin: 0 0 7px;
	color: var(--auth-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	text-align: left;
}

.auth-shell.content-login form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]) {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 46px 0 15px;
	color: var(--auth-ink);
	background: #fbfaf9;
	border: 1px solid var(--auth-line);
	border-radius: 4px;
	font: 500 14px/1 Arial, sans-serif;
	text-align: left;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-shell.content-login form input::placeholder {
	color: #958c89;
	font-weight: 400;
}

.auth-shell.content-login form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):hover {
	border-color: #c6afa8;
}

.auth-shell.content-login form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):focus,
.auth-shell.content-login form .shadow:focus {
	background: #fff;
	border-color: var(--auth-burgundy);
	box-shadow: 0 0 0 3px rgba(117, 23, 29, .1);
	outline: none;
}

.auth-shell img[id^="EYE"] {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 23px;
	height: 23px;
	object-fit: contain;
	cursor: pointer;
	opacity: .64;
	transform: translateY(-50%);
	transition: opacity .2s ease;
}

.auth-shell img[id^="EYE"]:hover {
	opacity: 1;
}

.auth-shell .button-form,
.auth-shell input.button-form {
	display: block;
	width: 100%;
	height: 52px;
	margin: 8px 0 0;
	padding: 0 20px;
	color: #fff;
	background: var(--auth-burgundy);
	border: 1px solid var(--auth-burgundy);
	border-radius: 4px;
	font: 700 13px/1 Arial, sans-serif;
	letter-spacing: .02em;
	text-align: center;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.auth-shell .button-form:hover,
.auth-shell .button-form:focus-visible {
	background: var(--auth-burgundy-dark);
	border-color: var(--auth-burgundy-dark);
	box-shadow: none;
	outline: 3px solid rgba(117, 23, 29, .14);
	transform: translateY(-1px);
}

.auth-shell a {
	color: var(--auth-burgundy);
	font-weight: 700;
	text-underline-offset: 3px;
}

.auth-shell a:hover,
.auth-shell a:focus-visible {
	text-decoration: underline;
}

.auth-shell #not-yet-scribe,
.auth-shell #password-forget,
.auth-shell #create_count {
	height: auto;
	padding: 4px 0;
	color: var(--auth-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.55;
	text-align: left;
}

.auth-shell #password-forget {
	padding-top: 4px;
	text-align: center;
}

.auth-shell #create_count {
	margin-top: 10px;
	font-size: 10px;
	text-align: center;
}

.auth-shell .left {
	display: flex;
	gap: 24px;
	padding: 5px 0;
}

.auth-shell .left label {
	display: inline-flex;
	margin: 0;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.auth-shell input[type="radio"],
.auth-shell input[type="checkbox"] {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--auth-burgundy);
}

.auth-shell .error,
.auth-shell .message {
	width: 100%;
	max-width: none;
	margin: 17px 0 0;
	padding: 12px 14px;
	border-radius: 4px;
	font: 600 12px/1.55 Arial, sans-serif;
	letter-spacing: 0;
	text-align: left;
	text-shadow: none;
	opacity: 1;
	animation: none;
}

.auth-shell .error {
	color: #7c1e27;
	background: #fff0f1;
	border: 1px solid #efc4c8;
}

.auth-shell .message {
	color: #205f3d;
	background: #eff9f3;
	border: 1px solid #bfe0cb;
}

.auth-shell .error a {
	color: inherit;
}

.auth-shell > .error {
	padding: 18px;
	background: #fff;
	box-shadow: 0 20px 55px rgba(58, 30, 31, .12);
}

@media screen and (max-width: 560px) {
	.auth-page {
		padding-inline: 10px;
		place-items: start center;
	}

	.auth-shell.content-login {
		padding-top: 65px;
	}

	.auth-shell.content-login form {
		padding: 25px 18px 28px;
	}

	.auth-shell .retour {
		left: 4px;
	}

	.auth-shell .retour a {
		padding-inline: 12px;
	}

	.auth-shell.content-login form legend {
		font-size: 28px;
	}

	.auth-shell .left {
		gap: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.auth-page *,
	.auth-page *::before,
	.auth-page *::after {
		transition-duration: .01ms !important;
	}
}

