/* Este é o arquivo: wp-content/plugins/quarto-ideal-city-search/assets/css/city-search.css */

.qi-search-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 8px 8px 8px 20px;
    box-sizing: border-box;
    position: relative;
}

.qi-back-arrow {
    display: none;
}

.qi-location-icon {
    margin-right: 10px;
    color: #e40043;
    font-size: 20px;
}

#qiCitySearchInput {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0;
    color: #e40043;
    font-weight: 500;
}

#qiCitySearchInput::placeholder {
    color: #e40043;
    font-weight: 500;
}

.qi-search-button {
    background-color: #e40043;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.qi-search-button:hover {
    background-color: #c9003a;
}

.qi-search-results-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    z-index: 1000;
}

.qi-search-results-list li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.qi-search-results-list li:last-child {
    border-bottom: none;
}

.qi-search-results-list li:hover {
    background-color: #f5f5f5;
}

.qi-search-result-item .qi-location-icon {
    color: #999;
    font-size: 16px;
}

.qi-city-name {
    font-size: 15px;
    color: #333;
    font-weight: normal;
}

.qi-state-abbr {
    font-size: 13px;
    color: #888;
    margin-left: 8px;
}

.qi-loading-indicator,
.qi-error-message,
.qi-no-results {
    padding: 15px 20px;
    text-align: center;
    font-style: italic;
    color: #777;
    font-size: 14px;
}

.qi-error-message {
    color: #d9534f;
}

.qi-search-results-list:empty {
    display: none;
}