/* Style du bouton sticky */
#recettage-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#recettage-button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
}

#recettage-button:hover {
    background-color: #005177;
}

/* Style du formulaire */
#recettage-form {
    position: absolute;
    bottom: 50px;
    right: 0;
    background: white;
    padding: 15px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    width: 250px;
}

#recettage-form input, 
#recettage-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

#recettage-envoyer {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease-in-out;
}

#recettage-envoyer:hover {
    background-color: #218838;
}

/* Table admin */
.wrap table.wp-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.wrap table.wp-list-table th, 
.wrap table.wp-list-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.wrap table.wp-list-table th {
    background: #f4f4f4;
}

/* Miniatures des captures */
.wrap table.wp-list-table img {
    max-width: 100px;
    border-radius: 3px;
}

/* Fond vert pour les feedbacks "Fait" */
.recettage-etat-fait {
    background-color: #d4edda !important; /* Vert clair */
    color: #155724 !important; /* Texte foncé */
}

/* Fond orange pour les feedbacks "Besoin d’infos" */
.recettage-etat-info {
    background-color: #fff3cd !important; /* Orange clair */
    color: #856404 !important; /* Texte foncé */
}
