@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
.body-home, .body-login {

	background: url(../img/bg.jpg);
	background-size: cover;
	background-attachment: fixed;
}
.black-fill {
	background: rgba(0,0,0, 0.7);
	min-height: 100vh;
}

textarea {
	resize: none;
}

.login {
	max-width: 500px;
	width: 90%;
	background: rgba(255,255,255, 0.5);
	padding: 10px;
	border-radius: 10px;
}
.login h3{
	text-align: center;
	font-size: 50px;
}
.h4
{
	text-align: center;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
}
body {
	display: flex;
	flex-direction: column;
	background-color: #f0f0f0;
}
.content {
	flex: 1;
	padding: 20px;
	box-sizing: border-box;
}

.table-custom {
	overflow-x: auto;
	margin-top: 20px;
}


table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.7em; /* Réduit la taille de la police */
}

th,
td {
	border: 1px solid #ddd;
	padding: 10px 8px;
	text-align: left;
}

th {
	background-color: #3498db;
	color: white;
	font-weight: bold;
	position: sticky;
	top: 0;
}

tr:nth-child(even) {
	background-color: #f9f9f9;
}

tr:hover {
	background-color: #f1f1f1;
}

.edit,
.delete {
	padding: 5px 10px;
	margin: 2px;
	cursor: pointer;
	border: none;
	border-radius: 3px;
	font-size: 12px;
}

.edit {
	background-color: #2ecc71;
	color: white;
}

.delete {
	background-color: #e74c3c;
	color: white;
}

.edit:hover,
.delete:hover {
	opacity: 0.8;
}

.search-container {
	margin-bottom: 20px;
}

#searchInput {
	padding: 10px;
	width: 300px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.pagination-container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: 20px;
	font-size: 14px;
}

.pagination-container select {
	margin: 0 10px;
	padding: 5px;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.pagination-container span {
	margin-right: 10px;
}

.pagination-container button {
	background-color: #3498db;
	color: white;
	border: none;
	padding: 5px 10px;
	margin: 0 5px;
	cursor: pointer;
	border-radius: 4px;
}

.pagination-container button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.table-container {
	width: 100%;
	height: 300px; /* Set the height of the scrollable area */
	overflow-y: auto; /* Enables vertical scrolling */
	overflow-x: auto; /* Enables horizontal scrolling */
	border: 1px solid #ddd; /* Optional: add a border around the scrollable area */
}
