/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 11 oct. 2025, 10:11:33
    Author     : Honorine 2N
*/

/* Fichier: styles.css */

/* --- Styles de la Modale (Réutilisés du cas précédent) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); 
}
.modal-content {
    background-color: #fefefe;
    margin: 8% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%; 
    max-width: 550px; 
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.close-btn {
    color: #aaa;
    float: right; 
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover, .close-btn:focus {
    color: #000;
}
.main-cta-button {
    padding: 12px 20px;
    font-size: 1.1em;
    background-color: #2a6496;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.submit-button {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


/* --- Styles de Notation par Étoiles (NOUVEAU) --- */
.stars-rating {
    display: flex;
    justify-content: center; /* Centre les étoiles horizontalement */
    font-size: 2.5em; /* Taille des étoiles */
    margin: 20px 0;
}

/* Style de chaque étoile (caché par défaut pour être affiché par le JS) */
.star {
    cursor: pointer;
    color: #ccc; /* Couleur par défaut (gris) */
    transition: color 0.2s;
}

/* Couleur Dorée (activée par le survol ou le JS) */
.star.hovered, .star.selected {
    color: gold; 
}

/* --- Styles de Feedback --- */
.feedback-display {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
}
#scoreReadonly {
    padding: 5px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    border: 1px solid #ddd;
    background-color: #f4f4f4;
    width: 100%;
}
.feedback-box {
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    color: white;
    min-height: 20px;
}

/* Couleurs de Feedback (DOIT CORRESPONDRE AUX CLASSES JS) */
.feedback-box.excellent { background-color: #28a745; }
.feedback-box.good { background-color: #007bff; }
.feedback-box.average { background-color: #ffc107; color: #333; }
.feedback-box.low-pass { background-color: #fd7e14; }
.feedback-box.fail { background-color: #dc3545; }
.feedback-box.invalid { background-color: #6c757d; }