/* public_html/assets/css/style.css */

/* --- Color Palette --- */
:root {
    --primary-color: #003d37; /* Dark Teal */
    --primary-hover-color: #002e2a; /* Darker shade for primary hover */

    --secondary-color: #009888; /* Teal - Your specified secondary color */
    --secondary-hover-color: #007a6d; /* Darker shade for secondary hover */

    --background-light: #f4f7f6;
    --text-dark: #333;
    --text-light: #fff; /* For text on dark backgrounds */

    --sidebar-bg: var(--primary-color);
    --sidebar-hover-bg: var(--primary-hover-color);
    --bs-primary-rgb: 1, 97, 87;
}

/* --- General Body and Layout --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}
  .login-container {
            width: 100%;
            
            padding: 40px;
            background-color: #fff; /* White background for the card */
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            text-align: center;
        }
        .login-container h3 {
            margin-bottom: 30px;
            color: var(--primary-color); /* Use primary color for heading */
            font-weight: 600;
            font-size: 2rem; /* Make heading slightly larger */
        }
        .form-control {
            padding: 12px 15px;
            font-size: 1rem;
            border-radius: 6px;
            border: 1px solid #ced4da;
            margin-bottom: 15px;
        }
        button#chargeFeeBtn{padding: 12px 15px;}
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(0, 61, 55, 0.25); /* Primary color focus */
        }
        /* Generic button styling - ensuring consistent look */
        .btn { /* Base button styles moved to style.css, but ensuring consistency */
            padding: 12px 20px; /* Slightly more padding for buttons */
            font-size: 1.1rem;
            border-radius: 6px;
            transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
            font-weight: 500;
        }
        .btn-primary { /* Overriding Bootstrap default for consistency */
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--text-light);
        }
        .btn-primary:hover {
            background-color: var(--primary-hover-color);
            border-color: var(--primary-hover-color);
            color: var(--text-light);
        }
        .btn-login { /* Specific class for the login button */
            background-color: var(--primary-color); /* Use primary color */
            border-color: var(--primary-color);
            width: 100%;
            padding: 14px;
            font-size: 1.15rem;
            font-weight: 600;
        }
        .btn-login:hover {
            background-color: var(--primary-hover-color);
            border-color: var(--primary-hover-color);
        }
        .alert {
            margin-bottom: 20px;
            border-radius: 6px;
        }
/* --- Sidebar Styling --- */
.sidebar {
    background-color: var(--sidebar-bg);
    color: var(--text-light);
    padding: 20px;
    width: 250px; /* Fixed width on desktop */
    min-width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    transform: translateX(0); /* Default visible on desktop */
    border-radius: 0 10px 10px 0;
    display: flex; /* Use flex for internal layout */
    flex-direction: column;
}

/* Collapsed state (hidden) */
.sidebar.collapsed {
    transform: translateX(-100%);
}

/* Sidebar Header for Close Button */
.sidebar-header {
    display: flex;
    justify-content: space-between; /* Pushes brand and close button apart */
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle separator */
}

.sidebar h3 a {
    color: var(--text-light) !important;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    display: block;
    text-align: left; /* Align brand to left */
    margin-bottom: 0; /* Remove margin-bottom from here */
    flex-grow: 1; /* Allows brand to take available space */
}
.sidebar h3 a:hover {
    color: #ecf0f1 !important;
}

/* Close Button inside Sidebar */
.sidebar-close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.3s ease;
}
.sidebar-close-btn:hover {
    color: #e0e0e0; /* Lighter grey on hover */
}

.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li { margin-bottom: 15px; }
.sidebar ul li a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1rem;
}
.sidebar ul li a:hover, .sidebar ul li a.active {
    background-color: var(--sidebar-hover-bg);
    color: #ecf0f1;
}

/* --- Main Content Area --- */
.main-content {
    margin-left: 250px; /* Default: offset by sidebar width on desktop */
    padding: 30px;
    flex-grow: 1;
    width: calc(100% - 250px); /* Account for sidebar width */
    background-color: var(--background-light);
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out; /* Smooth transition */
}
/* Shift main content when sidebar is hidden */
.main-content.shifted {
    margin-left: 0 !important; /* Remove left margin */
    width: 100% !important;   /* Take full width */
}

/* --- Hamburger Menu Button --- */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001; /* Above sidebar */
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}
.hamburger-menu:hover {
    background: var(--primary-hover-color);
}

