/* =========================================
   CLEAN PROFESSIONAL UI
========================================= */

:root{

    --sidebar-width:280px;

    --primary:#198754;

    --primary-soft:#22c55e;

    --bg:#f5f7fb;

    --white:#ffffff;

    --text:#1f2937;

    --muted:#6b7280;

    --shadow:
        0 10px 30px rgba(0,0,0,0.06);

}

/* =========================================
   GLOBAL
========================================= */

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}

html,
body{

    width:100%;

    min-height:100%;

    overflow-x:hidden;

    overflow-y:auto;

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--text);

}

/* =========================================
   SIDEBAR
========================================= */

.sidebar{

    position:fixed;

    top:0;
    left:0;

    width:var(--sidebar-width);

    height:100vh;

    background:linear-gradient(
        180deg,
        var(--primary),
        #146c43
    );

    padding:24px 18px;

    display:flex;

    flex-direction:column;

    z-index:1000;

    overflow:hidden;

    box-shadow:
        5px 0 20px rgba(0,0,0,0.08);

}

/* =========================================
   LOGO
========================================= */

.sidebar-logo{

    text-align:center;

    margin-bottom:35px;

}

.sidebar-logo h2{

    color:white;

    font-size:40px;

    font-weight:700;

    margin-bottom:8px;

}

.sidebar-logo p{

    color:rgba(255,255,255,0.85);

    font-size:14px;

    line-height:1.6;

}

/* =========================================
   MENU
========================================= */

.sidebar-menu{

    flex:1;

    overflow-y:auto;

    padding-right:5px;

}

/* =========================================
   LINK
========================================= */

.menu-link{

    display:flex;

    align-items:center;

    gap:14px;

    padding:14px 18px;

    margin-bottom:12px;

    border-radius:18px;

    text-decoration:none;

    color:white;

    transition:0.3s ease;

    font-size:16px;

    font-weight:500;

}

.menu-link:hover{

    background:rgba(255,255,255,0.14);

    transform:translateX(4px);

    color:white;

}

.menu-link i{

    font-size:20px;

}

/* =========================================
   CONTACT
========================================= */

.sidebar-contact{

    padding-top:15px;

    margin-top:15px;

    border-top:
        1px solid rgba(255,255,255,0.15);

}

.sidebar-contact p{

    font-size:14px;

    margin-bottom:12px;

    color:white;

}

/* =========================================
   PROFILE
========================================= */

.sidebar-profile{

    margin-top:18px;

    background:rgba(255,255,255,0.12);

    border-radius:24px;

    padding:24px 18px;

    text-align:center;

    backdrop-filter:blur(10px);

}

/* FOTO */

.user-photo{

    width:95px;

    height:95px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid white;

    display:block;

    margin:auto;

}

/* INISIAL */

.profile-initial{

    width:95px;

    height:95px;

    border-radius:50%;

    background:white;

    color:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:40px;

    font-weight:700;

    margin:auto;

}

/* USER */

.sidebar-profile h5{

    color:white;

    margin-top:16px;

    font-size:18px;

    font-weight:600;

}

.sidebar-profile p{

    color:#d1fae5;

    font-size:14px;

    margin-top:6px;

}

/* =========================================
   MAIN CONTENT
========================================= */

.main-content{

    margin-left:var(--sidebar-width);

    width:calc(100% - var(--sidebar-width));

    min-height:100vh;

    background:var(--bg);

}

/* =========================================
   TOPBAR
========================================= */

