* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body { background-color: #fdf2e9; }

.container { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar { width: 260px; background: linear-gradient(to bottom, #f37021, #e85a06); color: white; padding: 20px 0; }
.sidebar .logo { text-align: center; margin-bottom: 30px; color: white; }
.sidebar ul { list-style: none; }
.sidebar ul li { padding: 15px 25px; cursor: pointer; font-size: 14px; transition: 0.3s; }
.sidebar ul li:hover, .sidebar ul li.active { background: rgba(255, 255, 255, 0.2); border-left: 5px solid white; }
.sidebar ul li i { margin-right: 12px; width: 20px; }

/* Content Area */
.main-content { flex: 1; padding: 40px; }
header h1 { font-size: 28px; color: #333; }
header h1 span { color: #f37021; }
header p { color: #777; margin-bottom: 25px; }

.btn-primary { 
    background-color: #f37021; color: white; border: none; 
    padding: 15px 35px; border-radius: 8px; font-weight: bold; 
    cursor: pointer; font-size: 16px; margin-bottom: 30px;
}

/* Stats Cards */
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 30px; }
.card { background: white; padding: 20px; border-radius: 12px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.card h3 { font-size: 11px; color: #888; text-transform: uppercase; margin-bottom: 10px; }
.card .value { font-size: 36px; font-weight: bold; margin-bottom: 5px; }
.card p { font-size: 12px; color: #aaa; }

.orange .value { color: #f37021; }
.green .value { color: #28a745; }
.yellow .value { color: #ffc107; }
.red .value { color: #dc3545; }
.purple .value { color: #6f42c1; }

/* Chart Full Width */
.chart-section-full { 
    background: white; padding: 30px; border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.legend-custom { font-size: 12px; font-weight: bold; }
.legend-custom span { margin-left: 15px; }
.chart-wrapper { height: 350px; width: 100%; }

.logo-container {
    padding: 20px;
    text-align: center;
    background: white; /* Memberi background putih agar logo BPS terlihat jelas */
    margin: 0 20px 20px 20px;
    border-radius: 10px;
}

.sidebar-logo {
    width: 80px; /* Ukuran logo di sidebar */
    height: auto;
}

.sidebar {
    width: 260px;
    background: linear-gradient(to bottom, #f37021, #e85a06);
    color: white;
    padding-top: 20px;
}

/* Memastikan chart mengisi seluruh lebar kontainer utama */
.chart-section-full {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 100%;
    margin-top: 20px;
}

.chart-wrapper {
    height: 400px;
    width: 100%;
}