/* body{
    background-color:#fff4d4;
} */

.m-0 {
    margin: 0 !important
}

.mt-0,
.my-0 {
    margin-top: 0 !important
}

.mr-0,
.mx-0 {
    margin-right: 0 !important
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important
}

.ml-0,
.mx-0 {
    margin-left: 0 !important
}

.m-1 {
    margin: .25rem !important
}

.mt-1,
.my-1 {
    margin-top: .25rem !important
}

.mr-1,
.mx-1 {
    margin-right: .25rem !important
}

.mb-1,
.my-1 {
    margin-bottom: .25rem !important
}

.ml-1,
.mx-1 {
    margin-left: .25rem !important
}

.m-2 {
    margin: .5rem !important
}

.mt-2,
.my-2 {
    margin-top: .5rem !important
}

.mr-2,
.mx-2 {
    margin-right: .5rem !important
}

.mb-2,
.my-2 {
    margin-bottom: .5rem !important
}

.ml-2,
.mx-2 {
    margin-left: .5rem !important
}

.m-3 {
    margin: 1rem !important
}

.mt-3,
.my-3 {
    margin-top: 1rem !important
}

.mr-3,
.mx-3 {
    margin-right: 1rem !important
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important
}

.ml-3,
.mx-3 {
    margin-left: 1rem !important
}

.m-4 {
    margin: 1.5rem !important
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important
}

.mr-4,
.mx-4 {
    margin-right: 1.5rem !important
}

.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important
}

.ml-4,
.mx-4 {
    margin-left: 1.5rem !important
}

.m-5 {
    margin: 3rem !important
}

.mt-5,
.my-5 {
    margin-top: 3rem !important
}

.mr-5,
.mx-5 {
    margin-right: 3rem !important
}

.mb-5,
.my-5 {
    margin-bottom: 3rem !important
}

.ml-5,
.mx-5 {
    margin-left: 3rem !important
}

.m-4pt {
    margin: .25rem !important
}

.mt-4pt,
.my-4pt {
    margin-top: .25rem !important
}

.mr-4pt,
.mx-4pt {
    margin-right: .25rem !important
}

.mb-4pt,
.my-4pt {
    margin-bottom: .25rem !important
}

.ml-4pt,
.mx-4pt {
    margin-left: .25rem !important
}

.m-8pt {
    margin: .5rem !important
}

.mt-8pt,
.my-8pt {
    margin-top: .5rem !important
}

.mr-8pt,
.mx-8pt {
    margin-right: .5rem !important
}

.mb-8pt,
.my-8pt {
    margin-bottom: .5rem !important
}

.ml-8pt,
.mx-8pt {
    margin-left: .5rem !important
}

.m-12pt {
    margin: .75rem !important
}

.mt-12pt,
.my-12pt {
    margin-top: .75rem !important
}

.mr-12pt,
.mx-12pt {
    margin-right: .75rem !important
}

.mb-12pt,
.my-12pt {
    margin-bottom: .75rem !important
}

.ml-12pt,
.mx-12pt {
    margin-left: .75rem !important
}

.m-16pt {
    margin: 1rem !important
}

.mt-16pt,
.my-16pt {
    margin-top: 1rem !important
}

.mr-16pt,
.mx-16pt {
    margin-right: 1rem !important
}

.mb-16pt,
.my-16pt {
    margin-bottom: 1rem !important
}

.ml-16pt,
.mx-16pt {
    margin-left: 1rem !important
}

.m-20pt {
    margin: 1.25rem !important
}

.mt-20pt,
.my-20pt {
    margin-top: 1.25rem !important
}

.mr-20pt,
.mx-20pt {
    margin-right: 1.25rem !important
}

.mb-20pt,
.my-20pt {
    margin-bottom: 1.25rem !important
}

.ml-20pt,
.mx-20pt {
    margin-left: 1.25rem !important
}

.m-24pt {
    margin: 1.5rem !important
}

.mt-24pt,
.my-24pt {
    margin-top: 1.5rem !important
}

.mr-24pt,
.mx-24pt {
    margin-right: 1.5rem !important
}

.mb-24pt,
.my-24pt {
    margin-bottom: 1.5rem !important
}

.ml-24pt,
.mx-24pt {
    margin-left: 1.5rem !important
}

.m-32pt {
    margin: 2rem !important
}

.mt-32pt,
.my-32pt {
    margin-top: 2rem !important
}

