.sc_boai {
    position: relative;
    margin: 1.5rem auto;
    text-align: center;
}

.sc_boai .sc_boai_img {
    display: block;
    margin: 0 auto;
    margin-top: 0.5rem;
    max-width: 100%;
    height: auto;
    width: auto;
}

.sc_boai .tvm a {
    display: inline-block;
    width: 58%;
    position: absolute;
    height: 42px;
    left: 0;
    bottom: 0;
    cursor: pointer;
}

.sc_boai .tvm a:nth-child(2) {
    left: initial;
    right: 0;
    width: 40%;
}

/*
* .sc_boai.sc-html
*/
.sc_boai.sc-html {
    max-width: 750px;
    padding: 15px 20px;
    font-family: Roboto;
}
.sc_boai a {
    color: inherit;
    line-height: inherit;
    outline: none;
}
.sc_boai.sc-html img {
    display: initial;
    max-width: initial !important;
}
.sc_boai.sc-html,
.sc_boai.sc-html .sc-boai-content {
    border-radius: 20px;
}
.sc_boai.sc-html .sc-boai-heading {
    color: #ffffff;
    font-family: 'UTM HelvetIns';
    font-size: 20px;
    text-transform: uppercase;
    text-align: center !important;
}
.sc_boai.sc-html .sc-boai-note span,
.sc_boai.sc-html .sc-boai-heading span {
    color: #ffff00;    
}
.sc_boai.sc-html .sc-boai-content {
    background-color: #ffffff;    
    font-weight: 700;
    font-size: 16px;
    padding: 15px 34px;
}
.sc_boai.sc-html .sc-boai-content ul {  
    padding-left: 0;
}
.sc_boai.sc-html .sc-boai-content ul li {
    list-style: disc;
    list-style-position: inside;
    text-align: initial;
    padding: 3px 5px;
}
.sc_boai.sc-html .sc-boai-content ul li span {
    color: #ff0000;
}
.sc_boai .sc-boai-note {
    color: #ffffff;
    font-size: 16px;
    font-style: italic;
    text-align: center !important;
}
.sc_boai .sc-boai-note:last-child,
.sc_boai.sc-html .sc-boai-content ul:last-child {
    margin: 0 !important;
}
.sc_boai.sc-html .sc-boai-footer {
    padding-top: 15px;
}
.sc_boai.sc-html .sc-boai-buttons {
    display: flex;
    margin-bottom: 18px;
    justify-content: center; /* Canh giữa theo chiều ngang */
    align-items: center;    /* Canh giữa theo chiều dọc */
    height: 100%;
}
.sc_boai.sc-html .sc-boai-buttons .btn-group {
    display: flex;
    gap: 9px;
}
/* Hiệu ứng nhấp nháy nút xanh */
@keyframes blue-blink {
    0% {
      background-color: #3a8dde; /* Màu xanh nhạt */
    }
    50% {
      background-color: #ff7a29; /* Màu xanh đậm */
    }
    100% {
        background-color: #3a8dde; /* Màu xanh nhạt */
    }
  }

