

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.result-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover,
.result-item.active,
.result-item:focus {
    background-color: #f0f8ff;
    transform: translateX(2px);
    outline: none;
}

.result-item mark {
    background-color: #fff9c4;
    font-weight: bold;
    padding: 0 1px;
    border-radius: 2px;
}

.loading,
.no-results,
.error {
    padding: 20px 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.loading:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    color: #e74c3c;
    background-color: #fdf2f2;
}

.no-results {
    color: #7f8c8d;
    background-color: #f8f9fa;
}

/* Анимация для выбора города */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading:before {
    animation: spin 1s linear infinite, pulse 1.5s ease-in-out infinite;
}

.search-results-container {
    height: 150px;
    overflow: auto;
    width: 100%;
}
.search-results-container ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.popup-select-city__lists-city_wrapper{
    min-height: 250px;
}