/**
 * LD Dashboard Core Styles
 *
 * Base styles, CSS variables, layout, and common components.
 *
 * @package Ld_Dashboard
 * @since 7.5.0
 */

:root {
   --ld-white-bg: #fff;
   --ld-border-radius: 12px;
   --ld-border-radius-8: 8px;
   --ld-border-radius-10: 10px;
   --ld-border-radius-15: 15px;
   --ld-border-radius-20: 20px;
   --ld-border-color: #dcdfe5;
   --ld-border-color2: #2067FA;
   --ld-primary-color: #156AE9;
   --ld-hover_color: #1d76da;
   --ld-text_color: #515b67;
   --ld-background: #F2F6F9;
   --ld-background2: #FAF9F4;
   --ld-heading-color: #2E353C;
   --ld-grey-color: #868E96;
   --ld-box-shadow: 0 0 40px 0 rgba(94, 92, 154, .08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    text-decoration: none !important;
}


/* Prevent theme off-screen elements (fixed menus, cart widgets) from causing
   horizontal scroll when the dashboard is displayed. */
body:has(.ld-dashboard-main-wrapper) {
    overflow-x: hidden;
}

/* LearnDash Dashboard */

.ld-flex-wrap {
    display: flex;
    gap: 25px;
}

.ld-flex-wrap-center {
    align-items: center;
}

.ld-dashboard-pd15 {
    padding: 15px;
}

.ld-dashboard-pd20 {
    padding: 20px;
}

.ld-dashboard-pd30 {
    padding: 30px;
}

.ld-dashboard-content .ld-dashboard-button-primary {
    padding: 15px 25px;
    display: inline-block;
    line-height: 1;
    color: #fff;
    font-size: 15px;
    margin-top: 10px;
    border-radius: var(--ld-border-radius);
}

.ld-dashboard-main-wrapper a {
    text-decoration: none;
}

.ld-dashboard-content-wrapper {
    width: 100%;
    display: flex;
    background: #fbfcff;
    border: 1px solid #e7e9ee;
    border-top: 0;
    border-radius: 0 0 var(--ld-border-radius) var(--ld-border-radius);
    overflow-x: hidden;
}

.ld-dashboard-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin: 0;
    max-width: 100%;
}

#ld-dashboard-profile {
    margin: 20px 15px 20px 15px;
    background: var(--ld-white-bg);
    border-radius: var(--ld-border-radius-15);
    border: 1px solid var(--ld-border-color);
    padding-bottom: 10px;
}

.ld-dashboard-copy-join-link-message {
    opacity: 0;
}

.ld-dashboard-copy-join-link-message.show-msg {
    opacity: 1;
}

.ld-dashboard-sidebar-left {
    width: 100%;
    padding: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    padding-left: 0;
    max-width: 25%;
}

.ld-dashboard-sidebar-right {
    width: 100%;
    padding: 0;
    max-width: 100%;
}

.acf-taxonomy-field .ldd-custom-zindex {
    z-index: 23;
}

.ld-dashboard-content {
    margin-bottom: 20px;
    padding: 20px;
    padding-left: 10px;
    margin: 0;
    width: 100%;
    max-width: 78%;
}

.ld-dashboard-content-wrapper.ld-live-feed-enabled .ld-dashboard-content {
    padding: 0;
    max-width: 100%;
}

.ld-dashboard-zoom-api-status.zoom-api-active {
    color: green;
}

.ld-dashboard-zoom-api-status.zoom-api-inactive {
    color: #ff0000e6;
}

.ld-dashboard-profile-summary:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #3a3a46;
    opacity: 0.6;
}

.ld-dashboard-landing-content {
    position: relative;
    z-index: 99;
    padding: 10px 0 0;
}

.ld-dashboard-landing-text {
    color: #fff;
    font-size: 20px;
    text-align: left;
}

.ld-dashboard-profile-summary {
    position: relative;
    text-align: center;
    padding: 60px 25px;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/ld-dashboard-cover.jpg);
    border-radius: var(--ld-border-radius) var(--ld-border-radius) 0 0;
    overflow: hidden;
}

.ld-dashboard-profile-summary .ld-dashboard-profile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    position: relative;
    z-index: 1;
    -webkit-align-items: center;
    flex-wrap: wrap;
    -o-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

