.adjustamatic-address-suggestions {
    position: absolute;
    z-index: 99999;
    width: 100%;
    margin-top: 2px;
    background: #fff;
    border: 1px solid #d9d9d9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    /*
     * Cap the height and scroll instead of growing.
     *
     * min() keeps it sensible on short viewports, where a
     * fixed pixel height would push the dropdown off screen.
     */
    max-height: min(280px, 50vh);
    overflow-y: auto;

    /*
     * Stop the page scrolling once the dropdown reaches
     * its end. Mostly noticeable on touch devices.
     */
    overscroll-behavior: contain;

    /*
     * Slimmer scrollbar in Firefox.
     */
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 transparent;
}

/*
 * Matching scrollbar in Chrome, Edge and Safari.
 */
.adjustamatic-address-suggestions::-webkit-scrollbar {
    width: 8px;
}

.adjustamatic-address-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.adjustamatic-address-suggestions::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 4px;
}

.adjustamatic-address-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.adjustamatic-address-suggestion {
    padding: 12px 15px;
    cursor: pointer;
    line-height: 1.4;
    background: #fff;
}

.adjustamatic-address-suggestion:hover,
.adjustamatic-address-suggestion.is-highlighted {
    background: #f5f5f5;
}

/*
 * Shown when a postcode returns no addresses.
 * Not selectable, so it must not look clickable.
 */
.adjustamatic-address-hint {
    padding: 12px 15px;
    line-height: 1.4;
    color: #666;
    font-style: italic;
    cursor: default;
}

.adjustamatic-google-attribution {
    padding: 8px 15px;
    font-size: 11px;
    color: #666;
    border-top: 1px solid #eee;

    /*
     * Google requires the attribution to stay visible while
     * predictions are shown. Sticking it to the bottom of
     * the scroll area keeps it in view as the list scrolls.
     */
    position: sticky;
    bottom: 0;
    background: #fff;
}