/*
 * Address suggestions list. Plain CSS (like Frameco_Checkout::css/city-validation.css) so the
 * module needs no theme compilation; colours follow the theme's greys and main orange.
 */
.frameco-autocomplete-host {
    position: relative;
}

.frameco-autocomplete__popup {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 100;
}

.frameco-autocomplete__popup[hidden] {
    display: none;
}

.frameco-autocomplete__list {
    list-style: none;
    margin: 0;
    max-height: 18rem;
    overflow-y: auto;
    padding: 0;
}

.frameco-autocomplete__option {
    border-left: 3px solid transparent;
    cursor: pointer;
    line-height: 1.3;
    margin: 0;
    padding: 0.6rem 0.8rem;
}

.frameco-autocomplete__option.is-active {
    background: #f2f2f2;
    border-left-color: #fd4f00;
}

.frameco-autocomplete__main {
    color: #1c1c1c;
    display: block;
    font-weight: 700;
}

.frameco-autocomplete__secondary {
    color: #5e5e5e;
    display: block;
    font-size: 0.9em;
}

/*
 * Google Maps Platform attribution (text form): Roboto 400, 12px, #5E5E5E (at least 4.5:1 on white),
 * single line, not translated. The theme only loads Roboto Condensed, hence the Arial fallback.
 */
.frameco-autocomplete__attribution {
    border-top: 1px solid #e5e5e5;
    color: #5e5e5e;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    padding: 5px 10px;
    text-align: right;
    white-space: nowrap;
}

.frameco-autocomplete__status {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
