/* GLOBAL */
body {
    background: #f5f7fa;
}

/* ======================
    SIDEBAR
====================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, #0d3b66, #0a2c4e);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    z-index: 1000;
}

.sidebar h5 {
    font-weight: 600;
}

.sidebar a {
    color: #cfd8e3;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 6px;
    margin-bottom: 4px;
}

.sidebar a.active,
.sidebar a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sidebar-menu {
    flex-grow: 1;
}

.sidebar-bottom {
    margin-top: auto;
}

/* ======================
    MAIN CONTENT
====================== */
.main-content {
    margin-left: 240px;
    padding: 2rem;
}

/* ======================
    INTERACTIVE CARDS (HOVER EFFECT)
====================== */
.incident-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.incident-card-hover:hover {
    transform: translateY(-3px) scale(1.02); /* Menggabungkan sedikit efek naik dan scale */
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    cursor: pointer;
}

/* ======================
    RESPONSIVE
====================== */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .main-content {
        margin-left: 0;
    }
}