/* Стили для блока контактов в основной навигации */
.NewNavBar_Content_LeftNav_LinkViewBlock {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Скрываем блок контактов по умолчанию */
.NewNavBar_Content_LeftNav_LinkView_LinkBlock {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: #404040;
  border: 2px solid #606060;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transition-delay: 0s;
  z-index: 1000;
  pointer-events: none;
}

/* Показываем блок контактов при наведении на весь контейнер */
.NewNavBar_Content_LeftNav_LinkViewBlock:hover .NewNavBar_Content_LeftNav_LinkView_LinkBlock {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Стили для ссылок в блоке контактов */
.NewNavBar_Content_LeftNav_LinkView_Link_Link {
  display: block;
  color: #d3d3d3 !important;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  font-size: 13px;
  margin-bottom: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.NewNavBar_Content_LeftNav_LinkView_Link_Link:hover {
  background-color: #505050;
  color: #6178e7 !important;
}

.NewNavBar_Content_LeftNav_LinkView_Link_Link:last-child {
  margin-bottom: 0;
}

/* Стили для мобильного меню dropdown */
.NewDropDown {
  position: relative;
}

.NewDropDownMenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #404040;
  border: 2px solid #606060;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transition-delay: 0.3s;
  z-index: 1000;
  pointer-events: none;
}

/* Показываем dropdown при наведении на весь контейнер */
.NewDropDown:hover .NewDropDownMenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Стили для элементов dropdown */
.NewDropDownMenu .dropdown-item {
  display: block;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  text-decoration: none;
  margin-bottom: 5px;
  cursor: pointer;
  color: #d3d3d3 !important;
  position: relative;
  z-index: 1001;
}

.NewDropDownMenu .dropdown-item:hover {
  background-color: #505050;
  color: #6178e7 !important;
}

.NewDropDownMenu .dropdown-item:last-child {
  margin-bottom: 0;
}

/* Улучшение hover-эффекта для заголовка блока контактов */
.NewNavBar_Content_LeftNav_LinkView_Title {
  transition: all 0.2s ease;
}

.NewNavBar_Content_LeftNav_LinkViewBlock:hover .NewNavBar_Content_LeftNav_LinkView_Title {
  transform: translateY(-2px);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .NewNavBar_Content_LeftNav_LinkView_LinkBlock {
    position: relative;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
    position: static;
    pointer-events: auto;
  }

  .NewDropDownMenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
    pointer-events: auto;
  }
}
