/* =========================================================
   ONEUI INSPIRED - ELEGANT GREEN
   RadSystems / Laravel
   ========================================================= */

:root {
    --oneui-green: #2d9719;
    --oneui-green-dark: #0b5119;
    --oneui-green-hover: #187e19;

    --oneui-sidebar-width: 250px;

    --oneui-bg: #f5f7fa;
    --oneui-white: #ffffff;

    --oneui-text: #1f2937;
    --oneui-muted: #6b7280;
    --oneui-border: #e5e7eb;

    --oneui-sidebar-hover: rgba(255, 255, 255, 1);
    --oneui-sidebar-active: rgba(255, 255, 255, 1);
}


/* =========================================================
   GLOBAL
   ========================================================= */

html,
body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--oneui-bg);

    color: var(--oneui-text);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

#sidebar {
    position: fixed !important;

    left: 0 !important;
    top: 0 !important;

    width: var(--oneui-sidebar-width) !important;
    height: 100vh !important;

    margin-left: 0 !important;

    background:
        linear-gradient(180deg,
            #159749 0%,
            #0c8319 55%,
            #0b5135 100%) !important;

    border: 0 !important;

    color: #fff !important;

    overflow-x: hidden;
    overflow-y: auto;

    z-index: 1050 !important;

    box-shadow:
        4px 0 18px rgba(0, 0, 0, .08);

    transition:
        margin-left .25s ease,
        transform .25s ease;
}


/* Sidebar collapsed */

#sidebar.active {
    margin-left:
        calc(var(--oneui-sidebar-width) * -1) !important;
}


/* =========================================================
   SIDEBAR PROFILE
   ========================================================= */

#sidebar .menu-profile {
    padding: 20px 12px 18px !important;

    margin: 0 !important;

    border-bottom:
        1px solid rgba(255, 255, 255, .12);
}


/* Avatar */

#sidebar .menu-profile .avatar {
    width: 60px;
    height: 60px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    overflow: hidden;

    background:
        rgba(255, 255, 255, .12);

    border:
        2px solid rgba(255, 255, 255, .25);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .15);
}

#sidebar .menu-profile .avatar img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
}


/* Default avatar */

#sidebar .menu-profile .avatar-icon {
    width: 60px;
    height: 60px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .12);

    color: #fff;

    font-size: 24px;
}


/* Username */

#sidebar .user-name {
    margin:
        10px 0 4px !important;

    color: #fff !important;

    font-size: 14px !important;

    font-weight: 600;

    line-height: 1.45;
}

#sidebar .user-name small {
    color:
        rgba(255, 255, 255, .65) !important;

    font-size: 11px;
}


/* =========================================================
   SIDEBAR PROFILE BUTTON
   ========================================================= */

#sidebar .menu-dropdown {
    margin-top: 8px;
}

#sidebar .menu-dropdown .btn {
    width: 32px;
    height: 32px;

    padding: 0;

    border-radius: 7px;

    background:
        rgba(255, 255, 255, .08) !important;

    border:
        1px solid rgba(255, 255, 255, .18) !important;

    color: #fff !important;
}

#sidebar .menu-dropdown .btn:hover {
    background:
        rgba(255, 255, 255, .17) !important;
}


/* =========================================================
   SIDEBAR MENU CONTAINER
   ========================================================= */

#sidebar>ul:not(.menu-profile),
#sidebar>.nav {
    padding:
        10px 8px 25px !important;

    margin: 0 !important;
}


/* =========================================================
   MENU ITEM
   ========================================================= */

#sidebar .nav-item {
    margin:
        1px 0 !important;
}


/* =========================================================
   MENU LINK
   ========================================================= */

#sidebar .nav-link {
    display: flex !important;

    align-items: center;

    min-height: 40px;

    padding:
        9px 10px !important;

    margin:
        2px 0 !important;

    border-radius: 7px;

    color:
        rgba(255, 255, 255, .87) !important;

    font-size: 13.5px;

    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    white-space: normal;

    transition:
        background .18s ease,
        color .18s ease;
}


/* =========================================================
   MENU ICON
   ========================================================= */

#sidebar .nav-link i,
#sidebar .nav-link .fa,
#sidebar .nav-link .fas,
#sidebar .nav-link .far,
#sidebar .nav-link .fab {
    flex: 0 0 20px;

    width: 20px;

    margin-right: 7px !important;

    color:
        rgba(255, 255, 255, .78) !important;

    font-size: 14px;

    text-align: center;
}


/* Hover */

#sidebar .nav-link:hover {
    background:
        var(--oneui-sidebar-hover);

    color: #fff !important;
}


/* Active */

#sidebar .nav-link.active,
#sidebar .active>.nav-link,
#sidebar li.active>a {
    background:
        var(--oneui-sidebar-active) !important;

    color: #fff !important;

    font-weight: 600;

    box-shadow:
        inset 3px 0 0 #fff;
}

#sidebar .nav-link.active i,
#sidebar .active>.nav-link i {
    color: #fff !important;
}


/* =========================================================
   SUBMENU
   ========================================================= */

#sidebar .nav .nav {
    margin-left: 10px;

    padding-left: 7px;

    border-left:
        1px solid rgba(255, 255, 255, .13);
}

#sidebar .nav .nav .nav-link {
    min-height: 36px;

    padding:
        7px 8px !important;

    font-size: 12.5px;

    color:
        rgba(255, 255, 255, .72) !important;
}


/* =========================================================
   TOPBAR
   ========================================================= */

#topbar {
    position: fixed !important;

    top: 0 !important;
    left: var(--oneui-sidebar-width) !important;
    right: 0 !important;

    width: auto !important;

    height: 64px !important;

    padding:
        0 18px !important;

    background:
        #ffffff !important;

    border-bottom:
        1px solid var(--oneui-border) !important;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, .04);

    z-index: 1040 !important;
}


/* =========================================================
   TOPBAR CONTAINER
   ========================================================= */

#topbar .container-fluid {
    height: 64px;

    padding:
        0 !important;
}


/* =========================================================
   SIDEBAR TOGGLE
   ========================================================= */

#sidebarCollapse {
    position: static !important;

    width: 38px;
    height: 38px;

    margin:
        0 12px 0 0 !important;

    padding: 0;

    border-radius: 7px;

    border:
        1px solid var(--oneui-border) !important;

    background:
        #ffffff !important;

    color:
        var(--oneui-green) !important;

    display: inline-flex;

    align-items: center;
    justify-content: center;
}

#sidebarCollapse:hover {
    background:
        #f3f7f5 !important;
}


/* Remove bootstrap white toggler icon */

#sidebarCollapse .navbar-toggler-icon {
    background-image: none !important;

    position: relative;

    width: 18px;
    height: 14px;
}

#sidebarCollapse .navbar-toggler-icon::before,
#sidebarCollapse .navbar-toggler-icon::after {
    content: "";

    position: absolute;

    left: 0;

    width: 18px;
    height: 2px;

    background:
        var(--oneui-green);

    border-radius: 2px;
}

#sidebarCollapse .navbar-toggler-icon::before {
    top: 2px;

    box-shadow:
        0 5px 0 var(--oneui-green),
        0 10px 0 var(--oneui-green);
}

#sidebarCollapse .navbar-toggler-icon::after {
    display: none;
}


/* =========================================================
   TOPBAR BRAND
   ========================================================= */

#topbar .navbar-brand {
    color:
        var(--oneui-text) !important;

    font-size: 16px;

    font-weight: 600;

    display: none !important;
}


/* =========================================================
   TOPBAR USER
   ========================================================= */

#topbar .navbar-nav .nav-link {
    height: 64px;

    display: flex;

    align-items: center;

    gap: 7px;

    color:
        var(--oneui-text) !important;

    font-size: 13px;

    font-weight: 500;
}

#topbar .navbar-nav .nav-link:hover {
    color:
        var(--oneui-green) !important;
}


/* User photo */

#topbar .navbar-nav .nav-link img {
    width: 34px !important;
    height: 34px !important;

    border-radius: 50%;

    object-fit: cover;
}

#topbar .avatar-icon {
    width: 34px;
    height: 34px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--oneui-green);

    color: #fff;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

#main #main-content {
    width:
        calc(100% - var(--oneui-sidebar-width)) !important;

    margin-left:
        var(--oneui-sidebar-width) !important;

    min-height:
        calc(100vh - 64px);

    background:
        var(--oneui-bg);

    transition:
        width .25s ease,
        margin-left .25s ease;
}


