body {
    background-color: #d3d3d3;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}

.body-plat body {
    background-color: #d3d3d3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}

#pereNoel {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px; /* Taille de l'image */
    height: 150px; /* Taille de l'image */
    transition: transform 0.5s;
}

.cadeau {
    position: absolute;
    width: 40px; /* Taille des images des cadeaux */
    height: 40px; /* Taille des images des cadeaux */
}

#araignee {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Prend toute la largeur disponible */
    height: auto; /* Garde les proportions de l'image */
    display: none;
    z-index: 9999; /* Met l'image au-dessus des autres éléments */
}

#anniversaire {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ccb04d;
    color: white;
    padding: 20px;
    font-size: 2.5em;
    display: none;
    z-index: 10000;
    font-weight: bold;
    border-radius: 20px;
    width: 75%; /* Augmente la largeur pour éviter le retour à la ligne */
    text-align: center; /* Centre le texte dans la boîte */
    opacity: 0; /* Commence invisible */
    transition: opacity 1s ease-in-out; /* Transition de fondu */
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.nouvel-an {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5em;
    color: white;
    background-color: rgba(0, 192, 190, 0.5);
    width: 60%;
    text-align: center;
    font-weight: bold;
}


.title-modification {
    font-size: 50px;
    color: #00C0C0;
    text-align: center;
    margin-bottom: 40px;
}

.content {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0 auto;
}

.content-titre-plat {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.content-plat, .content-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 94%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 30px
}

