.asmon-login__field {
	display: block;
	min-width: 0;
	margin: 0;
}

.asmon-login__label {
	display: block;
	margin-bottom: 0.35rem;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #c9a84c !important;
}

.asmon-login__field input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.65rem 0.85rem;
	font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
	font-size: 1.0625rem;
	line-height: 1.5;
	color: #e8dec8 !important;
	-webkit-text-fill-color: #e8dec8 !important;
	caret-color: #c9a84c;
	background-color: #16120d !important;
	border: 1px solid rgba(201, 168, 76, 0.45) !important;
	border-radius: 2px;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asmon-login__field input:focus {
	border-color: #c9a84c !important;
	box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.35) !important;
}

.asmon-login__field input:-webkit-autofill,
.asmon-login__field input:-webkit-autofill:hover,
.asmon-login__field input:-webkit-autofill:focus {
	-webkit-text-fill-color: #e8dec8 !important;
	box-shadow: 0 0 0 40px #16120d inset !important;
	caret-color: #c9a84c;
}

.asmon-login__secret {
	position: relative;
	display: block;
}

.asmon-login__secret input {
	padding-right: 2.75rem;
}

.asmon-login__eye {
	position: absolute;
	top: 0;
	right: 0;
	width: 2.75rem;
	height: 100%;
	padding: 0;
	color: #c9a84c !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.asmon-login__eye::before {
	content: "";
	display: block;
	width: 1.3rem;
	height: 1.3rem;
	margin: auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.asmon-login__eye[aria-pressed="true"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 3l16 18'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 3l16 18'/%3E%3C/svg%3E");
}

.asmon-login__eye:hover,
.asmon-login__eye:focus-visible {
	color: #f3e3a4;
}

.asmon-login__notice {
	margin: 0;
	font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
	font-size: 1rem;
	line-height: 1.3;
	color: #ef9a7c;
}

.asmon-login__notice:empty {
	display: none;
}

/* Touche majuscule verrouillée pendant la saisie du mot de passe (asmon-login.js). */
.asmon-login__caps {
	display: block;
	margin-top: 0.3rem;
	font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
	font-size: 0.9rem;
	line-height: 1.2;
	color: #e8d07a;
}

.asmon-login__caps[hidden] {
	display: none;
}

.asmon-login__notice.is-ok {
	color: #e8d07a;
}

.asmon-login__go {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 2.85rem;
	padding: 0.7rem 1.5rem;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: #1a140c !important;
	-webkit-text-fill-color: #1a140c;
	background: linear-gradient(180deg, #e8d07a 0%, #c9a84c 48%, #b08e3a 100%);
	border: 1px solid #e6cc78;
	border-radius: 2px;
	box-shadow: 0 0 16px rgba(201, 168, 76, 0.42), 0 0 28px rgba(201, 168, 76, 0.18), inset 0 1px 0 rgba(255, 248, 228, 0.5);
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow 0.25s ease, filter 0.25s ease;
}

.asmon-login__go:hover,
.asmon-login__go:focus-visible {
	filter: brightness(1.08);
	box-shadow: 0 0 24px rgba(232, 208, 122, 0.65), 0 0 46px rgba(201, 168, 76, 0.3), inset 0 1px 0 rgba(255, 248, 228, 0.6);
	outline: none;
}

.asmon-login__go[disabled] {
	cursor: progress;
	filter: saturate(0.6) brightness(0.8);
}

.asmon-login__sheen {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.asmon-login__sheen::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 48%;
	height: 100%;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 248, 228, 0.12) 32%, rgba(255, 252, 245, 0.32) 50%, rgba(255, 248, 228, 0.12) 68%, transparent 100%);
	transform: translateX(-140%) skewX(-18deg);
	animation: asmon-login-shine 11s ease-in-out 1.5s infinite;
}

.asmon-login__go:hover .asmon-login__sheen::after,
.asmon-login__go:focus-visible .asmon-login__sheen::after {
	animation-play-state: paused;
}

@keyframes asmon-login-shine {
	0% {
		transform: translateX(-140%) skewX(-18deg);
	}

	22%,
	100% {
		transform: translateX(340%) skewX(-18deg);
	}
}

.asmon-login-mini {
	display: grid;
	gap: 0.65rem;
	width: 100%;
	max-width: 20rem;
	padding: 1rem;
	color: #e8dec8;
	background: #16120d;
	border: 1px solid rgba(201, 168, 76, 0.28);
	border-radius: 2px;
}

.asmon-login-mini__title {
	margin: 0;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e8d07a;
}

.asmon-login-mini__who {
	margin: 0;
	font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
	font-size: 1.0625rem;
}

.asmon-login-mini__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	margin: 0;
	font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
	font-size: 0.95rem;
}

.asmon-login-mini__links a {
	color: #c9a84c;
	text-decoration: none;
}

.asmon-login-mini__links a:hover,
.asmon-login-mini__links a:focus-visible {
	color: #f3e3a4;
	text-decoration: underline;
}

.asmon-login-mini__code[hidden] {
	display: none;
}

.asmon-login-mini__code input {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.3em;
	text-align: center;
}

.asmon-login-mini__remember {
	display: inline-flex;
	justify-self: start;
	align-items: center;
	gap: 0.45rem;
	font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
	font-size: 0.975rem;
	color: #b9ab8d;
	cursor: pointer;
}

.asmon-login-mini__remember input {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: #c9a84c;
}

.asmon-login-mini__remember input:focus-visible {
	outline: 2px solid #f3e3a4;
	outline-offset: 2px;
}

.asmon-login-mini.is-sealed .asmon-login__go {
	color: #1a140c;
	filter: brightness(1.2);
}

@media (prefers-reduced-motion: reduce) {
	.asmon-login__go,
	.asmon-login__field input {
		transition: none;
	}

	.asmon-login__sheen::after {
		animation: none;
	}
}