/* Collapsed */

#main #main-content.active {
    width: 100% !important;

    margin-left: 0 !important;
}


/* =========================================================
   PAGE CONTENT
   ========================================================= */

#page-content {
    padding:
        17px 19px 27px !important;

    margin: 0 !important;
}


/* Reduce excessive spacing around page headers */

#page-content>.page-header,
#page-content .page-header {
    margin-top: 0 !important;

    margin-bottom: 14px !important;

    padding-top: 0 !important;

    padding-bottom: 10px !important;
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    border:
        1px solid var(--oneui-border) !important;

    border-radius: 9px !important;

    background:
        #fff;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, .035);
}

.card-header {
    background:
        #fff !important;

    border-bottom:
        1px solid var(--oneui-border) !important;
}


/* =========================================================
   TABLE
   ========================================================= */

.table-responsive {
    width: 100%;

    overflow-x: auto;
}

.table {
    width: 100%;

    background:
        #fff;
}

.table thead th {
    background:
        #f8faf9;

    color:
        #4b5563;

    font-size: 12px;

    font-weight: 600;

    border-bottom:
        1px solid var(--oneui-border);
}

.table tbody td {
    font-size: 13px;

    border-color:
        var(--oneui-border);
}

.table tbody tr:hover {
    background:
        #f8fbf9;
}


/* =========================================================
   FORM
   ========================================================= */

.form-control,
.form-select {
    border-radius: 7px;

    border-color:
        #dfe4e8;
}

.form-control:focus,
.form-select:focus {
    border-color:
        var(--oneui-green);

    box-shadow:
        0 0 0 3px rgba(18, 112, 73, .10);
}


/* =========================================================
   BUTTON
   ========================================================= */

.btn-success,
.btn-primary {
    color: #fff;
    background:
        var(--oneui-green) !important;

    border-color:
        var(--oneui-green) !important;
}

.btn-success:hover,
.btn-primary:hover {
    background:
        var(--oneui-green-dark) !important;

    border-color:
        var(--oneui-green-dark) !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    margin-left:
        7px !important;

    background:
        transparent;

    border-top:
        1px solid var(--oneui-border) !important;

    padding:
        14px 20px;

    font-size: 12px;

    color:
        var(--oneui-muted);

    transition:
        margin-left .25s ease;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    #topbar {
        left: 0 !important;

        height: 58px !important;

        padding:
            0 12px !important;
    }

    #topbar .container-fluid {
        height: 58px;
    }

    #sidebar {
        transform:
            translateX(-100%);

        margin-left: 0 !important;
    }

    #sidebar.active {
        transform:
            translateX(0);

        margin-left: 0 !important;
    }

    #main #main-content {
        width: 100% !important;

        margin-left: 0 !important;
    }

    #main #main-content.active {
        width: 100% !important;

        margin-left: 0 !important;
    }

    #page-content {
        padding:
            14px 12px 20px !important;
    }

    .footer {
        margin-left: 0 !important;

        text-align: center;
    }

    #sidebarCollapse {
        margin-right: 8px !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    #sidebar {
        width: 240px !important;
    }

    #page-content {
        padding:
            12px 8px 18px !important;
    }
}

/* =========================================================
   ONEUI HEADER - FINAL
   ========================================================= */

#topbar.oneui-topbar {
    position: fixed !important;

    top: 0 !important;
    left: var(--oneui-sidebar-width) !important;
    right: 0 !important;

    width: auto !important;

    height: 64px !important;

    padding: 0 20px !important;

    background: #ffffff !important;

    border-bottom:
        1px solid #e5e7eb !important;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, .035);

    z-index: 1040 !important;
}


/* =========================================================
   TOPBAR INNER
   ========================================================= */

.oneui-topbar-inner {
    height: 64px;

    padding: 0 !important;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   SIDEBAR TOGGLE
   ========================================================= */

.oneui-sidebar-toggle {
    width: 38px;
    height: 38px;

    padding: 0 !important;

    margin: 0 !important;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid #e1e6e9 !important;

    border-radius: 7px;

    background: #ffffff !important;

    color: #127049 !important;

    box-shadow: none !important;
}

.oneui-sidebar-toggle:hover {
    background: #f2f7f4 !important;

    border-color: #cfe0d7 !important;
}


/* Hamburger */

.oneui-sidebar-toggle .navbar-toggler-icon {
    width: 18px;
    height: 14px;

    background-image: none !important;

    position: relative;
}

.oneui-sidebar-toggle .navbar-toggler-icon::before {
    content: "";

    position: absolute;

    left: 0;
    top: 1px;

    width: 18px;
    height: 2px;

    border-radius: 2px;

    background: #127049;

    box-shadow:
        0 5px 0 #127049,
        0 10px 0 #127049;
}


/* =========================================================
   TOPBAR RIGHT
   ========================================================= */

.oneui-topbar-right {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-left: auto;
}


/* =========================================================
   DATE & TIME
   ========================================================= */

.oneui-datetime {
    display: flex;

    align-items: center;

    gap: 19px;

    color: #374159;

    font-size: 17px;

    white-space: nowrap;
}

.oneui-date,
.oneui-time {
    display: flex;

    align-items: center;

    gap: 6px;
}

.oneui-datetime i {
    color: #127049;

    font-size: 17px;
}


/* Clock */

.oneui-time {
    font-weight: 600;

    color: #374159;
}


/* =========================================================
   USER
   ========================================================= */

.oneui-user-nav {
    margin: 0 !important;
}

.oneui-user-link {
    height: 64px;

    display: flex !important;

    align-items: center;

    gap: 8px;

    padding:
        0 2px !important;

    color: #374159 !important;

    font-size: 15px;

    font-weight: 500;
}

.oneui-user-link:hover {
    color: #127049 !important;
}


/* User photo */

.oneui-user-link img {
    width: 34px !important;
    height: 34px !important;

    border-radius: 50%;

    object-fit: cover;

    border:
        2px solid #edf1ef;
}


/* Default avatar */

.oneui-user-avatar {
    width: 34px;
    height: 34px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #127049;

    color: #ffffff;
}


/* User name */

.oneui-user-name {
    white-space: nowrap;
}


/* =========================================================
   SIDEBAR BRAND
   ========================================================= */

#sidebar.oneui-sidebar {
    position: fixed !important;

    left: 0 !important;
    top: 0 !important;

    width:
        var(--oneui-sidebar-width) !important;

    height: 100vh !important;

    margin-left: 0 !important;

    padding: 0 !important;

    background:
        linear-gradient(180deg,
            #096629 0%,
            #0c7219 55%,
            #0d6939 100%) !important;

    border: 0 !important;

    z-index: 1050 !important;

    overflow-x: hidden;
    overflow-y: auto;
}


/* =========================================================
   BRAND AREA
   ========================================================= */

.oneui-sidebar-brand {
    height: 64px;

    width: 100%;

    padding:
        0 18px;

    display: flex;

    align-items: center;

    border-bottom:
        1px solid rgba(255, 255, 255, .13);
}

.oneui-sidebar-small {
    height: 27px;
    color: #cfe3d9;

    width: 100%;

    padding:
        0 19px;

    display: flex;

    align-items: center;

}

.oneui-brand-link {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 9px;

    color: #ffffff !important;

    text-decoration: none !important;
}


.oneui-brand-logo {
    width: auto;

    max-width: 34px;

    max-height: 38px;

    object-fit: contain;
}


.oneui-brand-name {
    color: #ffffff;

    font-size: 19px;

    font-weight: 700;

    letter-spacing: .1px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================================
   SIDEBAR MENU
   ========================================================= */

#sidebar.oneui-sidebar>.nav {
    padding:
        12px 7px 25px !important;

    margin: 0 !important;
}


#sidebar.oneui-sidebar .nav-item {
    margin:
        1px 0 !important;
}


#sidebar.oneui-sidebar .nav-link {
    display: flex !important;

    align-items: center;

    min-height: 40px;

    padding:
        8px 7px !important;

    margin:
        2px 0 !important;

    border-radius: 7px;

    color:
        rgba(255, 255, 255, .99) !important;

    font-size: 13.5px;

    font-weight: 500;

    text-decoration: none;

    transition:
        background .18s ease,
        color .18s ease;
}


/* =========================================================
   MENU ICON - LEBIH KE KIRI
   ========================================================= */