.ld-dashboard-profile-summary .ld-dashboard-profile-info {
    flex: 1;
    flex-grow: 1;
    text-align: left;
    padding: 15px 20px;
}

.ld-dashboard-profile-avatar {}

.ld-dashboard-profile-avatar img {
    width: 90px;
    height: 90px;
    border-radius: var(--ld-border-radius);
    object-fit: cover;
}

.ld-dashboard-display-name {
    margin-bottom: 5px;
}

.ld-dashboard-profile-summary .ld-dashboard-display-name h4 {
    font-size: 25px;
    color: #fff;
    font-weight: normal;
    line-height: 25px;
    margin: 0;
}

.ld-dashboard-profile-summary .ld-dashboard-display-name h4 strong {
    color: #fff;
}

.ld-dashboard-profile-email {
    color: #fff;
    font-size: 15px;
}

.ld-dashboard-social-media-url {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.ld-dashboard-social-media-url a.ld-social-media-link {
    display: block;
    max-width: 22px;
    margin-right: 8px;
    width: 100%;
    transition: all 0.3s;
}

.ld-dashboard-social-media-url a.ld-social-media-link:hover {
    opacity: 0.8;
}

.ld-dashboard-header-button .ld-dashboard-add-course {
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    border-radius: var(--ld-border-radius);
    line-height: 1.4;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    overflow: hidden;
    text-transform: capitalize;
}

.ld-dashboard-profile .ld-dashboard-header-button .ld-dashboard-add-course span.ldd-icons.ldd-icon-add-line,
.ld-dashboard-profile .ld-dashboard-header-button .ld-dashboard-add-course span.ldd-icons.ldd-icon-account-circle-line {
    font-size: 24px;
}

.ld-dashboard-add-course img {
    width: 18px;
    filter: brightness(0) invert(1);
    margin-right: 8px;
}

.ld-dashboard-location .ld-dashboard-left-panel,
.ld-dashboard-location .ld-dashboard-left-panel ul {
    margin: 0 !important;
    padding: 0 0 0 !important;
    list-style: none !important;
}

.ld-dashboard-location .ld-dashboard-left-panel ul.ld-dashboard-panel-menu {
    padding: 0 10px !important;
}

.ld-dashboard-location .ld-dashboard-left-panel li {
    margin: 0 0 2px;
    padding: 0;
}

.ld-dashboard-left-panel.ld-dashboard-menu-panel-item .ld-dashboard-menu-divider-label.ld-dashboard-label-color.is-open::after {
    transform: rotate(3.142rad) !important;
    top: 31% !important;
    right: 16px !important;
}


/*Show More Menu*/

.ld-dashboard-menu-tab.ld-dashboard-show-more-wrapper {
    margin: 10px -10px 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ld-dashboard-menu-tab.ld-dashboard-show-more-wrapper:after,
.ld-dashboard-menu-tab.ld-dashboard-show-more-wrapper:before {
    height: 1px;
    background: var(--ld-border-color);
    width: 30%;
    content: "";
}

span.ld-dashboard-show-more-item {
    width: 50%;
}

.ld-dashboard-show-more-wrapper a.ld-dashboard-show-more-button {
    display: inline-block;
    border: 1px solid var(--ld-border-color);
    border-radius: 100px;
    padding: 8px 15px;
    line-height: 1;
    font-size: 13px;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

.ld-dashboard-show-more-wrapper a.ld-dashboard-show-more-button:hover {
    background: var(--ld-border-color);
}

.ld-dashboard-edit-remove-link-action {
    display: flex;
    align-items: center;
    position: absolute;
    right: 40px;
    top: 18px;
    font-size: 20px;
    font-weight: normal;
    gap: 5px;
    transition: all 0.3s;
    border-right: 1px solid #ccc;
    line-height: 20px;
}

.ld-dashboard-quizzes-builder-wrapper .ld-dashboard-quizzes-builder-content .ld-dashboard-edit-remove-link-action {
    right: 10px;
    border: none;
    top: 15px;
}

.ld-dashboard-course-builder-wrapper .ld-dashboard-course-builder-lesson:hover .ld-dashboard-edit-wrapper.ld-dashboard-course-lesson-edit a {
    color: var(--ld-primary-color);
}

.ld-dashboard-course-builder-wrapper .ld-dashboard-course-builder-lesson .ld-dashboard-lesson-builder-wrapper .ld-dashboard-course-lesson-builder-topic-single:hover .ld-dashboard-edit-remove-link-action,
.ld-dashboard-course-builder-wrapper .ld-dashboard-course-builder-lesson .ld-dashboard-lesson-builder-wrapper .ld-dashboard-course-lesson-builder-quiz-single:hover .ld-dashboard-edit-remove-link-action {
    display: flex;
}

.ld-dashboard-remove-wrapper {
    display: block !important;
    font-weight: normal;
    cursor: pointer;
    color: #e01515e0;
    transition: all 0.3s;
    line-height: 1;
}

.ld-dashboard-share-steps-dropper {
    margin: 20px 0 5px;
    text-align: center;
    border: 2px dashed var(--ld-border-color);
    font-weight: 500;
    border-radius: var(--ld-border-radius);
    padding: 15px;
    font-size: 15px;
}

.ld-dashboard-single-wrap.ld-dashboard-course-lesson-builder-topic-single .ld-dashboard-course-lesson-topic-remove,
.ld-dashboard-single-wrap.ld-dashboard-course-lesson-builder-quiz-single .ld-dashboard-course-lesson-quiz-remove {
    top: 14px;
    right: 25px;
}

.ld-dashboard-share-course-toggle.dashicons-arrow-up,
div.ld-dashboard-share-toggle-content {
    display: none;
}

.ld-dashboard-location ul li a {
    display: flex;
    padding: 10px 16px 13px;
    font-size: 15px;
    align-items: center;
    text-decoration: none !important;
    line-height: 14px;
    border-radius: var(--ld-border-radius);
}

.ld-dashboard-location .ld-dashboard-left-panel .ld-dashboard-menu-icon {
    margin-right: 5px;
    width: 25px;
}

.ld-dashboard-location .ld-dashboard-left-panel .ld-dashboard-menu-icon span.ldd-icons {
    font-size: 23px;
}

.ld-dashboard-location .ld-dashboard-left-panel .ld-dashboard-menu-icon span.ldd-icons.ldd-icon-bullhorn,
.ld-dashboard-location .ld-dashboard-left-panel .ld-dashboard-menu-icon span.ldd-icons.ldd-icon-puzzle-piece {
    font-size: 20px;
}

.ld-dashboard-location .ld-dashboard-left-panel .ld-dashboard-menu-icon span.ldd-icons.ldd-icon-puzzle-piece {
    padding-left: 2px;
}

.ld-dashboard-location .ld-dashboard-left-panel .ld-dashboard-menu-icon [class^="ldd-icon-"]:before,
.ld-dashboard-location .ld-dashboard-left-panel .ld-dashboard-menu-icon [class*=" ldd-icon-"]:before {
    margin: 0;
}

.ld-dashboard-location .ld-dashboard-menu-icon img {
    width: 100%;
}

.ld-dashboard-location ul li a:hover {
    background-color: #F2F4F9;
}

.ld-dashboard-location ul li a:hover img {
    filter: invert(42%) sepia(50%) saturate(1352%) hue-rotate(203deg) brightness(119%) contrast(119%);
}

.ld-dashboard-location li.ld-dashboard-menu-tab.ld-dashboard-active a.ld-focus-menu-link {
    background-color: #F2F4F9;
    transition: all 0.3s;
    margin-bottom: 2px;
}

.ld-dashboard-share-course-steps-wrapper {
    background: var(--ld-white-bg);
    padding: 15px 25px 30px;
    border-radius: var(--ld-border-radius);
    box-shadow: 0 0 0 0 rgb(94 92 154 / 5%);
}

.ld-dashboard-location li.ld-dashboard-menu-tab.ld-dashboard-active a.ld-focus-menu-link span img {
    filter: brightness(0) invert(1);
}

form.ld-course-filter-form {
    display: flex;
    flex-flow: wrap;
    margin: 0 -5px 15px;
    position: relative;
    z-index: 1;
}

form.ld-course-filter-form .ld-dashboard-courses,
form.ld-course-filter-form .ld-dashboard-students,
form.ld-course-filter-form input[type="submit"] {
    flex: 1;
    margin: 0 5px;
}

form.ld-course-filter-form .ld-dashboard-courses .select2-container.select2-container,
form.ld-course-filter-form .ld-dashboard-students .select2-container.select2-container {
    width: 100% !important;
}

.live-course-activity form.ld-course-filter-form input.btn-search-activity {
    font-size: 15px;
    position: relative;
    flex: unset;
    line-height: 1;
    border: none;
    margin: 0 5px;
    padding: 12px 25px;
    border-radius: var(--ld-border-radius);
}

h3.ld-dashboard-feed-title {
    margin: 0 0 20px !important;
    line-height: 1;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 20px;
    color: var(--ld-heading-color);
}

.ld-dashboard-feed .activity-item {
    display: block;
    margin: 15px 0;
    padding: 15px;
    background: var(--ld-white-bg);
    border-left: 3px solid #84c1be;
    border-radius: var(--ld-border-radius);
    position: relative;
}

.ld-dashboard-feed .activity-item {
    border-left: 3px solid #a31dda !important;
}

.ld-dashboard-feed .activity-item.lesson {
    border-left: 3px solid #1ddad1 !important;
}

.ld-dashboard-feed .activity-item p {
    margin: 0 0;
    line-height: 1.4;
}

div#ld-dashboard-feed {
    padding-left: 30px;
    position: relative;
}

div#ld-dashboard-feed:before {
    content: "";
    background: #dcdfe5;
    height: 100%;
    width: 1px;
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
}

.ld-dashboard-feed .activity-item:before {
    content: "";
    background: #1dda83;
    height: 11px;
    width: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: -25px;
    top: 10px;
    transform: translateX(-50%);
    box-shadow: 0 2px 3px rgb(58 46 68 / 8%);
}

.ld-dashboard-feed .activity-item i {
    color: #999;
    font-size: 80%;
    text-transform: capitalize;
    font-style: normal;
}

p.ld-dashboard-report-pager-info {
    text-align: right;
    text-transform: capitalize;
}

.ld-dashboard-report-pager-info button.ld-dashboard-button {
    display: inline-block;
    border-radius: var(--ld-border-radius);
    background-color: #fff;
    box-shadow: 0 0 40px 0 rgba(94, 92, 154, 0.08);
    font-size: 0;
    padding: 0px 8px;
    height: 38px;
    font-weight: bold;
    color: #153045;
    transition: all 0.3s;
    border: none;
    width: 38px;
    cursor: pointer;
}

.ld-dashboard-report-pager-info button.ld-dashboard-button.next::before,
.ld-dashboard-report-pager-info button.ld-dashboard-button.last::before,
.ld-dashboard-report-pager-info button.ld-dashboard-button.last::after {
    display: inline-block;
    content: '\e809';
    font-family: 'ldd-icons';
    font-size: 14px;
}

.ld-dashboard-report-pager-info button.ld-dashboard-button.first::before,
.ld-dashboard-report-pager-info button.ld-dashboard-button.first::after,
.ld-dashboard-report-pager-info button.ld-dashboard-button.prev::after {
    display: inline-block;
    content: '\e808';
    font-family: 'ldd-icons';
    font-size: 14px;
}

[dir='rtl'] .ld-dashboard-report-pager-info button.ld-dashboard-button.next::before,
[dir='rtl'] .ld-dashboard-report-pager-info button.ld-dashboard-button.last::before,
[dir='rtl'] .ld-dashboard-report-pager-info button.ld-dashboard-button.last::after {
    transform: rotate(180deg);
}

[dir='rtl'] .ld-dashboard-report-pager-info button.ld-dashboard-button.first::before,
[dir='rtl'] .ld-dashboard-report-pager-info button.ld-dashboard-button.first::after,
[dir='rtl'] .ld-dashboard-report-pager-info button.ld-dashboard-button.prev::after {
    transform: rotate(180deg);
}

button.ld-dashboard-button.next {
    margin: 0 7px;
}

button.ld-dashboard-button.prev {
    margin: 0 7px;
}

.ld-dashboard-activity-empty {
    background: #fbeded;
    width: 100%;
    padding: 8px 15px;
    border-left: 4px solid #eb0000;
    color: #eb0000 !important;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    margin-left: -27px;
}

.ld-dashboard-course-report .ld-dashboard-courses {
    margin-bottom: 12px;
}

.ld-dashboard-course-loader.ld-dashboard-course-loader-hide {
    display: none;
}

.ld-dashboard-menu-divider {
    position: relative;
    height: 5px;
    width: 100%;
    overflow: hidden;
    z-index: 9;
}

.ld-dashboard-left-panel .ld-dashboard-menu-divider:after {
    content: "";
    position: absolute;
    top: -5px;
    left: 5%;
    width: 90%;
    height: 100%;
    border-radius: 100%/5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ld-dashboard-location .ld-dashboard-left-panel .ld-dashboard-menu-divider-label {
    padding: 15px;
    cursor: default;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: relative;
    cursor: pointer;
    color: #000;
}

.ld-dashboard-content .select2-container.select2-container {
    height: auto;
    min-height: 45px;
    width: 100% !important;
}

.ld-dashboard-content #ld-dashboard-email-frm .select2-container.select2-container {
    width: 100% !important;
    margin: 0;
}


/* .ld-dashboard-panel-menu {
  display: none;
} */

ul.ld-dashboard-panel-menu li {
    display: none;
}

.communication ul.ld-dashboard-panel-menu li,
.monetization ul.ld-dashboard-panel-menu li,
.common ul.ld-dashboard-panel-menu li {
    display: block;
}

.ld-dashboard-show-less-wrapper {
    display: none;
}

.ld-dashboard-menu-divider-label.ld-dashboard-label-color::after,
.ld-dashboard-left-panel.ld-dashboard-menu-panel-item.all.is-open .ld-dashboard-menu-divider-label.ld-dashboard-label-color::after {
    content: '\e806';
    font-family: 'ldd-icons';
    font-size: 13px;
    right: 10px;
    position: absolute;
    top: 48%;
    transform: translate(-50%, -50%);
    transition: 0.15s all;
}

#ld-dashboard-email-frm .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    margin: 0;
    padding: 0;
}

