/* Styles specific to the Merge PDF tool */

.drop-area {
    border: 2px dashed #2196F3;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background-color: #f7fafd;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .drop-area:hover, .drop-area.active {
    background-color: #e3f2fd;
  }
  
  .drop-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .icon {
    font-size: 36px;
    color: #2196F3;
    background-color: rgba(33, 150, 243, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
  }
  
  .drop-message p {
    color: #555;
    font-size: 16px;
  }
  
  .selected-files {
    margin: 20px 0;
  }
  
  #fileList {
    list-style: none;
    margin: 15px 0;
  }
  
  .file-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
  }
  
  .file-icon {
    background-color: #2196F3;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
  }
  
  .file-icon img {
    width: 24px;
    height: 24px;
  }
  
  .file-info {
    flex-grow: 1;
  }
  
  .file-name {
    font-weight: bold;
    margin-bottom: 3px;
    word-break: break-word;
  }
  
  .file-size {
    font-size: 12px;
    color: #666;
  }
  
  .file-actions {
    display: flex;
    gap: 5px;
  }
  
  .move-up, .move-down, .remove-file {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
  }
  
  .move-up:hover, .move-down:hover, .remove-file:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  .remove-file {
    color: #f44336;
  }
  
  .preview-container {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
  }
  
  .preview-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .result-info {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  
  .result-info p {
    color: #2e7d32;
  }
  
  /* Drag and drop visual cue */
  .file-item.dragging {
    opacity: 0.5;
  }
  
  .file-item.drag-over {
    border-bottom: 2px solid #2196F3;
  }
  
  @media (max-width: 650px) {
    .drop-area {
      padding: 20px;
    }
    
    .file-item {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .file-info {
      margin: 10px 0;
      width: 100%;
    }
    
    .file-actions {
      width: 100%;
      justify-content: flex-end;
    }
  }