.qt-location-map-shell {
    min-width: 0;
}

.qt-location-map {
    position: relative;
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    background: var(--bs-tertiary-bg);
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.qt-location-map:active {
    cursor: grabbing;
}

.qt-location-map:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

.qt-location-map__tiles,
.qt-location-map__markers {
    position: absolute;
    inset: 0;
}

.qt-location-map__tile {
    position: absolute;
    width: 256px;
    height: 256px;
    max-width: none;
    pointer-events: none;
}

.qt-location-map__markers {
    pointer-events: none;
}

.qt-location-map__marker--editable {
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
}

.qt-location-map__marker--editable:active {
    cursor: grabbing;
}

.qt-location-map__marker {
    position: absolute;
    width: 1.4rem;
    height: 1.4rem;
    border: .18rem solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -100%) rotate(-45deg);
    box-shadow: 0 .2rem .55rem rgba(0, 0, 0, .35);
}

.qt-location-map__marker--object {
    background: var(--bs-primary);
}

.qt-location-map__marker--business {
    background: var(--bs-success);
}

.qt-location-map__marker-label {
    position: absolute;
    left: 1.05rem;
    top: -.2rem;
    max-width: 14rem;
    padding: .25rem .45rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-sm);
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transform: rotate(45deg);
    box-shadow: var(--bs-box-shadow-sm);
}

.qt-location-map__controls {
    position: absolute;
    z-index: 3;
    top: .75rem;
    left: .75rem;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    box-shadow: var(--bs-box-shadow-sm);
}

.qt-location-map__control {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.qt-location-map__control:last-child {
    border-bottom: 0;
}

.qt-location-map__control:hover,
.qt-location-map__control:focus-visible {
    background: var(--bs-tertiary-bg);
}

.qt-location-map__attribution {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    max-width: 90%;
    padding: .15rem .35rem;
    background: rgba(255, 255, 255, .9);
    color: #212529;
    font-size: .65rem;
    line-height: 1.25;
    text-align: right;
}

.qt-location-map-results {
    max-height: 16rem;
    overflow-y: auto;
}

.qt-location-card {
    height: 100%;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    padding: 1rem;
    background: var(--bs-body-bg);
}

.qt-location-legend-dot {
    display: inline-block;
    width: .75rem;
    height: .75rem;
    margin-right: .35rem;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--bs-border-color);
    vertical-align: -.05rem;
}

.qt-location-legend-dot--object {
    background: var(--bs-primary);
}

.qt-location-legend-dot--business {
    background: var(--bs-success);
}

@media (max-width: 575.98px) {
    .qt-location-map {
        min-height: 280px;
    }

    .qt-location-map__marker-label {
        max-width: 9rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.qt-location-map__consent-notice {
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}
