/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
  }
  
  .container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
  }
  
  header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  header h1 {
    font-size: 2rem;
    margin: 0;
    color: #007bff;
  }
  
  header p {
    font-size: 1rem;
    color: #666;
  }
  
  /* Upload Section */
  .upload-section {
    margin-bottom: 1.5rem;
  }
  
  .upload-label {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    text-align: center;
  }
  
  .upload-label:hover {
    background-color: #0056b3;
  }
  
  .upload-label input {
    display: none;
  }
  
  /* Quality Section */
  .quality-section {
    margin-bottom: 1.5rem;
  }
  
  .quality-section label {
    font-size: 1rem;
    margin-right: 10px;
  }
  
  .quality-section select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 1rem;
  }
  
  /* Buttons */
  button {
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    margin: 10px 0;
  }
  
  .btn-primary {
    background-color: #007bff;
    color: white;
  }
  
  .btn-primary:hover {
    background-color: #0056b3;
  }
  
  .btn-secondary {
    background-color: #28a745;
    color: white;
    display: none;
  }
  
  .btn-secondary:hover {
    background-color: #218838;
  }
  
  /* Progress Bar */
  .progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin: 1.5rem 0;
    display: none;
  }
  
  .progress {
    height: 10px;
    background-color: #007bff;
    width: 0;
    transition: width 0.3s ease;
  }
  
  /* Output Grid */
  .output-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .output-grid img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .output-grid img:hover {
    transform: scale(1.05);
  }