/**
 * Address autocomplete dropdown (see js/address-autocomplete.js).
 *
 * The list is appended to <body> and positioned over the input, so it never
 * disturbs the form's own layout. Fixed positioning means it moves with the
 * viewport, which is why the script repositions it on scroll.
 */
.ipc-address-suggestions {
    position: fixed;
    z-index: 9999;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 16rem;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-top: none;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    font-size: 0.95rem;
    text-align: left;
}

.ipc-address-suggestions[hidden] {
    display: none;
}

.ipc-address-suggestion {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.35;
}

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

.ipc-address-suggestion.is-active,
.ipc-address-suggestion:hover {
    background: #f4f1e8;
}

.ipc-address-suggestion-main {
    display: block;
    color: #2e2e2e;
}

.ipc-address-suggestion-secondary {
    display: block;
    color: #6b6b6b;
    font-size: 0.85em;
}

/* Google requires the attribution to stay visible wherever predictions show. */
.ipc-address-attribution {
    padding: 0.35rem 0.75rem;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    color: #6b6b6b;
    font-size: 0.7rem;
    text-align: right;
    cursor: default;
}
