/* DEFAULT Theme Template Style - All Users */

/* CSV Download Buttons */
.wppb-userlisting-downloads {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    justify-content: flex-end;
}

.wppb-download-csv-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    border: 1px solid #0073aa;
    cursor: pointer;
    background: #0073aa;
    color: #fff;
    margin: 5px;
    text-align: center;
}

.wppb-download-csv-btn:hover {
    background: #005a87;
    border-color: #005a87;
    color: #fff;
    text-decoration: none;
}

.wppb-download-csv-btn:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.wppb-download-all-csv {
    background: #28a745;
    border-color: #28a745;
}

.wppb-download-all-csv:hover {
    background: #218838;
    border-color: #218838;
}

.wppb-download-page-csv {
    background: #17a2b8;
    border-color: #17a2b8;
}

.wppb-download-page-csv:hover {
    background: #138496;
    border-color: #138496;
}

/* Mobile responsive for default theme */
@media screen and (max-width: 720px) {
    .wppb-userlisting-downloads {
        flex-direction: column;
        align-items: stretch;
    }

    .wppb-download-csv-btn {
        text-align: center;
    }
}

/* new pagination design */
/* start */
.userlisting_pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
    margin-top: 8px;
    background-color: #f4f4f4;
    padding: 0 30px;
    color: #5E7291;
}

.userlisting_pagination .page-link:not(.pageLink_fist, .pageLink_previous, .pageLink_next, .pageLink_last),
.userlisting_pagination .selected {
    width: auto;
    min-width: 30px;
    height: 40px;
    padding: 0 8px;
    margin: auto 5px;
    box-sizing: border-box;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.userlisting_pagination .page-link:not(.pageLink_fist, .pageLink_previous, .pageLink_next, .pageLink_last) {
    border: 1px solid #CACDD6;
    background-color: #FFFFFF;
}

.userlisting_pagination .selected,
.userlisting_pagination .page-link:not(.pageLink_fist, .pageLink_previous, .pageLink_next, .pageLink_last):hover {
    border: 1px solid #0047FF;
}

.userlisting_pagination .page-link:not(.pageLink_fist, .pageLink_previous, .pageLink_next, .pageLink_last):hover {
    color: #0047FF;
}

.userlisting_pagination .selected {
    background-color: #0047FF;
    color: #ffffff;
}

.userlisting_pagination .page-link.pageLink_fist,
.userlisting_pagination .page-link.pageLink_previous,
.userlisting_pagination .page-link.pageLink_next,
.userlisting_pagination .page-link.pageLink_last {
    font-size: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #CACDD6;
    background-color: #FFFFFF;
    margin: 0 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.userlisting_pagination .page-link.pageLink_fist:hover,
.userlisting_pagination .page-link.pageLink_previous:hover,
.userlisting_pagination .page-link.pageLink_next:hover,
.userlisting_pagination .page-link.pageLink_last:hover {
    border-color: #0047FF;
}

.userlisting_pagination a.page-link:focus {
    background: #FFFFFF !important;
    text-decoration: none !important;
    outline: none !important;
}

.userlisting_pagination .page-link.pageLink_fist:before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20px' style='fill:%235E7291;stroke-width:2;'><path d='M11.92,19.92L4,12L11.92,4.08L13.33,5.5L7.83,11H22V13H7.83L13.34,18.5L11.92,19.92M4,12V2H2V22H4V12Z'/></svg>");
}

.userlisting_pagination .page-link.pageLink_fist:hover:before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20px' style='fill:%230047FF;stroke-width:2;'><path d='M11.92,19.92L4,12L11.92,4.08L13.33,5.5L7.83,11H22V13H7.83L13.34,18.5L11.92,19.92M4,12V2H2V22H4V12Z'/></svg>");
}

.userlisting_pagination .page-link.pageLink_previous:before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20px' style='fill:%235E7291;stroke-width:2;'><path d='M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z' /></svg>");
}

.userlisting_pagination .page-link.pageLink_previous:hover:before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20px' style='fill:%230047FF;stroke-width:2;'><path d='M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z' /></svg>");
}

.userlisting_pagination .page-link.page-link.pageLink_next:before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20px' style='fill:%235E7291;stroke-width:2;transform: rotate(180deg);'><path d='M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z' /></svg>");
}

.userlisting_pagination .page-link.page-link.pageLink_next:hover:before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20px' style='fill:%230047FF;stroke-width:2;transform: rotate(180deg);'><path d='M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z' /></svg>");
}

.userlisting_pagination .page-link.pageLink_last:before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20px' style='fill:%235E7291;stroke-width:2;transform: rotate(180deg);'><path d='M11.92,19.92L4,12L11.92,4.08L13.33,5.5L7.83,11H22V13H7.83L13.34,18.5L11.92,19.92M4,12V2H2V22H4V12Z'/></svg>");
}

.userlisting_pagination .page-link.pageLink_last:hover:before {
    content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20px' style='fill:%230047FF;stroke-width:2;transform: rotate(180deg);'><path d='M11.92,19.92L4,12L11.92,4.08L13.33,5.5L7.83,11H22V13H7.83L13.34,18.5L11.92,19.92M4,12V2H2V22H4V12Z'/></svg>");
}
/* end - pagination */