:root {
    --main-color: #294563;
    --speaking-color: #C76378;
    --listening-color: #32B4C8;
    --writing-color: #F9A95A;
    --reading-color: #37854D;
    --gov-color: #6f51f8;
    --primary-gradient: linear-gradient(180deg,#294563 0%,#172636 100%);
    --reading-gradient: linear-gradient(180deg,#337845 0%,#265A35 100%);
    --listening-gradient: linear-gradient(180deg,#33B2C7 0%,#268695 100%);
    --writing-gradient: linear-gradient(180deg,#FAA859 0%,#BB7F44 100%);
    --speaking-gradient: linear-gradient(180deg,#C86478 0%,#954B5A 100%);
}

.st a{ text-decoration: none !important; }

ol, ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
ul, ol {
    margin-top: 0;
    margin-bottom: 10px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

.fade.in {
    opacity: 1;
}

.modal-backdrop.fade {
    filter: alpha(opacity = 0);
    opacity: 0;
}


.modal-backdrop.in {
    filter: alpha(opacity = 50);
    opacity: .5;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}




.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}


.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal {
    text-align: center;
}

.modal {
    z-index: 1050 !important;
}

.modal .modal-dialog {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100%;
    margin: 0 auto;
    justify-content: center;
}

.modal .modal-dialog {
    max-width: calc(100% - 30px);
}

.modal-delete.modal-dialog {
    width: 520px;
}

.st-modal h1, .st-modal h2, .st-modal h3, .st-modal h4, .st-modal h5, .st-modal h6, .st-modal .h1, .st-modal .h2, .st-modal .h3, .st-modal .h4, .st-modal .h5, .st-modal .h6 {
    line-height: 1.2;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #294563;
}

.st-modal .modal-content {
    background: white;
    padding: 2rem 2rem;
    border-radius: 14px;
}

.st-modal .close {
    display: none;
}

h4.modal-title {
    text-align: center;
}



.st-modal .modal-body {
    text-align: center;
    margin: 20px 0px 30px 0px;
    color: #294563;
}

.st-modal .modal-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-modal .modal-footerbutton {
    height: 50px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.st-modal .proqyz__btn-confirm {
    background: var(--main-color);
    border:0;
}

.st-modal button[data-dismiss='modal'] {
    background: var(--main-color);
    opacity: 0.9;
    border: 0;
}


.st-modal button.proqyz__btn-confirm:hover {
    opacity: 0.8;
}

.st-modal.ielts-listening button.proqyz__btn-confirm {
    background: var(--listening-color);
}

.st-modal.ielts-speaking button.proqyz__btn-confirm {
    background: var(--speaking-color);
}

.st-modal.ielts-writing button.proqyz__btn-confirm {
    background: var(--writing-color);
}

.st-modal.ielts-reading button.proqyz__btn-confirm {
    background: var(--reading-color);
}

.st-modal.gov-non-sectional-timing button.proqyz__btn-confirm, 
.st-modal.gov-sectional-timing button.proqyz__btn-confirm {
    background: var(--gov-color);
}



.st {
    padding: 40px 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgb(40, 40, 40);
    font-family: Nunito, "Helvetica Neue", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f7f7f7;
}

.st table {
    border-collapse: collapse !important;
}

.st td, .st th {
    padding: 1rem 0.4rem !important;
}

.history-table__btn-fullmock-test {
    border-radius: 20px !important;
    display: flex;
    background: var(--gradient-primary, linear-gradient(180deg, #294563 0%, #172636 100%));
    height: 100%;
    color: #fff !important;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    min-height: 38px;
    align-items: center;
}


.st h1, .st h2, .st h3, .st h4, .st h5, .st h6, .st .h1, .st .h2, .st .h3, .st .h4, .st .h5, .st .h6 {
    line-height: 1.2;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #294563;
}

.dashboard-page h1 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
    color: #2e4662;
    margin-top: 0;
    margin-bottom: 16px;
}

.test-history-page .section-tilte {
    font-size: 20px !important;
}


.table thead tr th {
    color: #fff;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 15px;
}

.visible-xs, .visible-sm, .visible-md, .visible-lg {
    display: none !important;
}

select.filter-select {
    display: none !important;
}


button.iot-bt {
    line-height: normal;
}

.iot-bt, .explain-bt, .test-bt, .iot-btc, .iot-btor, .iot-btgr {
    height: 48px;
    padding: 0 16px;
    border-radius: 4px;
    background-color: #294563;
    font-size: 16px;
    font-weight: bold;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-align: center;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    transition: all ease 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.test-history-page .test-history__btn-filter {
    width: 100%;
    max-width: 99px;
    font-size: 12px;
    height: 40px;
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 5px;
    border-radius: 100px;
}

button.test-history__btn-reset.test-history__btn.iot-bt.filter_btns {
    margin-left: 8px;
}

@media (max-width: 767px) {
    .visible-xs {
        display: block !important;
    }
}


/* --------------------------------------------------------------------------
    section
----------------------------------------------------------------------------- */
.test-history-page .test-history {
    border: 1px solid #D9DCDF;
    background-color: #fff;
    border-radius: 4px;
    padding: 24px;
}

/* ==========================================================================
   Performance Board / Widgets
   ========================================================================== */

.my-dashboard-page .performance-board__title {
    font-size: 20px;
    margin-bottom: 16px;
    color: #294563;
}

.my-dashboard-page .performance-board__item-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.my-dashboard-page .performance-board__item {
    width: 100%;
    max-width: 160px;
    border-radius: 4px;
    border: 1px solid #D9DCDF;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 16px 13px;
    text-align: center;
    position: relative;
}

.my-dashboard-page .performance-board__item-edit {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #45A7D2;
    text-decoration: underline;
}

.my-dashboard-page .performance-board__item-icon {
    color: #294563;
    font-size: 26px;
    margin-bottom: 10px;
}

.my-dashboard-page .performance-board__item-name {
    font-size: 12px;
    margin-bottom: 8px;
    color: #294563;
}

.my-dashboard-page .performance-board__item-value {
    font-weight: bold;
    font-size: 20px;
    color: #294563;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
}

.my-dashboard-page .performance-board .tooltip {
    min-width: 110%;
}

.my-dashboard-page .performance-board .tooltip .tooltip-inner {
    padding: 8px 6px;
}

.my-dashboard-page .performance-board .ioticon-help-circle {
    color: #294563;
    position: absolute;
    right: 8px;
    top: 8px;
}

/* ==========================================================================
   Table Base Styles
   ========================================================================== */

.dashboard-page .iot-responsive-table {
    border: none;
}

.dashboard-page .iot-responsive-table thead {
    background-color: #d9e6e9;
}

.dashboard-page .iot-responsive-table th {
    background-color: #d9e6e9;
    color: #4a4a4a;
}

.dashboard-page .iot-responsive-table th,
.dashboard-page .iot-responsive-table td {
    border: none;
}

.dashboard-page .iot-responsive-table tbody > tr {
    border: none;
}

.dashboard-page .iot-responsive-table tbody > tr:hover {
    background-color: #f9f9f9;
}

/* ==========================================================================
   Test History Section
   ========================================================================== */

.test-history-page .section-tilte {
    font-size: 20px;
}

.test-history-page .test-history {
    border: 1px solid #D9DCDF;
    background-color: #fff;
    border-radius: 4px;
    padding: 24px;
}

.test-history-page .test-history .iot-opselect div.dropdown-menu {
    width: auto !important;
    max-width: none !important;
}

.test-history-page .test-history .bootstrap-select ul.dropdown-menu li a {
    height: auto;
}

/* Filter Section */
.test-history-page .test-history__filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.test-history-page .test-history__filter .bootstrap-select {
    max-width: 26%;
}

.test-history-page .test-history__filter .dropdown-toggle {
    border: 1px solid #A0B5CA !important;
    color: #363A3D;
}

.test-history-page .test-history__filter .dropdown-toggle .caret {
    font-size: 20px;
}

.test-history-page .test-history__filter .dropdown-toggle .caret:after {
    color: #294563;
}

.test-history-page .test-history__btn-filter {
    width: 100%;
    max-width: 99px;
    font-size: 12px;
    height: 40px;
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 5px;
    border-radius: 100px;
}

.test-history-page .test-history__btn-reset {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #EAECEF;
    color: #294563;
    border-radius: 50%;
}

.test-history-page .test-history__btn-reset .ioticon-refresh-double {
    transition: transform 0.6s ease;
    display: inline-block;
}

.test-history-page .test-history__btn-reset.active .ioticon-refresh-double {
    transform: rotate(360deg);
}

.test-history-page .test-history__btn-reset:hover {
    border: 1px solid #294563;
}

.test-history-page .test-history__btn-reset:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.test-history-page .test-history__btn-filter:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

button#js-btn-filter.category-tests {
    top: 0;
}

.test-history-page .test-history__btn-filter-mobile {
    border: none;
    background-color: #fff;
    color: #294563;
    height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    position: absolute;
    top: -54px;
    right: 0;
    border: 1px solid #294563;
}

.test-history-page .test-history__btn-filter-mobile span {
    vertical-align: middle;
    margin-right: 10px;
}

/* Empty State */
.test-history-page .test-history__empty-box {
    background: #F6F6F7;
    border-radius: 4px;
    padding: 12% 0;
    text-align: center;
    margin-bottom: 24px;
}

.test-history-page .test-history__empty-title {
    font-weight: bold;
    font-size: 16px;
    color: #294563;
    margin-bottom: 10px;
}

.test-history-page .test-history__empty-caption {
    font-size: 12px;
    margin-bottom: 16px;
    color: #294563;
}

.test-history-page .test-history__empty-btn {
    padding: 0 32px;
}

/* Pagination */
.test-history-page .test-history__bottom {
    border-top: 1px solid #D9DCDF;
    margin-left: -24px;
    margin-right: -24px;
    text-align: center;
    padding: 0;
}

.test-history-page .test-history__view-more {
    display: inline-block;
    color: #3E94BA;
    text-decoration: underline;
}

.test-history-page .pager {
    margin: 16px 0 0;
}

.test-history-page .pager__items {
    margin-bottom: 0;
}

.test-history-page .pagination-btn:disabled,
.test-history-page .pagination-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* History Table */
.test-history-page .history-table {
    transition: opacity 0.3s ease;
}

.test-history-page .history-table tbody {
    position: relative;
}

/* History Table */
.test-history-page .history-table tr {
    border: none;
}

.test-history-page .history-table thead {
    background-color: #fff;
}

.test-history-page .history-table thead th {
    background-color: #fff;
    font-size: 14px;
    color: #363A3D;
}

.test-history-page .history-table thead th:nth-child(1) {
    width: 15%;
}

.test-history-page .history-table thead th:nth-child(2) {
    width: 28%;
}

.test-history-page .history-table thead th:nth-child(3) {
    width: 28%;
}

.test-history-page .history-table thead th:nth-child(4) {
    width: 22%;
}

.test-history-page .history-table thead th:last-child {
    width: 1%;
}

.test-history-page .history-table tbody tr {
    border-bottom: 1px solid #D9DCDF;
}

.test-history-page .history-table tbody tr:last-child {
    border-bottom: none;
}

.test-history-page .history-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.test-history-page .history-table tbody tr td {
    font-size: 14px;
    color: #363A3D;
}

.test-history-page .history-table tbody tr td:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.test-history-page .history-table tbody tr td:after {
    content: normal;
}

.test-history-page .history-table__score-type {
    font-size: 12px;
    font-weight: normal;
    color: #363A3D;
    margin-bottom: 10px;
}

.test-history-page .history-table__score-num {
    font-size: 12px;
    font-weight: normal;
    color: #282828;
    margin-top: 4px;
    font-weight: bold;
}

.test-history-page .history-table__score-part {
    display: flex;
    position: relative;
    align-items: center;
    margin-left: 8px;
}

.test-history-page .history-table__score-part:before {
    content: '';
    position: relative;
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #294563;
    margin-right: 6px;
    flex-shrink: 0;
}

.test-history-page .history-table__score-part strong {
    font-weight: bold;
}

.test-history-page .history-table__view {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.test-history-page .history-table__btn-group {
    display: flex;
    height: 40px;
    align-items: center;
    border-radius: 100px;
    position: relative;
}

.test-history-page .history-table__btn-view {
    background: var(--gradient-primary, linear-gradient(180deg, #294563 0%, #172636 100%));
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
    padding: 0 16px;
    border-radius: 100px 0px 0px 100px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.test-history-page .history-table__btn-view:hover {
    text-decoration: underline;
}

.test-history-page .history-table__other-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 0px 100px 100px 0px;
    height: 100%;
    border: 1px solid #294563;
    cursor: pointer;
}

.test-history-page .history-table__other-btn.active .history-table__hidden-group {
    display: flex;
}

.test-history-page .history-table__other-btn.active .ioticon-chevron-down {
    transform: rotate(180deg);
}

.test-history-page .history-table__other-btn .ioticon-chevron-down {
    font-size: 22px;
    padding: 8px;
    margin-left: -2px;
    transition: all ease 0.2s;
}

.test-history-page .history-table__hidden-group {
    display: none;
    position: absolute;
    z-index: 9;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    width: max-content;
    padding: 8px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
}

.test-history-page .history-table__btn {
    white-space: nowrap;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: #294563;
    font-weight: 500;
    padding: 8px;
    border-bottom: 1px solid #EAECEF;
    position: relative;
    z-index: 0;
    transition: all ease 0.2s;
}

.test-history-page .history-table__btn [class^="ioticon-"] {
    font-size: 18px;
}

.test-history-page .history-table__btn.-public.active span {
    opacity: 1;
}

.test-history-page .history-table__btn.-public span {
    opacity: 0;
}

.test-history-page .history-table__btn:hover:after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 90%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    background-color: #ececec;
    border-radius: 30px;
    transition: all ease 0.2s;
}

.test-history-page .history-table__btn:last-child {
    border-bottom: none;
}

.test-history-page .history-table__action-mess {
    width: 100%;
    text-align: left;
    margin-top: 8px;
    color: #DC5C5C;
}

.test-history-page .history-table__btn-delete {
    padding: 0 10px;
    border: 1px solid #DC5C5C;
    border-radius: 4px;
    color: #DC5C5C;
    height: 30px;
    line-height: 25px;
    text-align: center;
    transition: all ease 0.2s;
}

.test-history-page .history-table__btn-delete:hover {
    background-color: #F46666;
    color: #fff;
}

.test-history-page .history-table__btn-delete span {
    vertical-align: middle;
    font-size: 20px;
}

.test-history-page .history-table__evaluation-link {
    color: #3E94BA;
    text-decoration-line: underline;
    position: relative;
}

.test-history-page .history-table .tooltip-inner {
    background-color: #4D6B89;
    padding: 10px;
}

.test-history-page .history-table .tooltip-arrow {
    border-top-color: #4D6B89;
}

.test-history-page .history-table .ioticon-help-circle {
    vertical-align: middle;
    margin-left: 5px;
    color: #3E94BA;
}

#overlay-region {
    z-index: 1110;
    width: 100%;
    height: 100%;
    display: none;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(136, 136, 136, 0.4);
    position: fixed;
}

.test-history-filtering #overlay-region {
    display: block;
}



.inline-block {
    display: inline-block;
}

/* ==========================================================================
    pagination
   ========================================================================== */

/* Pagination Container - Flexbox Layout */
.test-history-page .test-history__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #D9DCDF;
    margin-left: -24px;
    margin-right: -24px;
    padding: 16px 24px;
    text-align: center;
    flex-wrap: wrap;
}

/* Per Page Selector (Left Side) */
.test-history-page .test-history__per-page {
    display: flex;
    align-items: center;
    gap: 8px;
}

.test-history-page .test-history__per-page label {
    font-size: 14px;
    color: #294563;
    font-weight: 500;
    margin: 0;
}

.test-history-page .per-page-select {
    padding: 6px 30px 6px 12px;
    border: 1px solid #A0B5CA;
    border-radius: 4px;
    background-color: #fff;
    color: #363A3D;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23294563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 80px;
}

.test-history-page .per-page-select:focus {
    outline: none;
    border-color: #294563;
}

.test-history-page .per-page-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Pagination (Right Side) */
.test-history-page .pager {
    margin: 0;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.pager li {
    display: inline;
}

.pager li>a, .pager li>span {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.pager li.is-active a {
    color: #284664;
    border-color: #284664;
}

.pager__item.is-active a {
    color: #294563;
    border-color: #294563;
}

.test-history-page a.test-history__view-more {
    color: #282828 !important;
    text-decoration: none !important;
}

.test-history-page .pager__items {
    margin-bottom: 0;
}

.test-history-page .pagination-btn:disabled,
.test-history-page .pagination-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.test-history__bottom ul li {
    margin: 0px 2px;
    display: inline-block;
}


/* ==========================================================================
    Skeleton Preloader
   ========================================================================== */

.dashboard-preloader {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton-title,
.skeleton-text,
.skeleton-icon,
.skeleton-filter,
.skeleton-button,
.skeleton-button-round {
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-title {
    height: 24px;
    width: 200px;
    margin-bottom: 16px;
}

.skeleton-widget {
    pointer-events: none;
}

.skeleton-widget .skeleton-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.skeleton-widget .skeleton-text {
    height: 14px;
    margin: 0 auto 8px;
}

.skeleton-widget .skeleton-text-sm {
    width: 80%;
}

.skeleton-widget .skeleton-text-lg {
    width: 60%;
    height: 20px;
}

.skeleton-filters {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}

.skeleton-filter {
    flex: 1;
    height: 40px;
    max-width: 26%;
}

.skeleton-button {
    width: 99px;
    height: 40px;
}

.skeleton-button-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-table thead th .skeleton-text {
    height: 12px;
    width: 80%;
}

.skeleton-table tbody td .skeleton-text {
    height: 14px;
    width: 60%;
}

.skeleton-table tbody td .skeleton-text-long {
    width: 90%;
}

.skeleton-table tbody tr {
    pointer-events: none;
}

/* ==========================================================================
   Tablet Styles (768px - 991px)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991px) {
    /* Performance Board */
    .my-dashboard-page .performance-board__item {
        max-width: calc(50% - 5px);
        margin-bottom: 10px;
    }

    .my-dashboard-page .performance-board__item:first-child {
        max-width: 100%;
    }

    .my-dashboard-page .performance-board .tooltip {
        min-width: 0;
    }

    /* Table */
    .dashboard-page .iot-responsive-table tbody > tr > td {
        text-align: right;
        padding: 6px 15px;
        display: inline-block;
        width: 100%;
    }

    .dashboard-page .iot-responsive-table tbody > tr > td:before {
        margin-left: auto;
        width: 50%;
        text-align: left;
        position: absolute !important;
        left: 16px;
        font-weight: 800;
    }

    /* Test History Filter */
    .test-history-page .test-history__filter {
        flex-wrap: wrap;
    }

    .test-history-page .test-history__filter .bootstrap-select {
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .test-history-page .test-history__btn-filter {
        width: 100%;
        max-width: 90px;
    }

    /* History Table Button */
    .test-history-page .history-table__btn-delete {
        width: 100%;
    }
}

/* ==========================================================================
   Mobile Styles (max-width: 991px)
   ========================================================================== */

@media (max-width: 991px) {
    .history-table tbody tr td.history-table__score:before,
    .history-table tbody tr td.history-table__username:before,
    .history-table tbody tr td.history-table__course:before,
    .history-table__course:before {
        width: 100%;
        display: block;
        position: relative !important;
        left: 0;
        font-size: 14px;
        color: #80878C;
        font-weight: normal;
        margin-bottom: 6px;
    }

    .test-history-page .history-table tbody tr {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        background-color: #fff;
        margin-bottom: 16px;
        border-radius: 4px;
        border: 1px solid #D9DCDF;
    }

    .test-history-page .history-table tbody tr:last-child {
        border-bottom: 1px solid #D9DCDF;
    }

    .test-history-page .history-table tbody tr td.history-table__date {
        width: 100%;
        padding: 12px 16px;
        padding-left: 16px !important;
        text-align: left;
        color: #363A3D;
        font-weight: bold;
        border-bottom: 1px solid #D9DCDF !important;
    }

    .test-history-page .history-table tbody tr td.history-table__test-name {
        padding: 12px 16px;
        padding-left: 16px !important;
        text-align: left;
        font-weight: bold;
        color: #294563;
        font-size: 16px;
    }

    .test-history-page .history-table tbody tr td.history-table__type,
    .test-history-page .history-table tbody tr td.history-table__score,
    .test-history-page .history-table tbody tr td.history-table__time-spend {
        display: flex !important;
        align-items: flex-start;
        flex-wrap: wrap;
        width: 33.333333333%;
        float: left;
        padding: 6px 10px !important;
        text-align: left;
        color: #363A3D;
        font-weight: bold;
    }

    .test-history-page .history-table tbody tr td.history-table__type:before,
    .test-history-page .history-table tbody tr td.history-table__score:before,
    .test-history-page .history-table tbody tr td.history-table__time-spend:before {
        width: 100%;
        display: block;
        position: relative !important;
        left: 0;
        font-size: 14px;
        color: #80878C;
        font-weight: normal;
        margin-bottom: 6px;
    }

    .test-history-page .history-table tbody tr td.history-table__type {
        width: 26.333333333%;
        padding-left: 16px !important;
    }

    .test-history-page .history-table tbody tr td.history-table__score {
        order: 5;
        width: 40.333333333%;
    }

    .test-history-page .history-table tbody tr td.history-table__time-spend {
        width: 31.333333333%;
    }

    .test-history-page .history-table tbody tr td.history-table__action {
        order: 6;
        text-align: center;
        border-top: 1px solid #D9DCDF !important;
        padding: 16px !important;
        width: 100%;
        justify-content: center;
        position: static !important;
        margin-top: 10px;
    }

    .test-history-page .history-table__action-mess {
        margin-top: 6px;
        font-weight: normal;
    }
}

@media screen and (max-width: 992px) {
    .dashboard-page .iot-responsive-table thead tr {
        position: absolute;
        top: -9999em;
        left: -9999em;
    }

    .dashboard-page .iot-responsive-table td:before {
        content: attr(data-label);
        display: inline-block;
        font-weight: bold;
        line-height: 1.5;
        margin-left: -100%;
        width: 100%;
        position: relative !important;
        z-index: 1;
        color: #294563;
    }

    .md--align-right {
        display: flex; 
        flex-direction: column;
        align-items: flex-end; 
        gap: 0px;
    }


}

/* ==========================================================================
   Mobile Styles (max-width: 767px)
   ========================================================================== */


@media (max-width: 767px) {
    /* Performance Board */
    .my-dashboard-page .performance-board__item {
        max-width: calc(50% - 5px);
        margin-bottom: 10px;
    }

    .my-dashboard-page .performance-board__item:first-child {
        max-width: 100%;
    }

    /* Table */
    .dashboard-page .iot-responsive-table tbody > tr > td {
        text-align: right;
        padding: 6px 15px;
        display: inline-block;
        width: 100%;
    }

    .dashboard-page .iot-responsive-table tbody > tr > td:before {
        margin-left: auto;
        width: 50%;
        text-align: left;
        position: absolute !important;
        left: 16px;
        font-weight: 800;
    }

    /* Section */
    .test-history-page .section-tilte {
        margin-bottom: 26px;
    }

    .test-history-page .test-history {
        border: none;
        padding: 0;
        background-color: transparent;
        position: relative;
    }

    .test-history-page .test-history .iot-opselect div.dropdown-menu {
        width: 100% !important;
        max-width: 100% !important;
    }

    .test-history-page .test-history .iot-opselect div.dropdown-menu li a span.text {
        white-space: initial;
    }

    /* Filter */
    .test-history-page .test-history__filter {
        padding: 24px 16px 16%;
        background-color: #fff;
        border-radius: 16px 16px 0 0;
        position: fixed;
        flex-wrap: wrap;
        z-index: 1111;
        width: 100%;
        left: 0;
        bottom: 0;
        margin-bottom: 0;
        transform: translate3d(0, 100%, 0);
        opacity: 0;
        transition: 0.5s;
    }

    .test-history-page .test-history__filter .bootstrap-select {
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .test-history-page .test-history__btn-filter {
        width: calc(100% - 50px);
        max-width: 100%;
        margin-bottom: 16px;
    }

    /* Empty State */
    .test-history-page .test-history__empty-box {
        border: 1px solid #D9DCDF;
        background-color: #fff;
    }

    .test-history-page .test-history__empty-btn {
        font-size: 12px;
        height: 36px;
        line-height: 36px;
    }

    /* Pagination */
    .test-history-page .test-history__bottom {
        margin: 0;
        border: none;
        padding: 16px 0;
        flex-direction: column-reverse;
        gap: 16px;
    }

    /* Per Page Selector - Bottom on Mobile */
    .test-history-page .test-history__per-page {
        width: 100%;
        justify-content: center;
        order: 2;
    }

    /* Pagination - Centered on Mobile */
    .test-history-page .pager {
        width: 100%;
        justify-content: center;
        order: 1;
    }

    .test-history-page .test-history__view-more {
        display: inline-block;
        background-color: #fff;
        border-radius: 4px;
        text-align: center;
        color: #294563;
        border: 1px solid #294563;
        padding: 8px 12px;
        font-weight: bold;
        text-decoration: none;
        font-size: 14px;
    }

    .test-history-page .test-history__view-more:hover {
        background-color: #294563;
        color: #fff;
    }

    /* History Table */
    .test-history-page .history-table tbody tr {
        border-bottom: 1px solid #D9DCDF !important;
    }
    .test-history-page .history-table tbody tr td.history-table__type,
    .test-history-page .history-table tbody tr td.history-table__score,
    .test-history-page .history-table tbody tr td.history-table__time-spend {
        align-self: flex-start;
    }

    .test-history-page .history-table__score-type {
        margin-bottom: 3px;
        width: 100%;
    }

    .test-history-page .history-table .ioticon-help-circle {
        margin-left: 2px;
    }

    .test-history-page .history-table__btn-delete {
        top: 7px;
        right: 7px;
        position: absolute;
    }
}

/* ==========================================================================
   Larger Desktop Styles (992px - 1199px)
   ========================================================================== */

@media (min-width: 992px) and (max-width: 1199px) {
    .test-history-page .test-history__filter .bootstrap-select {
        max-width: 160px;
    }

    .test-history-page .test-history__btn-filter {
        max-width: 70px;
    }

    .lg--align-left {
        display: flex; 
        flex-direction: column;
        align-items: flex-start; 
        gap: 0px;
    }
}

.test-history-filtering .test-history__filter {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}
