body {
    margin: 0 !important;
    padding: 0 !important;
}

#controls {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    margin: 10px;
    background-color: rgba(250,250,250,0.8);
    display: flex
}

#courierInfo, #noCourier, #noTrackCode, #loading {
    display: none;
}


#map {
    height: 100vh;
}


.markerBody {
    position: absolute;
    height: 16px;
    width: 16px;
    padding: 3px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid gray;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.markerBeak {
    position: absolute;
    top: 19px;
    left: 0;
    transform: rotate(15deg);
    border-top: 16px solid black;
    border-right: 7px solid transparent;
}

#courierTime {
    position: absolute;
    top: -20px;
    left: -5px;
    border-radius: 4px;
    font-size: 12px;
    background-color: white;
    border: 1px solid gray;
    width: 42px;
    text-align: center;
    font-weight: bold;
    height: 17px;
    line-height: 17px;
    padding: 0px 4px;
}


.row {
    display: flex;
    flex-direction: row;
}

.col {
    display: flex;
    flex-direction: column;
}


.leaflet-pane {
    z-index: 0;
}

.error {
    color: brown;
    font-weight: bold;
}

.btn {
    background-color: white;
    border-style: solid;
    border-color: gray;
    border-width: 0.2px;
    color: black;
    cursor: pointer;
}

  /* Darker background on mouse-over */
.btn:hover {
    color: RoyalBlue;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
}

#logo {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 10%;
    height: 10%;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}