.mr-32pt,
.mx-32pt {
    margin-right: 2rem !important
}

.mb-32pt,
.my-32pt {
    margin-bottom: 2rem !important
}

.ml-32pt,
.mx-32pt {
    margin-left: 2rem !important
}

.m-40pt {
    margin: 2.5rem !important
}

.mt-40pt,
.my-40pt {
    margin-top: 2.5rem !important
}

.mr-40pt,
.mx-40pt {
    margin-right: 2.5rem !important
}

.mb-40pt,
.my-40pt {
    margin-bottom: 2.5rem !important
}

.ml-40pt,
.mx-40pt {
    margin-left: 2.5rem !important
}

.m-44pt {
    margin: 2.75rem !important
}

.mt-44pt,
.my-44pt {
    margin-top: 2.75rem !important
}

.mr-44pt,
.mx-44pt {
    margin-right: 2.75rem !important
}

.mb-44pt,
.my-44pt {
    margin-bottom: 2.75rem !important
}

.ml-44pt,
.mx-44pt {
    margin-left: 2.75rem !important
}

.m-48pt {
    margin: 3rem !important
}

.mt-48pt,
.my-48pt {
    margin-top: 3rem !important
}

.mr-48pt,
.mx-48pt {
    margin-right: 3rem !important
}

.mb-48pt,
.my-48pt {
    margin-bottom: 3rem !important
}

.ml-48pt,
.mx-48pt {
    margin-left: 3rem !important
}

.m-64pt {
    margin: 4rem !important
}

.mt-64pt,
.my-64pt {
    margin-top: 4rem !important
}

.mr-64pt,
.mx-64pt {
    margin-right: 4rem !important
}

.mb-64pt,
.my-64pt {
    margin-bottom: 4rem !important
}

.ml-64pt,
.mx-64pt {
    margin-left: 4rem !important
}

.m-112pt {
    margin: 7rem !important
}

.mt-112pt,
.my-112pt {
    margin-top: 7rem !important
}

.mr-112pt,
.mx-112pt {
    margin-right: 7rem !important
}

.mb-112pt,
.my-112pt {
    margin-bottom: 7rem !important
}

.ml-112pt,
.mx-112pt {
    margin-left: 7rem !important
}

.m-128pt {
    margin: 8rem !important
}

.mt-128pt,
.my-128pt {
    margin-top: 8rem !important
}

.mr-128pt,
.mx-128pt {
    margin-right: 8rem !important
}

.mb-128pt,
.my-128pt {
    margin-bottom: 8rem !important
}

.ml-128pt,
.mx-128pt {
    margin-left: 8rem !important
}

.p-0 {
    padding: 0 !important
}

.pt-0,
.py-0 {
    padding-top: 0 !important
}

.pr-0,
.px-0 {
    padding-right: 0 !important
}

.pb-0,
.py-0 {
    padding-bottom: 0 !important
}

.pl-0,
.px-0 {
    padding-left: 0 !important
}

.p-1 {
    padding: .25rem !important
}

.pt-1,
.py-1 {
    padding-top: .25rem !important
}

.pr-1,
.px-1 {
    padding-right: .25rem !important
}

.pb-1,
.py-1 {
    padding-bottom: .25rem !important
}

.pl-1,
.px-1 {
    padding-left: .25rem !important
}

.p-2 {
    padding: .5rem !important
}

.pt-2,
.py-2 {
    padding-top: .5rem !important
}

.pr-2,
.px-2 {
    padding-right: .5rem !important
}

.pb-2,
.py-2 {
    padding-bottom: .5rem !important
}

.pl-2,
.px-2 {
    padding-left: .5rem !important
}

.p-3 {
    padding: 1rem !important
}

.pt-3,
.py-3 {
    padding-top: 1rem !important
}

.pr-3,
.px-3 {
    padding-right: 1rem !important
}

.pb-3,
.py-3 {
    padding-bottom: 1rem !important
}

.pl-3,
.px-3 {
    padding-left: 1rem !important
}

.p-4 {
    padding: 1.5rem !important
}

.pt-4,
.py-4 {
    padding-top: 1.5rem !important
}

.pr-4,
.px-4 {
    padding-right: 1.5rem !important
}

.pb-4,
.py-4 {
    padding-bottom: 1.5rem !important
}

.pl-4,
.px-4 {
    padding-left: 1.5rem !important
}

.p-5 {
    padding: 3rem !important
}

.pt-5,
.py-5 {
    padding-top: 3rem !important
}

