body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
        }
        .layout {
            display: flex;
            width: 100%;
        }
        .sidebar {
 width: 15vw;
    background: #333;
    display: flex;
    flex-direction: column;
    height: 96vh;
    padding: 1vw;
    position: fixed;
    top: 0;
        }
        .logout {
    margin-top: auto; /* Pousse vers le bas */
    padding-top: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.logout a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.logout .locale-switcher a{
    display: inline-block;
}

.logout a:hover {
    color: red;
}
        .sidebar ul {
            list-style: none;
            padding: 0;
        }
        .sidebar ul li {
            margin: 10px 0;
        }
        .sidebar ul li a {
         color: white;
            text-decoration: none;
            display: block;
            padding: 8px;
            border-radius: 4px;
            transition: background 0.3s;
            font-weight: 600;
            letter-spacing: 2px;
            font-size: 18px;
        }
        .sidebar ul li a:hover {
            background: #555;
        }
        .sidebar h1{
            color: white;
        }
        .content {
            flex: 1;
            padding: 20px;
            background: #f4f4f4;
            margin-left: 17vw;
            padding-bottom:100px;
        }
        .container-admin,.container-menu{
            margin-bottom: 32px;
        }
        .container-admin td,.container-menu td,.container-menu th {
            padding: 7px 30px;
        }

    /* FORMULAIRES ADMINISTRATION */
        .form_admin {
    max-width: 500px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.stats-globale{
        display: flex;
    justify-content: center;
}
.number-menu{
        background-color: rgb(0 223 255 / 8%);
    border: 3px solid #afdadb;
    margin: 10px;
    flex-shrink: 1;
    flex-grow: 1;
    padding: 24px;
    flex-basis: 0;
    border-radius: 25px;
}
.number-plats{
        background-color: rgb(236 0 255 / 8%);
    border: 3px solid #ccafdb;
    margin: 10px;
    flex-shrink: 1;
    flex-grow: 1;
    padding: 24px;
    flex-basis: 0;
    border-radius: 25px;
}
button.add-plat-btn{
        background: #33a849;
    border: 0;
    padding: 12px 14px;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}
.form_admin div {
    margin-bottom: 15px;
}

.form_admin label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    margin-top: 5px;
}
button.btn.btn-lg.btn-primary{
    margin-top: 12px;
}

.form_admin input,
.form_admin textarea,
.form_admin select {
    padding: 2%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s;
    max-width: 100%;
    width: 96%;
}

.form_admin input:focus,
.form_admin textarea:focus {
    border-color: #007bff;
    outline: none;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

/** SHOW MENU ADMIN **/
.body-menu {
    max-width: 85%;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.body-menu h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.header-menu {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
}

.header-menu h2 {
    font-size: 22px;
    color: #007bff;
    margin: 5px 0;
}

.header-menu p {
    font-size: 16px;
    color: #555;
}

.sortable-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.sortable-item {
    padding: 10px;
    margin: 5px 0;
    background: #f4f4f4;
    cursor: grab;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}
.sortable-item a{
    margin-top: 0;
}
.sortable-item:hover {
    background: #e9ecef;
}
a.info-show{
    background: #007bff;
    color: #fff;
}
.sortable-ghost {
    opacity: 0.5;
}
  .status {
        padding: 5px 10px;
        border-radius: 5px;
        font-weight: bold;
        display: inline-block;
        cursor: pointer;
    }

    .status.available {
        background: #28a745;
        color: white;
    }

    .status.unavailable {
        background: #dc3545;
        color: white;
    }

    .sortable-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
button#saveOrder {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button#saveOrder:hover {
    background-color: #0056b3;
}

a {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/** CSS POUR PLATS LIST **/
.container-admin,.body-menu {
    max-width: 85%;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container-admin h1 {
    text-align: center;
    font-size: 26px;
    color: #333;
    margin-bottom: 20px;
}

.container-admin table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
}

.container-admin thead {
    background: #007bff;
    color: #ffffff;
    text-align: left;
}

.container-admin thead th {
    padding: 12px;
    font-size: 16px;
}

.container-admin tr {
    border-bottom: 1px solid #ddd;
}

.container-admin tr:last-child {
    border-bottom: none;
}

.container-admin td {
    padding: 10px;
    font-size: 14px;
    color: #333;
}

.container-admin td strong {
    color: #007bff;
}

.container-admin td a {
    text-decoration: none;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    display: inline-block;
}

.container-admin td a[href*="edit"] {
    background: #ffc107;
    color: #333;
}

.container-admin td a[href*="delete"],.container-admin .btn.btn-danger {
    background: #dc3545;
    color: #fff;
    padding: 6px 10px;
}

.container-admin td a:hover {
    opacity: 0.8;
}
table.table.table-striped{
    margin-top: 32px;
}
@media (max-width: 768px) {
    .container-admin table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

    .flash-message {
        padding: 10px;
        margin: 10px 0;
        border-radius: 5px;
        font-weight: bold;
    }
    .flash-error {
        background: #dc3545;
        color: white;
    }
    .flash-success {
        background: #28a745;
        color: white;
    }

     .status {
            padding: 5px 10px;
            border-radius: 5px;
            font-weight: bold;
            display: inline-block;
        }

        .status.visible {
            background: #28a745;
            color: white;
        }

        .status.hidden {
            background: #dc3545;
            color: white;
        }
        div#user_roles{
            display: flex;
        }
        div#user_roles input[type="checkbox" i]{
            width: 24px;
            margin-right: 16px;
        }
    