#prevBtn:hover, #prevBtn, #nextBtn, #nextBtn:hover, #firstBtn:hover, #lastBtn:hover  {
    background-color: #007bff;
    color: white;
}

#prevBtn, #nextBtn, #firstBtn, #lastBtn {
    margin-top: 20px;
    margin-left: 15px;
    background-color: #fff;
    padding: 6px 12px;
    color: #001d41;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}

#pageno{
    margin-top: 20px;
    margin-left: 20px;
    color: white;
    font-size: 16px;
}

img {
    max-width: 50px; /* Limit the image size */
}

body {
    /*background-color: #191C24;*/
    background-color: #001d41;
    /*#001b3a;*/
    color: #009CFF;
}

@media only screen and (max-width:1920px) {

    #title {
        font-size: 20px;
    }

    label {
        font-size: 16px;
        color: white;
    }

    #sub,
    #clr{
        margin-left: 10px;
        color: black;
        background-color: #009CFF;
        border-style: none;
        font-size: 16px;
    }

    #filter {
        font-size: 18px;
        margin-left: 10px;
        color: white;
    }

    #myInput {
        /*float: left;*/
        margin-right: 27%;
        /*margin-bottom: 10px;*/
        margin-left: 10px;
        text-align: left;
        font-size: 16px;
        color: black;
    }

    #dropdown {
        /*background-color: #191C24;*/
        background-color: transparent;
        color: wheat;
        font-size: 18px;
        text-transform: capitalize;
        margin-left: 10px;
        color: black;
    }

    .form-select {
        margin-right: 15px;
        margin-bottom: 10px;
        /*border: 2px solid #e1a92f;*/
    }

    table {
        table-layout: fixed;
        font-size: 18px;
        /*width: 400%;*/
        border-color: black;
        border-collapse: collapse;
    }

    #myTable {
        width: 900%;
    }

    th {
        text-align: center;
        /*color: #47143d;*/
        border: 1.5px solid rgb(50, 50, 50);
        padding: 5px;
        font-weight: bold;
        word-wrap: break-word;
        position: sticky;
        table-layout: fixed;
        top: 0;
        width: 100%;
        /*background-color: #009CFF;*/
        background-color: #00588b;
        /*#191C24;/*#47143d;*/
        color: white;
    }

    td {
        text-align: center;
        border: 1.5px solid rgb(50, 50, 50);
        padding: 10px;
        word-wrap: break-word;
        color: white;
    }

    /*tr:nth-child(even) {
        background-color: transparent;
        /*#dbdada;*/
    /*}*/

    #export {
        float: right;
        color: white;
        font-size: 18px;
        background-color: green;
        border: none;
        border-radius: 4px;
    }

    #sendmail, #genlink {
        float: right;
        color: white;
        font-size: 16px;
        background-color: green;
        margin-right: 10px;
        margin-left: 20px;
        border: none;
        border-radius: 4px;
    }
}

@media only screen and (max-width:500px) {

    h2,
    h3 {
        text-align: center;
        font-size: 18px;
    }

    #myInput {
        float: left;
        margin-left: 10px;
        margin-bottom: 10px;
        text-align: left;
        font-size: 10px;
        color: black;
    }

    table {
        table-layout: fixed;
        font-size: 9px;
        width: 200%;
        border-color: black;
    }

    #myTable {
        width: 200%;
    }

    th {
        text-align: center;
        /*olor: #47143d;*/
        border: 1.5px solid black;
        padding: 5px;
        font-weight: bold;
        word-wrap: break-word;
        position: sticky;
        table-layout: fixed;
        top: 0;
        width: 100%;
        background-color: #009CFF;
        /*#191C24;/*#47143d;*/
        color: whitesmoke;
    }

    td {
        text-align: center;
        border: 1.5px solid black;
        padding: 10px;
        word-wrap: break-word;
        color: whitesmoke;
    }

    /*tr:hover {
        font-weight: bold;
    }*/

    tr:nth-child(even) {
        background-color: transparent;
        /*#dbdada;*/
    }

    .box {
        text-align: left;
        background-color: #191C24;
        /*whitesmoke;*/
        width: 100%;
        font-size: 14px;
        padding: 10px;
        color: black;
    }

    .box div,
    .box ul {
        text-align: left;
        background-color: #191C24;
        /*whitesmoke;*/
        width: 100%;
        font-size: 10px;
        padding: 10px;
        color: black;
    }

    #foot {
        position: absolute;
        width: 100%;
        background-color: black;
        color: wheat;
        text-align: center;
        font-size: 0.9em;
        padding: 4px;
        bottom: 5px;
    }
}

.cell {
    overflow: visible; /* Ensures scaling is not clipped */
    position: relative; /* Ensures proper stacking context */
}