/* brightside-menu.css */

/* ===========================================
   RIGHT PANEL CONTAINER
   =========================================== */

#infoHotspotPanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;         /* adjust as you like */
  height: 100%;
  z-index: 9999;
  pointer-events: none; /* clicks pass through except on .info-menu */
}

/* Actual menu box */
.info-menu {
  position: absolute;
  top: 60px;
  right: 20px;
  bottom: 20px;
  left: 20px;

  background: rgba(255, 255, 255, 0.60);
  border-radius: 24px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.25);

  display: flex;
  flex-direction: column;
  pointer-events: auto;

  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  color: #000000;

  /* Slide-in / slide-out animation */
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hidden state: slide out to the right */
.info-menu-hidden {
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
}

/* Header */
.info-menu-header {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-menu-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #222;
}

/* Scroll area */
.info-menu-list {
  flex: 1;
  padding: 8px 6px 8px 6px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Hide scrollbars visually */
.info-menu-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.info-menu-list {
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge */
}

/* Empty state */
.info-menu-empty {
  padding: 12px 8px;
  font-size: 12px;
  color: #555;
  text-align: center;
}

/* Groups (per node) */
.info-menu-group {
  margin-bottom: 10px;
}

.info-menu-node-title {
  padding: 4px 4px 4px 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #555;
}

/* List + items */
.info-menu-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-menu-item {
  padding: 6px 8px;
  margin: 3px 2px;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);

  font-size: 12px;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.info-menu-item:hover {
  background: #ffffff;
  transform: translateX(-2px);
}

/* Hotspot title line */
.info-item-title {
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

/* ===========================================
   MEDIA TOGGLE BUTTON (TOP RIGHT)
   =========================================== */

#mediaToggleBtn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 10000;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 12px;
  border-radius: 20px;

  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 500;

  cursor: pointer;
  user-select: none;

  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4);

  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

#mediaToggleBtn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-1px);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.5);
}

#mediaToggleBtn .media-toggle-icon {
  font-size: 14px;
  line-height: 1;
}

#mediaToggleBtn .media-toggle-text {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Active state when panel is open */
#mediaToggleBtn.media-toggle-active {
  background: #ffffff;
  color: #000000;
}

/* ===========================================
   Responsive tweaks
   =========================================== */
@media (max-width: 768px) {
  #infoHotspotPanel {
    width: 240px;
  }

  .info-menu {
    right: 8px;
    left: 8px;
    top: 50px;
    bottom: 10px;
  }

  #mediaToggleBtn {
    top: 8px;
    right: 8px;
    padding: 5px 10px;
  }
}
