/* Styles de base pour le PDF merger */
.pdf-merger-container {
    background-color: #ffffff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdf-list-board {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 300px;
}

.pdf-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
}

.pdf-file-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    cursor: grab;
    position: relative;
}

.pdf-file-item:hover {
    border-color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
}

.pdf-file-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.pdf-file-preview {
    flex-shrink: 0;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.pdf-file-info {
    flex-grow: 1;
    min-width: 0;
}

.pdf-file-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    word-break: break-word;
}

.pdf-file-details {
    display: flex;
    gap: 15px;
    font-size: 0.875rem;
    color: #7f8c8d;
}

.pdf-file-size, .pdf-file-pages {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pdf-file-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pdf-file-handle {
    cursor: grab;
    color: #95a5a6;
    font-size: 1.2rem;
    padding: 5px;
}

.pdf-file-handle:hover {
    color: #7f8c8d;
}

.pdf-file-remove {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pdf-file-remove:hover {
    background: #fee;
    color: #c0392b;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #bdc3c7;
    border: 2px dashed #ecf0f1;
    border-radius: 8px;
    margin-top: 20px;
}

.empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sortable-ghost {
    opacity: 0.4;
}

.sortable-drag {
    background: #f8f9fa;
    border-color: #e74c3c;
    transform: rotate(3deg);
}

/* Ordre des fichiers */
.pdf-file-order {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}
