:root {
  --sb-bg: #ffffff;
  --sb-border: rgba(17, 24, 39, 0.14);
  --sb-text: #101828;
  --sb-muted: #4b5563;
  --sb-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --sb-btn: 48px;
}

.navbar-with-sidebar {
  position: relative;
}

.navbar-brand {
  display: inline-block;
  padding-left: 72px;
  max-width: calc(100% - 160px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-btn {
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  left: 16px;
  top: 8px;
  width: var(--sb-btn);
  height: var(--sb-btn);
  border-radius: 0;
  border: 1px solid var(--sb-border);
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  outline: none;
  z-index: 2100;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.sidebar-btn:hover,
.sidebar-btn:focus,
.sidebar-btn:focus-visible {
  background: #f7f7f8;
  border-color: rgba(17, 24, 39, 0.28);
}

.sidebar-btn__icon {
  width: 22px;
  height: 16px;
  position: relative;
}
.sidebar-btn__icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 0;
  background: #111827;
  transform-origin: center;
  transition: transform 0.3s var(--sb-ease), top 0.3s var(--sb-ease), opacity 0.2s var(--sb-ease);
}
.sidebar-btn__icon span:nth-child(1) {
  top: 0;
}
.sidebar-btn__icon span:nth-child(2) {
  top: 7px;
}
.sidebar-btn__icon span:nth-child(3) {
  top: 14px;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--sb-ease);
  z-index: 2040;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(360px, 100vw - 64px);
  background: var(--sb-bg);
  border-right: 1px solid var(--sb-border);
  overflow: hidden;
  z-index: 2050;
  transform: translateX(-100%);
  transition: transform 0.32s var(--sb-ease);
}

.sidebar__content {
  height: 100%;
  padding: 76px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--sb-border);
  background: #f8fafc;
  border-radius: 6px;
}

.sidebar__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sidebar__title strong {
  font-size: 13px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--sb-text);
}
.sidebar__title span {
  font-size: 12px;
  color: var(--sb-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px;
}

.sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  text-decoration: none;
  color: var(--sb-text);
  border: 1px solid var(--sb-border);
  background: #fff;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  border-radius: 6px;
}

.sidebar__nav a:hover,
.sidebar__nav a:focus-visible {
  background: #f8fafc;
  border-color: rgba(17, 24, 39, 0.26);
}

.sidebar__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6b7280;
  flex: 0 0 auto;
}

body.sidebar-open {
  overflow: hidden;
}
body.sidebar-open .sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}
body.sidebar-open .sidebar {
  transform: translateX(0);
}
body.sidebar-open .sidebar-btn__icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
body.sidebar-open .sidebar-btn__icon span:nth-child(2) {
  opacity: 0;
}
body.sidebar-open .sidebar-btn__icon span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.sidebar-btn:focus-visible,
.sidebar__nav a:focus-visible {
  outline: 2px solid rgba(17, 24, 39, 0.35);
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .navbar-with-sidebar {
    min-height: 64px;
  }
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 0;
    max-width: calc(100% - 120px);
    text-align: center;
  }
}
@media (max-width: 600px) {
  .sidebar-btn {
    left: 12px;
    top: 8px;
    width: 44px;
    height: 44px;
  }
  .sidebar-btn__icon {
    width: 20px;
    height: 14px;
  }
  .sidebar-btn__icon span:nth-child(1) {
    top: 0;
  }
  .sidebar-btn__icon span:nth-child(2) {
    top: 6px;
  }
  .sidebar-btn__icon span:nth-child(3) {
    top: 12px;
  }
  body.sidebar-open .sidebar-btn__icon span:nth-child(1) {
    top: 6px;
  }
  body.sidebar-open .sidebar-btn__icon span:nth-child(3) {
    top: 6px;
  }
  .navbar-brand {
    font-size: 1.2rem !important;
    max-width: calc(100% - 104px);
  }
}

/*# sourceMappingURL=sidebar.css.map */
