* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	display: flex;
	flex-direction: column;
}

main {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	flex: 1;
}

#cookies-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}

#cookies {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	padding: 20px;
	border: 1px solid #000;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	width: 80%;
	max-width: 800px;
	height: 80%;
	max-height: 400px;
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-gutter: stable both-edges;
	scrollbar-color: #171E60 transparent;
}

#cookies::-webkit-scrollbar-track {
	background-color: #f0f0f0;
	border-radius: 10px;
}

#cookies::-webkit-scrollbar-thumb {
	background-color: #171E60;
	border-radius: 10px;
}

#cookies::-webkit-scrollbar-thumb:hover {
	background-color: #171E60;
}

#cookies::-webkit-scrollbar-button {
	display: none;
}

#cookies h1 {
	font-size: 1.2rem;
	margin-top: 0;
	margin-bottom: 10px;
	text-align: center;
}

#cookies h2 {
	font-size: 1rem;
	margin-top: 0;
	text-align: center;
}

#cookies p {
	margin-bottom: 15px;
	padding: 0 20px;
	font-size: 0.9rem;
}

#cookies > div {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 100%;
}

#cookies > div a {
	text-decoration: none;
	color: black;
	font-weight: 500;
	transition: color 0.3s;
	margin: 10px 0;
}

#cookies > div a:hover {
	text-decoration: underline;
}

#cookies form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#cookies form div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 50%;
	margin: 10px auto;
}

#cookies form label {
	margin-left: 5px;
	font-size: 0.9rem;
}

#cookies form input[type="checkbox"] {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #171E60;
	border-radius: 5px;
	cursor: pointer;
}

#cookies form input[type="checkbox"]:checked {
	background-color: #171E60;
}

#cookies form input[type="checkbox"]::before {
	content: ""; /* Hide default checkbox */
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: #fff;
	border-radius: 5px;
}

#cookies form input[type="checkbox"]:checked::before {
	content: "\2713"; /* Checkmark symbol */
	font-size: 16px;
	font-weight: bold;
	color: #171E60;
	text-align: center;
	line-height: 20px;
}

#cookies button {
	background-color: #171E60;
	color: #fff;
	padding: 8px 16px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 0.9rem;
}

.status-icon {
	display: inline-block; /* Permet de gérer la taille comme un élément inline */
	font-size: 0.9em; /* Correspond à la taille du texte environnant */
	vertical-align: baseline; /* Aligne l'icône verticalement au centre du texte */
	line-height: 1; /* Ajuste la hauteur pour être cohérente avec le texte */
	margin: 2px 5px;
}

#password-requirements li {
	display: flex; /* Utilise Flexbox pour aligner le texte et l'icône automatiquement */
	align-items: center; /* Centre verticalement les éléments */
}

.valid .status-icon::before {
	content: '✅';
	color: green;

}

.invalid .status-icon::before {
	content: '❌';
	color: red;
}

h1 {
	text-align: center;
	text-transform: uppercase;
	color: #E52322;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	margin: 20px 0;
}

h2 {
	text-align: left;
	text-transform: uppercase;
	color: #E52322;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
}

@media screen and (max-width: 1023px) {
	main {
		background: none;
	}
}