.topbar{

    position:fixed;

    top:0;

    left:var(--sidebar-width);

    right:0;

    height:85px;

    background:rgba(255,255,255,0.9);

    backdrop-filter:blur(10px);

    border-bottom:
        1px solid rgba(0,0,0,0.05);

    z-index:999;

    padding:0 30px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.topbar h4{

    font-size:24px;

    margin-bottom:4px;

}

.topbar small{

    font-size:13px;

}

/* =========================================
   CONTENT AREA
========================================= */

.content-area{

    margin-top:85px;

    min-height:calc(100vh - 85px);

    padding:30px;

}

/* =========================================
   CARD
========================================= */

.card{

    border:none !important;

    border-radius:28px !important;

    box-shadow:var(--shadow);

    background:white;

}

/* =========================================
   FORM
========================================= */

.form-control,
.form-select{

    border-radius:16px !important;

    padding:14px 16px !important;

    border:
        1px solid #dbe3ea !important;

    transition:0.3s;

}

.form-control:focus,
.form-select:focus{

    border-color:var(--primary) !important;

    box-shadow:
        0 0 0 4px rgba(25,135,84,0.12) !important;

}

/* =========================================
   BUTTON
========================================= */

.btn{

    border-radius:14px !important;

    padding:10px 18px !important;

    font-weight:600 !important;

}

/* =========================================
   BANNER
========================================= */

.carousel-inner img{

    width:100%;

    height:560px;

    object-fit:cover;

    border-radius:28px;

}

.carousel{

    border-radius:28px;

    overflow:hidden;

    box-shadow:
        0 10px 35px rgba(0,0,0,0.10);

}

/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

/* =========================================
   SETTING CARD
========================================= */

.setting-card{

    transition:0.3s ease;

    border-radius:24px !important;

}

.setting-card:hover{

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.08);

}

/* ICON */

.setting-icon{

    width:80px;

    height:80px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin:auto;

}

/* =========================================
   DARK MODE
========================================= */

body.dark{

    background:#111827;

    color:white;

}

body.dark .main-content{

    background:#111827;

}

body.dark .topbar{

    background:
        rgba(17,24,39,0.92);

}

body.dark .card{

    background:#1f2937 !important;

    color:white !important;

}

body.dark .form-control,
body.dark .form-select{

    background:#111827 !important;

    color:white !important;

    border-color:#374151 !important;

}

body.dark .setting-card h5{

    color:white !important;

}

body.dark .setting-card p{

    color:#cbd5e1 !important;

}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:768px){

    :root{

        --sidebar-width:100%;

    }

    .sidebar{

        position:relative;

        height:auto;

    }

    .main-content{

        margin-left:0;

        width:100%;

    }

    .topbar{

        left:0;

    }

    .content-area{

        padding:20px;

    }

}

/* =========================================
   MENU ACTIVE
========================================= */

.menu-active{

    background:
    rgba(255,255,255,.12);

    border-radius:14px;

    box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08);

}

/* ICON */

.menu-active i{

    color:#fff !important;

}

/* TEXT */

.menu-active span{

    color:#fff !important;

    font-weight:600;

}

/* =========================================
   ABOUT HERO
========================================= */

.about-hero{

    position:relative;

    height:340px;

    border-radius:28px;

    overflow:hidden;

    background:
    url('images/about-banner.png')
    center center/cover no-repeat;

    box-shadow:
    0 10px 35px rgba(0,0,0,.12);

}

/* OVERLAY */

.about-overlay{

    width:100%;
    height:100%;

    background:
    linear-gradient(
        rgba(0,0,0,.55),
        rgba(0,0,0,.45)
    );

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px;

}

/* CONTENT */

.about-content{

    max-width:800px;

}

/* TITLE */

.about-title{

    font-size:58px;

    font-weight:800;

    color:#fff;

    margin-bottom:10px;

    text-shadow:
    0 5px 15px rgba(0,0,0,.4);

}

/* SUBTITLE */

.about-subtitle{

    font-size:24px;

    color:rgba(255,255,255,.92);

    margin-bottom:18px;

    font-weight:500;

}

/* LINE */

.about-line{

    width:120px;

    height:4px;

    background:#fff;

    margin:0 auto 20px;

    border-radius:20px;

    opacity:.85;

}

/* DESCRIPTION */

