* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { display: flex; min-height: 100vh; background-color: #f4f6f8; }

/* Sidebar Container */
.sidebar {
    width: 260px; 
    background: linear-gradient(180deg, #004AAD 0%, #003381 100%);
    color: white; 
    display: flex; 
    flex-direction: column; 
    position: fixed; 
    height: 100vh; 
    z-index: 1000;
}

/* Container Logo */
.logo-container {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo SBB dengan Efek Timbul & Kontras Tinggi */
.logo-sbb {
    width: 100%;
    max-width: 180px;
    height: auto;
    /* Memberikan efek bayangan hitam pekat agar timbul dan filter kontras */
    filter: drop-shadow(0 8px 15px rgba(250, 250, 250, 0.5)) contrast(1.3) brightness(1.2);
    transition: all 0.3s ease;
}

/* Efek saat mouse diarahkan ke logo */
.logo-sbb:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8)) contrast(1.4) brightness(1.3);
}

/* Tambahkan ini di bawah baris 22 agar logo membesar sedikit saat disentuh */
.logo-sbb:hover {
    transform: scale(1.05);
}

.nav-links { list-style: none; padding: 20px 0; flex: 1; }
.nav-links li a { display: flex; align-items: center; padding: 15px 25px; color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; gap: 15px; }
.nav-links li a:hover, .nav-links li.active a { background: rgba(255,255,255,0.1); color: white; border-left: 4px solid #FF6B00; }

.main-content { margin-left: 260px; flex: 1; padding: 20px; }
.top-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.top-header h1 { font-size: 22px; color: #333; }
.date { background: white; padding: 8px 15px; border-radius: 8px; color: #666; font-size: 13px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

.kpi-section { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 25px; }
.kpi-card { background: white; padding: 20px; border-radius: 12px; display: flex; align-items: center; gap: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.kpi-icon { width: 45px; height: 45px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: white; }
.kpi-icon.blue { background: #004AAD; }
.kpi-icon.green { background: #28a745; }
.kpi-icon.orange { background: #FF6B00; }
.kpi-icon.red { background: #dc3545; }
.kpi-info h3 { font-size: 24px; color: #333; }
.kpi-info p { font-size: 12px; color: #666; }

.map-section { display: flex; gap: 20px; height: calc(100vh - 250px); }
.filter-panel { width: 340px; background: white; border-radius: 12px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow-y: auto; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; color: #666; margin-bottom: 5px; font-weight: 600; }
.form-group select, .form-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; background: #f9f9f9; }

.btn-search { width: 100%; padding: 12px; background: #FF6B00; color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.btn-search:hover { background: #e66000; }

.result-card { background: #f8f9fa; border-left: 4px solid #004AAD; border-radius: 6px; padding: 12px; margin-bottom: 10px; cursor: pointer; transition: 0.2s; }
.result-card:hover { background: #eef4ff; transform: translateX(5px); }
.material-badge { background: #004AAD; color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-right: 4px; text-transform: uppercase; font-weight: bold; }

.map-container { flex: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
#map { width: 100%; height: 100%; }

.plant-marker-icon {
    background-color: white;
    border: 2px solid #004AAD;
    border-radius: 5px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.user-profile { padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 12px; }
.avatar { width: 35px; height: 35px; background: #FF6B00; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 12px; }