body {
  font-family: Arial, sans-serif;
  margin: 20px;
}
button {
  padding: 10px 15px;
  background-color: #00796b;
  color: white;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
}
button:hover {
  background-color: #004d40;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
.productHeader {
  background-color: #f2f2f2;
  min-height: 30px;
  padding: 6px;
  font-size: 12px;
}
.loading {
  color: #666;
  font-style: italic;
}
.error {
  color: red;
}
#productsTable {
}
.products_content {
    display: grid;
    grid-template-columns: repeat(11,1fr);
    grid-template-rows: auto;
}
.product_item {
    min-height: 30px;
    padding: 6px;
    font-size: 12px;
}
/* Поисковая область */
.search-wrapper {
  position: relative;
  width: 320px;
  margin: 20px auto;
}

.search-field {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
  outline: none;
}

.search-field:focus {
  border-color: #007bff;
}

.search-icon {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  padding: 0 12px;
  background: #007bff;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

.search-icon i {
  color: white;
  font-size: 16px;
}

/* Выпадающий список подсказок */
.suggestions-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.suggestions-list.show {
  display: block;
}

.suggestion-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #333;
}

.suggestion-item:hover {
  background-color: #f8f9fa;
}
.suggestion-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-item:hover {
  background-color: #f8f9fa;
}