xxxh1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.inactive-member td{
    color: #6c757d!important;
}

/* Add drop shadows to all card elements */
.card {
    box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.25) !important;
    transition: box-shadow 0.15s ease-in-out;
    border: 1px solid #dee2e6 !important;
}

.card-header:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-dark):not(.bg-light) {
    background-color: #e5e5fb !important;
}

/* Ensure Bootstrap utility classes work properly on card headers */
.card-header.bg-primary {
    background-color: var(--bs-primary) !important;
}

.card-header.text-white {
    color: white !important;
}
.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.65);
}


main
{
    background-color: #f8fbff;
}

/* Fix table row vertical centering */
.table td {
    vertical-align: middle;
}

/* Ensure action buttons don't break vertical alignment */
.btn-group {
    display: inline-flex;
    vertical-align: middle;
}

/* Fix button sizing in tables */
.table .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Ensure badges align properly in table cells */
.table .badge {
    vertical-align: middle;
}

/* Balanced Compact Navigation Styles */
/* Top Navigation Bar */
.sb-topnav {
    padding: 0.25rem 0;
    min-height: 2.75rem;
}

.sb-topnav .navbar-brand {
    padding: 0.25rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.sb-topnav .navbar-nav .nav-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

.sb-topnav .btn-link {
    padding: 0.25rem 0.5rem;
}

/* Sidebar Navigation */
.sb-sidenav {
    padding-top: 0.5rem;
}

.sb-sidenav-menu-heading {
    padding: 0.375rem 1rem 0.125rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.375rem;
    margin-bottom: 0.125rem;
}

.sb-sidenav-menu-heading:first-child {
    margin-top: 0;
}

.sb-sidenav .nav-link {
    padding: 0.375rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 0.0625rem;
}

.sb-sidenav .nav-link .sb-nav-link-icon {
    width: 1.125rem;
    font-size: 0.85rem;
    margin-right: 0.4375rem;
}

.sb-sidenav .nav-link .sb-sidenav-collapse-arrow {
    font-size: 0.7rem;
}

/* Nested navigation items */
.sb-sidenav-menu-nested .nav-link {
    font-size: 0.775rem;
    margin-bottom: 0.0625rem;
}

.sb-sidenav-menu-nested .nav-link i {
    font-size: 0.7rem;
    width: 0.9375rem;
    margin-right: 0.3125rem;
}

/* Sidebar footer */
.sb-sidenav-footer {
    padding: 0.375rem 1rem;
    font-size: 0.7rem;
}

/* Force spacing from top navigation */
body.sb-nav-fixed #layoutSidenav_content .container-fluid {
    padding-top: 1.5rem !important;
}

body.sb-nav-fixed main .container-fluid {
    padding-top: 1.5rem !important;
}

/* Bank account card hover effects */
.hover-shadow:hover {
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease-in-out;
}

.hover-shadow {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* Remove card-body padding on small screens */
@media (max-width: 768px) {
    .card-body,
    .modern-card-body {
        padding: 0 !important;
    }
    
    /* Keep minimal padding for card headers on mobile 
    .card-header,
    .modern-card-header {
    }
        */
}