.config-buttons {
    /* //display: flex; */
    gap: 12px;
    margin: 15px 0;
    position: relative;
    top: 10px;
    left: 20px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.icon-btn:active {
    background-color: rgba(0, 0, 0, 0.2);
}

.icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

/* Для SVG иконок */
.icon use {
    fill: #555;
    /* Цвет иконок */
}

.icon-btn:hover .icon use {
    fill: #000;
}




/* Добавьте эти стили в ваш CSS */
/* Добавьте эти стили в ваш CSS файл */
.container_header-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
    gap: 10px;
}

.add-sensor-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.add-sensor-btn img {
    width: 24px;
    height: 24px;
}

.add-sensor-btn:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
}

.container_header-tools h3 {
    margin: 0;
    flex-grow: 1;
    white-space: nowrap;
    text-align: center;
}

.settings-buttons-container {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.settings-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    background-color: #6b6b6b0a;
    border-radius: 4px;
}

.chart-section .settings-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    margin-left: 0px;
    /* padding-top: 3px; */
    display: flex;
    align-items: center;
    /* background-color: #6b6b6b0a; */
    border-radius: 4px;
}

.settings-button img {
    width: 32px;
    height: 32px;
}

.settings-button:hover {
    background-color: #6b6b6b86;
    border-radius: 4px;
}

.line-results {
    position: relative;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.line-results h3 {
    margin: 0;
    flex-grow: 1;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .settings-buttons-container {
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос на новую строку */
    justify-content: center;
    gap: 5px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .settings-button {
    flex-shrink: 0;
    min-width: 44px; /* Минимальный размер для удобства касания */
  }
  
  .container_header-tools {
    flex-direction: column; /* Вертикальное расположение */
    align-items: stretch;
    gap: 15px;
  }
  
  /* Заголовок */
  .container_header-tools h3 {
    text-align: center;
    order: -1; /* Перемещаем заголовок вверх */
  }
  
  /* Кнопка добавления датчиков */
  #add-sensor-group {
    align-self: flex-start; /* Выравниваем по левому краю */
  }
}