/* Table de sélection */
.custom-table {
    width: 80%;
    max-height: 498px;
    overflow-y: auto;
    border-collapse: separate;
    border-spacing: 0 1em;
    margin-top: 1em;
}

.custom-table td {
    padding: 0.5em;
    vertical-align: top;
}

/* Styles des selects */
#plat_principal, #viandes, #accompagnements, #soupes, #collation, #salade {
    width: 70%;
    padding: 0.5em;
    margin-right: 0.5em;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    color: #000; /* texte sombre pour meilleur contraste */
}

/* Styles des boutons */
.menu-selection button {
    padding: 0.5em 1em;
    color: #000; /* texte sombre pour contraste suffisant */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
}

/* Couleurs par catégorie appliquées aux selects */
#plat_principal { background-color: #7EBDEC; } /* bleu */
#viandes { background-color: #EF8276; }       /* rouge */
#accompagnements { background-color: #f39c12; } /* orange */
#soupes { background-color: #1FC7A7; }        /* vert-bleu */
#collation { background-color: #BE94D1; }      /* violet */
#salade { background-color: #37D276; }         /* vert */

/* Couleurs par catégorie appliquées aux boutons */
#plat_principal + button { background-color: #7EBDEC; }
#viandes + button { background-color: #EF8276; }
#accompagnements + button { background-color: #f39c12; }
#soupes + button { background-color: #1FC7A7; }
#collation + button { background-color: #BE94D1; }
#salade + button { background-color: #37D276; }

/* Hover sur boutons */
.menu-selection button:hover {
    filter: brightness(0.9);
}

/* Sélections affichées */
.selections ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.selections li {
    padding: 0.3em 0;
}

/* Texte amélioré */
.Style1 {
    font-size: 1.1em;
    color: #34495e;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-selection select {
        width: 100%;
        margin-bottom: 0.5em;
    }
    .menu-selection button {
        width: 100%;
        margin-bottom: 0.5em;
    }
}