#sidebar.oneui-sidebar .nav-link i,
#sidebar.oneui-sidebar .nav-link .fa,
#sidebar.oneui-sidebar .nav-link .fas,
#sidebar.oneui-sidebar .nav-link .far,
#sidebar.oneui-sidebar .nav-link .fab {
    flex: 0 0 29px;

    width: 19px;

    margin-left: 0 !important;

    margin-right: 5px !important;

    padding: 0 !important;

    color:
        rgba(255, 255, 255, .89) !important;

    font-size: 14px;

    text-align: center;
}


/* Hover */

#sidebar.oneui-sidebar .nav-link:hover {
    background: #fff;
    color: #ffee00 !important;
    font-weight: bold
}


/* Active */

#sidebar.oneui-sidebar .nav-link.active,
#sidebar.oneui-sidebar .active>.nav-link,
#sidebar.oneui-sidebar li.active>a {
    background: #159749 !important;

    color: #fffb09 !important;

    box-shadow:
        inset 4px 0 0 #ffffff;
    margin-left: 9px;
}


/* =========================================================
   MAIN CONTENT - FINAL WIDTH CONTROL
   ========================================================= */

#main #main-content {
    box-sizing: border-box !important;

    width:
        calc(100% - var(--oneui-sidebar-width)) !important;

    max-width:
        calc(100% - var(--oneui-sidebar-width)) !important;

    margin-left:
        var(--oneui-sidebar-width) !important;

    overflow-x: hidden !important;

    background:
        #f5f7fa;
}


/* Sidebar closed */

#sidebar.active {
    margin-left:
        calc(var(--oneui-sidebar-width) * -1) !important;
}

#main #main-content.active {
    width: 100% !important;

    max-width: 100% !important;

    margin-left: 0 !important;
}


/* =========================================================
   PAGE CONTENT
   ========================================================= */

#page-content {
    box-sizing: border-box !important;

    width: 100% !important;

    max-width: 100% !important;

    padding:
        16px 18px 22px !important;

    margin: 0 !important;

    overflow-x: hidden !important;
}


/* =========================================================
   TABLE CONTAINER
   ========================================================= */

#page-content .table-responsive {
    width: 100% !important;

    max-width: 100% !important;

    overflow-x: auto !important;

    overflow-y: hidden;

    box-sizing: border-box;

    -webkit-overflow-scrolling: touch;
}


/* Table itself */

#page-content .table-responsive>table {
    max-width: none;
}


/* =========================================================
   CARD / PANEL
   ========================================================= */

#page-content .card,
#page-content .panel {
    max-width: 100%;

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    box-sizing: border-box !important;

    width:
        calc(100% - var(--oneui-sidebar-width)) !important;

    max-width:
        calc(100% - var(--oneui-sidebar-width)) !important;

    margin-left:
        var(--oneui-sidebar-width) !important;

    overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    #topbar.oneui-topbar {
        left: 0 !important;

        height: 58px !important;

        padding:
            0 12px !important;
    }


    .oneui-topbar-inner {
        height: 58px;
    }


    #sidebar.oneui-sidebar {
        width: 250px !important;

        transform:
            translateX(-100%);

        margin-left: 0 !important;
    }


    #sidebar.oneui-sidebar.active {
        transform:
            translateX(0);

        margin-left: 0 !important;
    }


    .oneui-datetime {
        display: none;
    }


    .oneui-user-link {
        height: 58px;
    }


    #main #main-content {
        width: 100% !important;

        max-width: 100% !important;

        margin-left: 0 !important;
    }


    #page-content {
        padding:
            14px 12px 20px !important;
    }


    .footer {
        width: 100% !important;

        max-width: 100% !important;

        margin-left: 0 !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .oneui-brand-name {
        font-size: 19px;
    }


    .oneui-sidebar-brand {
        padding-left: 15px;
    }


    #page-content {
        padding:
            12px 8px 18px !important;
    }
}

/* =========================================================
   ONEUI STAGE 2
   PAGE LIST / TABLE / SEARCH / CRUD
   ========================================================= */


/* =========================================================
   LIST PAGE - FULL WIDTH
   ========================================================= */

/*
   RadSystems menggunakan .container di halaman list.
   Bootstrap memberikan max-width tertentu sehingga pada
   layar besar tabel terlihat terlalu masuk ke tengah.

   Kita buat khusus halaman LIST menjadi full width.
*/

section.page[data-page-type="list"] {
    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;
}


section.page[data-page-type="list"]>div {
    width: 100% !important;

    max-width: 100% !important;
}


/* Container list */

section.page[data-page-type="list"] .container,
section.page[data-page-type="list"] .container-fluid {
    width: 100% !important;

    max-width: 100% !important;

    padding-left: 0 !important;

    padding-right: 0 !important;

    margin-left: 0 !important;

    margin-right: 0 !important;
}


/* Row */

section.page[data-page-type="list"] .row {
    width: 100% !important;

    max-width: 100% !important;

    margin-left: 0 !important;

    margin-right: 0 !important;
}


/* Grid */

section.page[data-page-type="list"] .comp-grid {
    width: 100% !important;

    max-width: 100% !important;

    flex: 0 0 100% !important;

    padding-left: 0 !important;

    padding-right: 0 !important;
}


/* =========================================================
   LIST PAGE HEADER
   ========================================================= */

section.page[data-page-type="list"]>div:first-of-type {
    background: transparent !important;

    margin-bottom: 0 !important;

    padding:
        8px 18px 6px !important;
}


/* Header row */

section.page[data-page-type="list"]>div:first-of-type .row {
    min-height: 50px;

    display: flex;

    align-items: center;
}


/* Page title */

section.page[data-page-type="list"] .font-weight-bold.h5,
section.page[data-page-type="list"] .h5 {
    margin: 0 !important;

    color:
        #273444 !important;

    font-size: 20px !important;

    font-weight: 700 !important;

    line-height: 1.35;
}


/* =========================================================
   SEARCH BOX
   ========================================================= */

section.page[data-page-type="list"] form.search {
    margin: 0 !important;
}


section.page[data-page-type="list"] form.search .input-group {
    width: 100%;

    max-width: 340px;

    margin-left: auto;
}


section.page[data-page-type="list"] form.search .form-control {
    height: 38px;

    border:
        1px solid #dfe4e8 !important;

    border-right: 0 !important;

    border-radius:
        7px 0 0 7px !important;

    background: #ffffff;

    font-size: 13px;

    box-shadow: none !important;
}


section.page[data-page-type="list"] form.search .form-control:focus {
    border-color:
        #127049 !important;

    box-shadow:
        0 0 0 3px rgba(18, 112, 73, .08) !important;
}


section.page[data-page-type="list"] form.search button {
    width: 42px;

    height: 38px;

    padding: 0 !important;

    border:
        1px solid #127049 !important;

    border-radius:
        0 7px 7px 0 !important;

    background:
        #127049 !important;

    color: #ffffff !important;

    display: flex;

    align-items: center;

    justify-content: center;
}


section.page[data-page-type="list"] form.search button:hover {
    background:
        #0b5135 !important;
}


/* =========================================================
   ADD BUTTON AREA
   ========================================================= */

section.page[data-page-type="list"]>div:nth-of-type(2) {
    width: 100% !important;

    padding:
        0 18px 8px !important;

    margin: 0 !important;
}


section.page[data-page-type="list"]>div:nth-of-type(2) .row {
    justify-content: flex-end !important;
}


/* Add button */

section.page[data-page-type="list"] .btn-primary {
    border-radius: 7px !important;

    font-size: 13px;

    font-weight: 600;

    padding:
        7px 12px !important;

    color: #fff;

    background:
        #127049 !important;

    border-color:
        #127049 !important;
}


section.page[data-page-type="list"] .btn-primary:hover {

    color: #fbff09;
    background:
        #0b5135 !important;

    border-color:
        #0b5135 !important;
}


/* =========================================================
   TABLE AREA
   ========================================================= */

section.page[data-page-type="list"]>div:nth-of-type(3) {
    width: 100% !important;

    padding:
        0 18px 20px !important;

    margin: 0 !important;
}


/* Inner page content */

section.page[data-page-type="list"] .page-content {
    width: 100% !important;

    max-width: 100% !important;

    padding: 0 !important;

    margin: 0 !important;
}


/* Records */

