:root {
            --catholic-gold: #D4AF37;
            --catholic-purple: #800080;
            --catholic-blue: #1a237e;
            --catholic-red: #B71C1C;
            --catholic-green: #1B5E20;
        }
        
        .hero-section {
            background: linear-gradient(135deg, var(--catholic-blue) 0%, var(--catholic-purple) 100%);
            position: relative;
            overflow: hidden;
            min-height: 90vh;
            display: flex;
            align-items: center;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff10' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.3;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
        }
        
        .catholic-icon {
            color: var(--catholic-gold);
            font-size: 3rem;
            margin-bottom: 1.5rem;
        }
        
        .feature-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: none;
            border-radius: 15px;
            overflow: hidden;
            height: 100%;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--catholic-purple);
            margin-bottom: 1rem;
        }
        
        .stats-counter {
            font-size: 3rem;
            font-weight: 700;
            color: var(--catholic-gold);
            line-height: 1;
        }
        
        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 3rem;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: var(--catholic-gold);
        }
        
        .testimonial-card {
            background: #f8f9fa;
            border-left: 4px solid var(--catholic-gold);
            padding: 2rem;
            border-radius: 10px;
        }
        
        .news-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease;
            height: 100%;
        }
        
        .news-card:hover {
            transform: translateY(-5px);
        }
        
        .news-date {
            color: var(--catholic-gold);
            font-weight: 600;
        }
        
        .cta-section {
            background: linear-gradient(135deg, var(--catholic-purple) 0%, var(--catholic-blue) 100%);
            position: relative;
            overflow: hidden;
        }
        
        .footer {
            background: #1a1a1a;
            color: #fff;
        }
        
        .footer-links a {
            color: #ccc;
            transition: color 0.3s ease;
            text-decoration: none;
        }
        
        .footer-links a:hover {
            color: var(--catholic-gold);
        }
        
        .sacrament-badge {
            background: linear-gradient(135deg, var(--catholic-gold) 0%, #FFD700 100%);
            color: #000;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 600;
            display: inline-block;
            margin: 0.25rem;
        }
        
        .parish-stats {
            font-size: 1.1rem;
            color: #666;
        }
        
        .parish-stats strong {
            color: var(--catholic-purple);
        }
        
        @media (max-width: 768px) {
            .hero-section {
                min-height: 70vh;
                text-align: center;
            }
            
            .stats-counter {
                font-size: 2.5rem;
            }
        }

        /* Advanced Pagination Styles */
.advanced-pagination {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pagination-left,
.pagination-center,
.pagination-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pagination-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #6c757d;
}

.pagination-stats i {
    color: #667eea;
}

.stats-text {
    font-size: 14px;
}

.stats-text strong {
    color: #333;
}

.pagination-nav-item {
    display: flex;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-button:hover:not(.disabled) {
    background: #f8f9fa;
    color: #495057;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.page-number.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.pagination-ellipsis {
    color: #adb5bd;
    padding: 0 5px;
}

/* Page Selector */
.page-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.selector-label {
    font-size: 14px;
    color: #6c757d;
}

.selector-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-input {
    width: 60px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.page-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.selector-total {
    font-size: 14px;
    color: #6c757d;
}

.go-button {
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.go-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .pagination-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-left,
    .pagination-right {
        width: 100%;
        justify-content: center;
    }
    
    .pagination-center {
        order: 2;
    }
}

@media (max-width: 576px) {
    .pagination-center {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination-numbers {
        order: 1;
    }
    
    .pagination-nav-item {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-button {
        flex: 1;
        justify-content: center;
    }
    
    .page-selector {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Responsive Table Styles */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    min-width: 800px;
}

/* Mobile Cards Styles */
@media (max-width: 767.98px) {
    .d-md-block {
        display: none !important;
    }
    
    .d-md-none {
        display: block !important;
    }
    
    .mobile-user-card {
        background: white;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        border: 1px solid #e9ecef;
    }
    
    .mobile-user-card:last-child {
        margin-bottom: 0;
    }
    
    .mobile-user-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .mobile-user-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .mobile-user-info {
        flex: 1;
    }
    
    .mobile-user-name {
        font-weight: 600;
        font-size: 16px;
        color: #333;
        margin-bottom: 2px;
    }
    
    .mobile-user-email {
        font-size: 12px;
        color: #6c757d;
        margin-bottom: 4px;
    }
    
    .mobile-user-role {
        display: inline-block;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
    }
    
    .mobile-permissions-section {
        margin-bottom: 12px;
    }
    
    .mobile-section-title {
        font-weight: 600;
        font-size: 13px;
        color: #495057;
        margin-bottom: 6px;
    }
    
    .mobile-permissions-list {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .mobile-permission-badge {
        padding: 3px 8px;
        border-radius: 8px;
        font-size: 11px;
        font-weight: 500;
    }
    
    .mobile-actions {
        display: flex;
        gap: 8px;
        margin-top: 12px;
    }
    
    .mobile-action-btn {
        flex: 1;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        text-align: center;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
}

/* Responsive Pagination */
.responsive-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    border: 1px solid #dee2e6;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn:hover:not(.disabled) {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    border: 1px solid #e9ecef;
    color: #6c757d;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-number:hover:not(.active) {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
}

.page-number.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.page-dots {
    padding: 0 8px;
    color: #adb5bd;
    font-weight: 600;
}

.page-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.info-text {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.info-count {
    font-size: 12px;
    color: #6c757d;
}

/* Mobile Pagination */
@media (max-width: 576px) {
    .pagination-wrapper {
        gap: 4px;
    }
    
    .page-btn,
    .page-number {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .page-info {
        flex-direction: column;
        gap: 2px;
    }
    
    .info-text {
        font-size: 13px;
    }
    
    .info-count {
        font-size: 11px;
    }
}

/* Search Input with Icon */
.ps-40 {
    padding-left: 40px !important;
}

/* Filter Responsive Styles */
@media (max-width: 767.98px) {
    .row.mb-4 > div {
        margin-bottom: 12px;
    }
    
    .row.mb-4 > div:last-child {
        margin-bottom: 0;
    }
}

/* Empty State Styles */
.text-center.py-4 {
    padding: 40px 20px;
}

.text-center .feather-users {
    color: #e9ecef;
    font-size: 48px;
    margin-bottom: 16px;
}

/* Badge Colors */
.bg-warning {
    background-color: #ffc107 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-primary {
    background-color: #667eea !important;
}

/* Hover Effects */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Search and Filter Responsive */
@media (max-width: 576px) {
    #searchUsers,
    #filterRole,
    #perPageSelect {
        font-size: 14px;
    }
}

/* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1050;
        }

        .modal-content {
            background: white;
            border-radius: 16px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            animation: modalSlideIn 0.3s ease;
        }

        .modal-header {
            padding: 20px 24px;
            border-bottom: 1px solid #e5e5e5;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .modal-title {
            margin: 0;
            font-size: 1.25rem;
            font-weight: 600;
            color: #333;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 28px;
            color: #666;
            cursor: pointer;
            line-height: 1;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover {
            color: #333;
        }

        .modal-body {
            padding: 24px;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Search Results */
        .search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 5px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .search-result-item {
            padding: 10px 15px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
        }

        .search-result-item:hover {
            background: #f8f9fa;
        }

        .search-result-item:last-child {
            border-bottom: none;
        }

        /* Selected Users Tags */
        .selected-user-tag {
            background: #e9ecef;
            border-radius: 20px;
            padding: 5px 12px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .remove-user {
            cursor: pointer;
            color: #666;
        }

        .remove-user:hover {
            color: #dc3545;
        }

        /* Max Height Utility */
        .max-h-300 {
            max-height: 300px;
        }

        /* Additional styles for bank accounts */
        .account-type-badge {
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
        }
        
        .balance-amount {
            font-size: 18px;
            font-weight: 700;
        }
        
        .paystack-badge {
            background: linear-gradient(135deg, #00b87c 0%, #00a870 100%);
        }
        
        /* Verification status */
        .verification-success {
            color: #00b87c;
            font-size: 12px;
            margin-top: 5px;
        }
        
        .verification-error {
            color: #dc3545;
            font-size: 12px;
            margin-top: 5px;
        }

        /* Verification messages */
.verification-success {
    color: #28a745;
    font-size: 13px;
    padding: 8px 12px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    border-left: 3px solid #28a745;
    margin-top: 8px;
}

.verification-error {
    color: #dc3545;
    font-size: 13px;
    padding: 8px 12px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    border-left: 3px solid #dc3545;
    margin-top: 8px;
}

/* Form validation styles */
.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-valid {
    border-color: #28a745 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* Add this to your custom CSS file */
.table-auto-wrap td,
.table-auto-wrap th {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

/* Specific column wrapping */
.table-wrap-columns td:nth-child(2),  /* Wrap 2nd column */
.table-wrap-columns td:nth-child(3) { /* Wrap 3rd column */
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 150px; /* Optional: limit width */
}

/* Or use data attributes */
td[data-wrap="true"],
th[data-wrap="true"] {
    white-space: normal !important;
    word-wrap: break-word !important;
}


/* Error Page Styles */
.default-page {
    min-height: 100vh;
}

.bg-light-primary {
    background-color: rgba(77, 171, 247, 0.08);
}

.bg-light-danger {
    background-color: rgba(220, 53, 69, 0.08);
}

.bg-light-warning {
    background-color: rgba(255, 193, 7, 0.08);
}

.bg-light-info {
    background-color: rgba(23, 162, 184, 0.08);
}

.bg-light-success {
    background-color: rgba(40, 167, 69, 0.08);
}

.time-count {
    display: inline-block;
    padding: 10px 15px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    margin: 0 5px;
}

.time-count .text-time {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    display: block;
}

.time-count .text-day {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.w200 {
    width: 200px;
}

.w175 {
    width: 175px;
}

.rounded-3 {
    border-radius: 12px;
}