/* ==============================
   SIDEBAR HPS SYSTEM
============================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
}

/* SIDEBAR */

.sidebar-modern {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

    width: 230px;

    background: #ffffff;

    border-right: 1px solid #e5e7eb;

    box-shadow: 3px 0 15px rgba(0,0,0,.06);

    z-index: 9999;

    overflow-y: auto;
}

/* LOGO */

.sidebar-brand {
    height: 75px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 20px;

    border-bottom: 1px solid #e5e7eb;
}

.brand-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2563eb;

    color: white;

    border-radius: 9px;

    font-size: 18px;
}

.sidebar-brand strong {
    display: block;

    font-size: 17px;

    color: #12345b;
}

.sidebar-brand small {
    display: block;

    margin-top: 3px;

    color: #94a3b8;

    font-size: 11px;
}

/* MENU */

.sidebar-menu {
    padding: 16px 12px;
}

.menu-title {
    padding: 8px 12px;

    color: #94a3b8;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .7px;
}

.sidebar-menu a {
    display: flex;

    align-items: center;

    gap: 11px;

    width: 100%;

    padding: 11px 13px;

    margin: 3px 0;

    border-radius: 9px;

    color: #334155;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition: .2s;
}

.sidebar-menu a:hover {
    background: #eff6ff;

    color: #2563eb;
}

.sidebar-menu a.active {
    background: #2563eb;

    color: #ffffff;

    box-shadow: 0 5px 12px rgba(37,99,235,.20);
}

.sidebar-menu a span:first-child {
    width: 22px;

    min-width: 22px;

    text-align: center;

    font-size: 16px;
}

.menu-divider {
    height: 1px;

    background: #e5e7eb;

    margin: 15px 8px;
}

/* ISI HALAMAN */

.main-content {
    margin-left: 230px;

    min-height: 100vh;

    padding: 20px;
}

/* MOBILE */

@media(max-width:768px) {

    .sidebar-modern {
        width: 210px;
    }

    .main-content {
        margin-left: 210px;
    }

}