.djs-places {
    position: relative;
    width: 100%;
    color: inherit;
    font: inherit;
}

.djs-places [hidden] {
    display: none !important;
}

.djs-places button.djs-places-toggle {
    appearance: none;
    min-height: 44px;
    margin: 0;
    padding: 0 .35rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: .15em;
    cursor: pointer;
}

.djs-places-privacy,
.djs-places-status,
.djs-places-confirmation {
    font-size: .875em;
    line-height: 1.45;
}

.djs-places-status:not(:empty),
.djs-places-confirmation:not([hidden]) {
    margin-top: .4rem;
}

.djs-places-popup {
    z-index: 15;
    position: absolute;
    inset-inline: 0;
    top: 0;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgb(0 0 0 / .12);
}

.djs-places-list {
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: 15rem;
}

.djs-places button.djs-places-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: .55rem .75rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    cursor: pointer;
}

.djs-places-option + .djs-places-option {
    box-shadow: inset 0 1px #eee;
}

.djs-places button.djs-places-option:hover,
.djs-places button.djs-places-option[aria-selected="true"] {
    background: #eaf0fa;
}

.djs-places-name {
    font-weight: 600;
}

.djs-places-subtitle {
    color: #525252;
    font-size: .875em;
}

.djs-places-attribution {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    padding: 10px 10px 5px;
    background: #fff;
    color: #1f1f1f;
}

.djs-places-attribution img {
    display: block;
    width: auto;
    height: 16px;
    max-width: none;
}

.djs-places-credits {
    font: 400 .75rem sans-serif;
}

.djs-places-ranking {
    margin-inline-start: auto;
    color: #383838;
    font-size: .75rem;
    text-decoration: underline;
}

.djs-places-credits > * + * {
    margin-left: .45rem;
}

