/* ============================================================
   Wofi Theme — One Dark
   Based on Atom's One Dark (navarasu/onedark.nvim)
   ============================================================ */

* {
  font-family: "JetBrains Mono", "Iosevka", monospace;
  font-size: 13px;
  transition:
    background-color 0.1s ease,
    color 0.1s ease;
}

/* ── Main window ── */
window {
  background-color: #282c34;
  border: 1px solid #3e4451;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

/* ── Outer layout wrapper ── */
#outer-box {
  background-color: transparent;
  padding: 10px;
}

/* ── Search input ── */
#input {
  background-color: #21252b;
  color: #abb2bf;
  border: 1px solid #4b5263;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 8px;
  caret-color: #e06c75;
  outline: none;
}

#input:focus {
  border-color: #61afef;
  box-shadow: 0 0 0 2px rgba(97, 175, 239, 0.15);
}

#input image {
  color: #5c6370;
}

/* ── Scrollable results area ── */
#scroll {
  background-color: transparent;
}

#inner-box {
  background-color: transparent;
}

/* ── Individual entry row ── */
#entry {
  background-color: transparent;
  color: #abb2bf;
  border-radius: 5px;
  padding: 7px 10px;
  margin: 2px 0;
  border: 1px solid transparent;
}

#entry:hover {
  background-color: #2c313a;
  border-color: #3e4451;
}

#entry:selected,
#entry.selected {
  background-color: #2d3750;
  border-color: #61afef;
  color: #61afef;
}

/* ── Entry image / icon ── */
#entry image {
  margin-right: 8px;
  color: #98c379;
}

#entry:selected image,
#entry.selected image {
  color: #61afef;
}

/* ── Entry text label ── */
#entry label {
  color: inherit;
}

/* ── One Dark accent palette ── */
/* red      e06c75  */
/* orange   d19a66  */
/* yellow   e5c07b  */
/* green    98c379  */
/* cyan     56b6c2  */
/* blue     61afef  */
/* magenta  c678dd  */

/* ── Scrollbar ── */
scrollbar {
  width: 4px;
  background: transparent;
}

scrollbar slider {
  background-color: #4b5263;
  border-radius: 2px;
  min-height: 40px;
}

scrollbar slider:hover {
  background-color: #61afef;
}

/* ── No results message ── */
#no-results {
  color: #5c6370;
  padding: 12px;
}
