.vwpexcel-table-container {
    width: 100%;
}

.vwpexcel-table-responsive {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

#vwpte-excel-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.vwpexcel-table-container th {
  cursor: pointer;
}

.vwpexcel-table-container th :before {
    border-top: 4px solid #000;
    top: 18px;
}

.vwpexcel-table-container th :after {
    border-bottom: 4px solid #000;
    border-top: 4px solid transparent;
    bottom: 22px;
}

.sort-by-asc
{
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 0 3px;
    background: transparent;
    border-bottom: solid 7px #EEE;
    border-top-width: 0;
}

.sort-by-desc
{
    left: 5px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 0 3px;
    background: transparent;
    border-top: solid 7px #EEE;
    border-bottom-width: 0;
}

/* Download Buttons */
.vwpete-download-container {
    margin-bottom: 20px!important;
    display: flex!important;
    flex-wrap: wrap!important;
    gap: 10px!important;
}

.vwpete-download-btn {
    display: inline-block!important;
    padding: 8px 16px!important;
    border-radius: 4px!important;
    font-size: 14px!important;
    font-weight: 600!important;
    text-decoration: none!important;
    transition: opacity 0.2s!important;
    cursor: pointer!important;
}

.btn-xlsx { background-color: #217346!important; color: white !important; }
.btn-csv { background-color: #808080!important; color: white !important; }
.btn-pdf { background-color: #e02f2f!important; color: white !important; }

/* Fixed Header */
.vwpete-fixed-header #vwpte-excel-table-filter {
    position: sticky!important;
    top: 0!important;
    z-index: 100!important;
    background-color: #fff!important;
    padding: 10px 0!important;
    width: 100%!important;
}

.vwpete-fixed-header .excel-header th {
    position: sticky!important;
    top: 45px!important;
    z-index: 90!important;
    background-color: inherit!important;
}