
 
    h1 {
      text-align: center;
      color: #444;
    }
    input[type="file"] {
      display: block;
      margin: 20px auto;
      padding: 10px;
    }
    .preview {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }
    .page {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 120px;
      margin: 10px;
    }
    canvas {
      width: 100px;
      height: auto;
      border: 1px solid #ddd;
      margin-bottom: 5px;
    }
    button {
      background:#2a82fff5;
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 5px;
      cursor: pointer;
    }
    button:hover {
      background: #0056b3;
    }
    .footer {
      text-align: center;
      margin-top: 20px;
    }
    .checkbox-container {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 15px;
    }
    .upload-container {
      display: block;
      text-align: center;
      margin-top: 20px;
    }
    

    /* Upload container styling */
.upload-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 2px dashed #0073e6;
  border-radius: 10px;
  max-width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: border-color 0.3s ease;
}


/* File input styling */
#fileInput {
  font-size: 2333px;
  color: #0073e6;
  border: none;
  background-color: transparent;
  cursor: pointer;
  text-align: center;
  outline: none;
  opacity: 0; /* Hide the native file input */
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Custom button for file input */
.upload-container::before {
  content: "Select PDF";
  font-size: 16px;
  color: #fff;
  background-color: #0073e6;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
