.controls {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.controls label {
    font-weight: bold;
    white-space: nowrap;
}

.controls input, .controls select {
    padding: 5px;
    min-width: 80px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.controls button {
    padding: 5px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.controls button:hover {
    background-color: #45a049;
}

.value-box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.value-label {
    font-weight: bold;
}
/* Основной контейнер с результатами */
.container_heasssser-tools {
    display: flex;
    flex-direction: column; /* Элементы в колонку */
    /* margin-left: auto; Прижимаем блок к правому краю */
    min-width: 300px; /* Фиксированная ширина блока */
    width: 100%;
}

/* Каждый блок с результатом */
.result-box {
    display: flex;
    justify-content: space-between; /* Название слева, значение справа */
    margin-bottom: 8px;
    width: 80%; 
}

.result-label {
    font-weight: bold;
    margin-right: 15px; /* Отступ между названием и значением */
}

.result-value {
    font-weight: bold;
    color: #2e7d32;
    text-align: right;
    min-width: 100px; /* Фиксированная ширина для значений */
}

.remove-group {
    margin-left: auto;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-weight: bold;
}

.reset-fire {
    padding: 5px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.group-count-input {
    width: 50px;
    padding: 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}


/* Пример стилей для таблицы */
.result-table {
  width: 100%;
  border-collapse: collapse; /* Убирает двойные границы */
}

.result-table tr {
  border-bottom: 1px solid #eee; /* Разделитель между строками */
  border-radius: 20px;
  width: 100%;
}

.result-table th,
.result-table td {
  padding: 5px 5px; /* Отступы внутри ячеек */
}

.result-label{
    text-align: left;
}


.result-table tr:hover {
  background-color: #d8e7f1; /* Отступы внутри ячеек */
  transition: 0.4s;
}

/* .result-table .result-value th,
.result-table .result-value td {
    text-align: right;
} */
