* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Arial', sans-serif;
}

html,
body,
#map {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.top-bar {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 700px;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1000;
}

.menu-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0px 10px;
    color: #5f6368;
    width: 40px;
    height: 40px;
    font-size: 20px;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.menu-btn:hover {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.menu-btn:active {
    transform: scale(0.95);
}

.close-btn {
    align-self: flex-end;
    margin-bottom: 10px;
    margin-top: 5px;
    margin-right: 5px;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #3c4043;
    border-radius: 30px;
    margin-left: 10px;
    z-index: 1000;
}

.search-results {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
    display: none;
    border-radius: 0 0 30px 30px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
    padding-top: 30px;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results ul li {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.search-results ul li:hover {
    background-color: #f0f0f0;
}

.menu {
    position: absolute;
    top: 0;
    left: -290px;
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    transition: 0.3s ease;
    z-index: 1003;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.menu.open {
    left: 0;
}

.menu-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.prices-list {
    flex: 1;
    color: #f9f9f9;
    overflow: hidden;
}

.prices-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    max-height: calc(100% - 70px);
    overflow-y: auto;
}

.prices-list ul li {
    background-color: #333;
    border: 1px solid #f9f9f9;
    color: #f9f9f9;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    border-radius: 10px;
}

.prices-list ul li::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="0.5em" height="1em" viewBox="0 0 12 24"><path fill="%23f9f9f9" fill-rule="evenodd" d="M10.157 12.711L4.5 18.368l-1.414-1.414l4.95-4.95l-4.95-4.95L4.5 5.64l5.657 5.657a1 1 0 0 1 0 1.414"/></svg>');
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 23px;
}

.prices-list ul li:hover {
    filter: brightness(1.5);
}

.prices-list ul li:active {
    background-color: #666;
}

.copyright {
    text-align: center;
    color: #f9f9f9;
    background-color: #333;
    font-size: 13px;
}

.select-container {
    width: 100%;
    position: relative;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.custom-select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    background-color: white;
    color: #3c4043;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.select-container::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 4a1 1 0 0 1 .707.293l4 4a1 1 0 0 1-1.414 1.414L12 6.414L8.707 9.707a1 1 0 0 1-1.414-1.414l4-4A1 1 0 0 1 12 4M7.293 14.293a1 1 0 0 1 1.414 0L12 17.586l3.293-3.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414"/></svg>');
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 23px;
    color: #5f6368;
    pointer-events: none;
}

@media (max-width: 768px) {
    .menu {
        left: -100%;
        width: 100%;
    }

    .top-bar {
        width: 90%;
        max-width: 90%;
    }
}

.sliderText {
    margin-top: 15px;
}

.slidecontainer {
    width: 100%;
    padding: 10px;
    background-color: #444;
    border-radius: 10px;
    margin-bottom: 20px;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: #d3d3d3;
    border-radius: 10px;
    outline: none;
    opacity: 0.9;
    transition: background .3s ease;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #04AA6D;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: background .3s ease;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #04AA6D;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: background .3s ease;
}

.slider:hover {
    background: #bbb;
}

.slider:hover::-webkit-slider-thumb {
    background: #037e5e;
}

.slider:hover::-moz-range-thumb {
    background: #037e5e;
}

.search-container {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: white;
    z-index: 1000;
}

.leaflet-control-button {
    cursor: pointer;
}

small {
    font-weight: normal;
    font-size: 11px;
}