#ld-dashboard-email-frm .select2-container--default .select2-search--inline .select2-search__field {
    width: 100% !important;
    padding: 0;
    margin: 0;
    min-height: 35px;
}

.ld-dashboard-content .select2-container--default .select2-selection--multiple,
.ld-dashboard-content .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid var(--ld-border-color) !important;
    padding: 5px 10px 0 !important;
    min-height: 42px;
    border-radius: var(--ld-border-radius) !important;
}

.ld-dashboard-content .select2-container.-acf .select2-selection--multiple .select2-search__field {
    border: none !important;
    margin: 0;
    height: auto !important;
    padding: 0 !important;
}

.ld-dashboard-content .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0px;
    margin: 0;
}

.ld-dashboard-content textarea.select2-search__field[type="search"] {
    position: absolute;
    font-size: 15px !important;
    top: 10px;
}

.ld-dashboard-content .select2-container .select2-selection--multiple .select2-selection__choice {
    border: none;
    line-height: 25px;
    color: rgba(73, 80, 87);
    height: 25px;
    padding: 0 10px;
    font-weight: 500;
    font-size: 13px;
    border-radius: 5px;
    cursor: default;
    user-select: none;
    margin: calc(3px) calc(3px);
    background-color: #eee;
}

.ld-dashboard-content .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #999;
    cursor: pointer;
    min-height: 16px;
    font-size: 1em;
    background-color: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    margin-right: 0 !important;
    font-weight: bold;
    padding-right: 0 !important;
    position: unset;
    left: 0;
    top: 0;
}

