/* DoctorBookly — rich directory autocomplete (homepage-style) */
.search-suggestions.dir-suggest-rich {
  padding: 4px 0;
  border-radius: 12px;
  overflow: hidden;
}

.dir-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background 0.12s ease;
}

.dir-suggest-item:hover,
.dir-suggest-item:focus-visible {
  background: #f0fdfa;
  outline: none;
}

.dir-suggest-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dir-suggest-icon i {
  color: #0d9488;
  font-size: 15px;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  line-height: 1;
  display: inline-block;
}

.dir-suggest-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.dir-suggest-text {
  flex: 1;
  min-width: 0;
}

.dir-suggest-text strong {
  display: block;
  font-size: 14px;
  color: #1e293b;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dir-suggest-text strong mark {
  background: #fef3c7;
  color: #92400e;
  padding: 0 2px;
  border-radius: 2px;
}

.dir-suggest-text small {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dir-suggest-arrow {
  display: none !important;
}

/* Location pin visible in directory search fields */
.search-primary-block .search-input-wrapper.field-with-clear > i.field-pin-icon {
  display: block !important;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #0d9488;
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
}

.search-primary-block .search-input-wrapper.field-with-clear input {
  padding-left: 40px !important;
  padding-right: 36px !important;
}

.field-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3;
  transition: background 0.15s, color 0.15s;
}

.field-clear-btn.is-visible {
  display: inline-flex;
}

.field-clear-btn:hover {
  background: #fecaca;
  color: #b91c1c;
}

.field-clear-btn i {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  font-size: 10px;
  line-height: 1;
  color: inherit;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.specialty-search-wrapper input#specialty-input,
.search-input-wrapper.specialty-search-wrapper input#specialty-input {
  padding-right: 36px !important;
}

.specialty-search-wrapper .field-clear-btn,
.specialty-search-wrapper .specialty-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
}

.specialty-search-wrapper .field-clear-btn.is-visible,
.specialty-search-wrapper .specialty-clear-btn.is-visible {
  display: inline-flex;
}

.btn-clear-filters {
  gap: 6px !important;
}

.btn-clear-filters i {
  font-size: 11px;
  opacity: 0.85;
}
