.provider-table {
    max-width: 900px;
    width: 91.1%;
    bottom: 0;
    height: fit-content;
    opacity: 1;
    font-size: 14px !important;
    text-align: center;
    align-items: center;
    font-family: "Noto Sans Thai", sans-serif;
}

.provider-table table {
    width: 100%;
    border-collapse: collapse;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background-color: #fff; 
    box-shadow: 17px 16px 54.6px 0px #0028511C;
}

.provider-table thead th {
    background-color: #001854;
    color: #fff;
    padding: 16px 24px 16px 24px;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
}

.provider-table thead th div span {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    font-family: "Anuphan", sans-serif;
}

.provider-table tbody tr {
    border-bottom: 1px solid #F3F3F4;
    height: 106px;
}

.provider-table tbody tr td span {
    font-size: 16px;
    font-weight: 400;
    font-family: "Anuphan", sans-serif;
}

.provider-table tbody tr:last-child {
    border-bottom: none;
    height: 106px;
}

.provider-table tbody tr.highlight {
    background-color: #FFFBD7;
}

.provider-table tbody tr.highlight.light-yellow {
    background-color: #FFFBD7;
}

.provider-table tbody tr.highlight.light-yellow td {
    padding-left: 0px;
    text-align: left;
    color: #110C22;
    font-size: 14px;
    font-weight: 600;
}

.provider-table tbody tr.highlight.light-yellow td span {
    padding-left: 24px;
    font-weight: 600;
}

.provider-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.provider-table tbody tr.highlight.light-yellow .logo {
    padding-left: 24px;
}

.provider-table tbody tr.highlight.light-yellow .provider-details div span {
    font-size: 14px;
    font-weight: 600;
    color: #6D7CA0;
    text-align: left;
    padding-left: 24px;
}

.provider-details .logo {
    height: 32px;
    margin-right: 10px;
}

.provider-details div p {
    margin: 0;
    font-weight: bold;
    text-align: left;
}

.provider-details div span {
    font-size: 14px;
    font-weight: 600;
    color: #6D7CA0;
    text-align: left;
}

.provider-table tbody tr.highlight.light-yellow .recipient-details {
    text-align: left;
    padding-left: 24px;
}

.provider-table tbody tr.highlight.light-yellow .recipient-details span {
    text-align: left;
    padding-left: 0px;
}

.recipient-details {
    align-items: left;
    text-align: left;
}

.recipient-details p {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    font-family: "Anuphan", sans-serif;
}

.recipient-details span {
    font-size: 12px;
    font-weight: 600;
    color: #6D7CA0;
    width: 300px;
    text-align: left;
}

.recipient-details .send-money {
    background: linear-gradient(90deg, #001958 0%, #233A70 100%); 
    color: #fff;
    border: none;
    padding: 5px 24px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 32px;
    text-align: left;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
}

/* .recipient-details .send-money:hover {
    background-color: #0097a7;
} */

.provider-table tbody td {
    padding: 16px 24px 16px 24px;
    ;
    text-align: left;
    color: #110C22;
    font-size: 14px;
    font-weight: 600;
}

.provider-table tbody td:last-child {
    text-align: right;
}

.best-deal {
    height: 24px;
    top: 0%;
    text-align: left;
    margin-bottom: 4px;
}

.tooltip-icon {
    color: #fff;
    margin-left: 4px;
    font-size: 10px;
}

.tooltip-text {
    visibility: hidden;
    position: absolute;
    text-align: left;
    z-index: 2;
    width: 224px;
    height: 120px;
    color: white !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background-color: #2E293D;
    border-radius: 12px;
    padding: 10px;
}

.tooltip-text::before {
    content: "";
    position: absolute;
    transform: rotate(45deg);
    /* background-color: #fff; */
    background-color: #2E293D;
    padding: 5px;
    z-index: 1;
}

.table-desc-text {
    color: #6D7CA0;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.hover-text:hover .tooltip-text {
    visibility: visible;
}

#top {
    top: -130px;
    left: -105px;
}

#top::before {
    top: 96%;
    left: 50%;
}

.hover-text {
    position: relative;
    display: inline-block;
    text-align: center;
}

.sort-icon-table {
    margin-left: 8px;
}

/* page no data */
.not-found-icon {
    width: 200px;
}

.no-data {
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.no-data-message {
    width: 420px;
    color: #6D7CA0;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: center;
}

/* responsive */
@media only screen and (min-width: 1920px) and (max-width: 1920px) {

    /* For Projectors or Higher Resolution Screens (Full HD) */
    .provider-table {
        max-width: 1250px;
    }

    .tooltip-icon {
        margin-left: 8px !important;
        font-size: 18px !important;
    }

    .tooltip-text {
        width: 312px;
        height: 160px;
        font-size: 16px !important;
    }

    #top {
        top: -166px;
        left: -144px;
    }

    .sort-icon-table {
        margin-left: 8px !important;
        width: 24px !important;
    }

    .provider-table thead th {
        font-size: 16px;
    }

    .provider-table thead th div span {
        font-size: 16px;
        font-weight: 400;
    }

    .provider-table tbody tr td span {
        font-size: 16px;
    }

    .recipient-details .send-money {
        align-items: center;
        justify-content: center;
    }

    .no-data-message {
        width: 728px;
    }
}

@media screen and (min-width: 2560px) {

    /* For 4K Displays */
    .provider-table {
        max-width: 2530px;
    }

    .tooltip-icon {
        margin-left: 8px !important;
        font-size: 28px !important;
    }

    .tooltip-text {
        width: 360px;
        height: 200px;
        font-size: 20px !important;
    }

    #top {
        top: -212px;
        left: -164px;
    }

    .sort-icon-table {
        margin-left: 8px !important;
        width: 32px !important;
    }

    .provider-table thead th {
        font-size: 16px !important;
    }

    .provider-table thead th div span {
        font-size: 16px;
        font-weight: 400;
    }

    .recipient-details .send-money {
        align-items: center;
        justify-content: center;
    }

}

@media screen and (min-width: 3840px) {

    /* For 4K Displays (Ultra HD) */
    .provider-table {
        max-width: 3810px;
    }
}

/* desktop */
@media screen and (min-width:1024px) {

    .best-deal {
        height: 24px;
    }
}

/* tablet */
@media only screen and (min-width:768px) and (max-width:768px) {

    .sort-icon-table {
        margin-left: 4px;
    }

    .best-deal {
        height: 20px;
    }

    .provider-table thead th {
        width: 100px;
        padding: 16px 24px 16px 24px;
    }

    .provider-table tbody tr {
        border-bottom: 1px solid #ddd;
        height: 106px;
    }

    .provider-table tbody tr td span {
        font-size: 16px;
        font-weight: 400;
    }

    .provider-table tbody tr.highlight.light-yellow td span {
        padding-left: 24px;
        font-weight: 600;
    }

    .no-data {
        height: 400px;
    }

    .no-data-message {
        width: 520px;
    }
}

/* mobile XL*/
@media screen and (max-width:430px) {
    .no-data {
        height: 400px;
    }

    .no-data-message {
        width: 300px;
        font-size: 14px;
        font-weight: 500;
    }
}

/* mobile S*/
@media screen and (max-width:320px) {
    .no-data {
        height: 352px;
    }

    .no-data-message {
        width: 240px;
        font-size: 12px !important;
        font-weight: 500;
    }
}