section.page[data-page-type="list"] [id$="-list-records"] {
    width: 100% !important;

    max-width: 100% !important;

    min-width: 0 !important;
}


/* =========================================================
   TABLE FIXED CONTAINER
   ========================================================= */

section.page[data-page-type="list"] #page-main-content {
    width: 100% !important;

    max-width: 100% !important;

    min-width: 0 !important;
}


/* =========================================================
   TABLE RESPONSIVE
   ========================================================= */

section.page[data-page-type="list"] .table-responsive {
    width: 100% !important;

    max-width: 100% !important;

    min-width: 0 !important;

    overflow-x: auto !important;

    overflow-y: hidden !important;

    border-radius: 9px;

    background: #ffffff;

    border:
        1px solid #e5e7eb;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, .04);
}


/*
   RadSystems pada beberapa list tidak menggunakan
   .table-responsive langsung.
*/

section.page[data-page-type="list"] #page-main-content>table,
section.page[data-page-type="list"] #page-main-content>.table {
    display: table;

    width: 100% !important;

    max-width: 100% !important;
}


/* =========================================================
   TABLE
   ========================================================= */

section.page[data-page-type="list"] table.table {
    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;

    background: #ffffff;

    border-collapse: separate;

    border-spacing: 0;

    table-layout: auto;
}


/* Table header */

section.page[data-page-type="list"] table.table>thead>tr>th,
section.page[data-page-type="list"] table.table>thead>tr>td {
    height: 43px;

    padding:
        10px 11px !important;

    background:
        #d8dde4 !important;

    color:
        #1f2937 !important;

    border-top: 0 !important;

    border-bottom:
        1px solid #aeb6c1 !important;

    font-size: 12px !important;

    font-weight: 600 !important;

    white-space: nowrap;

    vertical-align: middle !important;
}


/* First header */

section.page[data-page-type="list"] table.table>thead>tr:first-child>th:first-child,
section.page[data-page-type="list"] table.table>thead>tr:first-child>td:first-child {
    border-top-left-radius: 8px;
}


/* Last header */

section.page[data-page-type="list"] table.table>thead>tr:first-child>th:last-child,
section.page[data-page-type="list"] table.table>thead>tr:first-child>td:last-child {
    border-top-right-radius: 8px;
}


/* =========================================================
   TABLE BODY
   ========================================================= */

section.page[data-page-type="list"] table.table>tbody>tr>td,
section.page[data-page-type="list"] table.table>tbody>tr>th {

    padding:
        8px 11px !important;

    height: 42px;

    color:
        #293241 !important;

    background:
        #ffffff !important;

    border-top:
        1px solid #e7eaee !important;

    font-size:
        12.5px !important;

    vertical-align:
        middle !important;
}


/* Zebra */

section.page[data-page-type="list"] table.table>tbody>tr:nth-child(even)>td,
section.page[data-page-type="list"] table.table>tbody>tr:nth-child(even)>th {
    background:
        #fbfcfd !important;
}


/* Hover */

section.page[data-page-type="list"] table.table>tbody>tr:hover>td,
section.page[data-page-type="list"] table.table>tbody>tr:hover>th {
    background:
        #f1f8f4 !important;
}


/* =========================================================
   TABLE LINKS
   ========================================================= */