.about-description{

    color:rgba(255,255,255,.88);

    font-size:18px;

    line-height:1.8;

}

/* =========================================
   PROFILE AVATAR
========================================= */

.profile-avatar{

    width:95px;

    height:95px;

    margin:auto auto 15px;

    border-radius:50%;

    overflow:hidden;

    border:
    4px solid rgba(255,255,255,.20);

    box-shadow:
    0 5px 15px rgba(0,0,0,.18);

}

/* IMAGE */

.profile-avatar img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

/* =========================================
   STAT CARD
========================================= */

.stat-card{

    border-radius:22px;

    transition:.3s;

    overflow:hidden;

}

/* HOVER */

.stat-card:hover{

    transform:
    translateY(-5px);

    box-shadow:
    0 15px 30px rgba(0,0,0,.12);

}

/* ICON */

.stat-icon{

    width:65px;

    height:65px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:28px;

}

/* CLICKABLE CARD */

.stat-card{

    cursor:pointer;

    transition:.3s ease;

}

.stat-card:hover{

    transform:
    translateY(-6px);

    box-shadow:
    0 18px 35px rgba(0,0,0,.12);

}

a .stat-card{

    color:inherit;

}

/* =========================================
   UNIT CARD
========================================= */

.unit-card{

    border-radius:22px;

    overflow:hidden;

    transition:.3s;

    height:100%;

    display:flex;

    flex-direction:column;

}

/* HOVER */

.unit-card:hover{

    transform:
    translateY(-6px);

    box-shadow:
    0 15px 35px rgba(0,0,0,.12);

}

/* IMAGE */

.unit-image{

    width:100%;

    height:230px;

    object-fit:cover;

    display:block;

}

/* BODY */

.unit-card .card-body{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

}

/* =========================================
   UNIT GRID
========================================= */

.unit-grid{

    display:grid;

    grid-template-columns:
    repeat(3, 1fr);

    gap:25px;

}

/* RESPONSIVE */

@media(max-width:1200px){

    .unit-grid{

        grid-template-columns:
        repeat(2, 1fr);

    }

}

@media(max-width:768px){

    .unit-grid{

        grid-template-columns:
        1fr;

    }

}

/* =========================================
   BBM TABLE
========================================= */

.table{

    border-collapse:separate;

    border-spacing:0 12px;

}

/* ROW */

.table tbody tr{

    background:#fff;

    box-shadow:
    0 2px 6px rgba(0,0,0,.04);

    border-radius:14px;

    transition:
    background-color .2s ease;

}

/* HOVER */

.table tbody tr{

    transition:
    background-color .2s ease;

}

.table tbody tr:hover{

    background:#f5fff8;

}

/* CELL */

.table td,
.table th{

    vertical-align:middle;

    border:none;

    padding:16px;

}

/* =========================================
   MARKET STYLE CHART
========================================= */

#grafikProduksi{

    width:100% !important;

    height:780px !important;

}


/* CARD CHART */

.chart-card{

    border-radius:24px;

    overflow:hidden;

    background:#fff;

    box-shadow:
    0 10px 30px rgba(0,0,0,.06);

}

/* =========================================
   ACTIVITY CARD
========================================= */

.activity-card{

    border-radius:24px;

    overflow:hidden;

}


/* BODY */

.activity-body{

    display:flex;

    flex-direction:column;

    gap:18px;

    padding:25px;

}


/* ITEM */

.activity-item{

    display:flex;

    align-items:center;

    gap:15px;

    padding:15px;

    border-radius:18px;

    background:#f8f9fa;

    transition:.3s;

}


/* HOVER */

.activity-item:hover{

    transform:translateX(8px);

    background:#eef7f1;

}


/* ICON */

.activity-icon{

    width:55px;

    height:55px;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:22px;

    flex-shrink:0;

}

/* =========================================
   BADGE OPERATOR
========================================= */

.operator-badge{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:6px 12px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    margin:3px;

    transition:.3s;

}


