html,
body {
    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #263d19;
}


/* ============================================================
   MAP
   ============================================================ */

#map-container {

    position: absolute;

    left: 0;
    top: 0;
    right: 0;
    bottom: 52px;

    overflow: hidden;

    background: #263d19;

    touch-action: none;
}


#map-image {

    position: absolute;

    left: 0;
    top: 0;

    transform-origin: 0 0;

    user-select: none;

    -webkit-user-select: none;

    -webkit-user-drag: none;

    pointer-events: none;
}


/* ============================================================
   GPS POSITION MARKER
   ============================================================ */

#position-marker {

    position: absolute;

    width: 24px;
    height: 24px;

    margin-left: -12px;
    margin-top: -12px;

    border-radius: 50%;

    background:
        rgba(255, 0, 0, 0.60);

    border:
        2px solid
        rgba(255, 255, 255, 0.95);

    box-sizing: border-box;

    z-index: 10;

    display: none;

    pointer-events: none;
}


/* ============================================================
   GPS ACCURACY CIRCLE
   ============================================================ */

#accuracy-circle {

    position: absolute;

    border-radius: 50%;

    background:
        rgba(0, 120, 255, 0.15);

    border:
        1px solid
        rgba(0, 100, 255, 0.45);

    box-sizing: border-box;

    transform:
        translate(-50%, -50%);

    z-index: 8;

    pointer-events: none;

    display: none;
}


/* ============================================================
   BOTTOM CONTROLS
   ============================================================ */

#controls {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 52px;

    background:
        rgba(255, 255, 255, 0.95);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 6px 8px;

    box-sizing: border-box;

    z-index: 20;

    box-shadow:
        0 -1px 5px
        rgba(0, 0, 0, 0.20);
}


/* ============================================================
   GPS BUTTON
   ============================================================ */

#gps-button {

    height: 40px;

    min-width: 125px;

    padding:
        0 16px;

    font-size: 15px;

    font-weight: 500;

    border:
        1px solid #888;

    border-radius: 6px;

    background: #eeeeee;

    color: #222;

    box-sizing: border-box;

    white-space: nowrap;

    touch-action: manipulation;
}


#gps-button:active {

    background: #d5d5d5;
}


/* ============================================================
   ZOOM BUTTONS
   ============================================================ */

#zoom-controls {

    position: absolute;

    right: 12px;
    top: 12px;

    z-index: 30;

    display: flex;

    flex-direction: column;

    gap: 6px;
}


#zoom-controls button {

    width: 44px;
    height: 44px;

    padding: 0;

    font-size: 28px;

    line-height: 40px;

    background:
        rgba(255, 255, 255, 0.90);

    border:
        1px solid #777;

    border-radius: 6px;

    box-shadow:
        0 1px 4px
        rgba(0, 0, 0, 0.35);

    touch-action: manipulation;
}


#zoom-controls button:active {

    background: #ddd;
}


#gps-status {
    margin-left: 10px;

    font-size: 14px;

    color: #555;

    white-space: nowrap;
}
