/**
 * Copyright (c) 2026 Apurva Nakade. All rights reserved.
 * Released under Apache 2.0 license as described in the file LICENSE.
 * Authors: Apurva Nakade
 */

/* The sidebar's title search (sidebar-search.js). No left padding: the box
 * lines up with the menu's top-level titles below it. */
.vm-sidebar-search {
  padding: 0.75rem 0.75rem 0.25rem 0;
}
.vm-sidebar-search input {
  width: 100%;
  padding: 0.35rem 0.6rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--vm-text);
  background: var(--vm-surface);
  border: 1px solid var(--vm-border);
  border-radius: var(--vm-radius-sm);
}
.vm-sidebar-search input::placeholder {
  color: var(--vm-text-soft);
}
.vm-sidebar-search input:focus {
  outline: none;
  border-color: var(--vm-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--vm-accent) 25%, transparent);
}
.vm-sidebar-search-empty {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--vm-text-soft);
}
/* !important: Quarto's own sidebar rules set display on these items. */
#quarto-sidebar .vm-sidebar-search-hidden {
  display: none !important;
}
