:root {
    --accent-color: #003660;
    --text-color: #000000;
    --manifold-color: #e1e1e1;
    --std-font: "Open Sans";
    --tooptip-background: rgba(225, 225, 225, 0.5);
    --popup-background: rgba(225, 225, 225, 0.9);
    --ship-color: #d70077;
    --harbor-color: var(--accent-color);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--std-font);
}

html,
body {
    height: 100%;
    width: 100vw;
    z-index: 0;
}

#map {
    height: 100%;
    width: 100vw;
    z-index: 0;
}

.shipPopup .leaflet-popup-content-wrapper {
    background: var(--popup-background);
    color: var(--text-color);
    font-size: 16px;
    line-height: 24px;
}

.shipPopup .leaflet-popup-content-wrapper a {
    color: rgba(255, 255, 255, 0.5);
}

.shipPopup .leaflet-popup-tip {
    background: var(--popup-background);
}

.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
    display: none;
}

.leaflet-tooltip {
    background-color: var(--tooptip-background);
    border: 1px solid var(--tooptip-background);
    border-radius: 10px;
    padding: 0px;
    margin: 0px;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: none;
    font-size: large;
    font-weight: bold;
}

.locationIcon {
    text-align: center;
    line-height: 20px;
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    vertical-align: middle;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-appearance: none;
    appearance: none;
}

.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 28px;
    transition: background 0.2s;
}

.custom-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.custom-switch input:checked+.custom-slider {
    background: #4fa3ff;
}

.custom-switch input:checked+.custom-slider:before {
    transform: translateX(20px);
}

.leaflet-control-scale {
    bottom: 15px;
}

@media only screen and (max-width: 600px) {
    .hidden-mobile {
        display: none;
    }
}