/* Styles pour la page d'historique */
.history-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.history-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.history-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.history-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

#select-all {
    background-color: #666666;
    color: white;
}

#deselect-all {
    background-color: #999999;
    color: white;
}

#toggle-selection {
    background-color: #666666;
    color: white;
}

#delete-selected {
    background-color: #333333;
    color: white;
}

.history-actions button:hover {
    opacity: 0.9;
}

.history-list {
    max-height: 600px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.history-item:hover {
    background-color: #f8f9fa;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item .conversion-checkbox {
    margin-right: 10px;
}

.history-item .file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.history-item .file-info p {
    margin: 0;
    font-size: 13px;
    color: #333;
    line-height: 1.2;
}

.history-item .file-info p:first-child {
    font-weight: bold;
    margin-bottom: 2px;
}

.history-item .actions {
    margin-left: 10px;
}

.history-item .download-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.3s;
}

.history-item .download-btn:hover {
    background-color: #1976D2;
}

/* Message quand il n'y a pas de conversions */
.history-list p {
    text-align: center;
    color: #666;
    padding: 20px;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .history-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .history-item .file-info {
        margin: 5px 0;
    }

    .history-item .actions {
        margin-left: 0;
        width: 100%;
        text-align: right;
        margin-top: 5px;
    }

    .history-actions {
        flex-wrap: wrap;
    }

    .history-actions button {
        flex: 1;
        min-width: 120px;
    }
} 