.alpha-map-module {
    --alpha-map-border: #d9dee5;
    --alpha-map-muted: #667085;
    --alpha-map-surface: #ffffff;
    --alpha-map-active: #eef6ff;
    display: grid;
    gap: 22px;
    width: 100%;
}

.alpha-map-module.alpha-map-list-left,
.alpha-map-module.alpha-map-list-right {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    align-items: start;
}

.alpha-map-module.alpha-map-list-right {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.alpha-map-module.alpha-map-list-below {
    grid-template-columns: minmax(0, 1fr);
}

.alpha-map-module.alpha-map-list-below .alpha-map-map-column {
    order: 1;
}

.alpha-map-module.alpha-map-list-below .alpha-map-list-panel {
    order: 2;
}

.alpha-map-canvas {
    position: relative;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    border: 1px solid var(--alpha-map-border);
    border-radius: 12px;
    background: #e8edf2;
}

.alpha-map-map-column {
    min-width: 0;
}

.alpha-map-list-panel {
    min-width: 0;
}

.alpha-map-list-heading {
    margin: 0 0 14px;
    font-size: 1.3rem;
    line-height: 1.25;
}

.alpha-map-controls {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.alpha-map-control {
    display: grid;
    gap: 5px;
}

.alpha-map-control-label {
    font-size: .82rem;
    font-weight: 700;
    color: #344054;
}

.alpha-map-control input,
.alpha-map-control select {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #cfd5dd;
    border-radius: 7px;
    background: #fff;
    color: #1d2939;
}

.alpha-map-result-count {
    margin: 0 0 8px;
    color: var(--alpha-map-muted);
    font-size: .86rem;
}

.alpha-map-location-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.alpha-map-list-left .alpha-map-location-list,
.alpha-map-list-right .alpha-map-location-list {
    grid-template-columns: 1fr;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 4px;
}

.alpha-map-location-button {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 66px;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--alpha-map-border);
    border-radius: 9px;
    background: var(--alpha-map-surface);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.alpha-map-location-button:hover,
.alpha-map-location-button:focus {
    border-color: #85a9cb;
    background: #f8fbff;
    box-shadow: 0 3px 12px rgba(31, 111, 178, .10);
    outline: none;
}

.alpha-map-location-item.is-active .alpha-map-location-button {
    border-color: #5b91c3;
    background: var(--alpha-map-active);
}

.alpha-map-location-static {
    cursor: default;
    opacity: .72;
}

.alpha-map-list-marker {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--alpha-map-marker-color, #1f6fb2);
    box-shadow: 0 0 0 1px rgba(16, 24, 40, .22);
}

.alpha-map-location-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.alpha-map-location-title {
    color: #101828;
    line-height: 1.35;
}

.alpha-map-location-address,
.alpha-map-location-category,
.alpha-map-location-warning {
    color: var(--alpha-map-muted);
    font-size: .85rem;
    line-height: 1.35;
}

.alpha-map-location-category {
    font-weight: 700;
}

.alpha-map-location-warning {
    color: #9a6700;
}

.alpha-map-no-results,
.alpha-map-empty-map,
.alpha-map-error {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 7px;
    background: #fff8e5;
    color: #7a4d00;
}

.alpha-map-error {
    position: absolute;
    inset: 20px;
    display: grid;
    place-items: center;
    text-align: center;
}

.alpha-map-div-icon {
    border: 0;
    background: transparent;
}

.alpha-map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--alpha-map-pin-color, #1f6fb2);
    box-shadow: 0 3px 8px rgba(16, 24, 40, .38);
    transform: translate(-50%, -70%) rotate(-45deg);
}

.alpha-map-pin-dot {
    width: 30%;
    height: 30%;
    border-radius: 50%;
    background: #fff;
    transform: rotate(45deg);
}

.alpha-map-popup {
    min-width: 170px;
}

.alpha-map-popup-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    line-height: 1.25;
}

.alpha-map-popup-category {
    display: inline-block;
    margin: 0 0 6px;
    padding: 2px 7px;
    border-radius: 99px;
    background: #eef2f6;
    color: #344054;
    font-size: .75rem;
    font-weight: 700;
}

.alpha-map-popup-address {
    margin-bottom: 8px;
    color: #667085;
}

.alpha-map-popup-content {
    margin-top: 8px;
}

.alpha-map-popup-content > :last-child {
    margin-bottom: 0;
}

.alpha-map-popup-link {
    display: inline-block;
    margin-top: 11px;
    font-weight: 700;
}

.alpha-map-module [hidden] {
    display: none !important;
}

@media (max-width: 860px) {
    .alpha-map-module.alpha-map-list-left,
    .alpha-map-module.alpha-map-list-right {
        grid-template-columns: minmax(0, 1fr);
    }

    .alpha-map-module.alpha-map-list-right .alpha-map-map-column {
        order: 2;
    }

    .alpha-map-module.alpha-map-list-right .alpha-map-list-panel {
        order: 1;
    }

    .alpha-map-list-left .alpha-map-location-list,
    .alpha-map-list-right .alpha-map-location-list {
        max-height: none;
    }
}


.alpha-map-popup-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 0 10px;
    border-radius: 4px;
}

.alpha-map-popup-content p:last-child {
    margin-bottom: 0;
}
