           /* CSS Reset and Base Styles */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background-color: #f9f9f9; 
            display: flex; flex-direction: column; min-height: 100vh; }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; }
        
        /* Main content wrapper */
        .main-content {
            flex: 1 0 auto;
        }
        
        /* Utility Classes */
        .container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 15px; }
        .text-center { text-align: center; }
        .section-padding { padding: 40px 0; }
        
        /* Navigation */
        .navbar { 
            background: #1a293a;
            color: white; 
            position: sticky; 
            top: 0; 
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 7px 0;
        }
        .nav-container { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
        }
        .logo { 
            display: flex; 
            align-items: center; 
            font-size: 1.5rem; 
            font-weight: bold; 
        }
        .logo-img { 
            width: 40px; 
            height: 40px; 
            background-color: #3498db; 
            border-radius: 50%; 
            margin-right: 10px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            color: white;
        }
        .back-btn {
            display: inline-block;
            padding: 10px 20px;
            background: #3498db;
            color: white;
            border-radius: 5px;
            font-weight: 500;
            transition: background 0.3s;
        }
        .back-btn:hover {
            background: #2980b9;
        }
        
      

        
        /* Data Table */
        .data-section { 
            padding: 40px 0;
        }
        .table-header {
            margin-bottom: 30px;
        }
        .table-controls { 
            display: flex; 
            justify-content: space-between; 
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 15px;
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .search-box { 
            position: relative;
            flex-grow: 1;
            max-width: 400px;
        }
        .search-form {
            display: flex;
            gap: 10px;
        }
        .search-input { 
            padding: 10px 15px; 
            width: 100%; 
            border: 1px solid #ddd; 
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        .search-input:focus {
            border-color: #3498db;
            outline: none;
        }
        .search-btn {
            padding: 10px 20px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
        }
        .search-btn:hover {
            background: #2980b9;
        }
        .clear-btn {
            padding: 10px 15px;
            background: #e74c3c;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
        }
        .clear-btn:hover {
            background: #c0392b;
        }
        .records-info {
            font-size: 0.9rem;
            color: #666;
        }
        .table-responsive { 
            overflow-x: auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            margin-bottom: 30px;
            max-width: 100%;
        }
        .data-table { 
            width: 100%; 
            border-collapse: collapse;
        }
        .data-table th, 
        .data-table td { 
            padding: 10px 12px; 
            text-align: left; 
            border-bottom: 1px solid #eee;
        }
        .data-table th { 
            background-color: #f8f9fa; 
            font-weight: 600;
            position: sticky;
            top: 0;
        }
        .data-table tr:hover { background-color: #f8f9fa; }

         
        /* Status badges */
        
        
        /* PDF Download Button */
        .pdf-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 12px;
            background: #e74c3c;
            color: white;
            border-radius: 4px;
            font-size: 0.8rem;
            transition: background 0.3s;
        }
        .pdf-btn:hover {
            background: #c0392b;
        }

        /* PDF Download Button */
        .edit-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 12px;
            background: #33c789;
            color: white;
            border-radius: 4px;
            font-size: 0.8rem;
            transition: background 0.3s;
        }
        .edit-btn:hover {
            background: #27ab70;
        }
        
        /* Pagination */
        .pagination { 
            display: flex; 
            justify-content: center; 
            list-style: none; 
            margin-top: 30px;
            flex-wrap: wrap;
            gap: 5px;
        }
        .page-item { 
            margin: 0; 
        }
        .page-link { 
            display: block; 
            padding: 8px 12px; 
            border: 1px solid #ddd; 
            border-radius: 5px; 
            color: #3498db;
            transition: background 0.3s, color 0.3s;
        }
        .page-item.active .page-link,
        .page-link:hover { 
            background: #3498db; 
            color: white; 
            border-color: #3498db;
        }
        .page-item.disabled .page-link { 
            color: #6c757d; 
            pointer-events: none;
        }
        
        /* Mobile card view */
        .mobile-cards {
            display: none;
        }
        .member-card {
            background: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .card-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }
        .card-label {
            font-weight: 600;
            color: #6c757d;
            flex-basis: 150px;
        }
        .card-value {
            flex: 1;
            min-width: 0;
        }
        
        /* Footer */
        footer {
            background: #1a293a;
            color: white;
            padding: 20px 0;
            text-align: center;
            flex-shrink: 0;
            margin-top: auto;
        }
        .footer-content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .dev-label {
            color: cyan;
            font-weight: 500;
        }
        .dev-name {
            color: yellow;
            font-weight: 600;
        }
        
        /* Responsive Styles */
        @media (max-width: 1200px) {
            .container {
                max-width: 100%;
            }
            .data-table {
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 992px) {
            .data-table th, 
            .data-table td { 
                padding: 8px 10px; 
            }
        }
        
        @media (max-width: 768px) {
            .table-controls { 
                flex-direction: column; 
                align-items: stretch; 
            }
            .search-box { 
                max-width: 100%; 
                margin-bottom: 15px;
            }
            .search-form {
                flex-direction: column;
            }
            
            /* Switch to card view on mobile */
            .table-responsive {
                display: none;
            }
            .mobile-cards {
                display: block;
            }
            
            .pagination {
                flex-direction: column;
                align-items: center;
            }
            .page-item {
                margin: 2px 0;
            }
            
            .footer-content {
                flex-direction: column;
                gap: 5px;
            }
        }
        
        @media (max-width: 576px) {
            .section-title { font-size: 1.6rem; }
            
            .logo {
                font-size: 1.2rem;
            }
            .logo-img {
                width: 32px;
                height: 32px;
            }
            
            .card-row {
                flex-direction: column;
            }
            .card-label {
                margin-bottom: 5px;
                flex-basis: auto;
            }
        }
        
        /* Print Styles */
        @media print {
            .navbar, .secondary-navbar, .table-controls, footer { display: none; }
            .data-section { padding: 20px 0; }
            body { color: black; font-size: 12pt; background: white; }
            a { text-decoration: underline; }
            .table-responsive {
                box-shadow: none;
            }
            .mobile-cards {
                display: none;
            }
            .table-responsive {
                display: block;
            }
        }