/* The world map of js/shared/atlas-map.js, shared by the apps built on it (Atlas Pin, Flags and Capitals): the map's
   canvas filling its box, and the zoom buttons in its top-right corner (Views/SeoLanding/_AtlasMap.cshtml). Each app
   lays out the box itself: beside its street or card, and its shape on a phone. */

.atlas-map-wrap {
    position: relative;
    min-height: 0;
}

.atlas-map {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #1f5a8c;
    cursor: crosshair;
    touch-action: none;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(0, 0, 0, 0.14);
}

.atlas-map:active {
    cursor: grabbing;
}

.atlas-map:focus-visible {
    box-shadow: 0 0 0 3px var(--ak-accent);
}

.atlas-map-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.atlas-map-zoom-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    color: #1d2733;
    cursor: pointer;
}

.atlas-map-zoom-btn:last-child {
    border-bottom: 0;
}

.atlas-map-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.atlas-map-zoom-btn:focus-visible {
    outline: 2px solid var(--ak-accent);
    outline-offset: -2px;
}

.atlas-map-zoom-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
