* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 350px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sidebar.active {
    transform: translateX(0);
}

.info-panel {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.building-card {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.2s;
}

.building-card:hover {
    transform: translateY(-3px);
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
}

.btn-open {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-open:hover {
    background: #2980b9;
}

.cluster-marker {
    width: 40px;
    height: 40px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.loading {
    width: 25px;
    height: 25px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cluster-count {
    font-size: 14px;
}

/* Styling for the filter dropdown */
#category-filter {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 10px 15px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #333;
    transition: all 0.3s ease;
    width: 250px; /* Adjust width as needed */
    position: fixed; /* Positioning fixed to keep it in place */
    top: 20px; /* Distance from the top of the viewport */
    right: 20px; /* Distance from the right of the viewport */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10000; /* Ensure it appears above other elements */
}

/* Hover effect to highlight the dropdown */
#category-filter:hover {
    border-color: #3498db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Focus effect for the dropdown */
#category-filter:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Styling for the options inside the dropdown */
#category-filter option {
    font-size: 14px;
    padding: 10px;
    background-color: #ffffff;
    color: #333;
    border: none;
}

/* Adjust options on hover */
#category-filter option:hover {
    background-color: #f1f1f1;
    color: #3498db;
}

/* Optional: Add a label for the dropdown if needed */
#category-filter-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* Styling untuk Logo */
#logo {
    position: fixed;
    bottom: 50px; /* Jarak dari bawah */
    right: 20px;  /* Jarak dari kanan */
    width: 200px; /* Ukuran logo, sesuaikan jika perlu */
    transition: all 0.3s ease; /* Animasi smooth saat posisi berubah */
    z-index: 10001; /* Pastikan logo berada di atas peta dan sidebar */
}

/* Menyembunyikan logo saat sidebar muncul */
.sidebar.active #logo {
    display: none;
}

/* Menampilkan logo di atas sidebar saat sidebar aktif */
.sidebar.active #logo {
    position: absolute;
    top: 20px; /* Posisi atas dalam sidebar */
    left: 20px; /* Posisi kiri dalam sidebar */
    width: 100px; /* Ukuran logo di sidebar */
}

