/* Dashboard Specific Styles */
body {
    background: #f5f7fa;
    padding: 0;
    overflow-x: hidden;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #4a7832 0%, #3d6329 100%);
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.sidebar-title h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.sidebar-title p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0.25rem 0 0 0;
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    padding: 0 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nav-item {
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: white;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.nav-item span {
    flex: 1;
    font-weight: 500;
}

.nav-badge {
    background: #ff6b6b;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    transition: margin-left 0.3s ease;
}

.main-content.expanded {
    margin-left: 0;
}

/* Top Bar */
.top-bar {
    background: white;
    padding: 1.25rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.4s ease-out;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4B5675;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: #f5f7fa;
    color: #4a7832;
}

.page-title h1 {
    font-size: 1.75rem;
    color: #252F4A;
    margin: 0;
    font-weight: 700;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    width: 300px;
    transition: all 0.3s ease;
    background: #f5f7fa;
}

.search-box input:focus {
    outline: none;
    border-color: #4a7832;
    background: white;
    box-shadow: 0 0 0 4px rgba(74, 120, 50, 0.1);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #78829D;
}

.notification-icon {
    position: relative;
    background: #f5f7fa;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4B5675;
}

.notification-icon:hover {
    background: #4a7832;
    color: white;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: #f5f7fa;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4a7832 0%, #5a8842 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.user-info h4 {
    font-size: 0.95rem;
    color: #252F4A;
    margin: 0;
    font-weight: 600;
}

.user-info p {
    font-size: 0.8rem;
    color: #78829D;
    margin: 0;
}

/* Content Area */
.content-area {
    padding: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a7832 0%, #5a8842 100%);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.stat-card.parishes .stat-icon {
    background: linear-gradient(135deg, #EFF5EC 0%, #E5F0E0 100%);
    color: #4a7832;
}

.stat-card.users .stat-icon {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0369A1;
}

.stat-card.announcements .stat-icon {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #D97706;
}

.stat-card.reflections .stat-icon {
    background: linear-gradient(135deg, #FECACA 0%, #FCA5A5 100%);
    color: #DC2626;
}

.stat-content h3 {
    font-size: 0.9rem;
    color: #78829D;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.stat-value {
    font-size: 2.25rem;
    color: #252F4A;
    font-weight: 700;
    margin: 0;
}

.stat-change {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-change.positive {
    color: #10B981;
}

.stat-change.negative {
    color: #EF4444;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.quick-actions h2 {
    font-size: 1.5rem;
    color: #252F4A;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-button {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #252F4A;
}
.action-button.action-button-primary {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #047857;
}
.action-button.action-button-info {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0369A1;
}
.action-button.action-button-warning {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #D97706;
}
.action-button.action-button-danger {
    background: linear-gradient(135deg, #FECACA 0%, #FCA5A5 100%);
    color: #DC2626;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 120, 50, 0.3);

}

.action-button i {
    font-size: 1.5rem;
}

.action-button span {
    font-weight: 600;
    font-size: 1rem;
}

/* Recent Activity */
.recent-activity {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease-out;
}

.recent-activity h2 {
    font-size: 1.5rem;
    color: #252F4A;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f5f7fa;
    transition: all 0.3s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: #f5f7fa;
    border-radius: 8px;
}

.activity-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #EFF5EC 0%, #E5F0E0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a7832;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    font-size: 0.95rem;
    color: #252F4A;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.activity-content p {
    font-size: 0.85rem;
    color: #78829D;
    margin: 0;
}

.activity-time {
    font-size: 0.8rem;
    color: #78829D;
    white-space: nowrap;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .search-box input {
        width: 200px;
    }

    .user-info {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .content-area {
        padding: 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .search-box {
        display: none;
    }

    .search-box input {
        width: 200px;
    }

    .user-info {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .content-area {
        padding: 1rem;
    }

    .top-bar {
        padding: 1rem;
    }
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .sidebar {
        z-index: 1001;
    }
}

/* Table Card */
.table-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* DataTables Custom Styling */
.dataTables_wrapper {
    padding: 0;
}

/* DataTables Top Controls */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1.5rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dataTables_wrapper .dataTables_length {
    float: left;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
}

/* Clear floats after filter and length controls */
.dataTables_wrapper .dataTables_length::after,
.dataTables_wrapper .dataTables_filter::after {
    content: "";
    display: table;
    clear: both;
}

.dataTables_wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    color: #4B5675;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dataTables_wrapper .dataTables_length select {
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    margin: 0;
    background: white;
    color: #4B5675;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234B5675' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    min-width: 80px;
}

.dataTables_wrapper .dataTables_length select:focus {
    outline: none;
    border-color: #4a7832;
    box-shadow: 0 0 0 3px rgba(74, 120, 50, 0.1);
}

.dataTables_wrapper .dataTables_filter input {
    padding: 0.625rem 1rem 0.625rem 2.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    margin-left: 0;
    width: 280px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 18px;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: #4a7832;
    box-shadow: 0 0 0 3px rgba(74, 120, 50, 0.1);
}

/* Table Styling */
#reflections-table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
}

#reflections-table thead th {
    background: linear-gradient(135deg, #4a7832 0%, #5a8842 100%);
    color: white;
    font-weight: 700;
    padding: 1.125rem 1rem;
    text-align: left;
    border: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    position: relative;
    white-space: nowrap;
}

#reflections-table thead th:first-child {
    border-radius: 12px 0 0 0;
    padding-left: 1.5rem;
}

#reflections-table thead th:last-child {
    border-radius: 0 12px 0 0;
    padding-right: 1.5rem;
}

#reflections-table thead th.sorting,
#reflections-table thead th.sorting_asc,
#reflections-table thead th.sorting_desc {
    cursor: pointer;
    padding-right: 2rem;
}

#reflections-table thead th.sorting:after,
#reflections-table thead th.sorting_asc:after,
#reflections-table thead th.sorting_desc:after {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

#reflections-table thead th.sorting:after {
    content: "\f0dc";
    opacity: 0.3;
}

#reflections-table thead th.sorting_asc:after {
    content: "\f0de";
    opacity: 1;
}

#reflections-table thead th.sorting_desc:after {
    content: "\f0dd";
    opacity: 1;
}

