.custom-modal { border: none; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); overflow: hidden; }
.custom-modal-header { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); border-bottom: none; padding: 25px 30px; }
.custom-modal-title { font-weight: 700; letter-spacing: 0.5px; color: white; }
.close-top { color: white; opacity: 0.8; transition: all 0.3s ease; background: transparent; border: none; }
.close-top:hover { opacity: 1; transform: scale(1.1); }
.table-modal th { background-color: #f8f9fa; color: #495057; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; border-top: none !important; vertical-align: middle !important; }
.table-modal td { vertical-align: middle !important; font-size: 0.95rem; }
.btn-tutup-modern { border-radius: 50px; padding: 10px 30px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.9rem; transition: all 0.3s ease; background: #3b82f6; color: white; border: none; box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3); }
.btn-tutup-modern:hover { background: #1e40af; box-shadow: 0 6px 12px rgba(30, 64, 175, 0.4); }

.filter-wrapper { display: flex; flex-wrap: wrap; gap: 15px; justify-content: flex-end; }
@media (max-width: 991px) { .filter-wrapper { justify-content: flex-start; margin-top: 15px; } }

.dropdown { position: relative; } 

.filter-box { background: #ffffff; border-radius: 12px; padding: 8px 16px 8px 10px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03); display: inline-flex; align-items: center; border: 1px solid #e2e8f0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; }
.filter-box:hover { border-color: #3b82f6; box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.15); transform: translateY(-2px); }
.filter-icon { width: 40px; height: 40px; border-radius: 10px; background: #eff6ff; color: #3b82f6; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-right: 12px; transition: all 0.3s ease; }
.filter-box:hover .filter-icon { background: #3b82f6; color: #ffffff; }
.filter-content { display: flex; flex-direction: column; text-align: left; }
.filter-content label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; color: #64748b; margin-bottom: 0px; font-weight: 700; }
.filter-content-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; background: transparent; border: none; padding: 0; text-align: left; }
.filter-content-btn:focus { outline: none; }
.filter-content-btn span { transition: all 0.3s ease; }
.filter-box:hover .filter-content-btn span { color: #3b82f6 !important; }

.custom-dropdown-menu { border-radius: 16px; border: 1px solid #f1f5f9; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1); padding: 10px; min-width: 250px; margin-top: 12px !important; position: absolute; top: 100%; right: 0; background: white; display: none; z-index: 1030 !important; }
.custom-dropdown-menu.show { display: block; animation: fadeInDown 0.2s ease-out; }
.custom-dropdown-item { display: block; border-radius: 10px; padding: 10px 15px; font-weight: 600; color: #475569; transition: all 0.2s ease; margin-bottom: 4px; font-size: 0.95rem; text-decoration: none;}
.custom-dropdown-item:last-child { margin-bottom: 0; }
.custom-dropdown-item:hover { background-color: #f8fafc; color: #3b82f6; transform: translateX(4px); text-decoration: none;}
.custom-dropdown-item.active { background-color: #eff6ff; color: #3b82f6; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

table.dataTable { border-collapse: collapse !important; margin-top: 15px !important; }
table.dataTable thead th { border-bottom: 2px solid #f1f5f9 !important; border-top: none !important; color: #94a3b8 !important; font-size: 0.75rem !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 12px !important; }
table.dataTable tbody td { border-bottom: 1px solid #f8fafc !important; border-top: none !important; vertical-align: middle !important; padding: 15px 10px !important; color: #334155; }
.table-hover tbody tr:hover { background-color: #f8fafc !important; transition: background-color 0.2s; }

.dataTables_filter input { border-radius: 8px !important; border: 1px solid #e2e8f0 !important; padding: 6px 15px !important; font-size: 0.9rem; outline: none !important; box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important; transition: all 0.3s; }
.dataTables_filter input:focus { border-color: #3b82f6 !important; box-shadow: 0 0 0 3px rgba(59,130,246,0.1) !important; }

.dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 6px !important; border: none !important; padding: 4px 10px !important; margin: 0 2px; font-size: 0.85rem; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: #eff6ff !important; color: #3b82f6 !important; font-weight: bold; }
.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current) { background: #f1f5f9 !important; color: #1e293b !important; }

.notion-tag { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; }

.app-content-header { position: relative; z-index: 1020 !important; }
.sticky-rincian { position: -webkit-sticky; position: sticky; top: 20px; z-index: 10; }

/* ========================================================= */
/* CSS EFEK SHIMMERING SKELETON LOADING */
/* ========================================================= */
.skeleton {
    background: #f1f5f9;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0));
    background-repeat: no-repeat;
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 6px;
}
@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 800px 0; }
}
.skeleton-text { height: 16px; width: 80%; margin-bottom: 8px; border-radius: 4px; }
.skeleton-text-small { height: 12px; width: 50%; border-radius: 4px; }
.skeleton-badge { height: 26px; width: 60px; margin: 0 auto; border-radius: 12px; }
.skeleton-number { height: 22px; width: 30px; margin: 0 auto; border-radius: 4px; }