body, html {
margin: 0;
height: 100%;
font-family: 'Inter', sans-serif;

}

.container {
display: flex;
height: 100vh;
width: 100%;
}
.sidebar {
width: 18vw;
padding: 20px;
background: transparent;
overflow-y: auto;
position: fixed;
left: 1vw;
top: 10vh;
z-index: 9999;
overflow-x: hidden;

}
.sidebar select {
padding: 10px;
font-size: 14px;
border: 1px solid #ddd;
max-width: 90%;
min-height: 38px
}
#map {
flex: 1;
height: 100%;
}
.leaflet-control-attribution.leaflet-control {
opacity: 0;
position: relative;
z-index: -999;
}

/* === Fixed Glass Header === */
.glass-header {
position: fixed;
top: 0;
left: 0;
width: 95%;
height: 56px;
backdrop-filter: blur(12px);
background: rgba(255, 255, 255);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
z-index: 1001;
display: flex;
align-items: center;
padding: 0 2.5%;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
justify-content: space-between;
}

.logo-box img {
height: 21px;
width: auto;
display: block;
}

.add-btn {
color: #000000;
border: none;
padding: 10px 18px;
margin-left: 20px;
border-radius: 6px;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
margin-right: 2%;
background: transparent;
}

button.add-btn i {
vertical-align: middle;
}
.popup-overlay {
position: fixed;
top: 0; left: 0;
width: 100vw;
height: 100vh;
background: rgba(0,0,0,0.6);
display: none;
justify-content: center;
align-items: center;
z-index: 99999;
}

.popup-content {
background: white;
padding: 20px 25px;
width: 90%;
max-width: 400px;
border-radius: 12px;
position: relative;
box-shadow: 0 0 25px rgba(0,0,0,0.3);
text-align: center;
}

.popup-content input,
.popup-content textarea {
width: -webkit-fill-available;
margin: 10px 0;
padding: 10px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
}

.popup-content button {
background-color: #00aa66;
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
cursor: pointer;
}

.popup-content button:hover {
background-color: #008c55;
}

.popup-content .close {
position: absolute;
top: 10px;
right: 14px;
font-size: 22px;
cursor: pointer;
}

/* Popup styling (Leaflet content) */
.leaflet-popup-content-wrapper {
padding: 16px !important;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
background-color: #fff;
}

.leaflet-popup-content {
margin: 0 !important;
font-family: 'Inter', sans-serif;
font-size: 13.5px;
line-height: 1.5;
color: #2a2a2a;
min-width: 260px;
}


.leaflet-popup-content h4 {
font-size: 16px;
color: #004085;
margin: 0 0 6px 0;
}

.leaflet-popup-content a {
display: inline-block;
margin-top: 10px;
padding: 6px 12px;
background: #007bff;
color: #fff !important;
border-radius: 5px;
text-decoration: none;
font-weight: 500;
transition: background 0.2s ease-in-out;
}

.leaflet-popup-content a:hover {
background: #0056b3;
}


div#nearbyContainer {
display: none;
}

div#nearby-section {
display: none;
}

button.filter-btn {
position: absolute;
right: 0;
border: 1px solid #ddd;
height: 38px;
width: 44px;
display: inline-block;
padding: 0;
background: #fff;
color: #000;
border-radius: 5px;
cursor: pointer;
}

button.filter-btn i {
display: block;
font-size: 17px;
color: #686767;
background: var(--tds-icon--bg);
}

div#nearby-section {
background: #ffffffc2;
padding: 10px;
border-radius: 10px;
}
div#nearby-section button {width: 100%;text-align: left;border-radius: 5px;box-shadow: none;border: 1px solid #ddd;}
select:focus {
border-color: #000 !important;
outline: none !important;
}

span.footer_icon {
position: fixed;
bottom: 0;
padding: 5px 0;
font-size: 12px;
background: #ffffff57;
display: block;
width: 100%;
z-index: 999;
color: #000;
text-align: center;
}
div#nearby-section button:hover {
    color: #22228b;
    background: #ddd;
}
@media (max-width: 991px) {
.sidebar {
max-width: 355px;

}
}
@media (max-width: 768px) {

.popup-content input, .popup-content textarea {
width: -webkit-fill-available;
margin: 5px 0;
padding: 10px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
}
.popup-overlay {
align-items: baseline;
}
.sidebar select {
-webkit-appearance: none; /* fix for iOS Safari */

}

div#nearbyContainer {
display: none !important;
}
.add-btn {
font-size: 14px;

}
.glass-header {
height: 50px;
padding: 0 15px;
}

.logo-box img {
height: 18px;
}
.container {
flex-direction: column;
}
.sidebar {
width: 85%;
height: auto;
top: 60px;
left: 0;
right: 0;
margin: 0 auto;
}

}
