/* General Styles */
.maincontainer {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
 
  .header1 {
    text-align: center;
    margin: 20px 0;
  }
  
  .header1 h1 {
    font-size: 2.5rem;
    color: #4a90e2;
  }
  
  .header1 p {
    font-size: 1.2rem;
    color: #666;
  }
  
  main {
    width: 90%;
    max-width: 800px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* File Upload Section */
  #upload-section {
    text-align: center;
    margin: 20px 0;
  }
  
  #drop-zone {
    border: 2px dashed #4a90e2;
    border-radius: 10px;
    padding: 20px;
    background: #f9f9f9;
    cursor: pointer;
  }
  
  #drop-zone p {
    margin: 0;
    font-size: 1rem;
    color: #666;
  }
  
  #pdf-upload {
    display: none;
  }
  
  .upload-label {
    background: #4a90e2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    display: inline-block;
  }
  
  .upload-label:hover {
    background: #357abd;
  }
  
  #upload-status {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Conversion Status */
  #conversion-status {
    text-align: center;
    margin: 20px 0;
  }
  
  #status-message {
    font-size: 1rem;
    color: #666;
  }
  
  /* Advertisement Section */
  #advertisement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
  }
  
  .ad-small, .ad-large {
    background: #e0e0e0;
    color: #666;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
  }
  
  .ad-small {
    width: 300px;
    height: 100px;
  }
  
  .ad-large {
    width: 728px;
    height: 90px;
  }
  
  /* Image Display Section */
  #image-display {
    margin: 20px 0;
  }
  
  #image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  #image-container img {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  /* Action Buttons */
  #action-buttons {
    text-align: center;
    margin: 20px 0;
  }
  
  #action-buttons button {
    background: #4a90e2;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 10px;
  }
  
  #action-buttons button:disabled {
    background: #ccc;
    cursor: not-allowed;
  }
  
  #action-buttons button:hover:not(:disabled) {
    background: #357abd;
  }
  
  /* Footer */
  footer {
    text-align: center;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #666;
  }