/* ============================================================
   Wofi Theme — Kanagawa
   Based on rebelot/kanagawa.nvim (Wave variant)
   ============================================================ */

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

/* ── Main window ── */
window {
  background-color: #1f1f28;
  border: 1px solid #2a2a37;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

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

/* ── Search input wrapper ── */
#input {
  background-color: #16161d;
  color: #dcd7ba;
  border: 1px solid #363646;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 8px;
  caret-color: #e82424;
  outline: none;
}

#input:focus {
  border-color: #7e9cd8;
  box-shadow: 0 0 0 2px rgba(126, 156, 216, 0.15);
}

#input image {
  color: #54546d;
}

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

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

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

#entry:hover {
  background-color: #2a2a37;
  border-color: #363646;
}

#entry:selected,
#entry.selected {
  background-color: #223249;
  border-color: #7e9cd8;
  color: #7e9cd8;
}

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

#entry:selected image,
#entry.selected image {
  color: #7e9cd8;
}

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

/* ── Kanagawa accent palette ── */
/* wave-red    e82424  */
/* autumn-yel  e6c384  */
/* spring-grn  98bb6c  */
/* crystal-blu 7e9cd8  */
/* oni-violet  957fb8  */
/* dragon-org  ffa066  */
/* spring-vio  938aa9  */

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

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

scrollbar slider:hover {
  background-color: #7e9cd8;
}

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