.learndash-wrapper .ld-course-status, .learndash-wrapper.learndash-wrapper--topic .ld-progress {
    box-shadow: var(--gx-card-shadow) !important;
    margin-bottom: 0 !important;
    background: var(--gx-card-bg) !important;
    border: 1px solid var(--gx-card-border) !important;
    border-radius: var(--gx-card-radius) !important;
    padding: 20px 24px !important;
}

.learndash-wrapper .bb-learndash-content-wrap>div, .learndash-wrapper.learndash-wrapper--topic .ld-progress {
    margin-bottom: 30px!important;
}

.learndash-wrapper .ld-progress-bar-percentage {
    height: 100% !important;
    background: var(--gx-primary) !important;
    border-radius: var(--gx-radius-full) !important;
    transition: width 0.4s !important;
}

.learndash-wrapper .ld-progress-bar {
    height: 8px !important;
    background: rgb(226, 232, 240) !important;
    border-radius: var(--gx-radius-full) !important;
}

.learndash-wrapper .ld-progress-percentage {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--gx-primary) !important;
}

.ld-item-list-actions {
  display: none !important;
}

.learndash_post_sfwd-courses .learndash-wrapper .ld-tabs,
.learndash_post_sfwd-topic .learndash-wrapper .ld-tabs {
    box-shadow: var(--gx-card-shadow)
0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04)
 !important;
    margin-bottom: 20px !important;
    background: var(--gx-card-bg) !important;
    border: 1px solid var(--gx-card-border) !important;
    border-radius: var(--gx-card-radius) !important;
    overflow: hidden !important;
}

.learndash_post_sfwd-courses .learndash-wrapper .ld-tab-content,
.learndash_post_sfwd-topic .learndash-wrapper .ld-tab-content {
    padding: 20px 24px !important;
}

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-section-heading h2 {
  font-size: 20px !important;
}

.learndash-wrapper .ld-status-icon .ld-icon:before {
    font-size: 16px;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
    padding: 18px 24px 20px;
    border: 1px solid #e9ddff;
    border-radius: var(--gx-radius-lg)!important;
    background: #fbf8ff!important;
    box-shadow: 0 1px 4px rgba(124, 58, 237, 0.06);
}

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .btn-join,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) #btn-join {
  padding: 12px 24px !important;
  border-radius: var(--gx-radius-md) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  border: 1px solid transparent !important;
  background: var(--gx-primary-contrast) !important;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .btn-join:hover,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) #btn-join:hover{
    text-decoration: none;
    background-color: var(--bb-primary-button-background-hover)!important;
    color: var(--bb-primary-button-text-hover)!important;
    border-color: var(--bb-primary-button-border-hover)!important;
}

.bb-course-volume-list li i {
    width: 18px !important;
    color: var(--gx-primary) !important;
    flex-shrink: 0 !important;
}

.bb-learndash-content-wrap {
    padding-top: 30px!important;
}

.learndash-wrapper .ld-icon.ld-icon-checkmark:before {
    font-family: "bb-icons";
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_button, .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2 {
    text-align: center;
}

.wpProQuiz_questionList label {
    font-size: 16px;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) label.is-selected,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) label:focus-within {
    border-color: var(--bb-primary-button-border-hover)!important;
}

@media screen and (min-width: 800px) {
    .bb-grid .bb-learndash-content-wrap {
        padding-right: 2%;
    }
}

/* Onboarding back button — sits on the dark course banner */
.gx-onboarding-back-btn {
    display: inline-block;
    align-items: center;
    gap: 6px;
    padding: 1px 15px 1px 10px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: normal;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    /* border: 1px solid rgba(255, 255, 255, 0.35); */
    border-radius: var(--gx-radius-md, 8px);
    text-decoration: none !important;
    transition: var(--gx-transition, all 0.2s ease);
    white-space: nowrap;
}

.gx-onboarding-back-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff !important;
}

.gx-onboarding-back-btn i {
    font-size: 12px;
}
