.assistance-widget {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 1000;
    font-family: "Sarabun", sans-serif;
}
.assistance-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px #1d237047;
    transition: all 0.3s ease;
    overflow: hidden;
}

.assistance-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px #1d237047;
}

.assistance-modal-overlay.show {
    display: block;
    opacity: 1;
}

.assistance-modal {
    position: fixed;
    bottom: 20px;
    right: 0px;
    width: 444px;
    height: 550px;
    background: white;
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.assistance-modal.show {
    transform: translateX(0);
    right: 20px;
}

.assistance-header{
    background: #FC8004;

}
.font-weight-400{
    font-weight: 400 !important;
}
.assistance-box{
    width: 50%;
    height: 137px;
    box-shadow: 0px 1px 1px 0px #70747740;
    border: 1px solid #F3F3F3;
    position: relative;
    cursor: pointer;
    font-size: 14px !important;
    color: #000;
}
.assistance-box .pg{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background-color: #FC8004;
    width: 0;
}
.assistance-box::before{
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    right: 5px;
    top:8px;
    background-image: url(../../assets/images/icon/CheckCircleIcon.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
}

.font-sm #AB-s1.assistance-box::before,
.font-md #AB-s1.assistance-box::before,
.font-xl #AB-s1.assistance-box::before,
.letter-spacing-sm #AB-s2.assistance-box::before,
.letter-spacing-md #AB-s2.assistance-box::before,
.letter-spacing-xl #AB-s2.assistance-box::before,
.cursor-xl #AB-s3.assistance-box::before,
.reading-guide #AB-s4.assistance-box::before,
.underline-all #AB-s5.assistance-box::before,
.color-mode-1 #AB-6.assistance-box::before,
.color-mode-2 #AB-s6.assistance-box::before,
.color-mode-3 #AB-s6.assistance-box::before

{
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    right: 5px;
    top:8px;
    background-image: url(../../assets/images/icon/CheckCircleActiveIcon.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
}


.font-sm #AB-s1.assistance-box .pg{
    width: 33% !important;
}
.font-md #AB-s1.assistance-box .pg{
    width: 66% !important;
}
.font-xl #AB-s1.assistance-box .pg{
    width: 100% !important;
}
.letter-spacing-sm #AB-s2.assistance-box .pg{
    width: 33% !important;
}
.letter-spacing-md #AB-s2.assistance-box .pg{
    width: 66% !important;
}
.letter-spacing-xl #AB-s2.assistance-box .pg{
    width: 100% !important;
}

.color-mode-1 #AB-s6.assistance-box .pg{
    width: 33% !important;
}
.color-mode-2 #AB-s6.assistance-box .pg{
    width: 66% !important;
}
.color-mode-3 #AB-s6.assistance-box .pg{
    width: 100% !important;
}

.font-sm *{
    font-size: 102% !important;
}
.font-md *{
    font-size: 104% !important;
}
.font-xl *{
    font-size: 106% !important;
}

.letter-spacing-sm *{
    letter-spacing: 2px !important;
}
.letter-spacing-md *{
    letter-spacing: 3px !important;
}
.letter-spacing-xl *{
    letter-spacing: 4px !important;
}

.cursor-xl *{
  cursor: url('../../assets/images/icon/Cursor.svg') 16 16, auto; 
}

.reading-guide-line {
    display: none;
    box-sizing: border-box;
    background: #FC8004;
    width: 100% !important;
    min-width: 100% !important;
    position: absolute !important;
    height: 4px !important;
    border-top: solid 1px #efe70b;
    border-radius: 5px;
    top: 20px;
    z-index: 2147483647;
    margin-top: -15px;
}
.reading-guide .reading-guide-line{
    display: block;
}
.underline-all a{
    text-decoration: underline !important;
}

.color-mode-1{
   filter: grayscale(95%) !important;
}
.color-mode-2{
    filter: grayscale(95%) !important;
}

.color-mode-3 {
    filter: grayscale(95%) !important;
}


#btnSetAssistance:disabled{
    background-color: #888888;
    border-color:#888888 ;
}


@media (max-width: 768px) {
    .chat-modal {
        width: 100%;
    }
}
