* {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
	gap: 10px;
	margin: 10px;
}

h1 {
	padding: 0 10px;
}
body {
	margin: 0;
	padding: 0;
}
header {
	text-align: center;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
img {
	width: 100%;
	max-width: 430px;
	margin: 0 auto;
	height: auto;
}
.div-emplacement {
	border: 2px solid #ddd;
	padding: 10px;
	text-align: center;
	cursor: pointer;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.infos {
	padding: 0 10px;
}
#selectedEmplacementsList {
	padding: 10px 0;
}
input {
	padding: 10px;
	border: 2px solid #d6d6d6;
	border-radius: 4px;
}

input#searchBar,
input#searchBarNumber {
	color: black;
	border: 2px solid #d6d6d6;
	border-radius: 20px;
	padding: 12px 30px;
	max-width: 495px;
	width: 100%;
	box-sizing: border-box;
}

.navigation {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 1.5rem;
	margin-bottom: 2rem;
}

.available {
	background-color: #a2fca2;
}
.reserved {
	background-color: #fababa;
	border: 2px solid #d0103a;
}
.not-available {
	background-color: #f0f0f0;
	cursor: not-allowed;
}

#reservationModal {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	padding: 50px 25px;
	z-index: 1000;
	border: 1px solid #ccc;
}
#reservationForm,
#updateForm {
	display: flex;
	flex-direction: column;
	width: 300px;
	gap: 15px;
}
#modalBackground {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 999;
}
#closeModal {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}
.selected {
	border: 2px solid #000;
}

/* CSS */
.button-40 {
	background-color: #111827;
	border: 1px solid transparent;
	border-radius: 0.75rem;
	box-sizing: border-box;
	color: #ffffff;
	cursor: pointer;
	flex: 0 0 auto;
	font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.5rem;
	padding: 0.75rem 1.2rem;
	text-align: center;
	text-decoration: none #6b7280 solid;
	text-decoration-thickness: auto;
	transition-duration: 0.2s;
	transition-property: background-color, border-color, color, fill, stroke;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	width: auto;
}

.button-40:hover {
	background-color: #374151;
}

.button-40:focus {
	box-shadow: none;
	outline: 2px solid transparent;
	outline-offset: 2px;
}

/* CSS MAJ 30/04/24 */
div.searchresults > div span {
	font-weight: bold;
	border-top: 1px solid #d4d4d4;
	position: relative;
	text-align: center;
	margin: 10px auto 0 auto;
	padding-top: 7px;
}

div.searchresults > div {
	padding: 10px;
	border: 2px solid #d6d6d6;
	margin: 10px 0;
	display: flex;
	border-radius: 8px;
	text-align: center;
	flex-direction: column;
}
div.searchresults {
	width: 100%;
	max-width: 500px;
}

@media screen and (max-width: 768px) {
	div.searchresults {
		max-width: 100%;
	}
	h1 {
		font-size: 1.4em;
	}
}
