v/* main.css */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  color: #333;
  margin: 0;
  padding: 0;

}

h1 {
 
  color: black;
  padding: 20px;
  margin-bottom: px;
}


label {
  font-weight: bold;
  display: inline-block;
  width: 180px;
}

input, select {
  margin-bottom: 10px;
}

button {
  background-color: #24a0ed;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
}

button:hover {
  background-color: #5A5A5A;
}

output, p {
  margin-bottom: 20px;
  line-height: 20px;


}

#outputTextarea {
  border: 1px solid #ccc;
  padding: 15px;
  background-color: #fff;
  min-height: 350px;
  width: 20%;
  resize: none;
 margin-right: 13%;
}

#fullItemList {
  border: 1px solid #ccc;
  padding: 15px;
  background-color: #fff;
  min-height: 200px;
  width: 100%;
  overflow: auto;
}

/* Optional styling for print content */
@media print {
  body {
    font-size: 12pt;
  }

  h1 {
    font-size: 18pt;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}

.popup-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  width: 300px;
  text-align: center;
}

.popup-container h2 {
  margin-top: 0;
}

.popup-container input[type="text"] {
  display: block;
  margin: 20px auto;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.popup-container .buttons {
  display: flex;
  justify-content: space-around;
}

.popup-container button {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
}

.popup-container button:hover {
  background-color: #0069d9;
}

.popup-container button:active {
  background-color: #005cbf;
}

.form-wrapper {
  width: 90%;
  margin: 0 auto;
  border-radius: 20px;
  line-height: 10px;
}

label, select, input[type="number"] {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  font-size: 1em;
}

button {
  font-size: 1em;
  padding: 10px 20px;
}

@media (min-width: 768px) {
  /* adjust styles for larger screens */
  .form-wrapper {
    width: 20%;
    line-height: 3px;

  width: 50%;
  float: left;
}
  
  label, select, input[type="number"] {
    max-width: 300px;
    height: 30px;

  }
}

.form-wrapper {
  width: 90%;
  margin: 0 auto;
  border-radius: 20px;
  display: inline-block; /* add this line */
}

@media (min-width: 768px) {
  /* adjust styles for larger screens */
  .form-wrapper {
    width: 50%;
    float: left;
  }

  /* add a new selector for the output text */
  #outputTextarea {
    width: 25%;
    float: right;
    margin-top: 5%; /* adjust the margin to align with the form wrapper */
    margin-right: 20%;
  }
}