/* ===== ASIDE MENU ===== */

.content-wrapper {
    padding-left: 0px;
}

@media (min-width: 992px) {
    .content-wrapper {
        padding-left: 60px;
    }
}



.aside-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 60px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-right: 1px solid var(--bs-border-color);
  transition: width 0.3s ease-in-out;
  z-index: 1050;
  overflow-y: auto;
  overflow-x: hidden;
}
.aside-menu.expanded {
  width: 240px;
}

/* Заголовок меню (крестик только в мобилке) */
.aside-menu .menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
}
.aside-menu .menu-header .close-btn {
  display: none;
  color: var(--bs-body-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Список ссылок */
.aside-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aside-menu ul li a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--bs-body-color);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  cursor: pointer;
}
.aside-menu ul li a:hover {
  background: var(--bs-tertiary-bg);
}
.aside-menu ul li a i {
  min-width: 30px;
  text-align: center;
  font-size: 1.2rem;
}
.aside-menu ul li a span {
  margin-left: 10px;
  display: none;
}
.aside-menu.expanded ul li a span {
  display: inline;
}

/* Overlay */
.aside-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

/* Mobile */
@media (max-width: 991px) {
  .aside-menu {
    width: 0;
  }
  .aside-menu.expanded {
    width: 100%;
  }
  .aside-menu .menu-header .close-btn {
    display: block;
  }
  .aside-menu ul li a span {
    display: inline;
  }
}

/* Кнопка открытия (бургер) */
/*.aside-toggle {*/
/*  display: none;*/
/*  position: fixed;*/
/*  top: 15px;*/
/*  left: 15px;*/
/*  z-index: 1100;*/
/*  font-size: 1.5rem;*/
/*  cursor: pointer;*/
/*  color: var(--bs-body-color);*/
/*}*/
/*@media (max-width: 991px) {*/
/*  .aside-toggle {*/
/*    display: block;*/
/*  }*/
/*}*/
