body {
    padding: 0;
    margin: 0;
}

html,
body,
#map {
    height: 100%;
    font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.stats-panel {
    height: 12rem;
    overflow-y: auto;
}

.drawer {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
}

.drawer.open {
    right: 0;
}

.start-icon {
    background-color: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.end-icon {
    background-color: #ef4444;
    border: 2px solid white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.stop-icon {
    background-color: #2563eb;
    border: 2px solid white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.location-icon {
    background-color: #3b82f6;
    border: 2px solid white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.term {
    font-weight: bold;
}

.defined {
    margin-left: 20px;
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Content */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    /*width: 300px;*/
    text-align: center;
}

/* Close Button */
.close-button {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

/* Style the autocomplete dropdown */
.pac-container {
    z-index: 10000 !important;
    /* Ensure it's on top */

}

/* Style each suggestion item */
.pac-item {
    font-size: 12px;
    padding: 3px;
    cursor: pointer;
}

/* Highlight the active selection */
.pac-item:hover {}

.pac-logo {
    background-image: '' !important;
}

.custom-marker .marker-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 25px;
    border: 3px solid white;
    /* White border */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.colored-input {
    position: relative;
    padding-left: 25px;
    /* Adjust as needed */
}

.colored-input::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 15px;
    /* Width of the colored area */
    background: #ff5733;
    /* Color */
}

.fa-plus::before {
    color: red;
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin-bottom: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 5px;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    opacity: 0;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: 2.25rem;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    content: "Browse";
    background-color: #e9ecef;
    border-left: inherit;
    border-radius: 0 .25rem .25rem 0;
}

.is-invalid {
    color: red;
    border: red 1px solid !important;
    border-radius: 5px !important;
}

#input-groups-container {
    border-radius: 0.25rem;
}

/* Custom scrollbar */
#input-groups-container::-webkit-scrollbar {
    width: 6px;
}

#input-groups-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#input-groups-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#input-groups-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hover effect for remove button */
.remove-group {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.remove-group:hover {
    opacity: 1;
}

.input-group-text {
    border-radius: 4px 0px 0px 4px !important;
    border-left: 5px solid blue;
    padding: 0.375rem .45rem!important;
}

/* Styling for the Date and Time display on the map */
#date-time-display {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000; /* Ensure it appears on top */
    background-color: white;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-family: Arial, sans-serif;
    color: #333;
}
