/* ==========================================================================
   Context Menu — Windows XP-style right-click menus
   Supports nested submenus, checkmarks, and keyboard arrows.
   ========================================================================== */

.sz-context-menu {
  position: fixed;
  display: none;
  min-width: 180px;
  background: var(--sz-color-menu, #fff);
  border: 1px solid var(--sz-color-button-shadow, #999);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  padding: 2px 0;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 11px;
  user-select: none;
}

.sz-context-submenu {
  z-index: 10001;
}

.sz-ctx-item {
  display: flex;
  align-items: center;
  padding: 4px 24px 4px 28px;
  cursor: default;
  color: var(--sz-color-menu-text, #000);
  white-space: nowrap;
  position: relative;
}

.sz-ctx-item:hover {
  background: var(--sz-color-highlight, #316ac5);
  color: var(--sz-color-highlight-text, #fff);
}

.sz-ctx-check {
  position: absolute;
  left: 8px;
  font-size: 12px;
  line-height: 1;
}

.sz-ctx-label {
  flex: 1;
}

.sz-ctx-arrow {
  margin-left: 12px;
  font-size: 8px;
  opacity: 0.7;
}

.sz-ctx-separator {
  height: 1px;
  margin: 3px 4px;
  background: var(--sz-color-button-shadow, #ccc);
}
