/* Стили для геокодера */
.geocoder-suggestions {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

/* Стили для dropdown сохранённых данных */
.saved-data-suggestions {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

/* Стили для dropdown timezone */
.timezone-suggestions {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

/* Стили для dropdown gender */
.gender-suggestions {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

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

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

.suggestion-item .fw-medium {
    font-weight: 500;
    color: #212529;
}

.suggestion-item .small {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Специальные стили для элемента "Очистить" */
.suggestion-item.clear-item {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

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

.suggestion-item.clear-item .fw-medium {
    color: #6c757d;
}

/* Стили для пустого состояния */
.suggestion-item.empty-state {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    cursor: default;
}

.suggestion-item.empty-state:hover {
    background-color: transparent;
}

/* Иконка шеврона для кастомного селекта */
.custom-select-chevron {
    pointer-events: none;
    transition: transform 0.15s ease-in-out;
}

.custom-select-input.active + .custom-select-chevron {
    transform: rotate(180deg);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .geocoder-suggestions,
    .saved-data-suggestions,
    .timezone-suggestions {
        max-height: 200px;
    }
    
    .suggestion-item {
        padding: 0.5rem 0.75rem;
    }
}