.ld-dashboard-content .select2-container--default .select2-selection--multiple .select2-selection__clear {
    position: absolute;
    right: -6px;
}

.ld-dashboard-content .select2-container.-acf .select2-container .select2-search--inline .select2-search__field {
    margin-top: 0;
}

.ld-dashboard-content .select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-search .select2-search__field {
    min-height: 25px;
}

#ld-dashboard-email-frm .ld-email-course-students label {
    margin-bottom: 10px;
    display: block;
    display: flex;
    align-items: center;
    gap: 10px;
}

#ld-dashboard-email-frm .ld-email-course-students label input#ld-email-course-students-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.wbcom-ld-dashboard .ld-dashboard-content .select2-container--default .select2-selection--single {
    border: none !important;
    border-radius: var(--ld-border-radius);
    padding: 0 !important;
    background-color: var(--ld-white-bg);
    height: 45px;
}

.ld-dashboard-content .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px;
}

.ld-dashboard-email-content .select2-container .select2-selection--single {
    height: 52px;
}


/* Fix: select2 dropdown wrapper is positioned at the container top instead of bottom,
   causing a 45px overlap (the container height). Push the --below dropdown down. */
.select2-container--open .select2-dropdown.select2-dropdown--below {
    top: 45px;
}

/* Fix: Select2 dropdown (z-index: 1051) overlaps sticky site headers.
   Lower to 100 — above page content but below typical sticky headers (z-index: 999+). */