/* --- Overlay for Sidebar --- */
.overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 999; /* Below sidebar, but above main content */
    cursor: pointer;
}
/* Show overlay when sidebar is visible */
.sidebar.visible ~ .overlay { /* When sidebar has the 'visible' class */
    display: block;
}
/* --- End Overlay --- */

    .table-container {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        
        .custom-checkbox {
            width: 18px;
            height: 18px;
        }
        
        .quantity-input {
            width: 80px;
            text-align: center;
        }
        
        .price-column {
            font-family: 'Courier New', monospace;
            font-weight: 600;
        }
        
        .book-title {
            font-weight: 500;
        }
        
        .table > :not(caption) > * > * {
            padding: 1rem 0.75rem;
        }
        button.accordion-button {
    background: #059788;
    color: #fff;
}
.btn-success {
    background-color: #059788;
    border-color: #059788;
    color: var(--text-light);
}
/* --- Cards and Forms --- */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border: none;
}
.card-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 10px 10px 0 0;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
}
.card-body {
    padding: 25px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}
.form-control, .form-select {
    padding: 12px 15px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ced4da;
    margin-bottom: 15px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 61, 55, 0.25);
}

/* --- Button Styling --- */
.btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    color: var(--text-light);
}

.btn-success:hover { background-color: #27ae60; border-color: #27ae60; color: var(--text-light); }

.btn-secondary, .btn-outline-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}
.btn-secondary:hover, .btn-outline-secondary:hover {
    background-color: var(--secondary-hover-color);
    border-color: var(--secondary-hover-color);
    color: var(--text-light);
}

.btn-info {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}
.btn-info:hover {
    background-color: var(--secondary-hover-color);
    border-color: var(--secondary-hover-color);
    color: var(--text-light);
}

/* Alerts */
.alert {
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid transparent;
    color: var(--text-dark);
}
.alert-success { background-color: #d4edda; color: #155724; border-color: #c3e6cb; }
.alert-danger { background-color: #f8d7da; color: #721c24; border-color: #f5c6cb; }
.alert-warning { background-color: #fff3cd; color: #856404; border-color: #ffeeba; }
.alert-info { background-color: #d1ecf1; color: #0c5460; border-color: #bee5eb; }


/* --- Mobile First Adjustments --- */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%); /* Hide sidebar by default on mobile */
        position: fixed; /* Keep it fixed */
        height: 100vh;
        z-index: 1001;
        border-radius: 0 10px 10px 0;
        transition: transform 0.3s ease-in-out;
    }
    /* Class to show sidebar when toggle is clicked */
    .sidebar.visible {
        transform: translateX(0); /* Slide in */
    }

    .main-content {
        margin-left: 0 !important; /* Remove left margin when sidebar hidden */
        width: 100% !important;   /* Take full width */
        padding: 15px;
        transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
    }
    /* Class to adjust main content when sidebar is hidden */
    .main-content.shifted {
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: block;
    }
    /* Adjust card body padding for mobile */
    .card-body { padding: 15px; }
    /* Ensure search suggestions align well */
    #searchSuggestions { width: calc(100% - 30px); }
}

/* --- Print Styles --- */
@media print {
    /* ... (your existing receipt-print.css content) ... */
    /* Ensure you don't have conflicting styles */
    .sidebar, .hamburger-menu, .btn, form, .alert:not(.alert-danger), .card-header, #searchSuggestions {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .card {
        box-shadow: none !important;
        border: none !important;
    }
    .card-body {
        padding: 0 !important;
    }
    #printableReceipt {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .receipt-header, .receipt-footer {
        border-bottom: 1px solid #000 !important;
        padding-bottom: 5px !important;
        margin-bottom: 15px !important;
    }
    .receipt-header h2 { font-size: 24pt !important; }
    .receipt-header p { font-size: 10pt !important; }
    .receipt-footer {
        border-top: 1px solid #000 !important;
        padding-top: 5px !important;
        margin-top: 15px !important;
        font-size: 10pt !important;
    }
    .fees-table th, .fees-table td {
        padding: 8px 10px !important;
        border: 1px solid #000 !important;
    }
    .fees-table th { font-size: 12pt !important; background-color: #f2f2f2 !important; color: #000 !important; }
    .fees-table td.text-end { text-align: right !important; }
    .fees-table tfoot td { font-weight: bold !important; }
    .col-md-6 { width: 50% !important; float: left !important; }
    .row::after { content: ""; display: table; clear: both; }
}
/* --- Custom Card Header Styling --- */
/* Custom bg-light override for card headers */
.card-header.custom-bg-light {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6;
}

/* Apply primary color to heading text in custom-bg-light card headers */
.card-header.custom-bg-light h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.card-header.custom-bg-light h5 i {
    color: var(--primary-color);
}
/* --- Pending Students Filter Form Styling --- */
.pending-filter-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.pending-filter-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.pending-filter-form .form-control,
.pending-filter-form .form-select {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.95rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pending-filter-form .form-control:focus,
.pending-filter-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 61, 55, 0.15);
    outline: 0;
}

.pending-filter-form .form-control::placeholder {
    color: #6c757d;
    font-size: 0.9rem;
}

