.ai-nh-chat {
    background: url('../images/ai-help-bg.svg') no-repeat center center / cover;
    right: 25px;
    top: 0;
    width: 200px;
    height: 118px;
    position: absolute;
    padding: 14px 20px 25px;
    z-index: 1;
    aspect-ratio: 1 / .59;
    @include aiDflex;
    @media only screen and (max-width: $sm_767) {
        width: 160px;
        height: auto;
        right: 4px;
        padding: 8px 12px 20px;
    }
    p {
        color: $textWhite;
        text-align: center;
        font-weight: $fontLight;
        margin: 0;
        line-height: 1.35;
        font-size: $font14;
        a {
            color: $textWhite;
            font-weight: $fontSemiBold;
        }
        @media only screen and (max-width: $sm_767) {
            font-size: 12px;
        }
    }
}

.ai-package-section {
    .ai-packages-arrow {
        margin-bottom: 16px;
        @include aiDflexWrap;
        gap: 8px;
        justify-content: center;
        .ai-package-sl-ar {
            background: $bgLightBlueV2;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            border: solid $borderColor 1px;
            @include aiDflexAlignItemsJustifyContentCenter;
            .ai-svg {
                position: relative;
                width: 16px;
            }
            &.ai-next-btn {
                transform: rotateY(180deg);
            }
            &:hover {
                background: $bgBlue;
                border-color: $bgBlue;
                .ai-svg {
                    path {
                        fill: $bgWhite;
                    }
                }
            }
        }
        @media only screen and (min-width: $md_992) {
            display: none;
        }
    }
    .ai-packages,.ai-fs-list {
        height: 100%;
        p {
            &.ai-package-title {
                color: $textBlue;
                padding: 8px 16px;
                font-weight: $fontRegular;
                margin: 0;
            }
        }
        .ai-column-white {
            padding: 0;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            @include aiDflex;
            flex-direction: column;
            height: 100%;
            justify-content: flex-end;
            .ai-package-head {
                padding: 12px 16px 16px;
                border-bottom: solid $borderColor 2px; 
                &.ai-fs-space {
                    @include aiDflex;
                    flex-direction: column;
                    justify-content: center;
                    height: 100%;
                    p {
                        color: $textGrayV2;
                        font-weight: $fontMedium;
                    }
                }
                p {
                    font-size: $font14;
                    margin-bottom: 10px;
                }
                .ai-package-price {
                    background: rgba($color: $bgBlue, $alpha: 0.02);
                    border: solid rgba($color: $bgBlue, $alpha: 0.2) 1px;
                    border-radius: $borderRadius10;
                    padding: 12px 16px;
                    @media only screen and (min-width: $xs_576) {
                        min-height: 90px;
                        @include aiDflexDirection;
                        justify-content: space-between;
                    }
                    @media only screen and (min-width: $lg_1024) {
                        min-height: 100px;
                    }
                    @media only screen and (min-width: $lg_1200) {
                        min-height: 108px;
                    }
                    @media only screen and (max-width: $xs_575) {
                        height: auto !important;
                    }
                    .ai-head-28 {
                        font-weight: $fontMedium;
                    }
                    .ai-fee-price {
                        color: $textGrayV2;
                        font-size: $font12;
                        font-weight: $fontMedium;
                    }
                    .ai-common-btn {
                        margin-top: 8px;
                        width: 100%;
                        font-size: $font12;
                        border-radius: 6px;
                        height: 32px;
                        &.ai-border-btn {
                            border-color: rgba($color: $bgSecondary, $alpha: 0.24);
                            background: rgba($color: $bgSecondary, $alpha: 0.06);
                            color: $textSecondary;
                        }
                    }
                }
            }
            .ai-package-list {
                ul {
                    list-style: none;
                    margin: 0;
                    padding: 0;
                    li {
                        padding: 12px 16px;
                        @include aiDflex;
                        align-items: center;
                        min-height: 54px;
                        &:last-child {
                            min-height: 70px;
                        }
                        .ai-packagelabel {
                            @media only screen and (min-width: $lg_1200) {
                                white-space: nowrap;
                                @include aiDflex;
                                gap: 4px;
                                width: 100%;
                                span {
                                    white-space: nowrap;
                                    max-width: calc(100% - 30px);
                                    text-overflow: ellipsis;
                                    overflow: hidden;
                                }
                            }
                        }
                        p {
                            &.ai-total-amount {
                                font-size: $font18;
                                color: $textDark;
                                margin: 0;
                                font-weight: $fontSemiBold;
                            }
                        }
                        + {
                            li {
                                border-top: solid $borderColor 1px;
                            }
                        }
                        .ai-basic-link {
                            height: 44px;
                            display: inline-flex;
                            align-items: center;
                        }
                    }
                }
            }
        }
        .ai-owl-item {
            background: $bgLightBlueV2;
            border-radius: $borderRadius10;
            .ai-column-white {
                .ai-package-list {
                    ul {
                        text-align: center;
                        li {
                            justify-content: center;
                            @include aiDflex;
                            flex-direction: column;
                            gap: 8px;
                            .ai-packagelabel {
                                @media only screen and (min-width: $lg_1200) {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }
            &.ai-selected {
                background: $bgBlue;
                .ai-package-title {
                    color: $textWhite;
                }
                .ai-column-white {
                    border-color: $bgBlue;
                    .ai-package-head {
                        .ai-package-price {
                            background: rgba($color: $bgBlue, $alpha: 0.06);
                            .ai-head-28 {
                                color: $textBlue;
                            }
                        }
                    }
                    .ai-package-list {
                        background: $bgExLightBlue;
                    }
                }
            }
        }
    }
}
