html, body {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
    background: #222;
}

#app {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#mapFrame {
    flex: 1;
    margin: 12px;
    border: 3px solid #444;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

#map {
    width: 100%;
    height: 100%;
}

#infoBar {
    height: 140px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #111;
    color: #ddd;
    border-top: 2px solid #333;
    padding: 0 15px;
    font-size: 14px;
}

#leftPanel {
    height: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content:space-evenly;
    align-items: flex-start;
}

#targetPanel {
    width: 260px;
    background: #111;
    color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0px 15px;
    font-size: 14px;
    margin-left: auto;
}

#tgtScroller {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    width: fit-content;
}

#cursorPos,
#observerInfo,
#refractionInfo {
    background: #111;
    color: #ddd;
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 100%;
}

#altInput,
#tgtAltitude {
    width: 58px;
    padding: 2px 4px;
    color: #ddd;
    background: #111;
}

#ftDisplay {
    padding: 6px;
}

#refractionMode {
    padding: 2px 4px;
    color: #ddd;
    background: #111;
}

#kDisplay {
    padding: 6px;
}

#customBox {
    display: none;
    padding: 10px;
    gap: 10px;
    align-items: center;
}

#clearTargetsBtn {
    color: #ddd;
    background-color: #1b1b1b;
    width: fit-content;
    cursor: pointer;
    margin-top: 6px;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: #777777;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: #00FF00 !important;
}

.target-label {
    background: transparent;
    border: none;
    box-shadow: none;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    text-shadow:
        -1px -1px 0 black,
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black;
    pointer-events: none;
}

.leaflet-container {
    cursor: default !important;
}

.leaflet-grabbing {
    cursor: grabbing !important;
}