.content-stats .column {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.list-stats {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    list-style: none;
}

.list-stats .li {
    padding: 0.5rem;
}

.list-stats a {
    color: #00C0C0;
    font-size: 1.5rem;
}

.table-stats {
    width: 100%;
}

.table-stats td {
    padding: 0.5rem;
    border-bottom: 1px solid #f3f3f3;
}

.table-stats tr:last-child td {
    border-bottom: none;
}

.table-stats th {
    padding: 0.5rem;
    color: white;
    background-color: #00C0C0;
    border-radius: 10px;
    font-size: 1.25em;
}

.text-right {
    text-align: right;
}

.content-aide {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
}

.icon-container {
    position: absolute;
    top: 80px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.title {
    font-size: 50px;
    color: #00C0C0;
    text-align: center;
    margin-bottom: 40px;
}

.under-title {
    font-size: 30px;
    color: #00C0C0;
    margin-bottom: 40px;
}

.column {
    flex: 1 1 18%; /* Chaque colonne occupe environ un cinquième de la largeur */
    margin: 0 11px; /* Espacement entre les colonnes */
    min-width: 200px; /* Largeur minimale pour chaque colonne (peut être ajustée) */
    box-sizing: border-box; /* Assure que le padding et la bordure sont inclus dans la largeur */
}

.column label {
    vertical-align: middle; /* Aligne le texte au milieu du checkbox */
    margin-left: 5px; /* Ajoute un petit espace entre le checkbox et le texte */
}

.column input[type="checkbox"] {
    vertical-align: middle; /* Aligne le checkbox au milieu du texte */
    margin: 5px;
}

.column h2 {
    font-size: 35px;
    text-align: center; /* Centrer le texte des sous-titres dans chaque colonne */
}

.aide {
    font-size: 18px; /* Ajuste la taille des paragraphes pour qu'ils soient plus petits que les sous-titres */
    text-align: left;
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}

.aide-texte {
    font-size: 18px; /* Ajuste la taille des paragraphes pour qu'ils soient plus petits que les sous-titres */
    text-align: left;
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    line-height: 2;
}

.aide-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.plus-circle {
    display: inline-block;
    width: 13px; /* Largeur du cercle */
    height: 13px; /* Hauteur du cercle */
    border-radius: 50%; /* Forme le cercle */
    background-color: #00C0C0; /* Couleur du cercle */
    margin-right: 10px; /* Espace entre le cercle et le texte */
}

h3.aide {
    font-size: 24px; /* Taille des sous-titres */
    text-align: center;
    margin-bottom: 20px;
}

.help-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #00C0C0;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease; /* Transition douce pour le changement de couleur */
}

.help-button:hover {
    background-color: #00adad;
}

.retour-button-aide {
    background-color: #00C0C0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px; /* Ajoute de l'espace en dessous du bouton */
    transition: background-color 0.3s ease; /* Transition douce pour le changement de couleur */
}

.retour-button-aide:hover {
    background-color: #00b0b0; /* Couleur de fond plus foncée */
}

.button-container-aide {
    display: flex;
    justify-content: center; /* Centre le bouton horizontalement */
    align-items: center; /* Centre le bouton verticalement (si nécessaire) */
    margin-bottom: 20px; /* Ajoute de l'espace en dessous du conteneur */
}

.continue-button {
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}

.continue-button-ajouter {
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    position: fixed; /* Utiliser position: fixed pour le fixer par rapport à la fenêtre */
    bottom: 40px; /* Espacement du bas de l'écran */
    right: 40px; /* Espacement du côté droit de l'écran */
    z-index: 1000; /* Assure que le bouton soit au-dessus des autres éléments */
}

.continue-button-retour {
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    position: fixed; /* Utiliser position: fixed pour le fixer par rapport à la fenêtre */
    bottom: 40px; /* Espacement du bas de l'écran */
    left: 40px; /* Espacement du côté droit de l'écran */
    z-index: 1000; /* Assure que le bouton soit au-dessus des autres éléments */
}

.button-container {
    display: flex;
    justify-content: space-between;
    width: 300px;
    margin: 20px auto 0 auto;
}

.button-container-finir {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    margin-top: 40px; /* Ajuste l'espacement si nécessaire */
}

.retour-button {
    background-color: #00C0C0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.retour-button:hover {
    background-color: #00b0b0; /* Couleur de fond plus foncée */
}

.suivant-button {
    background-color: #00C0C0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease; /* Transition douce pour le changement de couleur */
}

.suivant-button:hover {
    background-color: #00b0b0; /* Couleur de fond plus foncée */
}

.ajouter-button {
    background-color: #00C0C0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease; /* Transition douce pour le changement de couleur */
}

.ajouter-button:hover {
    background-color: #00b0b0; /* Couleur de fond plus foncée */
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #00C0C0;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease; /* Transition douce pour le changement de couleur */
}

.back-button:hover {
    background-color: #00adad;
}

.back-button span {
    position: relative;
    font-size: 38px;
    top: -5px;
}

.dropdown-button {
    font-size: 1.2em; /* Ajuste la taille de la police pour le bouton du menu déroulant */
}

.label {
    position: relative;
}

.dropdown {
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.dropdown-button {
    background-color: #00C0c0;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: inline-block;
    transition: background-color 0.3s ease; /* Transition douce pour le changement de couleur */
}

.dropdown-button:hover {
    background-color: #00adad;
}

.dropdown-content {
    display: none;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px 5px 5px 5px;
    z-index: 1;
    padding: 12px 16px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dropdown-content p {
    color: black;
    margin: 0;
}

.input-container-mot-de-passe {
    position: relative;
    display: flex;
    flex-direction: column; /* Pour aligner l'input et le message d'erreur en colonne */
    align-items: flex-start; /* Alignement à gauche pour correspondre au style de l'image */
    margin-bottom: 20px;
    padding: 0 10px 5px;
}

.input-container-mot-de-passe.error-container {
    background-color: #fde2e2; /* Fond rouge clair autour de l'input */
    padding: 0 10px 5px;
    border-radius: 5px; /* Pour arrondir les bords de la zone rouge */
}

.input-container-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0 10px 5px;
    margin-bottom: 20px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.input {
    font-size: 1em;
    color: #000;
    background: #fff;
    padding: 1rem 1.2rem;
    width: 275px;
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: all 0.2s;
    text-align: left;
    margin-bottom: 10px;
    margin-top: 15px;
}

.input:focus {
    outline: none;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.password-icon {
    position: absolute;
    right: 30px;
    top: 45px;
    transform: translateY(-50%);
    width: 20px;
    color: #000;
    cursor: pointer;
    transition: all 0.2s;
}

.password-icon:hover {
    cursor: pointer;
    color: #00C0C0;
}

.password-icon .feather-eye-off {
    display: none;
}

.input-error {
    border: 2px solid red; /* Bordure rouge */
    background-color: #fff; /* Maintient l'input blanc */
    margin-top: 10px;
    margin-bottom: 15px;
}

.error-message {
    color: red;
    font-size: 1rem;
    margin-top: 5px; /* Place le message d'erreur sous l'input */
    margin-bottom: 0; /* Évite tout espace inutile en dessous */
    line-height: 1.2; /* Gère l'espacement du texte du message d'erreur */
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #c1c1c1;
    background-color: white;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

/* Style pour la case cochée */
input[type="checkbox"]:checked {
    background-color: #00c0c0;
    border-color: #00c0c0;
}

/* Ajouter le "v" pour la case cochée */
input[type="checkbox"]:checked::after {
    content: "✔";
    color: white;
    font-size: 16px;
    position: absolute;
    top: -4px;
    left: 2px;
}

.card-left h1 {
    text-align: center;
    font-size: 2em; /* Ajuste la taille des titres de la carte */
}

.info-columns h3 {
    font-size: 1.6em; /* Ajuste la taille des sous-titres */
}

.info-columns h4 {
    font-size: 1.4em; /* Ajuste la taille des sous-titres */
}

.modifier-button {
    position: absolute;
    bottom: 10px; /* Positionne le bouton en bas */
    right: 20px; /* Positionne le bouton à droite */
    width: 100px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #00C0C0;
    transition: background-color 0.3s ease; /* Transition douce pour le changement de couleur */
}

.modifier-button:hover {
    background-color: #00adad;
}

.modifier-button::after {
    content: "Modifier";
}

.modifier-button.ajouter-button::after {
    content: "Ajouter";
}

.continue-button-ajouter {
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    position: fixed; /* Utiliser position: fixed pour le fixer par rapport à la fenêtre */
    bottom: 10px; /* Espacement du bas de l'écran */
    right: 40px; /* Espacement du côté droit de l'écran */
    z-index: 1000; /* Assure que le bouton soit au-dessus des autres éléments */
}

.cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.card {
    display: flex;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 800px;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-hidden {
    display: none;
}

.card-left {
    padding: 20px;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #00C0C0;
    font-size: 21px;
}

.card-left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-right {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    position: relative;
    background-color: white;
    color: black;
}

.historique-img {
    height: 50px;
    width: 50px;
}

.statistics-img {
    height: 44px;
    width: 44px;
}

.drag-handle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-color: #00C0C0;
    border-radius: 5px;
    cursor: move;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
}

.continue-button-motdepasse {
    text-decoration: none;
    border: none;
    padding: 12px 10px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    text-align: center;
    font-size: 1rem;
    line-height: 0.6;
}

.card-anniversaire .card-left {
    background-color: #dcbb52;
}

.card-archived .card-left {
    background-color: #00adad;
    position: relative;
}

.card-archived .card-right {
    background-color: #f0f0f0;
}

.card-archived .modifier-button {
    /*display: none;*/
    opacity: 0.5;
}

.card-archived .drag-handle {
    display: none;
}

.card-archived .archived {
    position: absolute;
    top: 5px;
    left: 20px;
    color: white;
    font-size: 20px;
}

.info-columns {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
    margin: 0 30px 30px 0;
}

.info-column .icon {
    position: absolute;
    top: -3px; /* Ajuste cette valeur pour positionner l'icône verticalement */
    left: -3px; /* Ajuste cette valeur pour positionner l'icône horizontalement */
    width: 23px; /* Ajuste la taille des icônes */
    height: 23px; /* Ajuste la taille des icônes */
}

.info-columns h3, .info-columns h4 {
    margin: 0.5rem;
    padding: 0;
    line-height: 1.5rem; /* Ajuste la hauteur de ligne pour compacter le texte */
}

.info-columns p {
    margin: 0.5rem;
    padding: 0.5rem;
    font-size: 1.1rem;
}

.info-columns h3 {
    font-size: 1.4rem;
}

.info-columns h4 {
    font-size: 1.2rem;
}

.plat {
    background: #e3e8fc; /* Couleur encore plus pâle */
    font-weight: 400; /* Gras léger */
    padding: 10px; /* Pour agrandir la couleur de fond */
    display: inline-block; /* Pour que le padding affecte le fond */
}

.viande {
    background: #fbd2d2; /* Couleur encore plus pâle */
    font-weight: 400; /* Gras léger */
    padding: 10px; /* Pour agrandir la couleur de fond */
    display: inline-block; /* Pour que le padding affecte le fond */
}

.legume {
    background: #d8f6d6; /* Couleur encore plus pâle */
    font-weight: 400; /* Gras léger */
    padding: 10px; /* Pour agrandir la couleur de fond */
    display: inline-block; /* Pour que le padding affecte le fond */
}

.feculent {
    background: #f9f2d0; /* Couleur encore plus pâle */
    font-weight: 400; /* Gras léger */
    padding: 10px; /* Pour agrandir la couleur de fond */
    display: inline-block; /* Pour que le padding affecte le fond */
}

.special {
    background: #fbd2ea; /* Couleur encore plus pâle */
    font-weight: 400; /* Gras léger */
    padding: 10px; /* Pour agrandir la couleur de fond */
    display: inline-block; /* Pour que le padding affecte le fond */
}


/* Drag drop CSS */
/* sortable-ghost, sortable-chosen, sortable-drag */
.sortable-drag {
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
}

@media only screen and (max-width: 640px) {
    .cards-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: -5px;
    }

    .cards-container.current {
        padding-bottom: 20px;
    }

    .card {
        display: flex;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        width: 260px;
        height: auto;
        overflow: hidden;
        margin-bottom: 3px;
        flex-direction: column;
    }

    .card-hidden {
        display: none;
    }

    .card-left {
        padding: 5px;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: white;
        background-color: #00C0C0;
        font-size: 21px;
    }

    .card-right {
        padding: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        background-color: white;
        color: black;
    }

    .card-left h1 {
        text-align: center;
        font-size: 17px;
        margin: 0;
    }

    .continue-button {
        text-decoration: none;
        border: none;
        padding: 5px 2px;
        border-radius: 5px;
        cursor: pointer;
        color: white;
        text-align: center;
        font-size: 0.7rem;
        line-height: 0.6;
    }

    .continue-button-retour {
        text-decoration: none;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        color: white;
        text-align: center;
        font-size: 1rem;
        line-height: 1.5;
        position: fixed;
        bottom: 10px;
        left: 40px;
        z-index: 1000;
    }

    .icon-container {
        position: absolute;
        top: 50px;
        left: 4px;
        z-index: 1000;
    }

    .modifier-button {
        position: absolute;
        bottom: 3px;
        right: 5px;
        width: 20px;
        padding: 6px 15px 6px 5px;
        border-radius: 5px;
        cursor: pointer;
        color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background-color: #00C0C0;
        transition: background-color 0.3s ease;
    }

    .modifier-button::after {
        content: "Modif.";
    }

    .modifier-button.ajouter-button::after {
        content: "Ajout.";
    }

    .card-archived .archived {
        position: absolute;
        top: -2px;
        left: 10px;
        color: white;
        font-size: 10px;
    }

    .info-columns h3 {
        font-size: 0.85em;
    }

    .info-columns h4 {
        font-size: 0.65em;
    }

    .info-columns p {
        font-size: 0.8em;
    }

    .info-columns h3, .info-columns h4 {
        margin: 0.5rem;
        padding: 0;
        line-height: 0.65rem;
    }

    .info-columns p {
        margin: 0.5rem;
        line-height: 2;
        width: 223px;
        padding: 0 6px;
    }

    .info-columns {
        display: flex;
        justify-content: space-around;
        gap: 0;
        align-items: flex-start;
        position: relative;
        margin: 0;
        flex-direction: column;
    }

    .content-plat, .content-stats {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        flex-wrap: wrap;
        width: 94%;
        height: auto;
        margin: 0 auto;
        padding-bottom: 60px;
    }

    .drag-handle {
        top: -25px;
        right: 10px;
        width: 20px;
        height: 20px;
        text-align: center;
        font-size: 1rem;
        line-height: 1.3;
        color: #00C0C0;
        background-color: white;
    }

    .help-button {
        width: 33px;
        height: 33px;
        top: 10px;
        right: 10px;
    }

    .back-button {
        width: 33px;
        height: 33px;
        top: 10px;
        left: 10px;
    }
}