.admin-sidebar {
  position: fixed;

  top: 0;
  left: 0;
  bottom: 0;

  z-index: 100;

  width: 250px;

  display: flex;
  flex-direction: column;

  background: #102d1c;

  color: #ffffff;

  border-right:
    1px solid
    rgba(255, 255, 255, 0.06);

  transition:
    width 180ms ease;
}


.admin-sidebar.is-collapsed {
  width: 76px;
}


.admin-sidebar__header {
  min-height: 74px;

  display: flex;
  align-items: center;

  padding: 0 16px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.08);
}


.admin-sidebar__brand {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 11px;

  color: #ffffff;

  text-decoration: none;

  overflow: hidden;
}


.admin-sidebar__brand-mark {
  width: 40px;
  min-width: 40px;
  height: 40px;

  border-radius: 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(255, 255, 255, 0.1);

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 0.04em;
}


.admin-sidebar__brand-copy {
  min-width: 0;

  display: grid;

  gap: 2px;

  white-space: nowrap;

  transition:
    opacity 150ms ease;
}


.admin-sidebar__brand-copy strong {
  font-size: 14px;
  font-weight: 800;
}


.admin-sidebar__brand-copy small {
  color:
    rgba(255, 255, 255, 0.58);

  font-size: 10px;
  font-weight: 600;
}


.admin-sidebar__nav {
  flex: 1;

  min-height: 0;

  overflow-y: auto;

  padding: 14px 10px;
}


.admin-sidebar__item {
  position: relative;

  min-height: 42px;

  margin-bottom: 4px;

  padding: 0 12px;

  border-radius: 9px;

  display: flex;
  align-items: center;

  gap: 11px;

  color:
    rgba(255, 255, 255, 0.72);

  text-decoration: none;

  font-size: 13px;
  font-weight: 700;

  white-space: nowrap;

  transition:
    background 150ms ease,
    color 150ms ease;
}


.admin-sidebar__item:hover {
  background:
    rgba(255, 255, 255, 0.07);

  color: #ffffff;
}


.admin-sidebar__item.is-active {
  background:
    rgba(255, 255, 255, 0.12);

  color: #ffffff;
}


.admin-sidebar__item.is-active::before {
  content: "";

  position: absolute;

  left: 0;

  width: 3px;
  height: 20px;

  border-radius: 0 4px 4px 0;

  background: #ffffff;
}


.admin-sidebar__item-icon {
  width: 18px;
  min-width: 18px;
  height: 18px;
}


.admin-sidebar__item-label {
  overflow: hidden;

  transition:
    opacity 150ms ease,
    width 150ms ease;
}


.admin-sidebar__footer {
  padding: 12px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.08);
}


.admin-sidebar__user {
  min-height: 48px;

  display: flex;
  align-items: center;

  gap: 10px;
}


.admin-sidebar__avatar {
  width: 38px;
  min-width: 38px;
  height: 38px;

  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(255, 255, 255, 0.12);

  color: #ffffff;

  font-size: 13px;
  font-weight: 800;
}


.admin-sidebar__user-copy {
  min-width: 0;

  display: grid;

  gap: 2px;

  overflow: hidden;
}


.admin-sidebar__user-copy strong,
.admin-sidebar__user-copy span {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.admin-sidebar__user-copy strong {
  font-size: 12px;
  font-weight: 700;
}


.admin-sidebar__user-copy span {
  color:
    rgba(255, 255, 255, 0.55);

  font-size: 10px;
  font-weight: 600;
}


.admin-sidebar.is-collapsed
.admin-sidebar__brand-copy,

.admin-sidebar.is-collapsed
.admin-sidebar__item-label,

.admin-sidebar.is-collapsed
.admin-sidebar__user-copy {
  width: 0;

  opacity: 0;

  pointer-events: none;
}


.admin-sidebar.is-collapsed
.admin-sidebar__item {
  justify-content: center;

  padding: 0;
}


.admin-sidebar.is-collapsed
.admin-sidebar__user {
  justify-content: center;
}


@media (max-width: 820px) {

  .admin-sidebar {
    width: 250px;

    transform:
      translateX(-100%);

    transition:
      transform 180ms ease;
  }


  .admin-sidebar.is-mobile-open {
    transform:
      translateX(0);
  }


  .admin-sidebar.is-collapsed {
    width: 250px;
  }


  .admin-sidebar.is-collapsed
  .admin-sidebar__brand-copy,

  .admin-sidebar.is-collapsed
  .admin-sidebar__item-label,

  .admin-sidebar.is-collapsed
  .admin-sidebar__user-copy {
    width: auto;

    opacity: 1;

    pointer-events: auto;
  }


  .admin-sidebar.is-collapsed
  .admin-sidebar__item {
    justify-content: flex-start;

    padding: 0 12px;
  }

}
