/* Aubui Search — barre de recherche unique (voir js/aubui-search.js) */
.aub-search-wrap { position: relative; display: block; }

input.aub-search {
  width: 100%;
  padding: .55rem .8rem;
  font: inherit;
  color: var(--aub-fg, #fff);
  background: var(--aub-bg, #171717);
  border: 1px solid var(--aub-border, #2e2e2e);
  border-radius: var(--aub-radius, 10px);
  outline: none;
}
input.aub-search:focus {
  border-color: var(--aub-accent, #3498d8);
  box-shadow: 0 0 0 2px var(--aub-accent-muted, rgba(52, 152, 216, .18));
}

.aub-search-results {
  position: absolute;
  z-index: 60;
  left: 0; right: 0;
  margin-top: .3rem;
  max-height: min(60vh, 380px);
  overflow: auto;
  background: var(--aub-bg-elevated, #1c1c1c);
  border: 1px solid var(--aub-border-strong, #404040);
  border-radius: var(--aub-radius, 10px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
  padding: .25rem;
}

.aub-search-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .6rem;
  border-radius: var(--aub-radius-sm, 6px);
  cursor: pointer;
}
.aub-search-item.is-active,
.aub-search-item:hover {
  background: var(--aub-accent-muted, rgba(52, 152, 216, .16));
}
.aub-search-ico { flex: none; font-size: 1.1rem; width: 1.4rem; text-align: center; }
.aub-search-main { min-width: 0; display: flex; flex-direction: column; }
.aub-search-label { color: var(--aub-fg, #fff); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aub-search-sub { font-size: .82rem; color: var(--aub-fg-muted, #a8a8a8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aub-search-empty { padding: .7rem .8rem; color: var(--aub-fg-muted, #a8a8a8); font-size: .9rem; }