#reflections-table tbody td {
    padding: 1.125rem 1rem;
    border-bottom: 1px solid #f0f1f3;
    color: #4B5675;
    vertical-align: middle;
    font-size: 0.95rem;
}

#reflections-table tbody td:first-child {
    padding-left: 1.5rem;
    font-weight: 600;
    color: #252F4A;
}

#reflections-table tbody td:last-child {
    padding-right: 1.5rem;
}

#reflections-table tbody tr {
    transition: all 0.3s ease;
    background: white;
}

#reflections-table tbody tr:hover {
    background: #f8faf9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#reflections-table tbody tr:last-child td {
    border-bottom: none;
}

/* Column Specific Styles */
#reflections-table tbody td:nth-child(2) {
    font-weight: 600;
    color: #252F4A;
}

#reflections-table tbody td:nth-child(3) {
    color: #6B7280;
    font-size: 0.9rem;
}

#reflections-table tbody td:nth-child(4) {
    color: #6B7280;
    line-height: 1.6;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
}

.btn-action {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-edit {
    background: #E0F2FE;
    color: #0369A1;
}

.btn-edit:hover {
    background: #0369A1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.3);
}

.btn-view {
    background: #FEF3C7;
    color: #D97706;
}

.btn-view:hover {
    background: #D97706;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-delete {
    background: #FECACA;
    color: #DC2626;
}

.btn-delete:hover {
    background: #DC2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* DataTables Pagination */
.dataTables_wrapper .dataTables_paginate {
    padding-top: 1.5rem;
    text-align: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.625rem 1rem;
    margin: 0 0.25rem;
    border-radius: 10px;
    border: none;
    background: #f5f7fa;
    color: #4B5675;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #4a7832;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 120, 50, 0.2);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #4a7832 0%, #5a8842 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 120, 50, 0.25);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, #4a7832 0%, #5a8842 100%);
    transform: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    cursor: not-allowed;
    background: #f5f7fa;
    color: #CBD5E1;
    transform: none;
    box-shadow: none;
    opacity: 0.5;
}

.dataTables_wrapper .dataTables_paginate .ellipsis {
    padding: 0.625rem 0.5rem;
    color: #9CA3AF;
}

/* DataTables Info */
.dataTables_wrapper .dataTables_info {
    color: #6B7280;
    font-size: 0.9rem;
    padding-top: 1.5rem;
    font-weight: 500;
}

/* Loading Spinner */
.dataTables_processing {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: white !important;
    padding: 2.5rem 3.5rem !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    z-index: 9999 !important;
}

.dataTables_processing::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #f3f4f6;
    border-top-color: #4a7832;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 1rem;
    vertical-align: middle;
}

.dataTables_processing::after {
    content: 'Loading...';
    color: #4a7832;
    font-weight: 600;
    font-size: 1rem;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty State */
.dataTables_empty {
    padding: 3rem 2rem !important;
    text-align: center;
    color: #9CA3AF;
    font-size: 1rem;
}

.dataTables_empty::before {
    content: "\f15c";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 768px) {
    .content-area {
        padding: 1rem;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .page-header h2 {
        font-size: 1.5rem;
    }

    .table-card {
        padding: 1rem;
        overflow-x: auto;
        border-radius: 16px;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
        margin-bottom: 1rem;
    }

    .dataTables_wrapper .dataTables_filter {
        margin-top: 1rem;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        max-width: 100%;
    }

    #reflections-table {
        font-size: 0.875rem;
    }

    #reflections-table thead th,
    #reflections-table tbody td {
        padding: 0.875rem 0.625rem;
    }

    #reflections-table tbody td:nth-child(4) {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .btn-action {
        width: 34px;
        height: 34px;
    }

    .dataTables_wrapper .dataTables_paginate {
        text-align: center;
        padding-top: 1rem;
    }

    .dataTables_wrapper .dataTables_info {
        text-align: center;
        padding-top: 1rem;
    }
}

/* Badge Styles for Status (if needed in future) */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #D1FAE5;
    color: #065F46;
}

.badge-warning {
    background: #FEF3C7;
    color: #92400E;
}

.badge-danger {
    background: #FEE2E2;
    color: #991B1B;
}

/* DataTables Pagination Styling */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
    text-align: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 3px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgb(74, 120, 50);
    color: white;
    border-color: rgb(74, 120, 50);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: rgb(74, 120, 50);
    color: white;
    border-color: rgb(74, 120, 50);
    font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: white;
    color: #333;
    border-color: #ddd;
}

/* Style the page info text */
.dataTables_info {
    padding-top: 20px;
    color: #666;
}

/* Style the length selector */
.dataTables_length select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 5px;
}

/* Style the search box */
.dataTables_filter input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 8px;
}