/* ── BlaveClaw layout – mirrors studio's #box_container ── */
#bc_layout {
  padding-top: 60px;
  display: flex;
  gap: 12px 24px;
}

#bc_main {
  flex: 1;
  min-width: 0;
}

#bc_mobile_header {
  display: none;
}

/* ── Sidebar container ── */
#bc_sidebar {
  width: 180px;
  flex-shrink: 0;
  padding: 2px 0px;
  border-right: 1px var(--color-greyLight) solid;
  position: sticky;
  top: 60px;
  overflow-y: auto;
  padding: 32px 0px;
}

/* ── Section header ── */
#bc_sidebar .box_header {
  padding: 0px 8px;
  margin-top: 12px;
}

#bc_sidebar .box_header h6 {
  font-size: 12px;
  color: var(--color-greyMedium);
  line-height: 32px;
}

/* ── Sidebar item (alone = top-level, no sub-indent) ── */
#bc_sidebar .sidebar_item {
  margin-left: 6px;
  border-left: 1px var(--color-greyLight) solid;
  height: 44px;
  line-height: 44px;
  padding-left: 7px;
  padding-right: 20px;
  background-color: var(--color-white);
}

#bc_sidebar .sidebar_item.alone {
  padding-left: 0px;
  margin-left: 0px;
  border: 0px;
}

#bc_sidebar .sidebar_item.alone a {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 12px;
}

#bc_sidebar .sidebar_item a {
  display: flex;
  align-items: center;
  border-radius: 10px;
  color: var(--color-black);
  text-decoration: none;
  font-size: 12px;
  height: 100%;
  padding: 12px;
}

#bc_sidebar .sidebar_item a:hover {
  background-color: #fdfdfd;
  text-decoration: none;
}

#bc_sidebar .sidebar_item a.checked {
  background-color: #fdfdfd;
}

/* SVG icons match studio's 22px PNG icon width */
#bc_sidebar .sidebar_item a svg {
  color: var(--color-greyDark);
}

/* ── Mobile sidebar button (hidden on desktop, same as studio) ── */
.bc-sidebar-btn {
  display: none;
  z-index: 999;
}

.bc-sidebar-btn .navbar-toggler {
  height: 35px;
  line-height: 35px;
  padding: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
}

.bc-sidebar-btn .navbar-toggler img {
  width: 20px;
  margin-right: 12px;
}

.bc-sidebar-btn .navbar-toggler h6 {
  font-size: 14px;
  color: var(--color-greyDark);
  margin: 0;
}

/* ── RWD ── */
@media (max-width: 1300px) {
  #bc_layout {
    padding: 0;
    padding-top: 60px;
    flex-direction: column;
  }

  #bc_sidebar {
    display: none;
  }

  .bc-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* ── Offcanvas nav links ── */
.bc-oc-item {
  margin-bottom: 2px;
}

a.bc-oc-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black);
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.bc-oc-link:hover,
.bc-oc-link.checked {
  background-color: #f5f5f5;
  color: var(--color-black);
}

#bcOffcanvas {
  width: 270px;
}
