/* Suggestion dropdown for Google Places address autocomplete
   (static/js/address_autocomplete.js) */

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;   /* above Bootstrap modals (1055) for the dialog forms */
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    max-height: 320px;
    overflow-y: auto;
}

.address-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
}

.address-suggestion-item:hover,
.address-suggestion-item.active {
    background-color: #e9ecef;
}

.address-suggestion-main {
    font-weight: 600;
}

.address-suggestion-secondary {
    font-size: 0.875rem;
    color: #6c757d;
}

.address-suggestion-attribution {
    padding: 4px 12px;
    font-size: 0.75rem;
    color: #6c757d;
    text-align: right;
    border-top: 1px solid #e9ecef;
}
