.autocomplete {
  position: relative; /* Position the suggestions below the input field */
  top: 10px; /* Offset from the bottom of the input field */
  left: 0; /* Align to the left of the input field */
  background-color: #fff; /* White background */
  border: 1px solid #ccc; /* Light gray border */
  border-radius: 4px; /* Rounded corners */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Slight shadow */
  overflow-y: auto; /* Allow scrolling if there are many suggestions */
  max-height: 200px; /* Limit the height of the suggestion list */
  width: 100%; /* Make the div the same width as the input field */
  z-index: 1; /* Ensure the suggestions appear above other elements */
}

.autocomplete li {
  padding: 5px 10px; /* Add some padding to each suggestion */
  cursor: pointer; /* Change cursor to a pointer on hover */
  white-space: nowrap; /* Prevent wrapping of suggestions */
  text-overflow: ellipsis; /* Truncate long suggestions */
}

.autocomplete li:hover {
  background-color: #f5f5f5; /* Highlight the suggestion on hover */
}

.tooltipQty {
  position: relative;
  display: inline-block;
}

.tooltipQty .tooltiptext {
  visibility: hidden;
  background-color: black;
  background: linear-gradient(to top, lightgrey 0%, lightgrey 1%, #e0e0e0 26%, #efefef 48%, #d9d9d9 75%, #bcbcbc 100%);
  color: #696969;
  text-align: center;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: 100%; /* Place the tooltip below the element */
  left: 50%;
  width: 250px;
  transform: translateX(-50%); /* Center the tooltip */
  border-radius: 6px; /* Rounded corners */
}

.tooltipQty:hover .tooltiptext {
  visibility: visible;
}

fieldset {
  border: 2px solid #ccc;
  padding: 10px;
  margin-bottom: 15px;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

legend {
  font-weight: bold;
  padding: 5px;
}

.pushbutton {
  display: inline-block;
  padding: 0px 20px;
  border: none;
  border-radius: 5px;
  font-size: 20px;
  cursor: pointer;
  height: 44px;
  position: relative; /* Needed for checkmark positioning */
}

.pushbutton span { /* Checkmark container */
  display: none;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.pushbutton.active span {
  display: block;
  color: #fff;
}

.pushbutton.active::before { /* Checkmark symbol */
  content: "\2714"; /* Checkmark unicode character */\
}

.pushbutton { /* Base button styles */
  background-color: #ddd;
  color: #333;
  text-align: center;
  font-size: 16px;
  transition: background-color 0.2s ease-in-out;
}

.pushbutton.active {
  background-color: #6fb9de; /* Blue on active */
}

/* The Edit Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 0px auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    top: 56px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.blink {
  animation: blinker 1s step-start infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}