#map {
    height: calc(100vh - 49px); /* Subtracting navbar height (4rem) */
}
.suggestions {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
}
.suggestion-item {
    padding: 0.5rem;
    cursor: pointer;
}
.suggestion-item:hover {
    background: #f0f0f0;
}
.background-dark {
    background-color: #222222;
}
.popup-content {
    font-size: 14px;
}
#controls {
    margin: 10px;
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
/* Prevent Flowbite from affecting marker icons */
.ev-icon {
    width: 30px !important; /* Override max-width property */
    height: 30px !important;
}
.custom-cluster-icon {
    background: rgba(255, 0, 0, 0.5); /* Red background with 50% opacity */
    border-radius: 50%;
    color: white;
    text-align: center;
    font-size: 14px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    opacity: 0.60; /* Apply opacity to the entire icon */
}
.leaflet-popup-content p {
    margin: 0 !important;
}
/* Light Mode Styles */
.leaflet-popup-content-wrapper.light-mode,
.leaflet-popup-tip.light-mode {
    background: #FFF;
    color: #181818;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
    border-radius: 12px !important;
}

/* Dark Mode Styles */
.leaflet-popup-content-wrapper.dark-mode,
.leaflet-popup-tip.dark-mode {
    background: #181818;
    color: #FFF;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
    border-radius: 12px !important;
}
.custom-button-dark {
    background-color: rgb(37 37 37);
}

/* Custom dark mode background color */
.dark bg-custom-dark {
    background-color: #181818; /* Set your custom dark mode color */
}

bg-custom-dark {
    background-color: #181818; /* Set your custom dark mode color */
}

.leaflet-container a{
    color: #181818 !important;
}

.custom-bg-green {
    background-color: green;
    opacity: 0.8;
}

.custom-bg-gray {
    background-color: grey;
    opacity: 0.8;
}