/* Styles specific to the Compress PDF tool */

.drop-area {
    border: 2px dashed #FF9800;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background-color: #fff9f0;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .compression-notice {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
  }
  
  .notice-message {
    font-size: 16px;
    color: #2c3e50;
    font-weight: bold;
  }
  
  .drop-area:hover, .drop-area.active {
    background-color: #fff3e0;
  }
  
  .drop-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .icon {
    font-size: 36px;
    color: #FF9800;
    background-color: rgba(255, 152, 0, 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;
  }
  
  .file-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #fff3e0;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .file-preview {
    width: 50px;
    height: 70px;
    background-color: #FF9800;
    border-radius: 4px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .file-preview img {
    max-width: 100%;
    max-height: 100%;
  }
  
  .file-details {
    flex-grow: 1;
  }
  
  .file-details h3 {
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
  }
  
  .file-details p {
    margin: 3px 0;
    font-size: 14px;
    color: #666;
  }
  
  .compression-options {
    margin: 20px 0;
  }
  
  .option-cards {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 20px 0;
  }
  
  .option-card {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
  }
  
  .option-card:hover {
    border-color: #FF9800;
    background-color: #fff9f0;
  }
  
  .option-card.active {
    border-color: #FF9800;
    background-color: #fff3e0;
  }
  
  .option-card h3 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
  }
  
  .option-card p {
    font-size: 14px;
    color: #666;
  }
  
  .comparison {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
  }
  
  .comparison-item {
    text-align: center;
    padding: 0 10px;
  }
  
  .comparison-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
  }
  
  .comparison-item p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
  }
  
  .comparison-arrow {
    font-size: 24px;
    color: #666;
  }
  
  #reduction {
    color: #4CAF50;
  }
  
  .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;
  }
  
  @media (max-width: 650px) {
    .drop-area {
      padding: 20px;
    }
    
    .file-info {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .file-preview {
      margin-bottom: 10px;
    }
    
    .option-cards {
      flex-direction: column;
    }
    
    .comparison {
      flex-direction: column;
      gap: 15px;
    }
    
    .comparison-arrow {
      transform: rotate(90deg);
    }
  }