/* Hiệu ứng nhấp nháy nút cam */
@keyframes orange-blink {
    0% {
        background-color: #ff7a29; /* Màu cam nhạt */
    }
    50% {
        background-color: #3a8dde; /* Màu đỏ đậm */
    }
    100% {
        background-color: #ff7a29; /* Màu cam nhạt */
    }
}
.sc_boai.sc-html .sc-boai-buttons .btn-chat {
    border-radius: 22px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    font-family: 'UTM HelvetIns';
    font-weight: 400;
    align-items: center;
    line-height: initial;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 30px 10px;   
    white-space: nowrap; 
    background-size: 200% 200%; /* Tăng kích thước để hiệu ứng mượt hơn */
    animation: blink-animation 2s step-start infinite; /* Animation rõ ràng */
}
.sc_boai.sc-html .sc-boai-buttons .btn-chat img {
    display: initial;
    margin: 0 11px 0 0;
}
.sc_boai.sc-html .sc-boai-buttons .btn-tuvan {
    animation: orange-blink 2s step-start infinite; /* Hiệu ứng nhấp nháy riêng */
}
.sc_boai.sc-html .sc-boai-buttons .btn-dangky {
    animation: blue-blink 2s step-start infinite; /* Hiệu ứng nhấp nháy riêng */
}
.border-radius-10 {
    border-radius: 10px;
}
/*
* .sc_boai.bg-blue
*/
.bg-blue {
    background-color: #2163af;
}
.sc_boai.bg-blue .sc-boai-content ul li::marker {
    color: #2163af;
}
.sc_boai.bg-blue .sc-boai-content ul li::before {
    background: initial !important;
    position: initial !important;
    width: initial !important;
    height: initial !important;
}
/*
* .sc_boai.bg-green
*/
.bg-green {
    background-color: #009570;
}
.sc_boai.bg-green .sc-boai-content ul li::marker {
    color: #009570;
}
/*
* .sc_boai.sc-uudai-tri-lv3
*/
.sc_boai.sc-uudai-tri-lv3 .sc-boai-inner {
    display: inline-block;
    position: relative;
}
.sc_boai.sc-uudai-tri-lv3 .sc-boai-inner>img {
    width: auto;
    height: auto;
    max-width: 100%;
}
.sc_boai.sc-uudai-tri-lv3.is_pc .send-phonenumber {
    position: absolute;
    top: initial;
    left: initial;
    bottom: 0;
    right: 0;
    width: 65%;
    line-height: 1.42857143;
}
.sc_boai .send-phonenumber {
    padding: 9px;
}
.sc_boai .send-phonenumber .send-phonenumber-form {
    border-radius: 24px;
    background-color: #ffffff;
    display: flex;
    text-align: left;
    padding-left: 34px;
    overflow: hidden;
    height: 46px;
}
.sc_boai .send-phonenumber input.d-phone {
    width: calc(100% - 84px);
    height: 46px;
}
.sc_boai .send-phonenumber input.d-phone:focus {
    border: medium none;
    outline: 0;
}
.sc_boai .send-phonenumber button,
.sc_boai .send-phonenumber input.d-phone {
    border: medium none;
    background: inherit;
}
.sc_boai .send-phonenumber button {
    padding: 0;
    width: 84px;
}
@media screen and (min-width: 768px) {
    .sc_boai.sc-html .sc-boai-sendphone {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .sc_boai.sc-html .send-phonenumber {
        display: flex;
        gap: 0;
        width: 90%;
    }
    .sc_boai.sc-html .send-phonenumber .send-phonenumber-form {
        padding-left: 20px;
        width: 100%;
    }
    .sc_boai.sc-html .send-phonenumber .btn-container {
        height: 46px;
    }
    .sc_boai.sc-html .send-phonenumber .btn-container a>img {
        height: 56px;
    }
}
@media screen and (max-width: 360px){
    .sc_boai.sc-html .sc-boai-content {
        padding: 15px 10px 15px 43px;
    }
    .sc_boai.sc-html .sc-boai-buttons .btn-chat {
        font-size: 13px;
    }
    .sc_boai.sc-html .sc-boai-buttons .btn-chat img {
        height: 18px;
    }
}
@media screen and (max-width: 480px){
    .sc_boai.sc-html .sc-boai-heading {
        font-size: 16px;
    }
    .sc_boai.sc-html .sc-boai-heading span {
        display: block;
    }
    .sc_boai.sc-html .sc-boai-content ul li {
        text-indent: -23px;
    }
    .sc_boai.sc-html .sc-boai-buttons .btn-chat {
        padding: 7px 10px 10px; 
    }
    .sc_boai.sc-html .sc-boai-buttons .btn-chat img {
        margin-right: 6px;
    }
}