#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
    text-align: left;
}

.suggestion-header {
    padding: 8px 12px;
    font-weight: bold;
    background-color: #f5f5f5;
    color: #000; 
    font-size: 0.9em;
    text-transform: uppercase;
    text-align: left; /* Ensure left alignment */
}



.suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    color: #ff0000;
}

.suggestion-item:hover {
    background-color: #ffeeee;
}

.suggestion-name {
    font-weight: 500;
    flex-grow: 1;
}

.suggestion-meta, .suggestion-type {
    color: #ff6666;
    font-size: 0.85em;
    margin-left: 10px;
    white-space: nowrap;
}

.suggestion-divider {
    height: 1px;
    background-color: #eee;
    margin: 4px 0;
}

.loading, .no-results {
    padding: 12px;
    text-align: center;
    color: #ff0000;
}

.error-message {
    padding: 12px;
    color: #ff0000;
    text-align: center;
}

/* Container fixes */
.hfe-search-form__container {
    position: relative !important;
    overflow: visible !important;
}

.elementor-widget-container {
    overflow: visible !important;
    position: static !important;
}

.btn-search {
    background-color: var(--themered);
    color: white;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
}

.flash-message {
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 500;
  margin-top: 15px;
  display: none;
  transition: opacity 0.5s ease;
}

.flash-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}