section.page[data-page-type="list"] table.table a {
    text-decoration: none;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

section.page[data-page-type="list"] table.table .td-btn {
    white-space: nowrap;

    width: 1%;
}


section.page[data-page-type="list"] table.table .td-btn>.btn,
section.page[data-page-type="list"] table.table .page-list-action>.btn,
section.page[data-page-type="list"] table.table .option-btn {

    width: 31px;

    min-width: 31px;

    height: 31px;

    min-height: 31px;

    padding: 0 !important;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 6px !important;

    background:
        #ffffff !important;

    color:
        #374151 !important;

    border:
        1px solid #374151 !important;

    box-shadow: none !important;
}


section.page[data-page-type="list"] table.table .td-btn>.btn:hover,
section.page[data-page-type="list"] table.table .page-list-action>.btn:hover,
section.page[data-page-type="list"] table.table .option-btn:hover {

    background:
        #127049 !important;

    border-color:
        #127049 !important;

    color:
        #ffffff !important;
}


/* =========================================================
   DOWNLOAD BUTTON
   ========================================================= */

section.page[data-page-type="list"] table.table .btn-download {

    width: 31px;

    min-width: 31px;

    height: 31px;

    padding: 0 !important;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color:
        #127049 !important;

    background:
        #effaf4 !important;

    border:
        1px solid #b9e7cc !important;

    border-radius: 7px !important;
}


section.page[data-page-type="list"] table.table .btn-download:hover {

    color: #ffffff !important;

    background:
        #127049 !important;

    border-color:
        #127049 !important;
}


/* =========================================================
   BADGE / SALDO
   ========================================================= */

section.page[data-page-type="list"] .saldo-hasil {

    min-width: 90px;

    padding:
        5px 8px !important;

    font-size:
        12px !important;

    font-weight:
        700 !important;

    border-radius:
        6px !important;
}


/* =========================================================
   PAGINATION
   ========================================================= */

section.page[data-page-type="list"] .pagination {
    margin-top: 15px;

    margin-bottom: 0;

    justify-content: flex-end;
}


section.page[data-page-type="list"] .pagination .page-link {

    min-width: 32px;

    height: 32px;

    padding:
        6px 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid #dfe4e8 !important;

    background:
        #ffffff;

    color:
        #4b5563;

    font-size: 12px;
}


section.page[data-page-type="list"] .pagination .active .page-link {

    background:
        #127049 !important;

    border-color:
        #127049 !important;

    color:
        #ffffff !important;
}


/* =========================================================
   FILTER TAG
   ========================================================= */

section.page[data-page-type="list"] .filter-tags {
    margin-bottom: 8px !important;
}


section.page[data-page-type="list"] .filter-chip {

    background:
        #eaf6ef;

    color:
        #127049;

    border:
        1px solid #cce8d8;

    border-radius:
        20px;

    font-size:
        11px;
}


/* =========================================================
   EMPTY DATA
   ========================================================= */

section.page[data-page-type="list"] table.table td[colspan] {

    padding:
        30px 15px !important;

    color:
        #9ca3af !important;

    background:
        #ffffff !important;

    text-align:
        center !important;
}


/* =========================================================
   RESPONSIVE TABLE
   ========================================================= */

@media (max-width: 1200px) {

    section.page[data-page-type="list"]>div:first-of-type {
        padding-left: 14px !important;

        padding-right: 14px !important;
    }

    section.page[data-page-type="list"]>div:nth-of-type(2),
    section.page[data-page-type="list"]>div:nth-of-type(3) {
        padding-left: 14px !important;

        padding-right: 14px !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    section.page[data-page-type="list"] .font-weight-bold.h5,
    section.page[data-page-type="list"] .h5 {
        font-size: 18px !important;
    }


    section.page[data-page-type="list"]>div:first-of-type .row {
        gap: 10px;
    }


    section.page[data-page-type="list"] form.search .input-group {
        max-width: 100%;
    }


    section.page[data-page-type="list"] table.table {
        min-width: 850px !important;
    }


    section.page[data-page-type="list"] table.table>thead>tr>th,
    section.page[data-page-type="list"] table.table>tbody>tr>td {
        padding:
            8px 9px !important;

        font-size:
            12px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    section.page[data-page-type="list"]>div:first-of-type {
        padding:
            10px 8px 5px !important;
    }


    section.page[data-page-type="list"]>div:nth-of-type(2),
    section.page[data-page-type="list"]>div:nth-of-type(3) {
        padding-left: 8px !important;

        padding-right: 8px !important;
    }


    section.page[data-page-type="list"] .font-weight-bold.h5,
    section.page[data-page-type="list"] .h5 {
        font-size: 17px !important;
    }


    section.page[data-page-type="list"] table.table {
        min-width: 800px !important;
    }

}

/* =========================================================
   ONEUI STAGE 3
   ADD / EDIT / VIEW / FORM
   ========================================================= */


/* =========================================================
   GLOBAL FORM PAGE
   ========================================================= */

section.page[data-page-type="add"],
section.page[data-page-type="edit"],
section.page[data-page-type="view"] {

    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

}


/* =========================================================
   PAGE HEADER
   ========================================================= */

section.page[data-page-type="add"]>div:first-of-type,
section.page[data-page-type="edit"]>div:first-of-type,
section.page[data-page-type="view"]>div:first-of-type {

    background: transparent !important;

    border: 0 !important;

    margin: 0 !important;

    padding:
        10px 18px 8px !important;

}


/* Header container */

section.page[data-page-type="add"]>div:first-of-type .container,
section.page[data-page-type="edit"]>div:first-of-type .container,
section.page[data-page-type="view"]>div:first-of-type .container {

    width: 100% !important;

    max-width: 100% !important;

    padding: 0 !important;

}


/* Header row */

section.page[data-page-type="add"]>div:first-of-type .row,
section.page[data-page-type="edit"]>div:first-of-type .row,
section.page[data-page-type="view"]>div:first-of-type .row {

    width: 100% !important;

    margin: 0 !important;

    align-items: center !important;

}


/* =========================================================
   BACK BUTTON
   ========================================================= */

section.page[data-page-type="add"] .back-btn,
section.page[data-page-type="edit"] .back-btn,
section.page[data-page-type="view"] .back-btn {

    width: 36px !important;

    height: 36px !important;

    min-width: 36px !important;

    padding: 0 !important;

    border:
        1px solid #d9dee5 !important;

    border-radius: 8px !important;

    background:
        #ffffff !important;

    color:
        #374151 !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-shadow:
        0 1px 3px rgba(15, 23, 42, .05);

    transition:
        all .2s ease;

}


section.page[data-page-type="add"] .back-btn:hover,
section.page[data-page-type="edit"] .back-btn:hover,
section.page[data-page-type="view"] .back-btn:hover {

    color:
        #127049 !important;

    border-color:
        #127049 !important;

    background:
        #effaf4 !important;

    transform:
        translateX(-2px);

}


/* =========================================================
   PAGE TITLE
   ========================================================= */

section.page[data-page-type="add"] .h5,
section.page[data-page-type="edit"] .h5 {

    margin: 0 !important;

    color:
        #273444 !important;

    font-size:
        20px !important;

    font-weight:
        700 !important;

}


section.page[data-page-type="view"] .h4 {

    margin: 0 !important;

    color:
        #273444 !important;

    font-size:
        20px !important;

    font-weight:
        700 !important;

}


/* Subtitle */

section.page[data-page-type="add"] .text-small,
section.page[data-page-type="view"] .text-primary,
section.page[data-page-type="edit"] .text-small {

    margin-top: 3px;

    color:
        #6b7280 !important;

    font-size:
        12px !important;

}


/* =========================================================
   FORM CONTENT AREA
   ========================================================= */

section.page[data-page-type="add"]>div:not(:first-of-type),
section.page[data-page-type="edit"]>div:not(:first-of-type) {

    width: 100% !important;

    padding:
        4px 18px 25px !important;

    margin: 0 !important;

}


/* Container */

section.page[data-page-type="add"] .container,
section.page[data-page-type="edit"] .container {

    width: 100% !important;

    max-width: 100% !important;

    padding: 0 !important;

}


/* Row */

section.page[data-page-type="add"] .row,
section.page[data-page-type="edit"] .row {

    margin-left: 0 !important;

    margin-right: 0 !important;

}


/* Form grid */

section.page[data-page-type="add"] .comp-grid,
section.page[data-page-type="edit"] .comp-grid {

    width: 100% !important;

    max-width: 100% !important;

    flex: 0 0 100% !important;

    padding-left: 0 !important;

    padding-right: 0 !important;

}


/* =========================================================
   FORM CARD
   ========================================================= */

section.page[data-page-type="add"] .page-content,
section.page[data-page-type="edit"] .page-content {

    width: 100% !important;

    max-width: 100% !important;

    padding:
        22px 24px !important;

    margin: 0 !important;

    background:
        #ffffff !important;

    border:
        1px solid #e5e7eb !important;

    border-radius:
        10px !important;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, .04) !important;

}


/* =========================================================
   FORM
   ========================================================= */

section.page[data-page-type="add"] .page-form,
section.page[data-page-type="edit"] .page-form {

    width: 100% !important;

}


/* =========================================================
   FORM GROUP
   ========================================================= */

section.page[data-page-type="add"] .form-group,
section.page[data-page-type="edit"] .form-group {

    margin-bottom:
        18px !important;

}


/* Form row */

section.page[data-page-type="add"] .form-group>.row,
section.page[data-page-type="edit"] .form-group>.row {

    align-items:
        center !important;

}


/* =========================================================
   LABEL
   ========================================================= */

section.page[data-page-type="add"] .control-label,
section.page[data-page-type="edit"] .control-label {

    display:
        block;

    margin-bottom:
        6px !important;

    color:
        #374151 !important;

    font-size:
        13px !important;

    font-weight:
        600 !important;

}


/* Required */

section.page[data-page-type="add"] .control-label .text-danger,
section.page[data-page-type="edit"] .control-label .text-danger {

    color:
        #dc3545 !important;

    font-weight:
        700;

}


/* =========================================================
   INPUT
   ========================================================= */

section.page[data-page-type="add"] .form-control,
section.page[data-page-type="edit"] .form-control,
section.page[data-page-type="add"] select.form-control,
section.page[data-page-type="edit"] select.form-control,
section.page[data-page-type="add"] textarea.form-control,
section.page[data-page-type="edit"] textarea.form-control {

    min-height:
        40px;

    padding:
        8px 11px !important;

    border:
        1px solid #d9dee5 !important;

    border-radius:
        7px !important;

    background:
        #ffffff !important;

    color:
        #293241 !important;

    font-size:
        13px !important;

    box-shadow:
        none !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;

}


/* Focus */

section.page[data-page-type="add"] .form-control:focus,
section.page[data-page-type="edit"] .form-control:focus {

    border-color:
        #127049 !important;

    background:
        #ffffff !important;

    box-shadow:
        0 0 0 3px rgba(18, 112, 73, .08) !important;

}


/* Placeholder */

section.page[data-page-type="add"] .form-control::placeholder,
section.page[data-page-type="edit"] .form-control::placeholder {

    color:
        #9ca3af;

}


/* Disabled */

section.page[data-page-type="add"] .form-control:disabled,
section.page[data-page-type="edit"] .form-control:disabled {

    background:
        #f3f4f6 !important;

    color:
        #6b7280 !important;

}


/* =========================================================
   SELECT
   ========================================================= */

section.page[data-page-type="add"] select.form-control,
section.page[data-page-type="edit"] select.form-control {

    cursor:
        pointer;

}


/* =========================================================
   TEXTAREA
   ========================================================= */

section.page[data-page-type="add"] textarea.form-control,
section.page[data-page-type="edit"] textarea.form-control {

    min-height:
        90px;

    resize:
        vertical;

}


/* =========================================================
   INPUT GROUP
   ========================================================= */

section.page[data-page-type="add"] .input-group .form-control,
section.page[data-page-type="edit"] .input-group .form-control {

    border-radius:
        7px 0 0 7px !important;

}


section.page[data-page-type="add"] .input-group .btn,
section.page[data-page-type="edit"] .input-group .btn {

    min-width:
        42px;

    border-radius:
        0 7px 7px 0 !important;

}


/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */

section.page[data-page-type="add"] .btn-toggle-password,
section.page[data-page-type="edit"] .btn-toggle-password {

    border:
        1px solid #d9dee5 !important;

    border-left:
        0 !important;

    background:
        #f8fafc !important;

    color:
        #64748b !important;

}


section.page[data-page-type="add"] .btn-toggle-password:hover,
section.page[data-page-type="edit"] .btn-toggle-password:hover {

    background:
        #effaf4 !important;

    color:
        #127049 !important;

}


/* =========================================================
   DROPZONE
   ========================================================= */

section.page[data-page-type="add"] .dropzone,
section.page[data-page-type="edit"] .dropzone {

    min-height:
        110px;

    padding:
        18px !important;

    border:
        2px dashed #cfd6df !important;

    border-radius:
        9px !important;

    background:
        #f8fafc !important;

    transition:
        all .2s ease;

}


section.page[data-page-type="add"] .dropzone:hover,
section.page[data-page-type="edit"] .dropzone:hover {

    border-color:
        #127049 !important;

    background:
        #f1f8f4 !important;

}


/* =========================================================
   PASSWORD STRENGTH
   ========================================================= */

section.page[data-page-type="add"] .password-strength-msg,
section.page[data-page-type="edit"] .password-strength-msg {

    margin-top:
        8px;

    padding:
        8px 10px;

    border-radius:
        7px;

    background:
        #f8fafc;

}


section.page[data-page-type="add"] .password-strength-msg .chip,
section.page[data-page-type="edit"] .password-strength-msg .chip {

    display:
        inline-block;

    margin:
        3px 2px;

    padding:
        3px 7px;

    border-radius:
        12px;

    background:
        #eef2f7;

    color:
        #64748b;

    font-size:
        10px;

}


/* =========================================================
   VALIDATION
   ========================================================= */

section.page[data-page-type="add"] .invalid-feedback,
section.page[data-page-type="edit"] .invalid-feedback {

    margin-top:
        5px;

    font-size:
        11px;

}


section.page[data-page-type="add"] .form-control.is-invalid,
section.page[data-page-type="edit"] .form-control.is-invalid {

    border-color:
        #dc3545 !important;

    box-shadow:
        0 0 0 3px rgba(220, 53, 69, .07) !important;

}


section.page[data-page-type="add"] .form-control.is-valid,
section.page[data-page-type="edit"] .form-control.is-valid {

    border-color:
        #198754 !important;

}


/* =========================================================
   SUBMIT AREA
   ========================================================= */

section.page[data-page-type="add"] .form-submit-btn-holder,
section.page[data-page-type="edit"] .form-submit-btn-holder {

    display:
        flex !important;

    justify-content:
        flex-end !important;

    align-items:
        center;

    gap:
        8px;

    margin-top:
        25px !important;

    padding-top:
        18px;

    border-top:
        1px solid #edf0f3;

}


/* Submit */

section.page[data-page-type="add"] .form-submit-btn-holder .btn-primary,
section.page[data-page-type="edit"] .form-submit-btn-holder .btn-primary {

    min-height:
        39px;

    padding:
        8px 16px !important;

    border-radius:
        7px !important;

    background:
        #127049 !important;

    border-color:
        #127049 !important;

    color:
        #ffffff !important;

    font-size:
        13px;

    font-weight:
        600;

    box-shadow:
        0 2px 5px rgba(18, 112, 73, .12);

}


section.page[data-page-type="add"] .form-submit-btn-holder .btn-primary:hover,
section.page[data-page-type="edit"] .form-submit-btn-holder .btn-primary:hover {

    color: #fbff09;

    background:
        #0b5135 !important;

    border-color:
        #0b5135 !important;

    transform:
        translateY(-1px);

}


/* =========================================================
   FORM AJAX STATUS
   ========================================================= */

section.page[data-page-type="add"] .form-ajax-status,
section.page[data-page-type="edit"] .form-ajax-status {

    margin-top:
        8px;

}


/* =========================================================
   VIEW / DETAIL PAGE
   ========================================================= */

section.page[data-page-type="view"]>div:not(:first-of-type) {

    width:
        100% !important;

    padding:
        4px 18px 25px !important;

    margin:
        0 !important;

}


section.page[data-page-type="view"] .container {

    width:
        100% !important;

    max-width:
        100% !important;

    padding:
        0 !important;

}


section.page[data-page-type="view"] .row {

    margin-left:
        0 !important;

    margin-right:
        0 !important;

}


section.page[data-page-type="view"] .comp-grid {

    width:
        100% !important;

    max-width:
        100% !important;

    flex:
        0 0 100% !important;

    padding:
        0 !important;

}


/* Detail content */

section.page[data-page-type="view"] .page-content {

    width:
        100% !important;

    max-width:
        100% !important;

    padding:
        20px !important;

    margin:
        0 !important;

}


/* Detail card */

section.page[data-page-type="view"] .card-3 {

    width:
        100% !important;

    max-width:
        100% !important;

    padding:
        8px !important;

    margin:
        0 !important;

    background:
        #ffffff !important;

    border:
        1px solid #e5e7eb !important;

    border-radius:
        10px !important;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, .04) !important;

}


/* Detail rows */

section.page[data-page-type="view"] .card-3>.row {

    min-height:
        42px;

    margin:
        0 !important;

    padding:
        8px 10px !important;

    border-bottom:
        1px solid #edf0f3;

}


section.page[data-page-type="view"] .card-3>.row:last-child {

    border-bottom:
        0;

}


/* Detail labels */

section.page[data-page-type="view"] .text-detail {

    color:
        #6b7280 !important;

    font-size:
        12px !important;

    font-weight:
        500 !important;

}


/* Detail values */

section.page[data-page-type="view"] .card-3 .fw-bold {

    color:
        #293241 !important;

    font-size:
        13px !important;

    font-weight:
        600 !important;

}


/* =========================================================
   VIEW DOWNLOAD
   ========================================================= */

section.page[data-page-type="view"] .btn-download {

    width:
        34px;

    height:
        34px;

    padding:
        0 !important;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid #b9e7cc !important;

    border-radius:
        7px;

    background:
        #effaf4 !important;

    color:
        #127049 !important;

}


section.page[data-page-type="view"] .btn-download:hover {

    background:
        #127049 !important;

    color:
        #ffffff !important;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    section.page[data-page-type="add"]>div:first-of-type,
    section.page[data-page-type="edit"]>div:first-of-type,
    section.page[data-page-type="view"]>div:first-of-type {

        padding:
            8px 10px !important;

    }


    section.page[data-page-type="add"]>div:not(:first-of-type),
    section.page[data-page-type="edit"]>div:not(:first-of-type),
    section.page[data-page-type="view"]>div:not(:first-of-type) {

        padding:
            5px 10px 18px !important;

    }


    section.page[data-page-type="add"] .page-content,
    section.page[data-page-type="edit"] .page-content,
    section.page[data-page-type="view"] .page-content {

        padding:
            15px !important;

    }


    section.page[data-page-type="add"] .form-group>.row,
    section.page[data-page-type="edit"] .form-group>.row {

        display:
            block !important;

    }


    section.page[data-page-type="add"] .form-group .col-sm-4,
    section.page[data-page-type="edit"] .form-group .col-sm-4,
    section.page[data-page-type="add"] .form-group .col-sm-8,
    section.page[data-page-type="edit"] .form-group .col-sm-8 {

        width:
            100% !important;

        max-width:
            100% !important;

    }


    section.page[data-page-type="add"] .control-label,
    section.page[data-page-type="edit"] .control-label {

        margin-bottom:
            5px !important;

    }


    section.page[data-page-type="view"] .card-3>.row {

        display:
            block !important;

        padding:
            9px 6px !important;

    }


    section.page[data-page-type="view"] .card-3>.row>div {

        width:
            100% !important;

        max-width:
            100% !important;

    }


    section.page[data-page-type="view"] .card-3>.row>div:first-child {

        margin-bottom:
            3px;

    }


    section.page[data-page-type="add"] .form-submit-btn-holder,
    section.page[data-page-type="edit"] .form-submit-btn-holder {

        justify-content:
            stretch !important;

        flex-direction:
            column-reverse;

    }


    section.page[data-page-type="add"] .form-submit-btn-holder .btn,
    section.page[data-page-type="edit"] .form-submit-btn-holder .btn {

        width:
            100%;

    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    section.page[data-page-type="add"] .h5,
    section.page[data-page-type="edit"] .h5,
    section.page[data-page-type="view"] .h4 {

        font-size:
            17px !important;

    }


    section.page[data-page-type="add"] .page-content,
    section.page[data-page-type="edit"] .page-content,
    section.page[data-page-type="view"] .page-content {

        padding:
            12px !important;

    }

}

/* ============================================================
   ONEUI KSP BALO'TA
   STAGE 4A - DASHBOARD
   ============================================================ */


/* ------------------------------------------------------------
   DASHBOARD CONTAINER
   ------------------------------------------------------------ */

.oneui-dashboard {
    width: 100%;
    max-width: 100%;
    padding: 4px 2px 30px;
    color: #1f2937;
}


/* ------------------------------------------------------------
   WELCOME
   ------------------------------------------------------------ */

.oneui-welcome {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 129px;
    padding: 29px 29px;

    border-radius: 14px;

    background:
        linear-gradient(135deg,
            #159749 0%,
            #0c8319 100%);

    color: #fff;

    box-shadow:
        0 8px 25px rgba(15, 81, 53, .14);
}


.oneui-welcome::after {
    content: "";
    position: absolute;

    width: 260px;
    height: 260px;

    right: -100px;
    top: -120px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .06);
}


.oneui-welcome-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 20px;
}


.oneui-welcome-icon {
    width: 64px;
    height: 64px;

    flex: 0 0 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(255, 255, 255, .13);

    font-size: 27px;
}


.oneui-eyebrow {
    margin-bottom: 3px;

    font-size: 19px;
    font-weight: 700;

    letter-spacing: 1.5px;

    opacity: .78;
}


.oneui-welcome-title {
    margin: 0;

    color: #fff;

    font-size: 19px;
    line-height: 1.25;

    font-weight: 700;
}


.oneui-welcome-text {
    margin: 7px 0 0;

    max-width: 700px;

    color: rgba(255, 255, 255, .78);

    font-size: 14px;
}


.oneui-welcome-action {
    position: relative;
    z-index: 3;
}


.oneui-btn-light {
    padding: 9px 17px;

    border: 0;
    border-radius: 8px;

    background: #fff;

    color: #127049;

    font-weight: 600;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);

    transition: all .2s ease;
}


