.rsud-page-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Sidebar Modern */
.rsud-sidebar {
    width: 350px;
    background: #ffffff;
    border-right: 1px solid #eee;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 10px 0 15px rgba(0,0,0,0.05);
}

/* Sidebar Header */
.sidebar-header h4 {
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Card Statistik */
.stats-card-mini {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    justify-content: space-around;
}

.stat-item { text-align: center; }
.stat-value { display: block; font-size: 20px; font-weight: bold; color: #0d6efd; }
.stat-label { font-size: 11px; color: #777; }

/* List Item RSUD */
.rsud-list { overflow-y: auto; flex-grow: 1; }

.rsud-item {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rsud-item:hover {
    background: #f1f7ff;
    border-color: #0d6efd;
}

.rsud-item.active {
    background: #0d6efd;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.rsud-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 5px;
    font-size: 10px;
    margin-top: 8px;
}

/* Legenda Kanan Atas */
.legenda-floating {
    position: absolute;
    top: 10%;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.marker-icon-preview {
    width: 15px;
    height: 15px;
    background: #dc3545;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Gaya Label RSUD yang muncul otomatis */

.label-rsud {
    background: rgba(220, 53, 69, 0.9);
    border: 1px solid #fff;
    border-radius: 6px;
    color: rgb(0, 0, 0) !important;
    font-weight: bold;
    font-size: 11px;
    padding: 4px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    
    /* Kunci supaya teks bisa wrap ke bawah */
    white-space: normal !important; /* Mengizinkan baris baru */
    width: 200px;                  /* Tentukan lebar kotak */
    text-align: center;            /* Biar teksnya rapi di tengah */
    line-height: 1.2;              /* Jarak antar baris biar gak mepet */
}