/* MAP ADDRESS SUGGESTIONS STYLES */

.address-suggestions-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    border-top: none;
    overflow-y: auto;
    max-height: 300px;
    z-index: 9999;
    margin-top: 2px;
    animation: slideDown 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.address-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.address-suggestion-item:hover {
    background: #f0f7f4;
    padding-left: 20px;
    color: #198754;
}

.address-suggestion-item i {
    color: #198754;
    font-size: 1.1rem;
}

.address-suggestion-label {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.address-suggestion-city {
    font-size: 0.8rem;
    color: #777;
    margin-top: 2px;
}

/* Suggestion type badges */
.suggestion-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.badge-municipality {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-street {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-housenumber {
    background: #fff3e0;
    color: #ef6c00;
}

/* Scrollbar for suggestions */
.address-suggestions-container::-webkit-scrollbar {
    width: 6px;
}

.address-suggestions-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.address-suggestions-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.address-suggestions-container::-webkit-scrollbar-thumb:hover {
    background: #198754;
}
