/* Active scene control rail + drawer */

.active_scene__control_rail {
  grid-column: 1;
  position: relative;
  z-index: var(--z_content);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--space_6);
}

.active_scene__drawer_button {
  width: 40px;
  height: 40px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  background-color: transparent;
  background-image: url("../resources/menu/controlmenubutton.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  overflow: hidden;
}

.active_scene__drawer {
  position: absolute;
  left: 64px;
  top: var(--space_6);
  bottom: var(--space_6);
  width: 420px;
  z-index: var(--z_overlay);
  border: 1px solid var(--color_border);
  border-radius: var(--radius_lg);
  background: rgba(8, 12, 24, 0.86);
  backdrop-filter: blur(8px);
  padding: var(--space_4);
  transform: translateX(-115%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur_med) var(--ease_standard), opacity var(--dur_med) var(--ease_standard);

  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: var(--space_3);
}

.active_scene__drawer.is_open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.active_scene__drawer_icons_column {
  display: flex;
  flex-direction: column;
  gap: var(--space_3);
  padding-top: 2px;
}

.active_scene__drawer_content_column {
  min-width: 0;
}

#labels-view {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.active_scene__drawer_icon_button {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.active_scene__drawer_icon_button:hover {
  border-color: var(--color_border);
  background: rgba(255, 255, 255, 0.04);
}

.active_scene__drawer_item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space_3);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius_md);
  justify-content: flex-start;
  color: var(--color_text_primary);
  padding: var(--space_3);
  cursor: pointer;
}

.active_scene__drawer_item:hover {
  border-color: var(--color_border);
  background: rgba(255, 255, 255, 0.04);
}

.active_scene__drawer_item_icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: transparent;
  background-image: url("../resources/menu/conversationsmenu.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.active_scene__drawer_item_label {
  font-size: var(--text_sm);
}

.active_scene__drawer_item_icon--tarot {
  background-image: url("../resources/menu/tarotmenu.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.active_scene__drawer_item_icon--astrology {
  background-image: url("../resources/menu/astrologymenu.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.active_scene__drawer_item_icon--reports {
  background-image: url("../resources/menu/reportsmenu.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.active_scene__drawer_item_icon--placeholder {
  background-image: none;
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.active_scene__placeholder_submenu {
  border: 1px solid var(--color_border);
  border-radius: var(--radius_md);
  background: rgba(255, 255, 255, 0.02);
  padding: var(--space_3);
}

.active_scene__placeholder_submenu_title {
  margin: 0;
  font-size: var(--text_sm);
  color: var(--color_text_primary);
}

.active_scene__placeholder_submenu_text {
  margin: var(--space_2) 0 0;
  font-size: var(--text_xs);
  color: var(--color_text_secondary);
}
