.bm-address-ac {
  position: relative;
  width: 100%;
}

.bm-address-ac__list {
  position: absolute;
  z-index: 1080;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 280px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1f1f24;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.bm-address-ac__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
}

.bm-address-ac__item:hover,
.bm-address-ac__item.is-active {
  background: rgba(110, 78, 242, 0.22);
}

.bm-address-ac__label {
  font-size: 0.92rem;
  line-height: 1.35;
}

.bm-address-ac__meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.bm-address-ac__empty {
  padding: 0.7rem 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

/* Admin / light surfaces */
.admin-shell .bm-address-ac__list,
[data-bs-theme="light"] .bm-address-ac__list {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.admin-shell .bm-address-ac__item,
[data-bs-theme="light"] .bm-address-ac__item {
  color: #1f1f24;
}

.admin-shell .bm-address-ac__item:hover,
.admin-shell .bm-address-ac__item.is-active,
[data-bs-theme="light"] .bm-address-ac__item:hover,
[data-bs-theme="light"] .bm-address-ac__item.is-active {
  background: rgba(110, 78, 242, 0.12);
}

.admin-shell .bm-address-ac__meta,
[data-bs-theme="light"] .bm-address-ac__meta {
  color: rgba(31, 31, 36, 0.55);
}

.admin-shell .bm-address-ac__empty,
[data-bs-theme="light"] .bm-address-ac__empty {
  color: rgba(31, 31, 36, 0.55);
}

/* Keep settings-input icon layout when wrap is injected */
.settings-input > .bm-address-ac {
  display: block;
  width: 100%;
}
.settings-input .bm-address-ac .form-control {
  width: 100%;
}
