/* Autocomplete Styles for Categories and Locations */
.form-group-inner {
    position: relative;
}

.category-suggestions,
.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 240px;
    overflow-y: auto;
}

.suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.suggestions-list li {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f2f5;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
}

.suggestions-list li:last-child {
    border-bottom: none;
}

.suggestions-list li:hover,
.suggestions-list li.active {
    background-color: #f8f9fa;
    color: #007cba;
}

.category-autocomplete-input,
.location-autocomplete-input {
    position: relative;
}

.category-autocomplete-input:focus,
.location-autocomplete-input:focus {
    border-color: #007cba !important;
    /* box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25) !important; */
}

/* Responsive */
@media (max-width: 768px) {
    .category-suggestions,
    .location-suggestions {
        max-height: 200px;
    }
    
    .suggestions-list li {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Dark theme support */
.dark-theme .category-suggestions,
.dark-theme .location-suggestions {
    background: #2c3e50;
    border-color: #34495e;
}

.dark-theme .suggestions-list li {
    color: #ecf0f1;
    border-bottom-color: #34495e;
}

.dark-theme .suggestions-list li:hover,
.dark-theme .suggestions-list li.active {
    background-color: #34495e;
    color: #3498db;
}