.select2-container--open .select2-dropdown {
    z-index: 100;
}

.select2-container.-acf .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
    margin-right: 5px;
    padding-right: 8px !important;
}

span#ld-dashboard-new-announcements-span {
    margin-left: 5px;
    color: #fff;
    font-size: 13px;
    padding: 0 6px;
    line-height: 18px;
    border-radius: 30px;
    text-align: center;
}

li.ld-dashboard-menu-tab.ld-dashboard-active span#ld-dashboard-new-announcements-span {
    background: #dcdfe5;
}

.ld-dashboard-announcement-single.ld-unread-announcement .ld-dashboard-announcement-single-title {
    font-weight: bold;
}


/*Edit-Lesson-Topic-Form*/

.ld-dashboard-course-builder-wrapper .ld-dashboard-course-builder-lesson .ld-dashboard-course-builder-lesson-title span.row-actions {
    opacity: 0;
    cursor: pointer;
}

.ld-dashboard-course-builder-wrapper .ld-dashboard-course-builder-lesson .ld-dashboard-course-builder-lesson-title:hover span.row-actions {
    opacity: 1;
}

.ld-dashboard-course-builder-wrapper .ld-dashboard-update-lesson-form .ld-dashboard-update-button-wrap,
.ld-dashboard-single-wrap.ld-dashboard-course-builder-lesson.ui-sortable-handle.ldd-active-lesson.ld-dashboard-course-builder-update-edit-form .ld-dashboard-update-lesson-form {
    display: flex;
    align-items: center;
}

