body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
  }
  
  h1 {
    color: #333;
    margin-top: 50px;
    text-align: center;
  }
  
  h5 {
    color: #aaaaaa;
    margin-top: 30px;
    text-align: center;
  }
  
  #drop_zone {
    width: 300px;
    height: 200px;
    padding: 10px;
    border: 5px dashed #aaaaaa;
    margin: 50px auto;
    text-align: center;
    color: #aaaaaa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;
  }
  
  input[type="file"] {
    display: none;
  }
  
  input[type="submit"] {
    display: block;
    width: 300px;
    padding: 10px 20px;
    background-color: #217346;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px auto;
    display: none;
  }
  
  #control_wrapper {
    display: flex;
    justify-content: space-between;
    width: 300px;
    margin: 20px auto;
  }
  
  #control_wrapper button {
    flex-grow: 1;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
  }
  
  #prev_day {
    background-color: #6b8fc0;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    flex-basis: 20%;
    margin-right: 5px;
  }
  
  #ops_daily {
    background-color: #2b5fa5;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: 60%;
  }
  
  #next_day {
    background-color: #6b8fc0;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    flex-basis: 20%;
    margin-left: 5px;
  }
  
  #ops_daily_label {
    color: white;
    font-size: 14px;
    font-weight: bold;
  }
  
  input[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  #pdf_thumbnail {
    max-width: 70%;
    max-height: 70%;
  }
  
  #email_input {
    display: block;
    width: 280px;
    padding: 10px;
    margin: 20px auto;
    border: 1px solid #cccccc;
    border-radius: 5px;
  }
  
  #extra_submit_button {
    display: block;
    width: 300px;
    padding: 10px 20px;
    background-color: #ccc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
    margin: 20px auto;
  }
  
  footer {
    background-color: #f3f3f3;
    color: #333;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 0.9em;
  }
  
  footer img {
    height: 20px;
    width: 20px;
    margin-right: 10px;
  }
  
  #manual_conversion_button {
    display: block;
    width: 300px;
    padding: 10px 20px;
    background-color: transparent;
    color: #666;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px auto;
    text-align: center;
  }

  #popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  #popup.show {
      display: block;
  }
  #popup p {
      margin: 0;
      font-size: 16px;
      color: #333;
  }
  #popup button {
      display: block;
      width: 100%;
      padding: 10px;
      margin-top: 20px;
      background-color: #217346;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
  }
  #popup_overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 500;
  }
  #popup_overlay.show {
      display: block;
  }
  #popup_success {
      display: none;
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      background-color: white;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
  }
  #popup_success.show {
      display: block;
  }
  #popup_success p {
      margin: 0;
      font-size: 16px;
      color: #333;
  }
  #popup_success button {
      display: block;
      width: 100%;
      padding: 10px;
      margin-top: 20px;
      background-color: #217346;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
  }
  #popup_overlay.show {
      display: block;
  }

  .footer-icon {
    width: 20px;
    height: 20px;
    vertical-align: top;
    margin-right: 5px;
  }