.oneui-btn-light:hover {
    transform: translateY(-1px);

    background: #f5f7fa;

    color: #0b5135;
}


/* ------------------------------------------------------------
   STAT CARDS
   ------------------------------------------------------------ */

.oneui-stat-card {
    min-height: 145px;

    display: flex;
    align-items: center;

    gap: 17px;

    padding: 22px;

    border: 1px solid #e5e7eb;
    border-radius: 13px;

    background: #fff;

    text-decoration: none !important;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .045);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


a.oneui-stat-card:hover {
    transform: translateY(-3px);

    border-color: #cfe3d9;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .09);
}


.oneui-stat-icon {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #e9f7ef;

    color: #127049;

    font-size: 22px;
}


.oneui-stat-content {
    min-width: 0;
}


.oneui-stat-label {
    margin-bottom: 2px;

    color: #6b7280;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .7px;
}


.oneui-stat-value {
    color: #1f2937;

    font-size: 29px;
    line-height: 1.2;

    font-weight: 700;
}


.oneui-stat-description {
    margin-top: 4px;

    color: #9ca3af;

    font-size: 12px;
}


/* ------------------------------------------------------------
   ICON VARIANTS
   ------------------------------------------------------------ */

.oneui-icon-blue {
    background: #eaf2ff !important;
    color: #0c8319 !important;
}