/* CHAINSAW */

.chainsaw-badge{

    background:#d1fae5;

    color:#065f46;

}


/* DOZER */

.dozer-badge{

    background:#fef3c7;

    color:#92400e;

}


/* HOVER */

.operator-badge:hover{

    transform:translateY(-2px);

    box-shadow:
    0 5px 12px rgba(0,0,0,.12);

}


/* QUICK MENU */

.quick-menu{

    background:#f8f9fa;
    padding:20px 10px;
    border-radius:16px;
    transition:0.3s;
    color:#198754;

}

.quick-menu i{

    font-size:30px;
    display:block;
    margin-bottom:10px;

}

.quick-menu p{

    margin:0;
    font-weight:600;

}

.quick-menu:hover{

    background:#198754;
    color:white;
    transform:translateY(-5px);

}

/* STAT CARD */

.stat-card{

    border-radius:20px;
    transition:0.3s;

}

.stat-card:hover{

    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.12);

}

.stat-icon{

    width:65px;
    height:65px;
    border-radius:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;
    font-size:28px;

}

.card-header{
    letter-spacing:.3px;
}

h3{
    letter-spacing:.3px;
}

/* =========================
   CARD STATISTIK
========================= */

.stat-card{

    border-radius:24px;
    overflow:hidden;
    transition:0.3s ease;
    background:#fff;

}

.stat-card:hover{

    transform:translateY(-5px);

    box-shadow:
    0 12px 25px rgba(0,0,0,0.12);

}

.stat-title{

    color:#6b7280;
    font-size:15px;
    margin-bottom:8px;
    font-weight:600;

}

.stat-number{

    font-size:2.2rem;
    font-weight:800;

}

.stat-sub{

    color:#9ca3af;
    font-size:13px;
    font-weight:600;

}

.stat-icon{

    width:54px;
    height:54px;

    border-radius:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;

}

.stat-progress{

    height:10px;
    margin-top:20px;
    border-radius:20px;
    overflow:hidden;
    background:#e5e7eb;

}

.chart-container{

    position: relative;

    width: 100%;

    height: 820px;

    padding: 25px;

}

.stat-card{

transition:0.3s;

}

.stat-card:hover{

transform:translateY(-5px);

cursor:pointer;

}

.stat-card{

    border-radius:24px;
    padding:8px;

    min-height:180px;

}

.stat-sub{

    font-size:12px;
    color:#9ca3af;

}

.chart-wrapper{

height:320px;

position:relative;

}

#grafikCCI{

height:70px !important;
margin-top:10px;

}

.logo-text{

font-size:48px;
font-weight:900;
letter-spacing:2px;

color:white;

margin-bottom:0;

}

.logo-subtitle{

font-size:14px;

color:rgba(255,255,255,0.8);

line-height:1.4;

margin-top:5px;

}

.auth-page{

    width:100%;
    min-height:100vh;

}

/* =========================================
   FOOTER
========================================= */

.enterprise-footer{

    margin-top:60px;

    background:
    linear-gradient(
        135deg,
        #0f172a,
        #111827
    );

    color:white;

    padding:50px 40px;

    border-top:
    4px solid #22c55e;

}

.footer-title{

    font-size:26px;

    font-weight:800;

    margin-bottom:20px;

}

.footer-desc{

    color:#94a3b8;

    line-height:1.8;

}

.footer-heading{

    font-size:18px;

    font-weight:700;

    margin-bottom:20px;

}

.footer-links{

    list-style:none;

    padding:0;

    margin:0;

}

.footer-links li{

    color:#94a3b8;

    margin-bottom:12px;

    transition:.3s;

}

.footer-links li:hover{

    color:#22c55e;

    padding-left:6px;

}

.footer-divider{

    border-color:
    rgba(255,255,255,.08);

    margin:35px 0;

}

.footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#94a3b8;

    flex-wrap:wrap;

    gap:15px;

}