.pr-5,
.px-5 {
    padding-right: 3rem !important
}

.pb-5,
.py-5 {
    padding-bottom: 3rem !important
}

.pl-5,
.px-5 {
    padding-left: 3rem !important
}

.p-4pt {
    padding: .25rem !important
}

.pt-4pt,
.py-4pt {
    padding-top: .25rem !important
}

.pr-4pt,
.px-4pt {
    padding-right: .25rem !important
}

.pb-4pt,
.py-4pt {
    padding-bottom: .25rem !important
}

.pl-4pt,
.px-4pt {
    padding-left: .25rem !important
}

.p-8pt {
    padding: .5rem !important
}

.pt-8pt,
.py-8pt {
    padding-top: .5rem !important
}

.pr-8pt,
.px-8pt {
    padding-right: .5rem !important
}

.pb-8pt,
.py-8pt {
    padding-bottom: .5rem !important
}

.pl-8pt,
.px-8pt {
    padding-left: .5rem !important
}

.p-12pt {
    padding: .75rem !important
}

.pt-12pt,
.py-12pt {
    padding-top: .75rem !important
}

.pr-12pt,
.px-12pt {
    padding-right: .75rem !important
}

.pb-12pt,
.py-12pt {
    padding-bottom: .75rem !important
}

.pl-12pt,
.px-12pt {
    padding-left: .75rem !important
}

.p-16pt {
    padding: 1rem !important
}

.pt-16pt,
.py-16pt {
    padding-top: 1rem !important
}

.pr-16pt,
.px-16pt {
    padding-right: 1rem !important
}

.pb-16pt,
.py-16pt {
    padding-bottom: 1rem !important
}

.pl-16pt,
.px-16pt {
    padding-left: 1rem !important
}

.p-18pt {
    padding: 1.15rem !important
}

.pt-18pt,
.py-18pt {
    padding-top: 1.15rem !important
}

.p-20pt {
    padding: 1.25rem !important
}

.pt-20pt,
.py-20pt {
    padding-top: 1.25rem !important
}

.pr-20pt,
.px-20pt {
    padding-right: 1.25rem !important
}

.pb-20pt,
.py-20pt {
    padding-bottom: 1.25rem !important
}

.pl-20pt,
.px-20pt {
    padding-left: 1.25rem !important
}

.pt-22pt,
.py-22pt {
    padding-top: 1.18rem !important
}

.pt-22pt,
.py-22pt {
    padding-bottom: 1.18rem !important
}

.pl-20pt,
.px-20pt {
    padding-left: 1.25rem !important
}

.p-24pt {
    padding: 1.5rem !important
}

.pt-24pt,
.py-24pt {
    padding-top: 1.5rem !important
}

.pr-24pt,
.px-24pt {
    padding-right: 1.5rem !important
}

.pb-24pt,
.py-24pt {
    padding-bottom: 1.5rem !important
}

.pl-24pt,
.px-24pt {
    padding-left: 1.5rem !important
}

.p-32pt {
    padding: 2rem !important
}

.pt-32pt,
.py-32pt {
    padding-top: 2rem !important
}

.pr-32pt,
.px-32pt {
    padding-right: 2rem !important
}

.pb-32pt,
.py-32pt {
    padding-bottom: 2rem !important
}

.pl-32pt,
.px-32pt {
    padding-left: 2rem !important
}

.p-40pt {
    padding: 2.5rem !important
}

.pt-40pt,
.py-40pt {
    padding-top: 2.5rem !important
}

.pr-40pt,
.px-40pt {
    padding-right: 2.5rem !important
}

.pb-40pt,
.py-40pt {
    padding-bottom: 2.5rem !important
}

.pl-40pt,
.px-40pt {
    padding-left: 2.5rem !important
}

.p-44pt {
    padding: 2.75rem !important
}

.pt-44pt,
.py-44pt {
    padding-top: 2.75rem !important
}

.pr-44pt,
.px-44pt {
    padding-right: 2.75rem !important
}

.pb-44pt,
.py-44pt {
    padding-bottom: 2.75rem !important
}

.pl-44pt,
.px-44pt {
    padding-left: 2.75rem !important
}

.p-48pt {
    padding: 3rem !important
}

.pt-48pt,
.py-48pt {
    padding-top: 3rem !important
}

.pr-48pt,
.px-48pt {
    padding-right: 3rem !important
}

.pb-48pt,
.py-48pt {
    padding-bottom: 3rem !important
}

