.ac-dropdown {
  position: fixed;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 58, 64, 0.16);
  border: 1px solid #EAEAE2;
  z-index: 2000;
  overflow: hidden;
  display: none;
  max-height: 380px;
  overflow-y: auto;
}

.ac-dropdown.is-open {
  display: block;
}

.ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: 1px solid #F4F2EC;
}

.ac-item:last-child {
  border-bottom: 0;
}

.ac-item:hover {
  background: #FAF8F2;
}

.ac-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #F4F2EC;
  flex-shrink: 0;
}

.ac-img-empty {
  background: linear-gradient(135deg, #E7F0C9, #FFE5C7);
}

.ac-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ac-name {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #003A40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-sub {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  color: #6B6B7A;
  margin-top: 2px;
}

.ac-empty {
  padding: 16px;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  color: #6B6B7A;
  text-align: center;
}

/* le form doit etre positionne pour ancrer le dropdown */

form.search-big,
form.search-pill {
  position: relative;
}

