  /* Custom styles for centering the toast container on both axes */
#toastContainer {
  position: fixed;
  top: 50%;
  /* Center vertically */
  left: 50%;
  /* Center horizontally */
  transform: translate(-50%, -50%);
  /* Offset by half of the toast's width and height */
  z-index: 1050;
  /* Ensure it's above other content */
}


#toastMessage {
  min-width: 300px;
  /* Ensure it's wide enough */
  border-left: 4px solid #007bff;
  /* Add a colored border for prominence */
  background-color: #ffffff;
  /* Toast background color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* Add shadow for better visibility */
}

.toast-body {
  color: #343a40;
  /* Text color for contrast */
}


#toastContainer.show {
  display: block;
}

#searchButton {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  border-radius: 4px;
}

#searchResultsList {
  margin-top: 20px;
}

#searchResultsList>li {
  background-color: #f8f8f8 !important;
  list-style: none;
  padding: 8px 15px;
  margin-left: -40px;
  margin-bottom: 8px;
  border-radius: 7px;
  box-shadow: 1px 1px 3px -1px #a3a3a3;
}

#searchResultsList button {
  float: right;
  font-size: 0.8rem;
  border-radius: 106px;
  height: 25px;
  width: 25px;
}

.orderForm {
  display: none;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.customer-search {
  max-width: 100%;
}

#searchResultsList {
  list-style: none;
  width: 100%;
}

#searchResultsList li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.add-to-form-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #007bff;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}

.add-to-form-button i {
  margin: 0;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
  .search-result-item {
    flex-direction: row;
    /* Keep items in a row */
  }

  .customer-info {
    flex-grow: 1;
    /* Allow customer info to grow and fill space */
    margin-right: 10px;
    /* Add space between info and button */
  }

  .add-to-form-button {
    flex-shrink: 0;
    /* Prevent the button from shrinking */
  }
}


/* Styles for search result items */
.search-result-item {
  background-color: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customer-info {
  flex-grow: 1;
}

.customer-name,
.customer-email,
.customer-company,
.customer-address {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.customer-name strong,
.customer-email strong,
.customer-company strong,
.customer-address strong {
  font-weight: 600;
}

.add-to-form-button {
  background-color: #0056b3;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-to-form-button i {
  margin-left: 8px;
}

.add-to-form-button:hover {
  background-color: #003d82;
}

