body.layout-fluid {
    background-color: #f7f9fc;
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.nav-link.active .nav-link-icon, .nav-link.active .nav-link-title {
    color: #206bc4 !important;
    font-weight: 600;
}

.nav-link:hover {
    color: #206bc4;
}

/* Spinner for buttons */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Dashboard summary cards */
#total-simpanan, #sisa-pinjaman {
    font-size: 2rem;
    font-weight: bold;
}

#pinjaman-progress {
    transition: width 0.4s ease-in-out;
}

/* Modal form loader */
.form-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Empty state info */
.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #6c7a9c;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Scroll to top button */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Navbar Brand Centering on Mobile */
@media (max-width: 767.98px) {
    .navbar > .container-xl {
        position: relative;
    }
    .navbar-brand {
        position: absolute;
        left: 50%;
        /* Gunakan kalkulasi untuk memusatkan secara vertikal 
           terutama saat navbar-collapse bertambah tinggi */
        top: 28px; 
        transform: translate(-50%, -50%);
        margin: 0 !important;
        z-index: 1001;
    }
}

/* Logo aesthetics */
.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
    border-radius: 4px; /* subtle rounding if the pic is square */
}

.navbar-brand:hover img {
    transform: scale(1.05);
}
