/* Général */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Titre principal */
h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

/* Image */
img {
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}





/* Liste */
ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

ul li {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

ul li:hover {
    background-color: #eaf4ff;
    transform: translateX(5px);
}

/* Tableau des étapes */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
}

table th {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Formulaire d'avis */
.review-form {
    margin-top: 30px;
}

.review-form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
    margin-bottom: 15px;
    font-size: 1rem;
}

.review-form button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.review-form button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.rating {
    display: flex;
    flex-direction: row-reverse; /* Permet un meilleur comportement UX */
    justify-content: start;
    gap: 10px; /* Espacement entre les étoiles */
}

.rating-text {
    font-size: 20px;
    font-weight: bold;
    color: #333; /* Couleur foncée pour bien ressortir */
    margin-left: 10px;
}





/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .ingredients-grid {
        gap: 10px;
    }

    .ingredient-item {
        width: 100px;
    }

    table th,
    table td {
        padding: 10px;
    }
}