/* ——— Recherche dans les listes admin (icône + placeholder) ——— */
.bivo-list-search-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 14px;
  padding: 0;
}

.bivo-list-search-toolbar.is-inset {
  margin: 0 20px 14px;
}

.bivo-list-search-wrap {
  position: relative;
  flex: 1 1 240px;
  max-width: 420px;
  min-width: min(100%, 220px);
}

.bivo-list-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  color: #94a3b8;
  pointer-events: none;
}

.bivo-list-search-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 40px 10px 44px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: #fff !important;
  font-size: var(--bivo-fs-sm, 0.875rem) !important;
  color: var(--bivo-ink, #0f172a) !important;
  box-shadow: none !important;
}

.bivo-list-search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.bivo-list-search-input:focus {
  border-color: rgba(249, 83, 21, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(249, 83, 21, 0.12) !important;
  outline: none;
}

.bivo-list-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--bivo-muted, #64748b);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.bivo-list-search-clear:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--bivo-ink, #0f172a);
}

.bivo-list-search-meta {
  font-size: var(--bivo-fs-xs, 0.75rem);
  font-weight: 600;
  color: var(--bivo-muted, #64748b);
  white-space: nowrap;
}

.bivo-list-search-empty {
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px dashed rgba(15, 23, 42, 0.1);
  color: var(--bivo-muted, #64748b);
  font-size: var(--bivo-fs-sm, 0.875rem);
}

.bivo-list-search-empty.is-inset {
  margin-left: 20px;
  margin-right: 20px;
}

table.bivo-table tbody tr.is-list-filter-hidden {
  display: none !important;
}

.bivo-panel-head .bivo-list-search-wrap {
  margin-left: auto;
  max-width: min(360px, 100%);
}

.bivo-caution-dashboard-search .bivo-list-search-wrap {
  flex: 1 1 280px;
  max-width: 420px;
}

/* ——— Page villes — recherche dans l'en-tête du panneau liste ——— */
.bivo-city-manage-page .bivo-caution-list-panel .bivo-city-list-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 22px 28px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.bivo-city-manage-page .bivo-city-list-panel-intro {
  flex: 1 1 220px;
  min-width: 0;
}

.bivo-city-manage-page .bivo-city-list-panel-intro .bivo-title {
  margin-bottom: 6px;
}

.bivo-city-manage-page .bivo-city-list-search {
  flex: 1 1 300px;
  max-width: 400px;
  width: 100%;
  margin-left: auto;
}

.bivo-city-manage-page .bivo-city-list-search-label {
  display: block;
  margin: 0 0 8px 2px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.bivo-city-manage-page .bivo-city-list-search .bivo-list-search-wrap {
  max-width: none;
  width: 100%;
}

.bivo-city-manage-page .bivo-city-list-table-wrap {
  padding: 12px 28px 28px;
}

.bivo-city-manage-page .bivo-city-list-table-wrap .bivo-table {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .bivo-city-manage-page .bivo-caution-list-panel .bivo-city-list-panel-head {
    padding: 20px 22px 18px;
    gap: 16px;
  }

  .bivo-city-manage-page .bivo-city-list-search {
    max-width: none;
    margin-left: 0;
  }

  .bivo-city-manage-page .bivo-city-list-table-wrap {
    padding: 10px 22px 24px;
  }
}

@media (max-width: 767px) {
  .bivo-panel-head .bivo-list-search-wrap {
    margin-left: 0;
    max-width: 100%;
    width: 100%;
  }

  .bivo-list-search-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
