/* Boutons génériques */
.action-button {
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button i {
    margin-right: 8px;
}

.fixed-width-button {
    width: 180px;
    text-align: center;
    justify-content: center;
    padding: 10px 15px;
}

/* Boutons spécifiques */
.upload-button {
    background-color: #4CAF50;
    flex: 1;
}

.upload-button:hover {
    background-color: #45a049;
}

.upload-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #888;
    pointer-events: none;
}

.compile-button {
    background-color: #3498db;
    flex: 1;
}

.compile-button:hover {
    background-color: #2980b9;
}

.delete-all-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.delete-all-button i {
    margin-right: 5px;
}

.delete-all-button:hover {
    background-color: #c0392b;
}

.delete-all-button:disabled {
    background-color: #e74c3c;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sélecteur de modèle */
.model-selector-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 5px;
    flex-shrink: 0;
}

.model-selector-container label {
    margin-right: 10px;
    font-weight: 500;
}

#model-selector {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

#model-selector:focus {
    border-color: #4CAF50;
}

/* Barres de progression */
.progress-container {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 20px;
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

/* pour les commentraires */
.eval-comment {
    font-family: inherit; /* hérite la police du parent */
    font-size: inherit;   /* hérite la taille du texte */
    line-height: inherit; /* hérite l'interligne */
    color: inherit;       /* hérite la couleur du texte */
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}