/* ═══════════════════════════════════════════════════════════════
   VERSIONARY — File picker menu

   Styles for the small popover shown by VeFilePicker.showMenu().
   Same glass recipe as glass-modals.css so it feels part of the
   modal system.

   Menu is inserted at the end of <body>, positioned:fixed via JS.
   ═══════════════════════════════════════════════════════════════ */

.ve-picker-menu {
  min-width: 180px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease;
  pointer-events: none;
}
.ve-picker-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
body.dark-mode .ve-picker-menu {
  background: rgba(22, 22, 30, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07),
              0 12px 40px rgba(0, 0, 0, .55);
}

.ve-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(28, 27, 31, 0.85);
  text-align: left;
  transition: background .12s ease;
}
.ve-picker-item:hover {
  background: rgba(0, 0, 0, 0.05);
}
.ve-picker-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}
body.dark-mode .ve-picker-item {
  color: rgba(240, 240, 243, 0.85);
}
body.dark-mode .ve-picker-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Split-button caret used inside pill buttons like Browse Files. */
.ve-picker-caret {
  display: inline-block;
  margin-left: 6px;
  opacity: 0.55;
  vertical-align: middle;
  transition: transform .14s ease;
}
