/*
  우클릭 컨텍스트 메뉴 (규격 컴포넌트)
  - 사이드바 드롭다운(.sidebar-menu-pop/.sidebar-menu-item) 레이아웃을 그대로 따르되
    색상만 다크 모드로 반전한 표준 컴포넌트
*/

.context-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 140px;
  background-color: #1f1f23;
  color: #f4f4f5;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 120;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.context-menu.is-open {
  display: flex;
}

.context-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.5rem;
  font-size: 0.8125rem;
  font-family: inherit;
  border: none;
  background: transparent;
  border-radius: 4px;
  color: #f4f4f5;
  cursor: pointer;
}

.context-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.context-menu-item.danger {
  color: #f87171;
}