.pl-48pt,
.px-48pt {
    padding-left: 3rem !important
}

.p-64pt {
    padding: 4rem !important
}

.pt-64pt,
.py-64pt {
    padding-top: 4rem !important
}

.pr-64pt,
.px-64pt {
    padding-right: 4rem !important
}

.pb-64pt,
.py-64pt {
    padding-bottom: 4rem !important
}

.pl-64pt,
.px-64pt {
    padding-left: 4rem !important
}

.p-112pt {
    padding: 7rem !important
}

.pt-112pt,
.py-112pt {
    padding-top: 7rem !important
}

.pr-112pt,
.px-112pt {
    padding-right: 7rem !important
}

.pb-112pt,
.py-112pt {
    padding-bottom: 7rem !important
}

.pl-112pt,
.px-112pt {
    padding-left: 7rem !important
}

.p-128pt {
    padding: 8rem !important
}

.pt-128pt,
.py-128pt {
    padding-top: 8rem !important
}

.pr-128pt,
.px-128pt {
    padding-right: 8rem !important
}

.pb-128pt,
.py-128pt {
    padding-bottom: 8rem !important
}

.pl-128pt,
.px-128pt {
    padding-left: 8rem !important
}

.p-150pt {
    padding: 10rem !important
}

.pt-150pt,
.py-150pt {
    padding-top: 10rem !important
}

.pr-150pt,
.px-150pt {
    padding-right: 10rem !important
}

.pb-150pt,
.py-150pt {
    padding-bottom: 10rem !important
}

.pl-150pt,
.px-150pt {
    padding-left: 10rem !important
}

.rounded {
    border-radius: .25rem !important
}

.rounded20 {
    border-radius: 20px !important
}

.rounded-top {
    border-top-left-radius: .25rem !important
}

.rounded-tops {
    border-top-left-radius: 3rem !important;
    border-top-right-radius: 3rem !important;
}

.rounded-right,
.rounded-top {
    border-top-right-radius: .25rem !important
}

.rounded-bottom,
.rounded-right {
    border-bottom-right-radius: .25rem !important
}

.rounded-bottom,
.rounded-left {
    border-bottom-left-radius: .25rem !important
}

.rounded-left {
    border-top-left-radius: .25rem !important
}

.rounded-circle {
    border-radius: 50% !important
}

.rounded-pill {
    border-radius: 50rem !important
}

.rounded-0 {
    border-radius: 0 !important
}

.rounded-30 {
    border-radius: 30px;
}

.rounded-20 {
    border-radius: 20px;
}

.text-justify {
    text-align: justify !important;
}

label.error {
    color: #ED3A43 !important;
    font-weight: 600;
    margin-top: 10px;
    font-style: italic;
}

.font-red {
    color: #ED3A43 !important;
}

.required {
    color: #ED3A43 !important;
}

.pl-20 {
    padding-left: 20px !important;
}

.pl-30 {
    padding-left: 30px !important;
}

.pl-40 {
    padding-left: 40px !important;
}

.pl-60 {
    padding-left: 60px !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.ticket-number {
    font-weight: bolder;
    cursor: pointer;
}

.gj-datepicker-md [role=right-icon] {
    position: absolute;
    right: 5px;
    top: 7px;
    font-size: 24px;
}

.head-notify {
    padding: .9rem 1rem;
    border-radius: .75rem;
    transition: all .25s ease-in-out;
    background: #ffffff;
    border: 1px solid #f1f1f1;
    margin-bottom: .25rem;
}

.head-notify:hover {
    background: #f9fafb;
    border-color: #e2e8f0;
    transform: translateX(4px);
}

.head-notify .notify-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: .15rem;
    font-size: 0.93rem;
}

.head-notify .notify-code {
    color: #6c5ce7;
    font-weight: 700;
}

.head-notify .notify-type-personal {
    color: #36b9cc;
    font-weight: 700;
}

.head-notify .notify-type-vip {
    color: #ff6b35;
    font-weight: 700;
}

.head-notify .notify-type-institution {
    color: #f7931e;
    font-weight: 700;
}

.head-notify .notify-type-employee {
    color: #364b98;
    font-weight: 700;
}

.head-notify .notify-desc {
    font-size: 0.85rem;
    color: #4b5563;
}

.head-notify .notify-time {
    font-size: .75rem;
    color: #9ca3af;
    margin-top: .35rem;
    display: inline-block;
    text-align: right;
}


