body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 1em 10em;
    padding: 1em;
}

header
{
	max-width: 700px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px 30px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
	display: flex;
    justify-content: center;
    align-items: center;
}

#logo
{
    display: flex;
    align-items: middle;
}

#logo img
{
    margin-right: 30px;
	height: 90px;
	width: 90px;
}

article
{
   margin-right: 20px;
   flex: 3;
}

aside
{
   flex: 1.2;
}

.login-container {
    max-width: 800px;
    margin: 100px auto;
    background-color: #fff;
    padding: 20px 30px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

 .dashboard-container {
            max-width: 68%;
            margin: 50px auto;
            background-color: #fff;
            padding: 20px 30px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

h1 {
    text-align: center;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

input[type="text"], input[type="password"], input[type="tel"], select[name="type"]{
    width: 20em;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

#message {
    color: red;
    font-weight: bold;
}

table
{
    border-collapse: collapse; /* Les bordures du tableau seront collées (plus joli) */
	width: 100%;
	margin: auto;
}

caption
{
	background-color: black;
	border-radius: 5px 5px 0px 0px;
	color: white;
}

td, th
{
    border: 1px solid black;
}

td
{
	width: 100px;
	text-align: center;
}

/* Coloration une ligne sur deux */
tr 
{
	background: #bbb;
}

tr:nth-child(odd) { 
	background: #ddd;
}

footer
{
	background:#CCCCCC;
	border-radius: 5px 5px 0px 0px;
	position: absolute;
	width:70%;
	margin-top: 10px;
}

footer
{
	background:#CCCCCC;
	border-radius: 5px 5px 0px 0px;
	position: absolute;
	width:70%;
	margin-top: 10px;
}

.footer
{
	text-align: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-left: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4CAF50;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.filtres label {
    margin-right: 0.5rem;
}

.filtres select,
.filtres input[type="date"],
.filtres input[type="submit"] {
    padding: 0.3rem;
    font-size: 1rem;
}