.checkout-page {
    margin-top: 40px;
}

.checkout-top-content {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.checkout-top-left {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    padding: 8px 26px;
    width: 50%;
}

.check-sub-title {
    font-size: 14px;
}

.payment-select-div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-select-div img {
    width: 90px;
}

.check-out-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

.check-out-form input {
    padding: 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.check-out-form label {
    font-size: 14px;
}

.expire-div {
    display: flex;
    gap: 16px;
}

.expire-div-1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-div {
    display: flex;
    gap: 10px;
}

.confirm-btn {
    background: #2f2483;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.checkout-top-right {
    background: #efedfe;
    width: 35%;
    padding: 8px 24px;
    border-radius: 8px;
    height: 450px;
}

.course-price-div {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #5b5b5b;
    padding: 12px 0px;
}

.course-img-wrp {
    position: relative;
    width: 120px;
    height: 70px;
}

.course-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: none;
}

.play-cs-icon {
    color: #2f2483;
    font-size: 10px;
}

.course-img-wrp img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.course-det-wrp {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    font-family: "Roboto", sans-serif;
}

.intro {
    font-size: 14px;
}

.desc {
    color: #5b5b5b;
    font-size: 14px;
}

.sub-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0px;
    border-bottom: 1px solid #5b5b5b;
    color: #5b5b5b;
}

.total-price {
    display: flex;
    justify-content: space-between;
    padding: 12px 0px;
    border-bottom: 1px solid #5b5b5b;
}

.checkout-bottom-content {
    padding: 50px 0px;
}

.course_modal_booking_wrappper {
    width: 100%;
    height: 100vh;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course_modal_booking_div {
    width: 700px;
    border-radius: 20px;
    background-color: #fff;
    min-height: 70vh;
    z-index: 9999;
    padding: 50px 0;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.course_modal_booking_div img {
    width: 250px;
}

.course_modal_booking_div h4 {
    font-size: 25px;
}

.course_modal_booking_div h6 {
    font-size: 15px;
}

.star_rating_wrapper4566 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    color: #2f2483;
}

.star_rating_wrapper4566 i:last-child {
    color: #5b5b5b;
}

.course_modal_booking_div button {
    width: 300px;
    display: block;
    margin-inline: auto;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 0;
    border-radius: 5px;
    border: none;
    background-color: #2f2483;
    color: #fff;
}

.not_active {
    display: none;
}

.course_modal_booking_wrappper.active {
    display: flex;
}

@media (max-width: 992px) {
    .checkout-top-content {
        flex-direction: column;
        align-items: center;
    }

    .checkout-top-left,
    .checkout-top-right {
        width: 90%;
    }

    .checkout-top-right {
        margin-top: 30px;
    }

    .course-img-wrp {
        width: 100px;
        height: 60px;
    }

    .confirm-btn {
        width: 100%;
    }

    .check-title {
        font-size: 22px;
    }

    .check-out-form input {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .course_modal_booking_div {
        width: 95%;
        padding: 40px;
    }

    .course_modal_booking_div h4 {
        text-align: center;
    }

    .course_modal_booking_div h6 {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .course_modal_booking_div button {
        width: 150px;
    }

    .checkout-top-content {
        gap: 20px;
    }

    .checkout-top-left,
    .checkout-top-right {
        width: 100%;
        padding: 16px;
    }

    .payment-select-div img {
        width: 60px;
    }

    .check-title {
        font-size: 20px;
    }

    .check-out-form label {
        font-size: 13px;
    }

    .expire-div {
        flex-direction: column;
        gap: 12px;
    }

    .check-div p {
        font-size: 12px;
    }

    .course-img-wrp {
        width: 90px;
        height: 60px;
    }

    .course-det-wrp span {
        font-size: 12px;
    }

    .sub-total span,
    .total-price span {
        font-size: 13px;
    }

    .checkout-bottom-content {
        padding: 30px 0;
    }

    .confirm-btn {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .course_modal_booking_div img {
        width: 150px;
    }
    .course_modal_booking_div {
        padding: 10px;
    }
}

@media (max-width: 400px) {
    .check-title {
        font-size: 18px;
    }

    .check-out-form input {
        font-size: 12px;
    }

    .confirm-btn {
        font-size: 13px;
    }

    .course-img-wrp {
        width: 80px;
        height: 50px;
    }

    .course-det-wrp span {
        font-size: 11px;
    }

    .payment-select-div img {
        width: 50px;
    }
    .course_modal_booking_div h4 {
        font-size: 20px;
    }
}