/* Modern bell + badge styles */

.navbar .nav-link .fa-bell {
    font-size: 1.15rem !important;
    color: #374151;
    padding: .45rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.06);
    /* subtle blue */
    box-shadow: 0 4px 10px rgba(2, 6, 23, 0.04);
    transition: transform .12s ease, background .12s ease, color .12s ease;
}

.navbar .nav-link .fa-bell:hover {
    transform: translateY(-3px);
    color: #0f172a;
    background: rgba(59, 130, 246, 0.09);
}

#notify-count {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    transform-origin: center center;
    box-shadow: 0 4px 10px rgba(2, 6, 23, 0.08);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}


/* Make badge overlap the bell and look integrated */

.bell-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.bell-wrap .fa-bell {
    margin: 0;
    display: inline-block;
}

#notify-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    transform: translate(0, 0) !important;
    min-width: 20px;
    height: 20px;
    padding: 0 6px !important;
    font-size: 0.66rem !important;
}


/* make the Notifications text slightly offset from the bell */

.nav-link>.ms-2 {
    vertical-align: middle;
    font-weight: 600;
    color: #374151;
}


/* subtle pulse when there are unread notifications */

.notify-pulse {
    animation: notify-pulse 1.6s infinite cubic-bezier(.4, 0, .2, 1);
}

@keyframes notify-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.16);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.sidebar-wrapper .menu .submenu .submenu-item a {
    padding: 1rem 1.5rem !important;
}

.sidebar-wrapper .menu {
    padding: 1rem !important;
}

.sidebar-wrapper .menu .submenu {
    padding: 1rem;
}

.sidebar-wrapper .sidebar-header img {
    max-height: 60px !important;
    width: auto !important;
}

.sidebar-wrapper .menu .sidebar-item.has-sub .sidebar-link::after {
    content: "\f054";
    /* default panah kanan */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #000;
}

.sidebar-wrapper .menu .sidebar-item.has-sub.active .sidebar-link::after {
    color: #fff;
}


/* jika submenu di dalamnya memiliki class .active */

.sidebar-wrapper .menu .sidebar-item.has-sub:has(.submenu.active) .sidebar-link::after {
    content: "\f078";
    /* panah bawah */
    color: #000;
}

.sidebar-wrapper .menu .sidebar-item.has-sub.active:has(.submenu.active) .sidebar-link::after {
    content: "\f078";
    /* panah bawah */
    color: #fff;
}

/* Dropdown notifications */
.dropdown-notify {
    min-width: 16rem;       /* Lebar minimum di mobile */
    max-width: 22rem;       /* Lebar maksimum di desktop */
    width: 100%;            /* Memaksimalkan lebar container */
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    overflow: hidden;
    border-radius: 0.5rem;
}

/* Wrapper notifikasi scrollable */
#notify-list-wrapper {
    max-height: 300px;      /* Maks tinggi dropdown */
    overflow-y: auto;       /* Scroll vertical jika banyak item */
}

/* Scrollbar modern (opsional) */
#notify-list-wrapper::-webkit-scrollbar {
    width: 6px;
}
#notify-list-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}

/* Dropdown item style */
.dropdown-notify .dropdown-item {
    white-space: normal;    /* Wrap teks panjang */
    padding: 0.5rem 1rem;
}

/* Dropdown header */
.dropdown-notify .dropdown-header {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
}

/* Divider spacing */
.dropdown-notify .dropdown-divider {
    margin: 0.25rem 0;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .dropdown-notify {
        min-width: 14rem;    /* Lebar lebih kecil di mobile */
        max-width: 100%;     /* Lebar penuh layar */
    }

    /* Teks lebih kecil di mobile */
    .dropdown-notify .dropdown-item,
    .dropdown-notify .dropdown-header {
        font-size: 0.85rem;
    }

    .dropdown-notify.dropdown-menu-end.show {
        left: -13em !important;
    }
}


input.error~.form-control-icon {
    top: 35% !important;
}

.r-0 {
    right: 0 !important;
    top: 60% !important;
    font-size: 1.6rem !important;
}

.btn-rounded {
    border-radius: 20px !important;
}

input.error~.r-0 {
    top: 40% !important;
}

.checklist-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.check-item i {
    font-size: 20px;
    color: #888;
    transition: color 0.2s ease;
}

.check-item.active {
    border-color: #364b98;
    background: #e7f1ff;
}

.check-item.active i {
    color: #364b98;
}

