.content-btn-add-to-cart,
.content-btn-go-to-cart {
    background: linear-gradient(163deg, #8d4df3 0%, #0120d4 98.99%);
}

.content-btn-add-to-cart:hover,
.content-btn-go-to-cart:hover {
    opacity: 0.8;
}

.content-btn-bookmark {
    color: #808190;
    padding: 7px 13px;
    border: 2px solid #808190;
    border-radius: 5px;
}

.content-btn-bookmark.active {
    border: 2px solid #3a52de;
}

.content-btn-bookmark i.icon-bookmark-active {
    color: #3a52de;
}

/* video course */
.video__course--content {
    margin: 130px 0 30px;
}

.course--content-video {
    border-radius: 10px;
}

.content-video--desc {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.course--content-title {
    font-size: clamp(18px, 2vw, 30px);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.course--content-mp4 video {
    object-fit: contain;
}

.course--content-mp4 iframe {
    height: 490px;
}

.content--teacher-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.avatar-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #ccc;
    color: #fff;
    font-size: 18px;
    border-radius: 50%;
    text-transform: uppercase;
}

.teacher-evaluate-number {
    margin: 0 15px 0 4px;
    background: linear-gradient(197deg, #fbcd32 0%, #ff8147 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    font-weight: 700;
}

.teacher-tag-name {
    font-size: 14px;
    font-weight: 500;
    color: #161439;
    background: #efeff2;
    line-height: 1;
    border-radius: 50px;
    padding: 7px 13px;
    margin-bottom: 0;
}

.teacher-tag-name img {
    margin-right: 7px;
}

.nav-link {
    background: #e6e9ef !important;
    font-size: 16px;
    font-weight: 600;
    border: none;
    color: #6d6c80;
    border-radius: 30px !important;
    padding: 14px 30px;
    line-height: 1;
    display: block;
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(163deg, #9965ec 0%, #3a52de 98.99%) !important;
}

.course__description--desc {
    text-align: justify;
    -webkit-mask-image: -webkit-linear-gradient(#fff, hsla(0, 0%, 100%, 0));
    max-height: 200px;
    overflow: hidden;
}

.course__description--desc.expand {
    max-height: none;
    -webkit-mask-image: none;
}

.course__description--desc li {
    list-style: unset;
}

.expand-description--text {
    cursor: pointer;
    font-size: 16px;
}

.expand-description--text:hover {
    text-decoration: underline;
}

/* end mô tả khóa học */

/* Nội dung khóa học */

.course__content--desc {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course__content--info {
    color: #000;
    text-align: justify;
    font-size: 18px;
    font-weight: 400;
}

.course__content--link {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: #808190;
    cursor: pointer;
}

.course__content--link:hover {
    text-decoration: underline;
}

/*
.faq-container {
  max-width: 600px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
} */

/*.faq-item:first-child .faq-question {*/
/*    border-radius: 10px 10px 0 0;*/
/*}*/

/*.faq-item:last-child .faq-question {*/
/*    border-radius: 0 0 10px 10px;*/
/*}*/

.faq-question {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #808190;
    background: #d9d9d9;
    padding: 10px 15px;
}

.faq-question-tile {
    display: flex;
    align-items: center;
}

.faq-question-info {
    color: #464646;
    font-size: 18px;
    font-weight: 700;
}

.faq-question-number {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

.faq-answer {
    background: #f6f6f6;
    padding: 0 15px;
}

.faq-answer-collapse {
    display: none;
}

.faq-item:first-child .faq-answer-collapse {
    display: block;
}

.faq-answer-tutorial {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 15px 0;
}

.answer-tutorial {
    display: flex;
    align-items: center;
}

.answer-tutorial-title {
    color: #464646;
    font-size: 18px;
    font-weight: 400;
    margin-left: 7px;
}

.answer-tutorial-title:hover {
    color: #000;
}

.answer-tutorial-preview-container {
    display: contents;
}

.answer-tutorial-preview {
    color: #808190;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    padding-right: 30px;
    cursor: pointer;
    text-decoration: underline;
}

.answer-tutorial-preview:hover {
    color: #0120d4;
}

.answer-tutorial-time {
    color: #231f20;
    font-size: 17px;
    font-weight: 400;
}

.faq-item.active .faq-answer {
    display: block;
}

.arrow {
    transition: transform 0.3s ease;
    margin-right: 7px;
}

.arrow.active {
    transform: rotate(180deg);
}

.arrow-collapse {
    cursor: pointer;
}

/* end Nội dung khóa học */

/* giới thiệu giảng viên */

.introduce__instructors--content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.introduce__instructors--info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.introduce__instructors--image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 1px solid black;
    border-radius: 50%;
}

.instructors--image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.introduce__instructors--detail a {
    color: #464646;
    text-decoration: none;
}

.introduce__instructors--detail a:hover {
    text-decoration: underline;
}

.introduce__instructors--name {
    color: #464646;
    font-size: 24px;
    font-weight: 700;
}

.introduce__instructors--job {
    color: #808190;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
    padding: 10px 0;
}

.introduce__instructors--list {
    display: flex;
    list-style: none;
    justify-content: space-between;
    gap: 15px;
}

.introduce__instructors--student {
    display: flex;
    /*align-items: center;*/
    gap: 10px;
}

.instructors--student--desc {
    color: #464646;
    font-size: 18px;
    font-weight: 400;
}

.info-teacher-detail {
    display: block;
    text-align: justify;
    color: #464646;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

/* end giới thiệu giảng viên */

/* học viên tham gia khóa này cũng mua */
.students__participate--detail > :not(:last-child) {
    border-bottom: 1px solid #d1d7dc;
}

.course-comparison--course-container {
    display: flex;
    flex: 1;
    flex-direction: row;
    padding: 1rem 0;
    position: relative;
}

.course-comparison--main-content {
    display: flex;
    flex: 4;
    flex-direction: column;
    margin: 0 0 0 0.8rem;
    min-width: 14rem;
    position: relative;
    white-space: nowrap;
}

.course-comparison--course-title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: block !important;
    display: -webkit-box !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 0;
}

.course-comparison--course-info {
    display: flex;
    margin: 0.4rem 0 0;
}

.course-comparison--meta-items {
    display: flex;
}

.course-comparison--content-info {
    color: #808190;
    font-weight: 700;
}

.course-comparison--comparison-content {
    align-items: flex-start;
    display: flex;
    flex: 3;
    justify-content: space-between;
    margin: 0 0 0 1.8rem;
}

.course-comparison--comparison-content .star-rating-module--star {
    align-items: center;
    display: inline-flex;
}

.course-comparison--comparison-content .star-rating-module--rating-number {
    background: linear-gradient(197deg, #fbcd32 0%, #ff8147 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 0.4rem;
    font-weight: 700;
}

.course-comparison--num-students {
    display: flex;
    margin: 0 2.6rem 0 1.8rem;
    align-items: center;
}

.course-comparison--num-students span {
    margin: 0 0 0 0.4rem;
}

.course-comparison--price-text-container {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.course-comparison--discount-price {
    line-height: 1;
    margin: 0 0 0.4rem;
    padding: 0;
    white-space: nowrap;
}

.course-comparison--discount-price span {
    font-weight: 700;
    color: #ca3f00;
}

.course-comparison--origin-price {
    color: #6a6f73;
    line-height: 1;
    white-space: nowrap;
}

.course-comparison--image-wrapper {
    order: -1;
}

.course-comparison--image-wrapper img {
    border: 1px solid #d1d7dc;
    display: block;
    min-width: 5.8rem;
}

.course-comparison--whole-card-link {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* ------------------------------- */

.students__participate--link {
    cursor: pointer;
    display: flex;
    flex: 1;
    flex-direction: row;
    padding: 1rem 0;
    position: relative;
}

/* end học viên tham gia khóa này cũng mua */
/* end video course */

/* right */
.course--content-detail {
    position: sticky;
    top: 130px;
    padding: 20px;
    background: #fff;
    box-shadow: 4px 4px 7px 0 rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.content-price-sale {
    color: #ca3f00;
}

.content-price-cost {
    color: #808190;
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    text-decoration: line-through;
}

.course--content--tk {
    color: #808190;
    font-size: 16px;
    font-weight: 400;
}

.content-price-free {
    font-size: clamp(18px, 2vw, 22px);
    text-transform: uppercase;
    margin: 10px 0;
    color: #cc3333;
    font-weight: bold;
}

.content-price-save {
    color: #ca3f00;
    font-size: 20px;
    font-weight: 700;
}

.content-btn-go-to-course,
.content-btn-go-to-course-bundle,
.content-btn-checkout-course {
    background: #ca3f00;
}

.content-btn-checkout-course:hover {
    background: #ca3f00;
    opacity: 0.8;
}

.content-btn-waiting-approval {
    display: block;
    width: 100%;
    border-radius: 5px;
    background: #808190;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 0;
    cursor: not-allowed;
}

.content-btn-register-to-course,
.content-btn-enroll-to-course {
    display: block;
    width: 100%;
    border-radius: 5px;
    background: #ca3f00;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 0;
}


.content-btn-go-to-course:hover,
.content-btn-go-to-course-bundle:hover {
    background: #df500e;
}

.star {
    color: gray;
    position: relative;
}

.star.full {
    background: linear-gradient(
            90deg,
            rgba(251, 205, 50, 1),
            rgba(255, 129, 71, 1)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.5;
}

.star.overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.star.overlay.partial {
    width: 0;
    background: linear-gradient(
            90deg,
            rgba(251, 205, 50, 1),
            rgba(255, 129, 71, 1)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-close-form-modal {
    border-radius: 5px;
    background: #e9e9e7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    color: #464646;
    margin: 0 10px;
    border: none;
    gap: 5px;
    font-size: 16px;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background: #464646;
}

.nav-link {
    font-size: clamp(14px, 2vw, 16px);
}

.content-btn-checkout-course-container {
    /*display: none;*/
}

.content--info-item {
    margin-bottom: 15px;
}

.modal-dialog-checkout {
    min-width: 900px;
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* CSS rules for xs */
    .modal-dialog-checkout {
        min-width: 100%;
        padding: 10px;
    }

    .course-comparison--course-container {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .course-comparison--course-info {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 0.4rem;
    }

    .course-comparison--comparison-content {
        align-items: center;
        flex: 4;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-left: 6.7rem;
    }

    .course-comparison--price-text-container {
        align-items: center;
        flex-basis: 100%;
        flex-direction: revert;
        margin-top: 0.4rem;
    }

    .course-comparison--num-students {
        margin: 0 0.8rem;
    }

    .course-comparison--discount-price {
        margin: 0 0.4rem 0.2rem 0;
    }


    .dot {
        display: none;
    }

    .course__content--link {
        display: none;
    }

    .nav.nav-pills {
        gap: 10px !important;
    }

    .nav-link {
        padding: 10px;
    }

    .course-info-items {
        flex-direction: column;
        gap: 10px !important;
    }

    .content-video--desc {
        padding: 10px;
    }

    .content--teacher-desc {
        gap: 10px !important;
        justify-content: space-between;
    }

    .course--content-subscriber {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0;
    }

    .course--content-detail {
        padding: 0;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
        margin-bottom: 65px;
    }

    .course--content-video {
        width: 100%;
    }

    .course--content-mp4 {
        height: 200px;
    }

    .course--content--teacher {
        flex-direction: column;
    }

    .teacher-tag-name {
        padding: 5px 10px;
    }

    .teacher-evaluate-number {
        font-size: 14px;
    }

    .introduce__instructors--content {
        grid-template-columns: repeat(1, 1fr);
    }

    .course__content--info,
    .course__content--link {
        font-size: 14px;
        margin-bottom: 0;
    }

    .faq-question-info,
    .introduce__instructors--job,
    .info-teacher-detail {
        font-size: 12px;
    }

    .faq-question-number {
        font-size: 10px;
    }

    .answer-tutorial-title {
        font-size: 9px;
    }

    .answer-tutorial-preview {
        font-size: 8px;
    }

    .answer-tutorial-time {
        font-size: 8px;
    }

    .introduce__instructors--image {
        width: 100px;
        height: 100px;
    }

    .introduce__instructors--name {
        font-size: 22px;
    }

    .introduce__instructors--list {
        gap: 0;
    }

    .instructors--student--desc {
        font-size: 12px;
    }

    .content-cart-wrapper {
        /*display: none;*/
    }

    .course--content-btn {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    .content-btn-checkout-course-container {
        width: 100%;
        /*display: none;*/
    }

    .course--content-btn {
        padding: 0 10px;
    }

    .content-btn-bookmark {
        padding: 6px 10px;
    }

    .video__course--content {
        margin: 90px 0 180px
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* CSS rules for sm */
    .modal-dialog-checkout {
        min-width: 100%;
        padding: 10px;
    }

    .content-price-cost {
        font-size: 15px;
    }

    .teacher-tag-name {
        padding: 8px 16px;
    }

    .teacher-evaluate-number {
        font-size: 12px;
    }

    .course__content--info,
    .course__content--link {
        font-size: 12px;
    }

    .faq-question-info,
    .introduce__instructors--job,
    .info-teacher-detail {
        font-size: 14px;
    }

    .faq-question-number {
        font-size: 12px;
    }

    .answer-tutorial-title {
        font-size: 12px;
    }

    .answer-tutorial-preview {
        font-size: 10px;
    }

    .answer-tutorial-time {
        font-size: 10px;
    }

    .introduce__instructors--image {
        width: 75px;
        height: 85px;
    }

    .introduce__instructors--name {
        font-size: 20px;
    }

    .introduce__instructors--list {
        gap: 0;
    }

    .instructors--student--desc {
        font-size: 12px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* CSS rules for md */
    .modal-dialog-checkout {
        min-width: 700px;
        padding: 10px;
    }

    .course--content-video {
        padding-right: 0;
    }

    .video__course--content {
        margin: 100px 0 210px;
    }

    .answer-tutorial-title {
        font-size: 17px;
    }

    .course--content-subscriber {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0;
    }

    .course--content-video {
        width: 100%;
    }

    .course--content-mp4 {
        height: 400px;
    }

    .course--content--teacher {
        flex-direction: column;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* CSS rules for lg */
    .course--content-subscriber {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0;
    }

    .video__course--content {
        margin: 80px 0 260px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* CSS rules for xl */
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    /* CSS rules for xxl */
}