body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}
.loader {
    border-top-color: #EC4899;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    color: #4b5563; /* gray-600 */
}
.sidebar-link:hover {
    background-color: #fce7f3; /* pink-100 */
    color: #be185d; /* pink-700 */
}
.sidebar-link.active {
    background-color: #db2777; /* pink-600 */
    color: white;
    font-weight: 600;
}
.sidebar-link svg {
    margin-right: 0.75rem;
}
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.stat-card {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}
.page {
    display: none;
}
.page.active {
    display: block;
}
/* Mobile sidebar transition */
.sidebar-mobile-open {
    transform: translateX(0);
}
/* Style untuk tombol pagination disabled */
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tambahkan ini di akhir file style.css */
.content-processing {
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none; /* Mencegah interaksi saat loading */
}

/* Delta styling */
.delta-positive {
    color: #16a34a; /* green-600 */
}

.delta-negative {
    color: #dc2626; /* red-600 */
}

.delta-neutral {
    color: #4b5563; /* gray-600 */
}

/* Floating Action Button */
#fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

#fabMain {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #db2777; /* pink-600 */
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 0;
}

#fabOptions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

#fabOptions .fab-option {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: #db2777;
    color: #fff;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
}

#fab.open #fabOptions .fab-option {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
