

/**************************************************************/

body {
    margin: 0;
    padding: 0;
    display: flex;
}

.sidebar {
    width: 300px;
    min-height: 100vh;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.content {
    flex-grow: 1;
    padding: 20px;
}

.list-group-item.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
    cursor: pointer;
}

.list-group-item {
    cursor: pointer;
}

/* Эффект при наведении на пункт меню */
.list-group-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    transform: translateX(10px);
    background-color: #81bb46;
    border-radius: 10px;
}


/***********************************/
 /* Меню */
 
.top-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.top-nav .nav-link {
  color: #003366;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.top-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #007BFF;
  transition: width 0.3s ease;
}

.top-nav .nav-link:hover {
  color: #007BFF;
  background-color: #f1f1f1;
  border-radius: 5px;
}

.top-nav .nav-link:hover::after {
  width: 100%;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }

  .top-nav .nav-link {
    font-size: 16px;
  }
}