.ld-dashboard-course-builder-wrapper .ld-dashboard-update-lesson-form {
    display: flex;
}

.ld-dashboard-course-builder-update-edit-form .ld-dashboard-update-button-wrap input.is-primary,
.ld-dashboard-course-builder-update-edit-form .ld-dashboard-update-button-wrap input.is-default,
.ld-dashboard-course-builder-section-wrap .ld-dashboard-update-section-form input.is-primary,
.ld-dashboard-course-builder-section-wrap .ld-dashboard-update-section-form input.is-default {
    padding: 9px 18px !important;
    border-radius: var(--ld-border-radius);
    cursor: pointer;
    font-size: 15px;
    margin-left: 8px;
    border: none;
}

.ld-dashboard-single-wrap.ld-dashboard-course-builder-update-edit-form .ld-dashboard-course-builder-lesson-title {
    padding-right: 15px !important;
}

.ld-dashboard-course-builder-update-edit-form span.ld-dashboard-update-button-wrap {
    position: relative;
    display: flex;
    z-index: 99;
}

.ld-dashboard-course-builder-update-edit-form input[type="text"] {
    height: 35px !important;
}

.ld-dashboard-single-wrap.ld-dashboard-course-builder-update-edit-form .ld-dashboard-accordian.ld-dashboard-accordian-closed {
    display: none;
}

.ld-dashboard-course-lesson-builder-topic-single .ld-dashboard-course-builder-topic-title {
    padding-right: 0;
}

.ld-dashboard-course-lesson-builder-topic-single .ld-dashboard-course-builder-topic-title .ld-dashboard-update-topic-form {
    display: flex;
}