.oneui-icon-orange {
    background: #fff3e8 !important;
    color: #ea7c16 !important;
}


.oneui-icon-purple {
    background: #f3edff !important;
    color: #7c3aed !important;
}


/* ------------------------------------------------------------
   CARD
   ------------------------------------------------------------ */

.oneui-card {
    overflow: hidden;

    border: 1px solid #e5e7eb;
    border-radius: 13px;

    background: #fff;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .045);
}


.oneui-card-header {
    min-height: 59px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 9px;

    padding: 17px 19px;

    border-bottom: 1px solid #eef0f2;
    
}


.oneui-card-title {
    color: #1f2937;

    font-size: 16px;
    font-weight: 700;
}


.oneui-card-subtitle {
    margin-top: 3px;

    color: #6b6e79;

    font-size: 12px;
}


.oneui-card-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #f0f7f3;

    color: #127049;

    font-size: 15px;
}


.oneui-card-body {
    padding: 22px;
}


/* ------------------------------------------------------------
   EMPTY DASHBOARD
   ------------------------------------------------------------ */

.oneui-empty-dashboard {
    min-height: 230px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;

    padding: 25px;
}


.oneui-empty-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border-radius: 50%;

    background: #f1f5f9;

    color: #94a3b8;

    font-size: 22px;
}


.oneui-empty-title {
    color: #374151;

    font-size: 15px;
    font-weight: 700;
}


.oneui-empty-text {
    max-width: 480px;

    margin-top: 6px;

    color: #9ca3af;

    font-size: 13px;
    line-height: 1.6;
}


/* ------------------------------------------------------------
   QUICK LINKS
   ------------------------------------------------------------ */

.oneui-quick-link {
    min-height: 68px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 10px 12px;

    border-radius: 10px;

    text-decoration: none !important;

    transition: background .2s ease;
}


.oneui-quick-link:hover {
    background: #f7faf8;
}


.oneui-quick-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #e9f7ef;

    color: #127049;

    font-size: 15px;
}


.oneui-quick-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.oneui-quick-content strong {
    color: #273444;

    font-size: 13px;
}


.oneui-quick-content small {
    margin-top: 2px;

    color: #9ca3af;

    font-size: 11px;
}


.oneui-quick-arrow {
    color: #c0c7d0;

    font-size: 13px;
}


/* ------------------------------------------------------------
   STATUS
   ------------------------------------------------------------ */

.oneui-status-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 6px 10px;

    border-radius: 20px;

    background: #e9f7ef;

    color: #127049;

    font-size: 11px;
    font-weight: 700;
}


.oneui-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #20a464;
}


.oneui-status-row {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 12px 4px;

    border-bottom: 1px solid #f0f2f4;
}


.oneui-status-row:last-child {
    border-bottom: 0;
}


.oneui-status-left {
    display: flex;
    align-items: center;

    gap: 13px;
}


.oneui-status-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #f0f7f3;

    color: #127049;
}


.oneui-status-left strong {
    display: block;

    color: #273444;

    font-size: 13px;
}


.oneui-status-left small {
    display: block;

    margin-top: 2px;

    color: #9ca3af;

    font-size: 11px;
}


.oneui-status-pending {
    padding: 5px 10px;

    border-radius: 20px;

    background: #f3f4f6;

    color: #6b7280;

    font-size: 10px;
    font-weight: 600;
}


/* ------------------------------------------------------------
   INFORMATION
   ------------------------------------------------------------ */

.oneui-info-item {
    min-height: 70px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px;

    border: 1px solid #eef0f2;

    border-radius: 10px;

    background: #fafbfc;
}


.oneui-info-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #e9f7ef;

    color: #127049;
}


.oneui-info-item strong {
    display: block;

    color: #374151;

    font-size: 12px;
}


.oneui-info-item small {
    display: block;

    margin-top: 3px;

    color: #9ca3af;

    font-size: 11px;
}


/* ------------------------------------------------------------
   INFO BANNER
   ------------------------------------------------------------ */

.oneui-info-banner {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 17px;

    border: 1px solid #dceee4;
    border-radius: 10px;

    background: #f5fbf7;
}


.oneui-info-banner-icon {
    color: #127049;

    font-size: 20px;
}


.oneui-info-banner strong {
    display: block;

    color: #273444;

    font-size: 13px;
}


.oneui-info-banner p {
    margin: 5px 0 0;

    color: #7b8491;

    font-size: 12px;
    line-height: 1.6;
}


/* ------------------------------------------------------------
   ACTION CARDS
   ------------------------------------------------------------ */

.oneui-action-card {
    min-height: 180px;

    display: flex;
    flex-direction: column;

    padding: 23px;

    border: 1px solid #e5e7eb;
    border-radius: 13px;

    background: #fff;

    text-decoration: none !important;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .045);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


a.oneui-action-card:hover {
    transform: translateY(-3px);

    border-color: #cfe3d9;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .09);
}


.oneui-action-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 12px;

    background: #e9f7ef;

    color: #127049;

    font-size: 20px;
}


.oneui-action-content h3 {
    margin: 0;

    color: #273444;

    font-size: 15px;
    font-weight: 700;
}


.oneui-action-content p {
    min-height: 38px;

    margin: 7px 0 12px;

    color: #8a94a6;

    font-size: 12px;
    line-height: 1.55;
}


.oneui-action-link {
    color: #127049;

    font-size: 11px;
    font-weight: 700;
}


.oneui-action-link i {
    margin-left: 4px;
}


.oneui-action-link.muted {
    color: #9ca3af;
}


/* ------------------------------------------------------------
   QUICK CARD
   ------------------------------------------------------------ */

.oneui-quick-card {
    min-height: 78px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 14px 16px;

    border: 1px solid #e5e7eb;
    border-radius: 11px;

    background: #fff;

    color: #273444;

    text-decoration: none !important;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .035);

    transition: all .2s ease;
}


.oneui-quick-card:hover {
    transform: translateY(-2px);

    border-color: #cfe3d9;

    color: #127049;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, .07);
}


.oneui-quick-card>div {
    flex: 1;

    min-width: 0;
}


.oneui-quick-card strong {
    display: block;

    font-size: 13px;
}


