body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f4f4f4;
}
.form-container {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  min-width: 400px;
  aspect-ratio: 9/12;
}

.form-section {
  display: none;
}

.form-section > textarea {
  font-size: 12px;
}
.form-section button {
  float: right;
}

.commodity-wrapper {
  display: flex;
}

.commodity-container {
  margin: 5px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}

h2 {
  margin-top: 0;
}
label {
  display: block;
  margin-bottom: 5px;
}
select,
textarea,
input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
textarea {
  resize: none;
}
.autocomplete-suggestions {
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  z-index: 1000;
  background-color: #fff;
}
.autocomplete-suggestion {
  padding: 10px;
  cursor: pointer;
}
.autocomplete-suggestion:hover {
  background-color: #f0f0f0;
}
.inline-inputs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.inline-inputs input {
  flex: 1;
}

.autocomplete-suggestions {
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  z-index: 1000;
  background-color: white;
  width: 250px;
}
.autocomplete-suggestion {
  padding: 10px;
  cursor: pointer;
}
.autocomplete-suggestion:hover {
  background-color: #f0f0f0;
}
.selected-items {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: scroll;
  height: 100px;
}
.selected-item {
  font-size: 12px;
  display: flex;
  align-items: center !important;
  justify-content: space-between;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.selected-item > select {
  display: flex;
  height: auto;
  padding: 1px;
  width: auto;
  margin: 0;
}

.selected-item > select > option {
  height: 100%;
}
.remove-btn {
  background-color: #ff4d4d;
  border: none;
  color: white;

  cursor: pointer;
  height: 25px;
}
.size-color {
  display: flex;
  margin-top: 10px;
}
