.form_ingredient {
    height: 50px;
    font-size: 1.2em;
    margin-right: 5px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid gray;
    padding-left: 10px;
}

.ingredient_submit {
    background-color: red;
    color: white;
    font-size: 1.2em;
    width: 40%;
    height: 60px;
    border-radius: 30px;
    border: 1px solid red;
}

.ingredient_submit:hover {
    background-color: white;
    color: red;
    border: 1px solid red;
}

.ingredient_submit a {
    color: white;
    text-decoration: none;
}

.ingredient_submit:hover a {
    color: red;
}

.ingredient_cancel {
    background-color: white;
    color: red;
    border: 1px solid red;
    font-size: 1.2em;
    width: 40%;
    height: 60px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.ingredient_cancel:hover {
    background-color: red;
    color: white;
    border: 1px solid red;
}



.ui-datepicker {
    font-size: 1em;
    /* Taille de la police du calendrier */
    width: 100%;
}

/* Ajoutez des styles supplémentaires si nécessaire pour correspondre à votre design */
.ui-datepicker td a {
    padding: 1.2em;
}

.ui-datepicker-inline {
    width: 100%;
}

.ui-widget-content .ui-state-default {
    border: 0px solid gray;
}

.ui-datepicker table {
    background-color: whitesmoke;
}

.ui-widget.ui-widget-content {
    background-color: whitesmoke;
}


.ui-widget-content .ui-state-active {
    border: 0px solid #003eff;
    background: red;
    color: white;
}

.ui-datepicker-calendar .ui-state-default {
    text-align: center;
    /* Centre horizontalement */
    display: inline-block;
    /* Permet d'appliquer width et text-align */
    margin: 0 auto;
    /* Centrer dans la cellule du tableau */
}

.has-planification a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.has-planification a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    transform: translateX(-50%);
}

.ui-datepicker-calendar .ui-state-active {
    background-color: red !important;
    /* Couleur de fond */
    color: white !important;
    /* Couleur du texte */
    border-radius: 50%;
    /* Rend le fond circulaire */
    text-align: center;
    width: 1em;
    /* Ajustez la largeur */
    margin: 0 auto;
    display: inline-block;
}



.custom-checkbox {
    display: none; /* Masque la case à cocher par défaut */
}

.custom-checkbox + label {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid gray;
    cursor: pointer;
    margin-right: 10px;
    position: relative;
    border-radius: 5px;
}

.custom-checkbox:checked + label::after {
    content: '✔'; /* Signe de validation */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Couleur du signe de validation */
    background-color: red;
    width: 100%;
    text-align: center;
    border: 2px solid red;
    border-radius: 5px;
    font-size: 16px; /* Taille du signe de validation */
}