.oneui-quick-card small {
    display: block;

    margin-top: 3px;

    color: #9ca3af;

    font-size: 11px;
}


.oneui-quick-card>i {
    color: #c1c8d0;
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 991.98px) {

    .oneui-welcome {
        padding: 23px;
    }

    .oneui-welcome-title {
        font-size: 22px;
    }

}


@media (max-width: 767.98px) {

    .oneui-dashboard {
        padding-left: 0;
        padding-right: 0;
    }


    .oneui-welcome {
        display: block;

        min-height: auto;

        padding: 22px;

        border-radius: 12px;
    }


    .oneui-welcome-content {
        align-items: flex-start;

        gap: 14px;
    }


    .oneui-welcome-icon {
        width: 48px;
        height: 48px;

        flex-basis: 48px;

        font-size: 20px;
    }


    .oneui-welcome-title {
        font-size: 19px;
    }


    .oneui-welcome-text {
        font-size: 12px;
    }


    .oneui-welcome-action {
        margin-top: 17px;
    }


    .oneui-btn-light {
        width: 100%;
    }


    .oneui-stat-card {
        min-height: 120px;

        padding: 17px;
    }


    .oneui-stat-icon {
        width: 46px;
        height: 46px;

        flex-basis: 46px;

        font-size: 18px;
    }


    .oneui-stat-value {
        font-size: 24px;
    }


    .oneui-card-header {
        padding: 15px 17px;
    }


    .oneui-card-body {
        padding: 17px;
    }


    .oneui-status-row {
        align-items: flex-start;
        flex-direction: column;
    }


    .oneui-status-pending {
        margin-left: 53px;
    }


    .oneui-action-card {
        min-height: auto;
    }

}


@media (max-width: 575.98px) {

    .oneui-welcome-content {
        display: block;
    }


    .oneui-welcome-icon {
        margin-bottom: 13px;
    }


    .oneui-welcome-title {
        font-size: 18px;
    }


    .oneui-stat-card {
        gap: 12px;
    }


    .oneui-card-title {
        font-size: 14px;
    }


    .oneui-card-subtitle {
        font-size: 11px;
    }

}

/* =========================================================
   ADM DANA - MONITORING LAPORAN CABANG
   ========================================================= */

.oneui-monitor-table {
    font-size: 14px;
}

.oneui-monitor-table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 14px 16px;
}

.oneui-monitor-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #eef0f3;
}

.oneui-monitor-table tbody tr:last-child td {
    border-bottom: 0;
}


/* Status ✓ / ✕ */

.oneui-report-status {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.oneui-report-ok {
    background: #e8f7ef;
    color: #127049;
}

.oneui-report-no {
    background: #fef0f0;
    color: #dc3545;
}


/* Badge status */

.oneui-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.oneui-status-success {
    background: #e8f7ef;
    color: #127049;
}

.oneui-status-warning {
    background: #fff4df;
    color: #b73a29;
}


/* Icon KPI tambahan */

.oneui-icon-green {
    background: #e8f7ef !important;
    color: #127049 !important;
}

.oneui-icon-red {
    background: #fef0f0 !important;
    color: #dc3545 !important;
}


/* Icon header warning */

.oneui-card-icon-warning {
    color: #d97706 !important;
    background: #fff7e6 !important;
}


/* Cabang belum lengkap */

.oneui-pending-branch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 13px 15px;

    background: #fffaf0;
    border: 1px solid #f3e5c8;
    border-radius: 10px;

    transition: all .2s ease;
}

.oneui-pending-branch:hover {
    border-color: #e6c98d;
    transform: translateY(-1px);
}

.oneui-pending-name {
    font-size: 13px;
    font-weight: 600;
    color: #273444;
    margin-bottom: 3px;
}


/* Semua laporan lengkap */

.oneui-success-message {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 18px;

    background: #eaf8f0;
    border: 1px solid #ccebd9;
    border-radius: 10px;

    color: #127049;
}

.oneui-success-message>i {
    font-size: 22px;
}

.oneui-success-message strong {
    display: block;
    font-size: 14px;
}

.oneui-success-message small {
    display: block;
    margin-top: 2px;
    color: #5b7767;
}


/* Responsive */

@media (max-width: 767.98px) {

    .oneui-monitor-table {
        min-width: 760px;
    }

    .oneui-status-badge {
        font-size: 10px;
        padding: 5px 8px;
    }

    .oneui-report-status {
        width: 27px;
        height: 27px;
    }

}

@media (max-width: 575.98px) {

    .oneui-monitor-table thead th,
    .oneui-monitor-table tbody td {
        padding: 11px 10px;
    }

}

/* =========================================================
   ADM DANA - FILTER MONITORING
   ========================================================= */

.oneui-monitor-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 15px 18px;

    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}


/* Filter tabs */

.oneui-monitor-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.oneui-monitor-tab {
    border: 1px solid transparent;
    background: transparent;

    color: #6b7280;

    padding: 7px 12px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition: all .2s ease;
}

.oneui-monitor-tab:hover {
    background: #f3f4f6;
    color: #273444;
}

.oneui-monitor-tab.active {
    background: #127049;
    color: #ffffff;
}

.oneui-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 22px;
    height: 20px;

    margin-left: 5px;
    padding: 0 6px;

    border-radius: 20px;

    background: rgba(255, 255, 255, .22);

    font-size: 10px;
}

.oneui-monitor-tab:not(.active) .oneui-filter-count {
    background: #eef1f4;
    color: #6b7280;
}

.oneui-monitor-tab:not(.active) .oneui-filter-success {
    background: #e8f7ef;
    color: #127049;
}

.oneui-monitor-tab:not(.active) .oneui-filter-warning {
    background: #fff4df;
    color: #b76e00;
}


/* Search */

.oneui-monitor-search {
    position: relative;
    width: 280px;
    flex-shrink: 0;
}

.oneui-monitor-search .fa-search {
    position: absolute;

    left: 13px;
    top: 50%;

    transform: translateY(-50%);

    color: #9ca3af;

    font-size: 13px;

    pointer-events: none;
}

.oneui-monitor-search input {
    height: 36px;

    padding-left: 36px;

    border: 1px solid #e1e5ea;
    border-radius: 8px;

    font-size: 12px;

    background: #ffffff;
}

.oneui-monitor-search input:focus {
    border-color: #127049;

    box-shadow: 0 0 0 3px rgba(18, 112, 73, .08);
}


/* Responsive */

@media (max-width: 767.98px) {

    .oneui-monitor-filter {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .oneui-monitor-search {
        width: 100%;
    }

}

/* =========================================================
   ADM DANA - DATE PICKER INDONESIA
   ========================================================= */

.oneui-date-picker {
    position: relative;
    display: flex;
    width: 100%;
}

.oneui-date-picker #tanggal_display {
    padding-right: 48px;
}

.oneui-calendar-btn {
    position: absolute;

    right: 0;
    top: 0;

    width: 44px;
    height: 100%;

    border: 0;
    background: transparent;

    color: #6b7280;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 3;

    transition: all .2s ease;
}

.oneui-calendar-btn:hover {
    color: #127049;
}

.oneui-calendar-btn:focus {
    outline: none;
    color: #127049;
}


/* =========================================================
   ADM DANA - DATE PICKER
   ========================================================= */

.oneui-date-picker {
    position: relative;
    width: 100%;
}


/*
|--------------------------------------------------------------------------
| Input tampilan Indonesia
|--------------------------------------------------------------------------
*/

.oneui-date-picker #tanggal_display {
    width: 100%;
    padding-right: 48px;
}


/*
|--------------------------------------------------------------------------
| Icon kalender
|--------------------------------------------------------------------------
*/

.oneui-calendar-btn {
    position: absolute;

    right: 0;
    top: 0;

    width: 44px;
    height: 100%;

    border: 0;
    background: transparent;

    color: #6b7280;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 2;

    transition: all .2s ease;
}

.oneui-calendar-btn:hover {
    color: #127049;
}

.oneui-calendar-btn:focus {
    outline: none;
    color: #127049;
}


/*
|--------------------------------------------------------------------------
| Native date picker
|--------------------------------------------------------------------------
*/

.oneui-hidden-date-picker {
    position: absolute;

    right: 0;
    top: 0;

    width: 44px;
    height: 100%;

    opacity: 0;

    cursor: pointer;

    z-index: 3;

    border: 0;
}