.check-item input {
    display: none;
}

.hidden-form {
    display: none;
    margin-top: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
}

.hidden-form h4 {
    margin-top: 0;
}

.form-control {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #364b98;
    border-radius: 12px;
    background-color: #f9fcff;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: transparent;
    background: url('https://cdn-icons-png.flaticon.com/512/747/747310.png') center/18px no-repeat;
    opacity: 0.8;
    cursor: pointer;
}

.batch-card {
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.batch-card.active {
    border-color: #0d6efd;
    /* biru bootstrap */
    background-color: #eaf2ff;
    position: relative;
}

.batch-card.active::after {
    content: "\f00c";
    /* Font Awesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0d6efd;
    position: absolute;
    top: 10px;
    right: 10px;
}

.bg-theme {
    background: linear-gradient(90deg, #FF6B35 0%, #F7931E 100%);
    padding: 25px;
    color: white;
    border-radius: 10px;
    border-color: #E27218 !important;
    color: #ffffff !important;
}

.icon-small {
    font-size: 70% !important;
}

.max-table-h100 {
    display: block !important;
    max-height: 100px !important;
    max-width: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    padding: 8px !important;
    margin: 5px;
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
}

.max-table-h100::-webkit-scrollbar {
    width: 6px;
}

.max-table-h100::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.max-table-h100::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.max-table-h100::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* 🌈 Modern Attendance Selection */

.attendance-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.attendance-card {
    position: relative;
    width: 160px;
    height: 130px;
    border-radius: 1rem;
    background: linear-gradient(145deg, #f9fafb, #e5e7eb);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all .3s ease;
    overflow: hidden;
}

.attendance-card input {
    display: none;
}


/* ✨ Icon styling — hidden by default */

.attendance-card span.icon {
    font-size: 2.2rem;
    margin-bottom: .4rem;
    opacity: 1;
    transform: scale(0.8);
    transition: all .3s ease;
    z-index: 3;
    /* 🔥 ensure icon always on top */
    position: relative;
}


/* Hover effect */

.attendance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}


/* 💚 Hadir */

.attendance-card.hadir input:checked+span.icon {
    opacity: 1;
    transform: scale(1.2) rotate(8deg);
}

.attendance-card.hadir input:checked~.card-bg {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.attendance-card.hadir input:checked~.card-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: 0 0 25px 5px rgba(34, 197, 94, 0.5);
    border-radius: 1rem;
}


/* ❤️ Tidak Hadir */

.attendance-card.tidak input:checked+span.icon {
    opacity: 1;
    transform: scale(1.2) rotate(-8deg);
}

.attendance-card.tidak input:checked~.card-bg {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.attendance-card.tidak input:checked~.card-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: 0 0 25px 5px rgba(239, 68, 68, 0.5);
    border-radius: 1rem;
}


/* Text inside card */

.attendance-card span.label {
    position: relative;
    z-index: 3;
    /* 🔥 keep text above background */
    font-size: 1rem;
}


/* Inner background layer */

.card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* ✅ background always under icon & label */
    opacity: .1;
    border-radius: 1rem;
    transition: all .4s ease;
}


/* Checked text color */

.attendance-card input:checked~.card-bg {
    opacity: 1;
}

.attendance-card input:checked~span.label {
    color: #fff;
}

.h-600 {
    height: 600px !important;
    overflow: auto !important;
}

.dt-buttons {
    margin-bottom: 30px !important;
    display: flex;
    gap: 10px;
}

.dt-button {
    background-color: #0d6efd !important;
    color: #fff !important;
    border: 1px solid #0d6efd !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    transition: background 0.2s;
}

.dt-button.buttons-excel {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

.dt-button.buttons-print {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.dt-button:hover,
.dt-button:focus {
    opacity: 0.85;
    color: #fff !important;
}

footer {
    position: fixed;
    bottom: 0;
    width: auto;
    text-align: center;
    color: #000000;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
}

footer p {
    margin: 0;
}

.footer-home {
    position: fixed;
    bottom: 0;
    width: 100% !important;
    text-align: center;
    color: #000000;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
}

.choices {
    width: 100% !important;
    padding: 20px 0 10px 5px !important;
    border: 2px solid #364b98 !important;
    border-radius: 12px !important;
    background-color: #f9fcff !important;
    font-size: 15px !important;
    color: #333 !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    margin-bottom: 0;
}

.choices__inner {
    border: none !important;
    padding: 0 !important;
}