.ld-dashboard-single-wrap.ld-dashboard-course-builder-update-edit-form .ld-dashboard-edit-remove-link-action {
    display: none !important;
}

.ld-dashboard-single-wrap.ld-dashboard-course-builder-lesson span.row-actions {
    cursor: pointer;
}


/* LearnDash Dashboard Tiles Options */

.ld-dashboard-statistics-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-bottom: 20px;
}

.ld-dashboard-statistics {
    margin: 0.7%;
    padding: 5px 13px;
    border-radius: var(--ld-border-radius);
    width: 31.90%;
    border: 1px solid;
    background: var(--ld-white-bg);
}

.ld-dashboard-statistics:nth-child(even) {
    border-color: #3a3a46;
}

.ld-dashboard-statistics:nth-child(odd) {
    border-color: #3a3a46;
}

.statistics-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: unset;
    padding: 8px 0px;
    position: relative;
}

.ld-statistic-count {
    line-height: 1;
}

.learndash-instructor-earning .ld-dashboard-icons {
    max-width: 50%;
}

.statistics-inner .ld-dashboard-icons {
    width: 48px;
    border-right: 1px solid var(--ld-border-color);
    margin-right: 12px;
}

.ld-dashboard-statistics-container .ld-dashboard-icons span.ldd-icons {
    font-size: 35px;
    line-height: 1;
}

.ld-dashboard-statistics-container .ld-dashboard-icons span.ldd-icons::before {
    margin: 0;
}

h2.statistics-label {
    font-size: 15px !important;
    font-weight: normal !important;
    line-height: 1.2 !important;
    margin: 0;
    display: inline-block;
    color: #414141 !important;
}

.statistics-inner strong.learndash-statistics,
.statistics-inner strong.statistics {
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    margin-right: 0;
    color: #111;
    float: revert;
    display: block;
    right: 0;
}

.ld-dashboard-tiles-options.ld-dashboard-landing {
    margin-bottom: 20px;
    margin-top: -5px;
}

.ld-dashboard-tiles-options .ld-dashboard-statistics-container {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0 -4px;
}

.ld-dashboard-tiles-options .ld-dashboard-section-head-title {
    margin-bottom: 10px;
}

.ld-dashboard-icons img {
    width: 40px;
    filter: brightness(0) invert(1);
}

strong#earnings-usd {
    display: flex;
    gap: 3px;
    align-items: center;
}

.wbcom-ld-dashboard #acf-popup .acf-popup-box {
    border-radius: 8px;
    border: none;
}

.wbcom-ld-dashboard .acf-popup-box .acf-label {
    display: none;
}

.wbcom-ld-dashboard #acf-popup .acf-popup-box .title {
    border: none;
}

.wbcom-ld-dashboard #acf-popup .acf-popup-box .title .acf-icon {
    top: -10px;
    right: -10px;
    background: red;
    border-radius: 50px;
}


/* Mobile menu bar — hidden on desktop, shown on mobile */

.ld-dashboard-mobile {
    display: none;
}

.ld-dashboard-mobile-current-tab,
.ld-dashboard-mobile-toggle {
    display: none;
}


/* ==========================================================================
   RESPONSIVE - Dashboard Layout
   These rules MUST live in this file (not ld-dashboard-responsive.css) because
   CSS modules load after the responsive file and would override it.
   ========================================================================== */

/* Tablet */

@media (max-width: 1023px) {
    .ld-dashboard-sidebar-left {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }

    .ld-live-feed-hide .ld-dashboard-content,
    .ld-dashboard-content {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }
}

/* Mobile: sidebar becomes full-width collapsible menu above content */

