:root {
    --color-y-first: #AF9B28;
    --color-y-second: #685609;
    --color-y-third: #F9F8CA;
    --color-gr-first: #6C757D;
}

.text-warning-1 {
    color: var(--color-y-first) !important;
}

.text-warning-2 {
    color: var(--color-y-second) !important;
}

.text-secondary-1 {
    color: var(--color-gr-first) !important;
}

.bg-warning-1 {
    background-color: var(--color-y-first) !important;
}

.bg-warning-2 {
    background-color: var(--color-y-second) !important;
}

.bg-secondary-1 {
    background-color: var(--color-gr-first) !important;
}


.bg-null {
    background-color: transparent;
}

.bg-null:hover {
    background-color: var(--color-y-first) !important;
    border: var(--color-y-first) !important;
}

.bg-first {
    background-color: var(--color-y-first) !important;
}

.bg-second {
    background-color: var(--color-second) !important;
}

.color-first {
    color: var(--color-y-first) !important;
}

.color-second {
    color: var(--color-second) !important;
}

.border-first {
    border: 1px solid var(--color-y-first) !important;
}

.border-second {
    border: 1px solid var(--color-second) !important;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    /* Gunakan flexbox */
    justify-content: center;
    /* Posisi horizontal di tengah */
    align-items: center;
    /* Posisi vertikal di tengah */
    text-align: center;
}


.kt-portlet__head-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Pastikan elemen label portlet memenuhi lebar portlet */
}

.kt-portlet__head-title {
    margin: 0;
    /* Menghapus margin default yang mungkin */
}

/* Build */
@media screen and (min-width: 1025px) {
    .kt-menu__submenu {
        position: absolute;
        top: auto;
        left: 0;
        min-width: 160px;
        /* Sesuaikan dengan lebar submenu */
        background-color: #ffffff;
        /* Warna latar belakang submenu */
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        /* Efek bayangan */
        display: none;
        z-index: 1000;
        /* Pastikan submenu muncul di atas konten lain */
        transform: translateY(-100%);
        /* Memindahkan submenu ke atas */
    }

    .kt-menu__submenu--up .kt-menu__arrow {
        bottom: -12px;
        /* Sesuaikan dengan posisi panah */
        top: auto;
    }

    .kt-menu__submenu--up .kt-menu__arrow:before {
        border-width: 0 5px 5px 5px;
        /* Mengubah panah menjadi mengarah ke atas */
        border-color: transparent transparent #ffffff transparent;
        /* Warna panah */
        top: auto;
        bottom: -5px;
        /* Sesuaikan dengan posisi panah */
    }
}
