:root {
    --color-primary: #4FB7B3;
    --color-secondary: #26667F;
    --color-bg: #FFFFFF;
    --btn-main: #3674B5;
    --btn-second: #F93827;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f6f9; /* Sedikit abu-abu agar konten putih menonjol */
    overflow-x: hidden;
}

/* --- SIDEBAR --- */
#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar-wrapper {
    min-height: 100vh;
    width: 250px;
    margin-left: 0;
    background-color: var(--color-secondary); /* Warna Kedua sebagai background sidebar */
    color: #fff;
    transition: margin 0.25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
    padding: 1.5rem 1.25rem;
    font-size: 1.2rem;
    background-color: rgba(0,0,0,0.1);
    text-align: center;
}

#sidebar-wrapper .list-group {
    width: 250px;
}

#sidebar-wrapper .list-group-item {
    background-color: transparent;
    color: rgba(255,255,255,0.8);
    border: none;
    padding: 15px 25px;
    font-size: 0.95rem;
}

#sidebar-wrapper .list-group-item:hover {
    background-color: var(--color-primary); /* Warna Utama saat hover */
    color: #fff;
    cursor: pointer;
}

#sidebar-wrapper .list-group-item.active {
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border-left: 4px solid #fff;
}

/* --- CONTENT --- */
#page-content-wrapper {
    width: 100%;
}

.navbar {
    background-color: var(--color-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-custom-main {
    background-color: var(--btn-main);
    color: #fff;
    border: none;
}
.btn-custom-main:hover {
    background-color: #2a5d94;
    color: #fff;
}

.btn-custom-second {
    background-color: var(--btn-second);
    color: #fff;
    border: none;
}
.btn-custom-second:hover {
    background-color: #d62c1d;
    color: #fff;
}

/* Kartu Statistik */
.card-stat {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.card-stat:hover {
    transform: translateY(-5px);
}
.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Responsive Toggling 
#wrapper.toggled #sidebar-wrapper {
    margin-left: -250px;
}

@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
    }
    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0;
    }
}
*/

/* --- KANBAN BOARD STYLES --- */
.kanban-container {
    display: flex;
    overflow-x: auto;
    padding-bottom: 20px;
    gap: 20px;
}
.kanban-column {
    min-width: 300px;
    width: 300px;
    background-color: #eef2f5;
    border-radius: 8px;
    padding: 15px;
    height: fit-content;
}
.kanban-header {
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-secondary);
}
.kanban-card {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid transparent;
    cursor: grab;
    transition: transform 0.2s;
}
.kanban-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* Warna Border Card berdasarkan Prioritas/Status */
.card-hot { border-left-color: var(--btn-second); }
.card-warm { border-left-color: #ffc107; }
.card-cold { border-left-color: #6c757d; }
.card-done { border-left-color: #198754; }

.kanban-card h6 { font-weight: 600; margin-bottom: 5px; color: #333; }
.kanban-card p { font-size: 0.85rem; color: #666; margin-bottom: 8px; }
.kanban-meta { font-size: 0.75rem; color: #999; display: flex; justify-content: space-between; align-items: center; }

/* --- FUNNEL CHART STYLES --- */
.funnel-container {
    max-width: 800px;
    margin: auto;
}
.funnel-layer {
    position: relative;
    padding: 15px 20px;
    margin: 0 auto 10px auto;
    color: white;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.funnel-layer:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}
.funnel-layer h5 { font-weight: 600; margin: 0; font-size: 1.1rem; }
.funnel-layer p { font-size: 1.8rem; font-weight: 700; margin: 5px 0 0 0; line-height: 1; }
.funnel-layer small { opacity: 0.9; font-size: 0.9rem; }

/* Layer specific styles */
#cold-market { width: 100%; background-color: #3674B5; }
#warm-market { width: 80%; background-color: #4FB7B3; }
#hot-market { width: 60%; background-color: #ffc107; }
#very-hot-market { width: 40%; background-color: #F93827; }

/* --- LANDING PAGE STYLES --- */
.landing-hero {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    padding: 80px 0 120px; /* Padding bawah besar untuk space kartu */
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    text-align: center;
}
.landing-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    padding: 40px;
    margin-top: -80px; /* Efek kartu menumpuk ke atas */
}