@media (max-width: 767px) {
    .ld-dashboard-content-wrapper {
        display: block;
        padding: 15px;
    }

    .ld-dashboard-sidebar-left {
        margin: 0 0 15px;
        background: var(--ld-white-bg);
        border-radius: var(--ld-border-radius);
        border: 1px solid var(--ld-border-color);
        padding: 0;
        max-width: 100%;
        flex: none;
        overflow: hidden;
    }

    #ld-dashboard-profile {
        margin: 0;
        background: transparent;
        border-radius: unset;
        border: 0;
        padding: 0;
    }

    .ld-live-feed-hide .ld-dashboard-content,
    .ld-dashboard-content {
        flex: none;
        padding: 0;
        max-width: 100%;
        border: none;
    }

    /* Mobile menu bar */

    .ld-dashboard-mobile {
        display: block;
    }

    .ld-dashboard-mobile-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        gap: 12px;
    }

    .ld-dashboard-tiles-options.ld-dashboard-landing {
        margin-top: 0;
    }

    .ld-dashboard-mobile-current-tab {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
        font-size: 15px;
        font-weight: 600;
        color: var(--ld-heading-color);
    }

    .ld-dashboard-mobile-current-tab .ldd-icons {
        font-size: 20px;
        flex-shrink: 0;
    }

    .ld-dashboard-mobile-current-tab span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ld-dashboard-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: var(--ld-border-radius-8);
        border: 1px solid var(--ld-border-color);
        background: var(--ld-white-bg);
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s;
    }

    .ld-dashboard-mobile-toggle:hover {
        background: #f3f4f6;
    }

    .ld-dashboard-mobile-chevron {
        display: block;
        width: 10px;
        height: 10px;
        border-right: 2px solid #555;
        border-bottom: 2px solid #555;
        transform: rotate(45deg);
        margin-top: -3px;
        transition: transform 0.2s;
    }

    .ld-dashboard-sidebar-left.ld-dashboard-menu-open .ld-dashboard-mobile-chevron {
        transform: rotate(-135deg);
        margin-top: 3px;
    }

    /* Hide the full menu by default on mobile, show when toggled */

    .ld-dashboard-location {
        display: none;
        border-top: 1px solid var(--ld-border-color);
    }

    .ld-dashboard-sidebar-left.ld-dashboard-menu-open .ld-dashboard-location {
        display: block;
    }

    /* Menu sections on mobile */

    .ld-dashboard-menu-panel-wrap {
        padding: 8px 0;
    }

    .ld-dashboard-location .ld-dashboard-left-panel ul.ld-dashboard-panel-menu {
        display: block !important;
    }

    .ld-dashboard-location .ld-dashboard-left-panel li.ld-dashboard-menu-tab {
        display: block !important;
    }

    .ld-dashboard-menu-tab.ld-dashboard-show-more-wrapper {
        display: none !important;
    }

    /* Profile summary adjustments */

    .ld-dashboard-profile-summary {
        padding: 25px 15px;
    }

    .ld-dashboard-profile-summary .ld-dashboard-profile {
        justify-content: center;
    }

    .ld-dashboard-profile-summary .ld-dashboard-profile-avatar img {
        width: 80px;
        height: 80px;
    }

    .ld-dashboard-profile-summary .ld-dashboard-display-name h4 {
        font-size: 22px;
        line-height: 1.2;
    }

    .ld-dashboard-landing-text {
        font-size: 16px;
        text-align: center;
    }

    /* Statistics tiles */

    .ld-dashboard-tiles-options .ld-dashboard-statistics-container {
        margin: 0;
        justify-content: space-between;
    }

    .ld-dashboard-statistics {
        width: calc(50% - 8px);
        margin: 5px 0.5%;
    }

    .statistics-inner strong.learndash-statistics,
    .statistics-inner strong.statistics {
        font-size: 30px;
    }

    h2.statistics-label {
        font-size: 13px !important;
    }

    /* Course card thumbnails - smaller on mobile */

    .ld-mycourse-thumb {
        flex: 0 0 80px;
        height: 80px;
        font-size: 36px;
    }

    .ld-mycourse-thumbnail {
        flex: 0 0 100px;
        height: 100px;
    }

    .my-courses.ld-dashboard-enrolled-course-wrap .ld-mycourse-thumbnail {
        flex: 0 0 120px;
        height: 120px;
    }

    .ld-mycourse-content {
        padding: 10px 12px;
        min-width: 0;
    }

    /* Prevent Select2 and other form elements from overflowing */

    .ld-dashboard-content .select2-container,
    .ld-dashboard-content select,
    .ld-dashboard-content input[type="text"],
    .ld-dashboard-content input[type="search"],
    .ld-dashboard-content textarea {
        max-width: 100%;
    }
}
