@charset "UTF-8";
@media screen and (orientation: portrait) {
  header {
    height: 6.5rem;
  }
}
header {
  height: 3.5rem;
  background-color: #0d1824;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1607843137);
  position: sticky;
  right: 0;
  top: 0;
  left: 0;
  z-index: 99;
}
header nav {
  height: 3.5rem;
  margin: 0;
  padding: 0;
}

.buttons_row {
  height: 3.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.logo {
  cursor: pointer;
  height: 2.5rem;
  width: 3.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(../../images/wheat_1.png);
}

#menu_button #openMenu_button {
  height: 40px;
  width: 40px;
  margin: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px; /* Відступ між лініями бургера */
  padding: 0;
  filter: brightness(0) saturate(100%) invert(83%) sepia(25%) saturate(4287%) hue-rotate(335deg) brightness(95%) contrast(85%);
}
#menu_button #openMenu_button span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff; /* Базовий колір ліній до фільтра */
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
#menu_button #openMenu_button.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#menu_button #openMenu_button.active span:nth-child(2) {
  opacity: 0; /* Середня лінія зникає */
  transform: scale(0);
}
#menu_button #openMenu_button.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

#navbarSupportedContent {
  position: absolute;
  right: 60px;
  top: 13px;
  z-index: 100;
  opacity: 0;
  pointer-events: none; /* Щоб меню не клікалося, поки воно приховане */
  transform: translateY(-10px); /* Зсуваємо трохи вгору */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
#navbarSupportedContent.show {
  opacity: 1;
  pointer-events: auto; /* Повертаємо клікабельність */
  transform: translateY(0); /* Повертаємо на своє місце */
}

.logout_button a {
  margin: 2px 14px;
  background-color: #1e293b;
  color: #ffffff;
  height: 40px;
  display: block;
  padding: 4px;
  line-height: 30px;
  border: solid 1px rgba(0, 0, 0, 0.2705882353);
  border-radius: 7px;
  text-decoration-line: none;
  min-width: 79px;
  text-align: center;
  font-weight: 100;
  transition-property: background-color;
  transition-duration: 200ms !important;
  width: 120px;
}

.logout_button a:hover {
  background-color: #334155;
}

.menu_group {
  background-color: #0b121c; /* Темніша підкладка під блоки */
  border: solid 1px rgba(0, 0, 0, 0.2705882353);
  border-radius: 10px; /* Закруглення кутів спільної плашки */
  padding: 6px 0; /* Внутрішні відступи зверху та знизу */
  display: flex;
  flex-direction: column; /* Вишиковуємо елементи вертикально */
  width: 148px; /* Ширина з урахуванням внутрішніх відступів */
}
.menu_group .nav_button a, .menu_group .logout_button a {
  margin: 2px 14px;
  background-color: #1e293b; /* Оригінальний колір кнопок */
  color: #ffffff;
  height: 40px;
  display: block;
  padding: 4px;
  line-height: 30px;
  border-radius: 7px;
  text-decoration-line: none;
  text-align: center;
  font-weight: 100;
  transition-property: background-color;
  transition-duration: 200ms !important;
  border: none; /* Прибираємо рамки */
}
.menu_group .nav_button a:hover, .menu_group .logout_button a:hover {
  background-color: #334155; /* Оригінальний колір при наведенні */
}
.menu_group .logout_button {
  margin-top: 8px; /* Невеликий відступ зверху */
  position: relative;
}
.menu_group .logout_button::before {
  content: "";
  position: absolute;
  top: -5px; /* Лінія лягає чітко над кнопкою */
  left: 14px;
  right: 14px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.0823529412); /* Легка напівпрозора лінія */
}
.menu_group .nav_button button {
  margin: 2px 14px;
  background-color: #1e293b; /* Оригінальний колір кнопок */
  display: block;
  padding: 4px;
  line-height: 30px;
  border-radius: 7px;
  text-decoration-line: none;
  text-align: center;
  font-weight: 100;
  transition-property: background-color;
  transition-duration: 200ms !important;
  border: none; /* Прибираємо рамки */
}
.menu_group .nav_button button.license_good {
  color: rgb(0, 255, 0);
}
.menu_group .nav_button button.license_warning {
  color: rgb(255, 255, 0);
}
.menu_group .nav_button button.license_bad {
  color: rgb(255, 0, 0);
}/*# sourceMappingURL=header.css.map */