.pending-filter-form small.text-muted {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
}

.pending-filter-form .btn {
    padding: 10px 16px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pending-filter-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pending-filter-form .btn-primary:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 61, 55, 0.3);
}

.pending-filter-form .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.pending-filter-form .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.pending-filter-form .btn i {
    font-size: 0.9rem;
}

/* Ensure form elements align properly */
.pending-filter-form .col-md-2,
.pending-filter-form .col-md-3,
.pending-filter-form .col-md-4 {
    display: flex;
    flex-direction: column;
}

.pending-filter-form .align-items-end > div {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pending-filter-form {
        padding: 15px;
    }
    
    .pending-filter-form .col-md-2,
    .pending-filter-form .col-md-3,
    .pending-filter-form .col-md-4 {
        margin-bottom: 15px;
    }
    
    .pending-filter-form .btn {
        width: 100%;
        margin-top: 10px;
    }
}
/* ==========================================
   PENDING FEES DASHBOARD ENHANCED STYLES
   ========================================== */

/* Stats Cards at Top - Enhanced Design */
.stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stats-card-pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stats-card-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stats-card-yellow {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stats-card .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-card .stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Card Header Enhancement */
.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005047 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 61, 55, 0.2);
}

.card-header h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h5 i {
    font-size: 1.4rem;
    opacity: 0.95;
}

/* Filter Form Enhancement */
.pending-filter-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    margin-bottom: 28px;
}

.pending-filter-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.pending-filter-form .form-control,
.pending-filter-form .form-select {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.pending-filter-form .form-control:focus,
.pending-filter-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 61, 55, 0.15);
    outline: none;
}

.pending-filter-form .form-control::placeholder {
    color: #6c757d;
    font-size: 0.9rem;
}

.pending-filter-form small.text-muted {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
}

.pending-filter-form .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pending-filter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pending-filter-form .btn:active {
    transform: translateY(0);
}

.pending-filter-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.pending-filter-form .btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    border: none;
}

.pending-filter-form .btn i {
    font-size: 0.9rem;
}

/* Ensure form elements align properly */
.pending-filter-form .col-md-2,
.pending-filter-form .col-md-3,
.pending-filter-form .col-md-4 {
    display: flex;
    flex-direction: column;
}

.pending-filter-form .align-items-end > div {
    margin-bottom: 0;
}

.pending-filter-form small.text-muted {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 6px;
    display: block;
}

/* Table Enhancements */
.table-responsive {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.table {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005047 100%);
}

.table thead th {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 16px 12px;
    border: none;
    white-space: nowrap;
}

.table tbody td {
    padding: 16px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr {
    transition: all 0.2s ease;
    background-color: white;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table tbody tr.table-danger {
    background: linear-gradient(90deg, #fff5f5 0%, #ffe8e8 100%);
    border-left: 5px solid #dc3545;
}

.table tbody tr.table-danger:hover {
    background: linear-gradient(90deg, #ffe8e8 0%, #ffd4d4 100%);
}

/* Critical Badge Enhancement */
.critical-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    letter-spacing: 0.3px;
}

.critical-badge::before {
    content: '⚠';
    font-size: 1rem;
}

/* Pending Amount Styling */
.text-danger {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.15rem;
}

/* Action Button Enhancement */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 61, 55, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 61, 55, 0.3);
    background: linear-gradient(135deg, #002d27, #007a6d);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Small Text Enhancement */
.table small.text-muted {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.6;
    display: block;
    margin-top: 6px;
}

/* Card Body Enhancement */
.card-body {
    padding: 28px;
    background-color: white;
    border-radius: 0 0 12px 12px;
}

/* Row Highlighting for Strong Elements */
.table tbody td strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
}

/* Responsive Enhancements */
@media (max-width: 991.98px) {
    .stats-card {
        margin-bottom: 16px;
        padding: 20px;
    }

    .stats-card .stat-value {
        font-size: 2rem;
    }

    .pending-filter-form {
        padding: 20px;
    }

    .table-responsive {
        border-radius: 10px;
    }

    .table thead th {
        font-size: 0.8rem;
        padding: 12px 10px;
    }

    .table tbody td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .stats-card .stat-value {
        font-size: 1.8rem;
    }

    .stats-card .stat-label {
        font-size: 0.9rem;
    }

    .card-header h5 {
        font-size: 1.1rem;
    }

    .pending-filter-form .btn {
        width: 100%;
        margin-top: 8px;
    }
}

/* Additional Visual Polish */
hr {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
    margin: 24px 0;
}

/* Empty State Styling (if needed) */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-results i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-results h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* Animation for table rows on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table tbody tr {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}

.table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.table tbody tr:nth-child(5) { animation-delay: 0.25s; }
