/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #fff;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#addressInput {
    flex: 1;
    min-width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #ffc107;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.location-btn:hover {
    background-color: #e0a800;
}

.location-btn i {
    transition: transform 0.2s ease;
}

.location-btn:hover i {
    transform: scale(1.1);
}

#result {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

#map {
    width: 100%;
    height: 500px;
    border: 1px solid #ccc;
    margin-top: 20px;
}

/* === Стили для SuggestView (поисковые подсказки) === */
.suggest-view {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-height: 200px;
    overflow-y: auto;
    font-size: 14px;
    font-family: Arial, sans-serif;
    width: 400px !important; /* Зафиксированная ширина */
}

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

.suggest-view__item {
    padding: 8px 12px;
    cursor: pointer;
    color: #333;
    white-space: normal; /* Важно! Чтобы текст не обрезался */
    word-wrap: break-word;
}

.suggest-view__item:hover,
.suggest-view__item_active {
    background-color: #f5f5f5;
}