/*=================== TABLE STYLE ===============*/
 .mainTable-container {
            width: 100%;
            margin: auto;
            margin-top: 10px;
            background: #ffffff;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
            overflow: hidden;
        }
        .table-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .table-search-input {
            padding: 10px;
            width: 280px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 14px;
        }
        .export-buttons button {
            padding: 10px 15px;
            margin-left: 8px;
            border: none;
            background: #ff6b6b;
            color: #fff;
            border-radius: 6px;
            cursor: pointer;
            transition: 0.3s;
        }
        .export-buttons button:hover {
            background: #e63946;
        }
        .entries-view {
            margin-bottom: 10px;
            font-size: 14px;
        }
        .table-container {
            width: 100%;
            margin-top: 20px;
            overflow-x: auto;
            border: 1px solid #ccc;
        }
        table {
            width: auto; 
            border-collapse: collapse;
            background: #fff;
            min-width: 600px;
        }
        thead, tfoot {
            display: block;
            position: sticky;
            top: 0;
            background: #1d3557;
            color: white;
            z-index: 2;
        }
        tbody {
            display: block;
            max-height: 300px;
            overflow-y: auto;
        }
        th, td {
            padding: 10px;
            text-align: left;
            border-bottom: 1px solid #ddd;
            transition: background 0.3s ease;
            min-width: 200px;
            max-width: 200px;
        }
        th {
            background: #1d3557;
            font-size: 13px;
            color: white;
            cursor: pointer;
            position: relative;
        }
        td {
            /*vertical-align: top;*/
            font-size: 12px;
            word-wrap: break-word;
            overflow-wrap: break-word;
            
        }
        tbody tr:hover {
            background-color: #e9ecef;
            transition: 0.3s;
        }
        .pagination {
            margin-top: 15px;
            display: flex;
            justify-content: center;
            gap: 8px;
        }
        .pagination button {
            padding: 8px 12px;
            border: none;
            background: #457b9d;
            color: white;
            border-radius: 4px;
            cursor: pointer;
            transition: 0.3s;
        }
        .pagination button:hover {
            background: #1d3557;
        }
        
        /* Responsive Design */
        @media (max-width: 522px) {
            .table-controls {
                flex-direction: column;
                align-items: center;
            }     
        .export-buttons button {
            padding: 5px 6px;
            margin-top: 5px;
        }
        
/*
<div class="mainTable-container">
    <div class="table-controls">
        <input type="text" id="tablesearch" class="table-search-input" placeholder="Search...">
        <div class="export-buttons">
            <button onclick="exportToExcel()">Excel</button>
            <button onclick="exportToPDF()">PDF</button>
        </div>
    </div>
    <div class="entries-view">
        <label>Show <select id="rowsPerPage" onchange="updateTableView()">
            <option value="10">10</option>
            <option value="25">25</option>
            <option value="50">50</option>
            <option value="100">100</option>
        </select> entries</label>
    </div>
    <div class="table-container">
        <table id="dataTable">
            <thead>
                <tr>
                    <th onclick="sortTable(0)">Name</th>
                    <th onclick="sortTable(1)">Age</th>
                    <th onclick="sortTable(2)">Country</th>
                    <th onclick="sortTable(0)">Name</th>
                </tr>
            </thead>
            <tbody>
                <tr><td>Alice</td><td>25</td><td>USA</td></tr>
                <tr><td>Bob</td><td>30</td><td>UK</td></tr>
                <tr><td>Charlie</td><td>35</td><td>Canada</td></tr>
            </tbody>
        </table>
    </div>
    <div class="pagination" id="pagination"></div>
</div>
*/
        
        /*=================== TABLE STYLE END===============*/