/* Styles for sidebar.hbs — the mobile off-canvas menu. */

.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--background-neutral-2);
  transition: right 0.5s ease;
}

.sidebar.is-open {
  right: 0;
}

/* Bottom padding clears the pinned action bar. */
.sidebar-scroll {
  overflow: auto;
  padding-bottom: 82px;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 12px 16px;
}

.sidebar-close {
  display: inline-flex;
  color: var(--on-background-neutral-subdued);
}

.sidebar-actions {
  position: absolute;
  bottom: 0;
  z-index: 999;
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background-color: var(--background-neutral-1);
}

.sidebar-actions .btn {
  flex: 1 1 0;
  height: 40px;
}

@media (min-width: 1000px) {
  .sidebar {
    display: none;
  }
}
