﻿.hotkeys-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-left: 1rem;
  flex: 1 1 0;
}

.hotkey-block {
  display: flex;
  flex-direction: column;
  min-width: 80px;
  max-width: 100px;
}

.hotkey-block input {
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
}

.hotkey-block input[type="text"] {
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  outline: none;
}

.hotkey-block input[type="text"]:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.hotkey-conflict {
  border-color: #f87171 !important;   /* красная рамка */
  box-shadow: 0 0 0 1px #fca5a5;      /* лёгкая подсветка */
  background-color: #2f1b1b;          /* чуть подкрашенный фон */
}

.hotkey-block label {
  display: flex;
  align-items: center;
  gap: 6px;            /* расстояние между иконкой и текстом */
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #e5e7eb;
}

.hotkey-block label .icon {
  width: 18px;
  height: 18px;
  stroke: rgb(255, 255, 255);       /* влияет на линии */
  fill: none;          /* или поменять на white для заливки */
}

/* input и layout оставляем как было */

.hotkey-inline-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hotkey-inline-row input[type="number"] {
  flex: 1;
}


.settings-panel
{
  height:auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.3rem;
  padding:0; /* 2rem 1rem 1rem;*/
  overflow: visible;
}


