body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100vh;
}
/*
.container {
    display: flex;
    flex-grow: 1;
}*/

.menu {
    background-color: #333;
    color: white;
/*     width: 250px; */
    transition: width 0.3s ease;
    overflow: hidden;
    position: relative;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: block;
    padding: 10px;
    background: #333;
    color: #fff;
    text-decoration: none;
}

.menu-item a:hover {
    background: #555;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #444;
}

.submenu li a {
    padding: 10px;
    background: #444;
}

.submenu li a:hover {
    background: #666;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: #444;
    height: 50px;
}

.submenu-arrow {
    float: right;
}

/*
.menu-title {
    font-size: 1.2rem;
}

.menu-toggle {
    cursor: pointer;
    font-size: 1.5rem;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu ul li {
    padding: 1rem;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

ul.submenu {
    transition: font-size 1s;
    height: 27px;
    list-style: none;
    margin-right: 20px;
    display: inline-block;
}

.menu ul li ul.submenu {
    display: none;
    padding-left: 1rem;
}

.menu ul li.show-submenu ul.submenu {
    display: block;
}*/

.menu-icon {
    cursor: pointer;
    font-size: 25px;
/*     padding: 0.5rem; */
    position: fixed;
    top: 0;
    left: 0;
/*     height: 50px; */
    z-index: 10;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.main-content {
    flex-grow: 1;
    transition: margin-left 0.3s ease;
    position: relative;
}

.main-content.retracted {
    margin-left: 0;
}

.main-content.retracted .menu-icon {
    display: block;
}

.top-bar {
    background-color: #007BFF;
    color: white;
    padding: 1rem;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 5;
    height: 25px;
}

.table-container {
    margin-top: 4rem; /* Pour laisser de la place au bandeau */
    padding: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
/*     padding: 1rem; */
    border: 1px solid #ddd;
    text-align: left;
}

th {
    cursor: pointer;
    background-color: #f4f4f4;
}

label.required:after {
    content: "*";
}

.details {
    display: none;
    background-color: #f9f9f9;
}


.sort-bar {
    margin-bottom: 1rem;
}

.sort-bar button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.9rem;
}

.sort-bar button:hover {
    background-color: #0056b3;
}

.grid-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grid-item {
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.grid-item > div {
    margin-bottom: 0.5rem;
}

.details {
    display: none;
    padding: 1rem;
    background-color: #e9ecef;
    border-top: 1px solid #ddd;
}

#sidebar-nav {
    width: 250px;
}
