@charset "UTF-8";
/**
* Styles for all page of LP
*
* @since 4.2.3
* @version 1.0.0
*/
/**
 * Mixin
 */
@-webkit-keyframes rotating4 {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
@keyframes rotating4 {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
@-webkit-keyframes animation4 {
  from {
    right: -40%;
    width: 40%;
  }
  to {
    right: 100%;
    width: 10%;
  }
}
@keyframes animation4 {
  from {
    right: -40%;
    width: 40%;
  }
  to {
    right: 100%;
    width: 10%;
  }
}
:root {
  --lp-cotainer-max-with: var(--lp-container-max-width);
}

.wp-block-group {
  --lp-container-max-width: var(--wp--style--global--wide-size);
}

*, :after, :before {
  box-sizing: border-box;
}

/*  start reset css */
body {
  background: #fff;
}

button {
  cursor: pointer;
}

.learnpress-page input[type=text],
.learnpress-page input[type=email],
.learnpress-page input[type=number],
.learnpress-page input[type=password], .learnpress-page textarea {
  border-color: var(--lp-border-color, #E2E0DB);
  -webkit-border-radius: var(--lp-border-radius, 5px);
  -moz-border-radius: var(--lp-border-radius, 5px);
  border-radius: var(--lp-border-radius, 5px);
}
.learnpress-page input[type=text]:focus,
.learnpress-page input[type=email]:focus,
.learnpress-page input[type=number]:focus,
.learnpress-page input[type=password]:focus, .learnpress-page textarea:focus {
  outline: none;
  border-color: var(--lp-primary-color, #ffb606);
}
.learnpress-page .lp-button, .learnpress-page #lp-button {
  padding: 12px 24px;
  border: 1px solid var(--lp-border-color, #E2E0DB);
  color: var(--lp-color-base, #333);
  background: transparent;
  box-shadow: unset;
  font-family: inherit;
  font-weight: 400;
  text-align: center;
  text-transform: capitalize;
  -webkit-border-radius: var(--lp-border-radius, 5px);
  -moz-border-radius: var(--lp-border-radius, 5px);
  border-radius: var(--lp-border-radius, 5px);
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  -ms-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}
.learnpress-page .lp-button.large, .learnpress-page #lp-button.large {
  height: 52px;
  padding: 18px 30px;
  font-size: 1.1em;
}
.learnpress-page .lp-button:hover, .learnpress-page #lp-button:hover {
  border-color: var(--lp-primary-color);
  color: #fff;
  background: var(--lp-primary-color);
}
.learnpress-page .lp-button.btn-ajax-off .icon, .learnpress-page #lp-button.btn-ajax-off .icon {
  display: none;
}
.learnpress-page .lp-button.btn-ajax-on .icon, .learnpress-page #lp-button.btn-ajax-on .icon {
  display: inline-block;
  margin-left: 5px;
  -webkit-animation: lp-rotating 1s linear infinite;
  -moz-animation: lp-rotating 1s linear infinite;
  animation: lp-rotating 1s linear infinite;
}
.learnpress-page .lp-button:focus, .learnpress-page #lp-button:focus {
  outline: 0;
}
.learnpress-page .rwmb-field .description {
  margin-top: 8px;
  color: #999;
  font-size: smaller;
  font-style: italic;
}

input, button, select, textarea {
  outline: none;
}

/*html {
	overflow-x: hidden;
}*/
a {
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  text-decoration: none;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin: 0;
}

.lp-content-area {
  max-width: var(--lp-container-max-width) !important;
  margin: 0 auto;
  padding-left: var(--lp-cotainer-padding);
  padding-right: var(--lp-cotainer-padding);
}
.lp-content-area.learn-press-message {
  margin-bottom: 24px;
  padding-right: 15px;
  padding-left: 15px;
}

.lp-ico svg {
  width: 20px;
  height: 20px;
}

.lp-button {
  border: 1px solid var(--lp-border-color, #E2E0DB);
  border-radius: var(--lp-border-radius, 5px);
  padding: 8px 16px;
}
.lp-button.loading {
  pointer-events: none;
  opacity: 0.8;
}
.lp-button.loading:before {
  display: inline-block;
  font-family: "lp-icon";
  content: "\f110";
  animation: lp-rotating 1s linear infinite;
  margin-left: 5px;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: middle;
  margin-top: -2px;
}

.lp-hidden {
  display: none !important;
}

.course-price .origin-price {
  text-decoration: line-through;
  margin-left: 4px;
  font-size: calc(var(--lp-font-size-base, 1em) * 0.925);
  opacity: 0.6;
}

#lp-course-builder {
  display: block !important;
  min-height: 100vh;
  background: #ffffff;
  margin: 0;
  padding: 0;
}
#lp-course-builder .lp-course-builder_layout {
  display: block !important;
  width: 100%;
}
#lp-course-builder .learn-press-course-builder {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
  margin: 0;
  padding: 0;
  width: 100%;
}
#lp-course-builder .learn-press-course-builder * {
  box-sizing: border-box;
}
#lp-course-builder .lp-cb-body {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 60px);
}

.lp-cb-top-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 60px;
  background: #ffffff;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1001;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.lp-cb-top-header .lp-cb-top-header__logo {
  display: flex;
  align-items: center;
}
.lp-cb-top-header .lp-cb-top-header__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1e1e1e;
}
.lp-cb-top-header .lp-cb-top-header__logo a:hover {
  color: #1f74ff;
}
.lp-cb-top-header .lp-cb-top-header__logo .dashicons {
  font-size: 28px;
  width: 28px;
  height: 28px;
  color: #1f74ff;
}
.lp-cb-top-header .lp-cb-top-header__title {
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
}
.lp-cb-top-header .lp-cb-top-header__user {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-cb-top-header .lp-cb-top-header__user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-cb-top-header .lp-cb-top-header__user-info img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.lp-cb-top-header .lp-cb-top-header__user-name {
  font-size: 14px;
  font-weight: 500;
  color: #1e1e1e;
}
.lp-cb-top-header .lp-cb-top-header__user-link {
  font-size: 13px;
  color: #1f74ff;
  text-decoration: none;
}
.lp-cb-top-header .lp-cb-top-header__user-link:hover {
  text-decoration: underline;
}
.lp-cb-top-header .lp-cb-top-header__logout {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #f5f5f5;
  border-radius: 4px;
  transition: all 0.2s;
}
.lp-cb-top-header .lp-cb-top-header__logout:hover {
  background: #f9fafb;
  color: #ef4444;
  border-color: #ef4444;
}

#lp-course-builder-sidebar.lp-cb-sidebar {
  position: fixed !important;
  right: 0 !important;
  top: 60px !important;
  bottom: 0 !important;
  width: 260px !important;
  background: #ffffff !important;
  color: #000000 !important;
  display: flex !important;
  flex-direction: column !important;
  z-index: 1000 !important;
  overflow-y: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border-left: 1px solid #f5f5f5;
}
#lp-course-builder-sidebar.lp-cb-sidebar .lp-cb-sidebar__header {
  display: none;
}
#lp-course-builder-sidebar.lp-cb-sidebar ul.lp-cb-sidebar__nav {
  flex: 1;
  padding: 16px;
  margin: 0;
  list-style: none;
  display: block !important;
  overflow-x: visible !important;
}
#lp-course-builder-sidebar.lp-cb-sidebar ul.lp-cb-sidebar__nav li.lp-cb-sidebar__item {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block !important;
}
#lp-course-builder-sidebar.lp-cb-sidebar ul.lp-cb-sidebar__nav li.lp-cb-sidebar__item a {
  display: flex !important;
  align-items: center;
  padding: 12px 20px;
  color: #000000 !important;
  text-decoration: none;
  transition: all 0.2s ease;
  gap: 12px;
  background: transparent !important;
  border: none !important;
  border-radius: 6px !important;
  margin-top: 6px;
}
#lp-course-builder-sidebar.lp-cb-sidebar ul.lp-cb-sidebar__nav li.lp-cb-sidebar__item a:hover {
  background: #eeeeee !important;
  color: #000000 !important;
}
#lp-course-builder-sidebar.lp-cb-sidebar ul.lp-cb-sidebar__nav li.lp-cb-sidebar__item a .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  color: inherit;
}
#lp-course-builder-sidebar.lp-cb-sidebar ul.lp-cb-sidebar__nav li.lp-cb-sidebar__item a .lp-cb-sidebar__item-title {
  font-size: 15px;
  font-weight: 500;
}
#lp-course-builder-sidebar.lp-cb-sidebar ul.lp-cb-sidebar__nav li.lp-cb-sidebar__item.is-active a {
  background: #e2edff !important;
  color: #1f74ff !important;
}
#lp-course-builder-sidebar.lp-cb-sidebar ul.lp-cb-sidebar__nav li.lp-cb-sidebar__item.is-active a .dashicons {
  color: #1f74ff !important;
}
#lp-course-builder-sidebar.lp-cb-sidebar .lp-cb-sidebar__footer {
  padding: 16px 0;
  border-top: 1px solid #f5f5f5;
  margin-top: auto;
  background: #fdfdfd;
}
#lp-course-builder-sidebar.lp-cb-sidebar .lp-cb-sidebar__footer a.lp-cb-sidebar__item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #000000;
  text-decoration: none;
  gap: 12px;
  font-size: 14px;
  transition: all 0.2s;
}
#lp-course-builder-sidebar.lp-cb-sidebar .lp-cb-sidebar__footer a.lp-cb-sidebar__item:hover {
  color: #1f74ff;
}
#lp-course-builder-sidebar.lp-cb-sidebar .lp-cb-sidebar__footer a.lp-cb-sidebar__item .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

#lp-course-builder-content.lp-cb-main {
  flex: 1;
  margin-right: 260px !important;
  margin-top: 60px !important;
  min-height: calc(100vh - 60px);
  padding: 0 24px !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  width: calc(100% - 260px) !important;
}

html:has(#wpadminbar) #lp-course-builder .lp-cb-body {
  min-height: calc(100vh - 60px - 32px);
}
html:has(#wpadminbar) .lp-cb-top-header {
  top: 32px;
}
html:has(#wpadminbar) #lp-course-builder-sidebar.lp-cb-sidebar {
  top: calc(60px + 32px) !important;
}
html:has(#wpadminbar) #lp-course-builder-content.lp-cb-main {
  margin-top: calc(60px) !important;
  min-height: calc(100vh - 60px);
}

@media screen and (max-width: 782px) {
  html:has(#wpadminbar) #lp-course-builder .lp-cb-body {
    min-height: calc(100vh - 60px - 46px);
  }
  html:has(#wpadminbar) .lp-cb-top-header {
    top: 46px;
  }
  html:has(#wpadminbar) #lp-course-builder-sidebar.lp-cb-sidebar {
    top: calc(60px + 46px) !important;
  }
  html:has(#wpadminbar) #lp-course-builder-content.lp-cb-main {
    margin-top: calc(60px + 46px) !important;
    min-height: calc(100vh - 60px - 46px);
  }
}
.lp-cb-breadcrumb {
  padding: 16px 12px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
}
.lp-cb-breadcrumb .lp-cb-breadcrumb__item {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}
.lp-cb-breadcrumb .lp-cb-breadcrumb__item:hover {
  color: #1f74ff;
}
.lp-cb-breadcrumb .lp-cb-breadcrumb__item.is-current {
  color: #1e1e1e;
  font-weight: 500;
}
.lp-cb-breadcrumb .lp-cb-breadcrumb__separator {
  margin: 0 10px;
  color: #6b7280;
}

.lp-cb-header {
  position: sticky;
  top: 60px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 12px;
  background: #ffffff;
  border-bottom: 1px solid #f5f5f5;
}
.lp-cb-header .lp-cb-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-cb-header .lp-cb-header__title {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e1e1e;
}
.lp-cb-header .lp-cb-header__actions {
  display: flex;
  gap: 12px;
}
.lp-cb-header .lp-cb-header__actions .lp-button {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid #f5f5f5;
  background: #fff;
  color: #1e1e1e;
  transition: all 0.2s;
}
.lp-cb-header .lp-cb-header__actions .lp-button:hover {
  background: #f9fafb;
}
.lp-cb-header .lp-cb-header__actions .lp-button-primary,
.lp-cb-header .lp-cb-header__actions .lp-cb-save-btn {
  background: #1f74ff !important;
  border-color: #1f74ff !important;
  color: #fff !important;
}
.lp-cb-header .lp-cb-header__actions .lp-button-primary:hover,
.lp-cb-header .lp-cb-header__actions .lp-cb-save-btn:hover {
  background: #0047ba !important;
  border-color: #0047ba !important;
}

html:has(#wpadminbar) .lp-cb-header {
  top: calc(60px + 32px);
}

@media screen and (max-width: 782px) {
  html:has(#wpadminbar) .lp-cb-header {
    top: calc(60px + 46px);
  }
}
.course-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}
.course-status.publish {
  background: #dcfce7;
  color: #166534;
}
.course-status.draft {
  background: #fef3c7;
  color: #92400e;
}
.course-status.pending {
  background: #dbeafe;
  color: #1e40af;
}
.course-status.private {
  background: #f3e8ff;
  color: #6b21a8;
}
.course-status.trash {
  background: #fee2e2;
  color: #991b1b;
}

.lp-cb-tabs {
  display: flex;
  border-bottom: 1px solid #f5f5f5;
  padding: 0 12px;
  background: #ffffff;
  gap: 10;
  margin: 0;
  list-style: none;
}
.lp-cb-tabs .lp-cb-tabs__item {
  padding: 16px 24px;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s ease;
  background: transparent;
}
.lp-cb-tabs .lp-cb-tabs__item:hover {
  color: #1e1e1e;
}
.lp-cb-tabs .lp-cb-tabs__item.is-active {
  color: #1f74ff;
  border-bottom-color: #1f74ff;
}

.lp-cb-tab-content {
  padding: 0;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
}
.lp-cb-tab-content .cb-section__course-edit,
.lp-cb-tab-content .lp-course-builder-content__section {
  padding: 12px;
  background: #ffffff;
  border-radius: 0;
  min-height: auto;
}
.lp-cb-tab-content .cb-section__course-edit .cb-section__header,
.lp-cb-tab-content .lp-course-builder-content__section .cb-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #f5f5f5;
}
.lp-cb-tab-content .cb-section__course-edit .cb-section__header .cb-section__header-left,
.lp-cb-tab-content .lp-course-builder-content__section .cb-section__header .cb-section__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-section__header .cb-section__header-left .lp-cb-section__title,
.lp-cb-tab-content .lp-course-builder-content__section .cb-section__header .cb-section__header-left .lp-cb-section__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
}
.lp-cb-tab-content .cb-section__course-edit .cb-section__header .cb-section__header-left .course-status,
.lp-cb-tab-content .lp-course-builder-content__section .cb-section__header .cb-section__header-left .course-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}
.lp-cb-tab-content .cb-section__course-edit .cb-section__header .cb-section__header-left .course-status.publish,
.lp-cb-tab-content .lp-course-builder-content__section .cb-section__header .cb-section__header-left .course-status.publish {
  background: #dcfce7;
  color: #166534;
}
.lp-cb-tab-content .cb-section__course-edit .cb-section__header .cb-section__header-left .course-status.draft,
.lp-cb-tab-content .lp-course-builder-content__section .cb-section__header .cb-section__header-left .course-status.draft {
  background: #fef3c7;
  color: #92400e;
}
.lp-cb-tab-content .cb-section__course-edit .cb-section__header .cb-section__header-left .course-status.pending,
.lp-cb-tab-content .lp-course-builder-content__section .cb-section__header .cb-section__header-left .course-status.pending {
  background: #dbeafe;
  color: #1e40af;
}
.lp-cb-tab-content .cb-section__course-edit .cb-section__header .cb-section__header-action,
.lp-cb-tab-content .lp-course-builder-content__section .cb-section__header .cb-section__header-action {
  display: flex;
  gap: 10px;
}
.lp-cb-tab-content .lp-meta-box__course-tab {
  display: flex;
  gap: 24px;
}
.lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs {
  flex: 0 0 200px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid #f5f5f5;
}
.lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs li {
  margin: 0;
}
.lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs li a {
  display: block;
  padding: 12px 16px;
  color: #6b7280;
  text-decoration: none;
  border-right: 2px solid transparent;
  transition: all 0.2s;
}
.lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs li a:hover {
  color: #1e1e1e;
  background: #f9fafb;
}
.lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs li.active a,
.lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs li a.active {
  color: #1f74ff;
  background: rgba(31, 116, 255, 0.05);
  border-right-color: #1f74ff;
  font-weight: 500;
}
.lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__content {
  flex: 1;
  min-width: 0;
}

.lp-cb-footer {
  padding: 20px 0;
  border-top: 1px solid #f5f5f5;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  margin-top: auto;
}
.lp-cb-footer .lp-cb-footer__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

#lp-course-builder .lp-course-builder-content__tab {
  padding: 0 24px;
  background: #ffffff;
  border-radius: 8px;
  max-width: 100%;
}
#lp-course-builder .lp-course-builder-content__tab .lp-cb-tab__title {
  font-size: 40px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 20px 0 24px 0;
}

.lp-cb-save-btn,
#lp-course-builder .lp-button-primary {
  background: #1f74ff !important;
  border-color: #1f74ff !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-cb-save-btn:hover,
#lp-course-builder .lp-button-primary:hover {
  background: #0047ba !important;
  border-color: #0047ba !important;
}
.lp-cb-save-btn.has-changes,
#lp-course-builder .lp-button-primary.has-changes {
  position: relative;
  animation: pulse-save 2s infinite;
}
.lp-cb-save-btn.has-changes::after,
#lp-course-builder .lp-button-primary.has-changes::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
}

#lp-course-builder .cb-btn-update,
#lp-course-builder .cb-btn-preview,
#lp-course-builder .cb-btn-darft {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
#lp-course-builder .cb-btn-update.has-changes,
#lp-course-builder .cb-btn-preview.has-changes,
#lp-course-builder .cb-btn-darft.has-changes {
  position: relative;
}
#lp-course-builder .cb-btn-update.has-changes::after,
#lp-course-builder .cb-btn-preview.has-changes::after,
#lp-course-builder .cb-btn-darft.has-changes::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
}
#lp-course-builder .cb-btn-update.loading,
#lp-course-builder .cb-btn-preview.loading,
#lp-course-builder .cb-btn-darft.loading {
  opacity: 0.7;
  pointer-events: none;
}
#lp-course-builder .cb-btn-update {
  background: #1f74ff;
  color: #fff;
}
#lp-course-builder .cb-btn-update:hover {
  background: #0047ba;
}
#lp-course-builder .cb-btn-update.cb-btn-primary {
  background: #1f74ff;
  color: #fff;
}
#lp-course-builder .cb-btn-update.cb-btn-primary:hover {
  background: #0047ba;
}
#lp-course-builder .cb-btn-preview {
  border: 1px solid #e5e7eb;
  color: #1e1e1e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: #fff;
}
#lp-course-builder .cb-btn-preview:hover {
  border-color: #1f74ff;
  color: #1f74ff;
}
#lp-course-builder.cb-btn-secondary {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #1e1e1e;
}
#lp-course-builder.cb-btn-secondary:hover {
  border-color: #1f74ff;
  color: #1f74ff;
  background: #f8fafc;
}
#lp-course-builder .cb-btn-darft {
  background: #e5e7eb;
  color: #1e1e1e;
}
#lp-course-builder .cb-btn-darft:hover {
  background: #d1d5db;
}
#lp-course-builder .cb-btn-trash {
  cursor: pointer;
  font-size: 16px;
  background: transparent;
  color: #ef4444;
  padding: 10px 20px;
  border-radius: 6px;
}
#lp-course-builder .cb-btn-trash:hover {
  background: #fef2f2;
}
#lp-course-builder .cb-header-actions-dropdown {
  position: relative;
  display: inline-flex;
}
#lp-course-builder .cb-header-actions-dropdown .cb-btn-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  padding: 0;
  background: #1f74ff;
  border: 1px solid #1f74ff;
  border-right-color: #98bfe4;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
  transition: all 0.2s;
}
#lp-course-builder .cb-header-actions-dropdown .cb-btn-dropdown-toggle .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #ffffff;
  transition: transform 0.2s;
}
#lp-course-builder .cb-header-actions-dropdown .cb-btn-dropdown-toggle:hover {
  border-color: #1f74ff;
  background: #f8fafc;
}
#lp-course-builder .cb-header-actions-dropdown .cb-btn-dropdown-toggle:hover .dashicons {
  color: #1f74ff;
}
#lp-course-builder .cb-header-actions-dropdown .cb-btn-dropdown-toggle[aria-expanded=true] {
  border-color: #1f74ff;
  background: #f8fafc;
}
#lp-course-builder .cb-header-actions-dropdown .cb-btn-dropdown-toggle[aria-expanded=true] .dashicons {
  transform: rotate(-180deg);
  color: #1f74ff;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #1e1e1e;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: right;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #6b7280;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item:first-child {
  border-radius: 7px 7px 0 0;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item:last-child {
  border-radius: 0 0 7px 7px;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item:only-child {
  border-radius: 7px;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item:hover {
  background: #f8fafc;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item:hover .dashicons {
  color: #1f74ff;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item.cb-btn-danger {
  color: #ef4444;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item.cb-btn-danger .dashicons {
  color: #ef4444;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item.cb-btn-danger:hover {
  background: #fef2f2;
}
#lp-course-builder .cb-header-actions-dropdown .cb-dropdown-item.loading {
  opacity: 0.7;
  pointer-events: none;
}

.cb-header-actions-dropdown {
  position: relative;
  display: inline-flex;
}
.cb-header-actions-dropdown .cb-btn-update {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0 6px 6px 0 !important;
  background: #1f74ff;
  color: #fff;
}
.cb-header-actions-dropdown .cb-btn-update:hover {
  background: #0047ba;
}
.cb-header-actions-dropdown .cb-btn-update.cb-btn-primary {
  background: #1f74ff;
  color: #fff;
}
.cb-header-actions-dropdown .cb-btn-update.cb-btn-primary:hover {
  background: #0047ba;
}
.cb-header-actions-dropdown .cb-btn-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: auto;
  padding: 10px 0;
  background: #d0e3ff;
  border: none;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.cb-header-actions-dropdown .cb-btn-dropdown-toggle .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #1f74ff;
  transition: transform 0.2s;
}
.cb-header-actions-dropdown .cb-btn-dropdown-toggle:hover {
  background: #b8d4ff;
}
.cb-header-actions-dropdown .cb-btn-dropdown-toggle[aria-expanded=true] {
  background: #b8d4ff;
}
.cb-header-actions-dropdown .cb-btn-dropdown-toggle[aria-expanded=true] .dashicons {
  transform: rotate(-180deg);
}
.cb-header-actions-dropdown .cb-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.cb-header-actions-dropdown .cb-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cb-header-actions-dropdown .cb-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #1e1e1e;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: right;
}
.cb-header-actions-dropdown .cb-dropdown-item .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #6b7280;
}
.cb-header-actions-dropdown .cb-dropdown-item:first-child {
  border-radius: 7px 7px 0 0;
}
.cb-header-actions-dropdown .cb-dropdown-item:last-child {
  border-radius: 0 0 7px 7px;
}
.cb-header-actions-dropdown .cb-dropdown-item:only-child {
  border-radius: 7px;
}
.cb-header-actions-dropdown .cb-dropdown-item:hover {
  background: #f8fafc;
}
.cb-header-actions-dropdown .cb-dropdown-item:hover .dashicons {
  color: #1f74ff;
}
.cb-header-actions-dropdown .cb-dropdown-item.cb-btn-danger {
  color: #ef4444;
}
.cb-header-actions-dropdown .cb-dropdown-item.cb-btn-danger .dashicons {
  color: #ef4444;
}
.cb-header-actions-dropdown .cb-dropdown-item.cb-btn-danger:hover {
  background: #fef2f2;
}
.cb-header-actions-dropdown .cb-dropdown-item.loading {
  opacity: 0.7;
  pointer-events: none;
}

@keyframes pulse-save {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(31, 116, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(31, 116, 255, 0);
  }
}
@media screen and (max-width: 1024px) {
  #lp-course-builder-sidebar.lp-cb-sidebar {
    width: 220px !important;
  }
  #lp-course-builder-content.lp-cb-main {
    margin-right: 220px !important;
    width: calc(100% - 220px) !important;
  }
  .lp-cb-tab-content .lp-meta-box__course-tab {
    flex-direction: column;
  }
  .lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs {
    flex: none;
    border-left: none;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    overflow-x: auto;
  }
  .lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs li a {
    border-right: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }
  .lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs li.active a,
  .lp-cb-tab-content .lp-meta-box__course-tab .lp-meta-box__course-tab__tabs li a.active {
    border-right: none;
    border-bottom-color: #1f74ff;
  }
}
@media screen and (max-width: 768px) {
  .lp-cb-top-header {
    padding: 0 16px;
  }
  .lp-cb-top-header .lp-cb-top-header__user-name,
  .lp-cb-top-header .lp-cb-top-header__user-link {
    display: none;
  }
  #lp-course-builder-sidebar.lp-cb-sidebar {
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  #lp-course-builder-sidebar.lp-cb-sidebar.is-open {
    transform: translateX(0);
  }
  #lp-course-builder-content.lp-cb-main {
    margin-right: 0 !important;
    width: 100% !important;
  }
  .lp-cb-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .lp-cb-header .lp-cb-header__actions {
    width: 100%;
    justify-content: flex-end;
  }
  .lp-cb-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .lp-cb-tabs .lp-cb-tabs__item {
    white-space: nowrap;
    padding: 12px 16px;
  }
  .lp-cb-tab-content .cb-section__course-edit .cb-section__header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .lp-cb-tab-content .cb-section__course-edit .cb-section__header .cb-section__header-action {
    width: 100%;
    flex-wrap: wrap;
  }
}
#lp-course-builder .lp-cb-tab__title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1e1e1e;
}
#lp-course-builder .cb-tab-course__action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
#lp-course-builder .cb-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 12px 16px;
  gap: 6px;
  margin-bottom: 0;
  border: 1px solid #e5e7eb;
}
#lp-course-builder .lp-icon-search {
  font-size: 16px;
  color: #6b7280;
  flex-shrink: 0;
}
#lp-course-builder .cb-input-search-course {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #333;
  font-family: inherit;
}
#lp-course-builder .cb-input-search-course::placeholder {
  color: #999;
}
#lp-course-builder .cb-search-btn {
  cursor: pointer;
  border: none;
  background: none;
}
#lp-course-builder .cb-btn-add-new {
  display: inline-flex;
  align-items: center;
  background-color: #1e1e1e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
}
#lp-course-builder .cb-btn-back a {
  text-decoration: none;
}
#lp-course-builder .cb-btn-add-new:hover {
  background-color: #333;
}
#lp-course-builder .cb-list-course {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0;
  margin: 0;
}
#lp-course-builder .course {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
#lp-course-builder .course:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#lp-course-builder .course-item {
  display: flex;
  gap: 20px;
  padding: 16px;
  height: 100%;
}
#lp-course-builder .course-thumbnail {
  width: 280px;
  min-width: 280px;
  border-radius: 8px;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: #f5f5f5;
}
#lp-course-builder .course-img {
  width: 100%;
  height: 100%;
}
#lp-course-builder .course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#lp-course-builder .course-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#lp-course-builder .wap-course-title {
  margin-top: 0;
  margin-bottom: 12px;
}
#lp-course-builder .wap-course-title a {
  text-decoration: none;
  max-width: 234px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lp-course-builder .course-permalink {
  text-decoration: none;
  color: #1e1e1e;
  font-size: 18px;
  font-weight: 600;
  display: block;
  transition: color 0.2s;
}
#lp-course-builder .course-permalink:hover {
  color: #3b82f6;
}
#lp-course-builder .course-title {
  text-decoration: none;
  line-height: 1.4;
}
#lp-course-builder .course-featured {
  display: inline-block;
  background-color: #ffd700;
  color: #333;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}
#lp-course-builder .course-instructor__wrapper {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #666;
}
#lp-course-builder .course-instructor-category > div {
  display: flex;
  gap: 5px;
  align-items: center;
}
#lp-course-builder .course-instructor-category label {
  color: #999;
}
#lp-course-builder .course-instructor a,
#lp-course-builder .course-categories a {
  color: #3b82f6;
  text-decoration: none;
}
#lp-course-builder .course-instructor a:hover,
#lp-course-builder .course-categories a:hover {
  text-decoration: underline;
}
#lp-course-builder .course-wrap-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#lp-course-builder .instructor-display-name {
  font-weight: 400;
}
#lp-course-builder .meta-item {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}
#lp-course-builder .course-bottom {
  margin-top: auto;
}
#lp-course-builder .course-price {
  display: block;
}
#lp-course-builder .course-item-price .free {
  color: #10b981;
  font-weight: 600;
  font-size: 16px;
}
#lp-course-builder .course-item-price .price {
  color: #3b82f6;
  font-weight: 700;
  font-size: 18px;
}
#lp-course-builder .highlight-new-course {
  box-shadow: #c8b4fb 0px 0px 20px 1px;
}
#lp-course-builder .course-action {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
#lp-course-builder .course-action-editor {
  padding: 15px 20px 15px 0;
}
#lp-course-builder .course-action-expanded {
  cursor: pointer;
  padding: 15px 0 15px 20px;
}
#lp-course-builder .course-action-expanded svg {
  width: 24px;
  height: 24px;
}
#lp-course-builder .course-action-expanded__items {
  display: none;
  position: absolute;
  min-width: 160px;
  top: 0;
  left: 0;
  transform: translate(-100%, 10px);
  padding: 10px;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  font-size: 16px;
  font-weight: 500;
  z-index: 100;
}
#lp-course-builder .course-action-expanded__items.active {
  display: flex !important;
}
#lp-course-builder .course-action-expanded__items .course-action-expanded__view,
#lp-course-builder .course-action-expanded__items .course-action-expanded__duplicate,
#lp-course-builder .course-action-expanded__items .course-action-expanded__trash,
#lp-course-builder .course-action-expanded__items .course-action-expanded__draft,
#lp-course-builder .course-action-expanded__items .course-action-expanded__delete {
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 6px;
  color: #1e1e1e;
}
#lp-course-builder .course-action-expanded__items .course-action-expanded__view:hover,
#lp-course-builder .course-action-expanded__items .course-action-expanded__duplicate:hover,
#lp-course-builder .course-action-expanded__items .course-action-expanded__trash:hover,
#lp-course-builder .course-action-expanded__items .course-action-expanded__draft:hover,
#lp-course-builder .course-action-expanded__items .course-action-expanded__delete:hover {
  background-color: #f5f5f5;
}
#lp-course-builder .course-action-expanded__items .course-action-expanded__trash,
#lp-course-builder .course-action-expanded__items .course-action-expanded__delete {
  color: #ef4444;
}
#lp-course-builder .course-action-expanded__items .course-action-expanded__trash:hover,
#lp-course-builder .course-action-expanded__items .course-action-expanded__delete:hover {
  background-color: #fef2f2;
}
#lp-course-builder .course-action-expanded:hover + .course-action-expanded__items,
#lp-course-builder .course-action-expanded__items:hover {
  display: flex !important;
}
#lp-course-builder .course-action .wap-course-title {
  margin: 0;
}
#lp-course-builder .course-action .course-permalink {
  color: #3b82f6;
  font-size: 14px;
  font-weight: 500;
}
#lp-course-builder .course-action .course-permalink:hover {
  text-decoration: underline;
}
#lp-course-builder .btn-edit-course {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 16px;
  gap: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1e1e1e;
  transition: all 0.2s;
}
#lp-course-builder .btn-edit-course:hover {
  background: #f5f5f5;
  border-color: #d1d5db;
}
#lp-course-builder .btn-edit-course svg {
  width: 1rem;
  height: 1rem;
}
#lp-course-builder .course-status {
  display: inline-flex;
}
#lp-course-builder .course-status span {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  text-transform: capitalize;
}
#lp-course-builder .course-status:not(.publish):not(.trash) span {
  background-color: #fef3c7;
  color: #92400e;
}
#lp-course-builder .course-status.publish span {
  color: #166534;
  background-color: #dcfce7;
}
#lp-course-builder .course-status.trash span {
  color: #991b1b;
  background-color: #fee2e2;
}
#lp-course-builder .learn-press-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
#lp-course-builder .page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#lp-course-builder .page-numbers li {
  display: inline-block;
}
#lp-course-builder .page-numbers a,
#lp-course-builder .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.2s;
  background: #fff;
}
#lp-course-builder .page-numbers a:hover {
  background-color: #f5f5f5;
  border-color: #d1d5db;
}
#lp-course-builder .page-numbers .current {
  background-color: #1e1e1e;
  color: #fff;
  border-color: #1e1e1e;
  font-weight: 600;
}
#lp-course-builder .page-numbers .next,
#lp-course-builder .page-numbers .prev {
  font-weight: 600;
}
#lp-course-builder #lp-material-container {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  display: block;
}
#lp-course-builder .field-material__label {
  width: 150px;
  max-width: 150px;
  min-width: 150px;
  margin-left: 11px;
}
#lp-course-builder .lp-material--field-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
}
#lp-course-builder .lp-material--field-external-link,
#lp-course-builder .lp-material--field-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 200px;
  height: 33px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
}
#lp-course-builder .lp-material--field-method {
  width: 100%;
  max-width: 200px;
  height: 33px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
}
#lp-course-builder .lp-material-save-field,
#lp-course-builder .lp-material--delete {
  padding: 8px 20px;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #d1d5db;
  transition: all 0.2s;
}
#lp-course-builder .lp-material--upload-wrap label {
  cursor: pointer;
  width: 100%;
  max-width: 200px;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.2s;
  margin-right: 56px;
}
#lp-course-builder .lp-material--field-upload {
  display: none;
}
#lp-course-builder .lp-material--upload-wrap label:hover {
  background-color: #f5f5f5;
  border-color: #9ca3af;
}
#lp-course-builder .lp-material--upload-wrap label:active {
  background-color: #d0d0d0;
  transform: scale(0.98);
}
#lp-course-builder .lp-material--upload-wrap label::before {
  content: "📁 ";
  margin-left: 5px;
}
#lp-course-builder .lp-material--table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}
#lp-course-builder .lp-material--table th,
#lp-course-builder .lp-material--table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e7eb;
  text-align: right;
}
#lp-course-builder .lp-material--table th {
  background-color: #f9fafb;
  font-weight: 600;
  font-size: 13px;
  color: #374151;
}
#lp-course-builder .lp-material--table td {
  font-size: 14px;
  color: #1e1e1e;
}
#lp-course-builder .lp-material--table tr:last-child td {
  border-bottom: none;
}
#lp-course-builder .lp-material--table tr:hover td {
  background-color: #f9fafb;
}
#lp-course-builder .lp-material--table thead.hidden {
  display: none;
}
#lp-course-builder .ts-control {
  padding: 8px 8px 8px 8px !important;
}
@media (max-width: 1024px) {
  #lp-course-builder .cb-list-course {
    gap: 15px;
  }
  #lp-course-builder .course-thumbnail {
    width: 200px;
    min-width: 200px;
  }
}
@media (max-width: 768px) {
  #lp-course-builder .cb-tab-course__action {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  #lp-course-builder .cb-search-form {
    width: 100%;
  }
  #lp-course-builder .cb-btn-add-new {
    text-align: center;
    justify-content: center;
  }
  #lp-course-builder .course-item {
    flex-direction: column;
  }
  #lp-course-builder .course-thumbnail {
    width: 100%;
    min-width: 100%;
  }
  #lp-course-builder .cb-list-course {
    grid-template-columns: 1fr;
  }
}

#lp-course-builder .cb-list-quiz {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0;
}
#lp-course-builder .cb-tab-quiz__action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#lp-course-builder .cb-input-search-quiz {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #333;
  font-family: inherit;
}
#lp-course-builder .cb-input-search-quiz::placeholder {
  color: #999;
}
#lp-course-builder .cb-tab-quiz__action,
#lp-course-builder .courses-builder__quiz-tab {
  width: calc(100% - 140px);
}
#lp-course-builder .quiz-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
#lp-course-builder .quiz-action-expanded {
  cursor: pointer;
  padding: 15px 0 15px 20px;
}
#lp-course-builder .quiz-action-expanded svg {
  width: 24px;
  height: 24px;
}
#lp-course-builder .btn-edit-quiz {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  padding: 5px 15px;
  gap: 5px;
  background-color: #fff;
  border: 1px solid #1e1e1e;
}
#lp-course-builder .btn-edit-quiz svg {
  width: 1rem;
  height: 1rem;
}
#lp-course-builder .quiz-item {
  display: flex;
  flex-direction: row;
  padding: 5px 20px;
  background: #fff;
  border-radius: 16px;
  gap: 20px;
  font-size: 16px;
}
#lp-course-builder .highlight-new-quiz {
  box-shadow: #c8b4fb 0px 0px 20px 1px;
}
#lp-course-builder .quiz-content {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
#lp-course-builder .quiz-content__left {
  display: flex;
  gap: 15px;
}
#lp-course-builder .quiz-content__right {
  display: flex;
  align-items: center;
  gap: 25px;
}
#lp-course-builder .quiz__preview svg {
  height: 20px;
  width: 20px;
}
#lp-course-builder .wap-quiz-title {
  margin-top: 0;
  margin-bottom: 0;
}
#lp-course-builder .wap-quiz-title button {
  background-color: #fff;
  border: none;
  font-size: 20px;
  text-decoration: none;
  max-width: 234px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lp-course-builder .quiz-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #ccc;
  border-radius: 5px;
  text-transform: capitalize;
}
#lp-course-builder .quiz-status.publish {
  color: #fff;
  background: #1e1e1e;
}
#lp-course-builder .quiz-status.trash {
  color: #fff;
  background-color: #dc2626;
}
#lp-course-builder .quiz-assigned-courses {
  max-width: 300px;
  margin-left: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lp-course-builder .quiz-assigned-courses a {
  text-decoration: none;
}
#lp-course-builder .quiz-action-expanded__items {
  display: flex;
  position: absolute;
  min-width: 160px;
  top: 0;
  left: 0;
  transform: translate(-100%, 10px);
  padding: 10px;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  font-size: 16px;
  font-weight: 500;
}
#lp-course-builder .quiz-action-expanded__items.active {
  display: flex !important;
}
#lp-course-builder .quiz-action-expanded__items .quiz-action-expanded__duplicate,
#lp-course-builder .quiz-action-expanded__items .quiz-action-expanded__publish,
#lp-course-builder .quiz-action-expanded__items .quiz-action-expanded__trash,
#lp-course-builder .quiz-action-expanded__items .quiz-action-expanded__delete {
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 6px;
}
#lp-course-builder .quiz-action-expanded__items .quiz-action-expanded__duplicate:hover,
#lp-course-builder .quiz-action-expanded__items .quiz-action-expanded__publish:hover,
#lp-course-builder .quiz-action-expanded__items .quiz-action-expanded__trash:hover,
#lp-course-builder .quiz-action-expanded__items .quiz-action-expanded__delete:hover {
  background-color: #f5f5f5;
}
#lp-course-builder .quiz-action-expanded:hover + .quiz-action-expanded__items,
#lp-course-builder .quiz-action-expanded__items:hover {
  display: flex !important;
}

#lp-course-builder .cb-list-question {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0;
}
#lp-course-builder .cb-tab-question__action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#lp-course-builder .cb-input-search-question {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #333;
  font-family: inherit;
}
#lp-course-builder .cb-input-search-question::placeholder {
  color: #999;
}
#lp-course-builder .cb-tab-question__action,
#lp-course-builder .courses-builder__question-tab {
  width: calc(100% - 140px);
}
#lp-course-builder .question-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
#lp-course-builder .question-action-expanded {
  cursor: pointer;
  padding: 15px 0 15px 20px;
}
#lp-course-builder .question-action-expanded svg {
  width: 24px;
  height: 24px;
}
#lp-course-builder .btn-edit-question {
  background-color: #fff;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  padding: 5px 15px;
  gap: 5px;
  border: 1px solid #1e1e1e;
}
#lp-course-builder .btn-edit-question svg {
  width: 1rem;
  height: 1rem;
}
#lp-course-builder .question-item {
  display: flex;
  flex-direction: row;
  padding: 5px 20px;
  background: #fff;
  border-radius: 16px;
  gap: 20px;
  font-size: 16px;
}
#lp-course-builder .highlight-new-question {
  box-shadow: #c8b4fb 0px 0px 20px 1px;
}
#lp-course-builder .question-content {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
#lp-course-builder .question-content__left {
  display: flex;
  gap: 15px;
}
#lp-course-builder .question-content__right {
  display: flex;
  align-items: center;
  gap: 25px;
}
#lp-course-builder .question__preview svg {
  height: 20px;
  width: 20px;
}
#lp-course-builder .wap-question-title {
  margin-top: 0;
  margin-bottom: 0;
}
#lp-course-builder .wap-question-title button {
  font-size: 20px;
  background: #fff;
  border: none;
  text-decoration: none;
  max-width: 234px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lp-course-builder .question-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #ccc;
  border-radius: 5px;
  text-transform: capitalize;
}
#lp-course-builder .question-status.publish {
  color: #fff;
  background: #1e1e1e;
}
#lp-course-builder .question-status.trash {
  color: #fff;
  background-color: #dc2626;
}
#lp-course-builder .question-assigned-quizzes {
  max-width: 300px;
  margin-left: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lp-course-builder .question-assigned-quizzes a {
  text-decoration: none;
}
#lp-course-builder .question-action-expanded__items {
  display: flex;
  position: absolute;
  min-width: 160px;
  top: 0;
  left: 0;
  transform: translate(-100%, 10px);
  padding: 10px;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  font-size: 16px;
  font-weight: 500;
}
#lp-course-builder .question-action-expanded__items.active {
  display: flex !important;
}
#lp-course-builder .question-action-expanded__items .question-action-expanded__duplicate,
#lp-course-builder .question-action-expanded__items .question-action-expanded__publish,
#lp-course-builder .question-action-expanded__items .question-action-expanded__trash,
#lp-course-builder .question-action-expanded__items .question-action-expanded__delete {
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 6px;
}
#lp-course-builder .question-action-expanded__items .question-action-expanded__duplicate:hover,
#lp-course-builder .question-action-expanded__items .question-action-expanded__publish:hover,
#lp-course-builder .question-action-expanded__items .question-action-expanded__trash:hover,
#lp-course-builder .question-action-expanded__items .question-action-expanded__delete:hover {
  background-color: #f5f5f5;
}
#lp-course-builder .question-action-expanded:hover + .question-action-expanded__items,
#lp-course-builder .question-action-expanded__items:hover {
  display: flex !important;
}

.lp-course-builder-content__section .course-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #ccc;
  border-radius: 5px;
  text-transform: capitalize;
}
.lp-course-builder-content__section .course-status.publish {
  color: #fff;
  background: #1e1e1e;
}
.lp-course-builder-content__section .course-status.trash {
  color: #fff;
  background-color: #dc2626;
}
.lp-course-builder-content__section .cb-course-edit-content {
  display: flex;
  gap: 40px;
}
.lp-course-builder-content__section .cb-course-edit-column--left {
  flex: 0 0 320px;
  max-width: 320px;
}
.lp-course-builder-content__section .cb-course-edit-column--right {
  flex: 1;
  min-width: 0;
}
.lp-course-builder-content__section .cb-course-edit-title {
  margin-bottom: 20px;
}
.lp-course-builder-content__section .cb-course-edit-title__label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-course-edit-title__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.lp-course-builder-content__section .cb-course-edit-title__label .required {
  color: #ef4444;
}
.lp-course-builder-content__section .cb-course-edit-title__char-count {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
}
.lp-course-builder-content__section .cb-course-edit-title__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.lp-course-builder-content__section .cb-course-edit-title__input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.lp-course-builder-content__section .cb-course-edit-title__input::placeholder {
  color: #9ca3af;
}
.lp-course-builder-content__section .cb-course-edit-permalink {
  margin-bottom: 20px;
}
.lp-course-builder-content__section .cb-course-edit-permalink__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-course-edit-permalink__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.lp-course-builder-content__section .cb-course-edit-permalink__input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.lp-course-builder-content__section .cb-course-edit-permalink__input::placeholder {
  color: #9ca3af;
}
.lp-course-builder-content__section .cb-course-edit-desc {
  margin-bottom: 24px;
}
.lp-course-builder-content__section .cb-course-edit-desc__label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-course-edit-desc__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.lp-course-builder-content__section .cb-course-edit-desc__word-count {
  display: none;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
}
.lp-course-builder-content__section .cb-course-edit-categories__wrapper {
  margin-bottom: 24px;
}
.lp-course-builder-content__section .cb-course-edit-categories__label,
.lp-course-builder-content__section .cb-course-edit-tags__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.lp-course-builder-content__section .cb-course-edit-terms-categories-wrapper {
  display: flex;
  gap: 30px;
}
.lp-course-builder-content__section .cb-course-edit-tags__wrapper,
.lp-course-builder-content__section .cb-course-edit-categories__wrapper {
  flex: 1;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 16px;
}
.lp-course-builder-content__section .cb-course-edit-tags__checkbox-wrapper,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox-wrapper {
  display: flex;
  gap: 10px 40px;
  flex-wrap: wrap;
}
.lp-course-builder-content__section .cb-course-edit-tags__wrapper {
  margin-bottom: 24px;
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 4px 0;
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox:hover label,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox:hover label {
  color: #1d2939;
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox input[type=checkbox],
.lp-course-builder-content__section .cb-course-edit-categories__checkbox input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #d0d5dd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  margin: 0 0 0 10px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox input[type=checkbox]:hover,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox input[type=checkbox]:hover {
  border-color: #98a2b3;
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox input[type=checkbox]:checked,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox input[type=checkbox]:checked {
  background: #fff;
  border-color: #1e1e1e;
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox input[type=checkbox]:checked::after,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #1e1e1e;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox input[type=checkbox]:focus,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox input[type=checkbox]:disabled,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox input[type=checkbox]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #e4e7ec;
  background: #f9fafb;
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox input[type=checkbox]:disabled + label,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox input[type=checkbox]:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
}
.lp-course-builder-content__section .cb-course-edit-terms__checkbox label,
.lp-course-builder-content__section .cb-course-edit-categories__checkbox label {
  font-size: 14px;
  color: #344054;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  line-height: 20px;
}
.lp-course-builder-content__section .cb-course-edit-featured-image {
  margin-bottom: 24px;
}
.lp-course-builder-content__section .cb-course-edit-featured-image__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-featured-image-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.lp-course-builder-content__section .cb-featured-image-dropzone {
  width: 100%;
  min-height: 180px;
  background: #fff;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}
.lp-course-builder-content__section .cb-featured-image-dropzone:hover {
  border-color: #1f74ff;
  background: rgba(31, 116, 255, 0.03);
}
.lp-course-builder-content__section .cb-featured-image-dropzone.has-image {
  border-style: solid;
  border-color: #e5e7eb;
  padding: 0;
}
.lp-course-builder-content__section .cb-featured-image-dropzone.has-image:hover {
  border-color: #1f74ff;
}
.lp-course-builder-content__section .cb-featured-image-dropzone.dragover {
  border-color: #1f74ff;
  background: rgba(31, 116, 255, 0.05);
}
.lp-course-builder-content__section .cb-featured-image-upload-content {
  text-align: center;
  padding: 30px 20px;
}
.lp-course-builder-content__section .cb-featured-image-icon {
  display: block;
  font-size: 36px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.lp-course-builder-content__section .cb-featured-image-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 6px 0;
}
.lp-course-builder-content__section .cb-featured-image-link {
  color: #1f74ff;
  text-decoration: none;
  font-weight: 500;
}
.lp-course-builder-content__section .cb-featured-image-link:hover {
  text-decoration: underline;
}
.lp-course-builder-content__section .cb-featured-image-hint {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}
.lp-course-builder-content__section .cb-featured-image-preview__img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
}
.lp-course-builder-content__section .cb-featured-image-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.lp-course-builder-content__section .cb-change-featured-image {
  padding: 6px 14px;
  border: 1px solid #1f74ff;
  background: #fff;
  color: #1f74ff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-course-builder-content__section .cb-change-featured-image:hover {
  background: #1f74ff;
  color: #fff;
}
.lp-course-builder-content__section .cb-remove-featured-image {
  padding: 6px 14px;
  border: 1px solid #ef4444;
  background: #fff;
  color: #ef4444;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-course-builder-content__section .cb-remove-featured-image:hover {
  background: #ef4444;
  color: #fff;
}
.lp-course-builder-content__section .cb-featured-image-preview {
  background: #f5f5f5;
  border: 2px dashed #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-course-builder-content__section .cb-featured-image-preview:has(img) {
  border: none;
}
.lp-course-builder-content__section .cb-featured-image-placeholder {
  width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}
.lp-course-builder-content__section .cb-featured-image-placeholder::before {
  content: "📷";
  font-size: 48px;
  margin-bottom: 8px;
  opacity: 0.5;
}
.lp-course-builder-content__section .cb-featured-image-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.lp-course-builder-content__section .cb-set-featured-image {
  padding: 8px 16px;
  border: 1px solid #1f74ff;
  background: #fff;
  color: #1f74ff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.lp-course-builder-content__section .cb-set-featured-image:hover {
  background: #1f74ff;
  color: #fff;
}
.lp-course-builder-content__section div.mce-statusbar {
  border-top: none;
}
.lp-course-builder-content__section .cb-course-edit-category__btn-add-new,
.lp-course-builder-content__section .cb-course-edit-tag__btn-add-new,
.lp-course-builder-content__section .cb-course-edit-category__btn-cancel,
.lp-course-builder-content__section .cb-course-edit-tag__btn-cancel {
  font-size: 16px;
  margin-top: 15px;
  padding: 5px 0;
  cursor: pointer;
  border: none;
  background: none;
}
.lp-course-builder-content__section .cb-course-edit-terms__form-add-category,
.lp-course-builder-content__section .cb-course-edit-terms__form-add-tag {
  display: flex;
  gap: 10px;
}
.lp-course-builder-content__section .cb-course-edit-category__input,
.lp-course-builder-content__section .cb-course-edit-tags__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}
.lp-course-builder-content__section .cb-course-edit-category__btn-save,
.lp-course-builder-content__section .cb-course-edit-tags__btn-save {
  background: #1e1e1e;
  color: white;
  border-radius: 5px;
  padding: 5px 20px;
  border: 0;
}
.lp-course-builder-content__section .cb-course-edit-category__btn-save.loading,
.lp-course-builder-content__section .cb-course-edit-tags__btn-save.loading {
  pointer-events: none;
  opacity: 0.8;
}
.lp-course-builder-content__section .cb-course-edit-category__btn-save.loading:before,
.lp-course-builder-content__section .cb-course-edit-tags__btn-save.loading:before {
  display: inline-block;
  font-family: "lp-icon";
  content: "\f110";
  animation: lp-rotating 1s linear infinite;
  margin-left: 5px;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: middle;
  margin-top: -2px;
}
.lp-course-builder-content__section .cb-button {
  padding: 8px 25px;
  border-radius: 5px;
  background: #ccc;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.lp-course-builder-content__section .cb-button.cb-btn-update {
  background: #1e1e1e;
  color: #fff;
}
.lp-course-builder-content__section .cb-button.cb-btn-trash {
  background: rgb(220, 38, 38);
  color: #fff;
}
.lp-course-builder-content__section .cb-button.cb-btn-save-settings {
  background: #1e1e1e;
  color: #fff;
  border: none;
  transition: background 0.2s;
}
.lp-course-builder-content__section .cb-button.cb-btn-save-settings:hover {
  background: #333;
}
.lp-course-builder-content__section .cb-button.cb-btn-save-settings.loading {
  pointer-events: none;
  opacity: 0.7;
}
.lp-course-builder-content__section .cb-settings-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .lp-course-builder-content__section .cb-course-edit-content {
    flex-direction: column;
  }
  .lp-course-builder-content__section .cb-course-edit-column--left {
    flex: 1;
    max-width: 100%;
  }
  .lp-course-builder-content__section .cb-course-edit-column--right {
    flex: 1;
  }
  .lp-course-builder-content__section .cb-course-edit-terms-categories-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .lp-course-builder-content__section .cb-featured-image-container {
    flex-direction: column;
  }
  .lp-course-builder-content__section .cb-featured-image-preview {
    width: 100%;
    max-width: 300px;
  }
}

.lp-cb-tab-content .cb-section__course-edit .course-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #ccc;
  border-radius: 5px;
  text-transform: capitalize;
}
.lp-cb-tab-content .cb-section__course-edit .course-status.publish {
  color: #fff;
  background: #1e1e1e;
}
.lp-cb-tab-content .cb-section__course-edit .course-status.trash {
  color: #fff;
  background-color: #dc2626;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-content {
  display: flex;
  gap: 40px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-column--left {
  flex: 0 0 320px;
  max-width: 320px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-column--right {
  flex: 1;
  min-width: 0;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-title {
  margin-bottom: 20px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-title__label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-title__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-title__label .required {
  color: #ef4444;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-title__char-count {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-title__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-title__input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-title__input::placeholder {
  color: #9ca3af;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-permalink {
  margin-bottom: 20px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-permalink__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-permalink__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-permalink__input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-permalink__input::placeholder {
  color: #9ca3af;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-desc {
  margin-bottom: 24px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-desc__label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-desc__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-desc__word-count {
  display: none;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__wrapper {
  margin-bottom: 24px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__label,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tags__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms-categories-wrapper {
  display: flex;
  gap: 30px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tags__wrapper,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__wrapper {
  flex: 1;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 16px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tags__checkbox-wrapper,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox-wrapper {
  display: flex;
  gap: 10px 40px;
  flex-wrap: wrap;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tags__wrapper {
  margin-bottom: 24px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 4px 0;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox:hover label,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox:hover label {
  color: #1d2939;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox input[type=checkbox],
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #d0d5dd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  margin: 0 0 0 10px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox input[type=checkbox]:hover,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox input[type=checkbox]:hover {
  border-color: #98a2b3;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox input[type=checkbox]:checked,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox input[type=checkbox]:checked {
  background: #fff;
  border-color: #1e1e1e;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox input[type=checkbox]:checked::after,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #1e1e1e;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox input[type=checkbox]:focus,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox input[type=checkbox]:disabled,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox input[type=checkbox]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #e4e7ec;
  background: #f9fafb;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox input[type=checkbox]:disabled + label,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox input[type=checkbox]:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__checkbox label,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-categories__checkbox label {
  font-size: 14px;
  color: #344054;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  line-height: 20px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-featured-image {
  margin-bottom: 24px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-featured-image__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-dropzone {
  width: 100%;
  min-height: 180px;
  background: #fff;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-dropzone:hover {
  border-color: #1f74ff;
  background: rgba(31, 116, 255, 0.03);
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-dropzone.has-image {
  border-style: solid;
  border-color: #e5e7eb;
  padding: 0;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-dropzone.has-image:hover {
  border-color: #1f74ff;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-dropzone.dragover {
  border-color: #1f74ff;
  background: rgba(31, 116, 255, 0.05);
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-upload-content {
  text-align: center;
  padding: 30px 20px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-icon {
  display: block;
  font-size: 36px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 6px 0;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-link {
  color: #1f74ff;
  text-decoration: none;
  font-weight: 500;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-link:hover {
  text-decoration: underline;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-hint {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-preview__img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-change-featured-image {
  padding: 6px 14px;
  border: 1px solid #1f74ff;
  background: #fff;
  color: #1f74ff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-cb-tab-content .cb-section__course-edit .cb-change-featured-image:hover {
  background: #1f74ff;
  color: #fff;
}
.lp-cb-tab-content .cb-section__course-edit .cb-remove-featured-image {
  padding: 6px 14px;
  border: 1px solid #ef4444;
  background: #fff;
  color: #ef4444;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-cb-tab-content .cb-section__course-edit .cb-remove-featured-image:hover {
  background: #ef4444;
  color: #fff;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-preview {
  background: #f5f5f5;
  border: 2px dashed #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-preview:has(img) {
  border: none;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-placeholder {
  width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-placeholder::before {
  content: "📷";
  font-size: 48px;
  margin-bottom: 8px;
  opacity: 0.5;
}
.lp-cb-tab-content .cb-section__course-edit .cb-featured-image-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-set-featured-image {
  padding: 8px 16px;
  border: 1px solid #1f74ff;
  background: #fff;
  color: #1f74ff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.lp-cb-tab-content .cb-section__course-edit .cb-set-featured-image:hover {
  background: #1f74ff;
  color: #fff;
}
.lp-cb-tab-content .cb-section__course-edit div.mce-statusbar {
  border-top: none;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-category__btn-add-new,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tag__btn-add-new,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-category__btn-cancel,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tag__btn-cancel {
  font-size: 16px;
  margin-top: 15px;
  padding: 5px 0;
  cursor: pointer;
  border: none;
  background: none;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__form-add-category,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms__form-add-tag {
  display: flex;
  gap: 10px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-category__input,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tags__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-category__btn-save,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tags__btn-save {
  background: #1e1e1e;
  color: white;
  border-radius: 5px;
  padding: 5px 20px;
  border: 0;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-category__btn-save.loading,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tags__btn-save.loading {
  pointer-events: none;
  opacity: 0.8;
}
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-category__btn-save.loading:before,
.lp-cb-tab-content .cb-section__course-edit .cb-course-edit-tags__btn-save.loading:before {
  display: inline-block;
  font-family: "lp-icon";
  content: "\f110";
  animation: lp-rotating 1s linear infinite;
  margin-left: 5px;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: middle;
  margin-top: -2px;
}
.lp-cb-tab-content .cb-section__course-edit .cb-button {
  padding: 8px 25px;
  border-radius: 5px;
  background: #ccc;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.lp-cb-tab-content .cb-section__course-edit .cb-button.cb-btn-update {
  background: #1e1e1e;
  color: #fff;
}
.lp-cb-tab-content .cb-section__course-edit .cb-button.cb-btn-trash {
  background: rgb(220, 38, 38);
  color: #fff;
}
.lp-cb-tab-content .cb-section__course-edit .cb-button.cb-btn-save-settings {
  background: #1e1e1e;
  color: #fff;
  border: none;
  transition: background 0.2s;
}
.lp-cb-tab-content .cb-section__course-edit .cb-button.cb-btn-save-settings:hover {
  background: #333;
}
.lp-cb-tab-content .cb-section__course-edit .cb-button.cb-btn-save-settings.loading {
  pointer-events: none;
  opacity: 0.7;
}
.lp-cb-tab-content .cb-section__course-edit .cb-settings-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .lp-cb-tab-content .cb-section__course-edit .cb-course-edit-content {
    flex-direction: column;
  }
  .lp-cb-tab-content .cb-section__course-edit .cb-course-edit-column--left {
    flex: 1;
    max-width: 100%;
  }
  .lp-cb-tab-content .cb-section__course-edit .cb-course-edit-column--right {
    flex: 1;
  }
  .lp-cb-tab-content .cb-section__course-edit .cb-course-edit-terms-categories-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .lp-cb-tab-content .cb-section__course-edit .cb-featured-image-container {
    flex-direction: column;
  }
  .lp-cb-tab-content .cb-section__course-edit .cb-featured-image-preview {
    width: 100%;
    max-width: 300px;
  }
}
.lp-cb-tab-content .cb-section__header {
  display: none !important;
}

.lp-meta-box-course-panels::before {
  content: attr(data-tab-title);
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.2;
}

.lp-meta-box__course-tab {
  display: flex;
  min-height: 600px;
  background: #fff;
}

ul.lp-meta-box__course-tab__tabs {
  width: 220px;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  margin: 0;
  padding: 20px 0;
  list-style: none;
  flex-shrink: 0;
}
ul.lp-meta-box__course-tab__tabs li {
  margin-bottom: 2px;
  padding: 0 12px;
}
ul.lp-meta-box__course-tab__tabs li a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  border-right: 3px solid transparent;
  margin-right: -3px;
}
ul.lp-meta-box__course-tab__tabs li a i {
  display: none;
}
ul.lp-meta-box__course-tab__tabs li a:hover {
  background-color: #fff;
  color: #1e1e1e;
}
ul.lp-meta-box__course-tab__tabs li.active a,
ul.lp-meta-box__course-tab__tabs li a:focus {
  background-color: #fff;
  color: #3b82f6;
  font-weight: 600;
  border-right-color: #3b82f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lp-meta-box__course-tab__content {
  flex-grow: 1;
  padding: 30px 40px;
  background: #fff;
}

@media (max-width: 768px) {
  .lp-meta-box__course-tab {
    flex-direction: column;
  }
  ul.lp-meta-box__course-tab__tabs {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    overflow-x: auto;
    padding: 12px;
    background: #f9fafb;
  }
  ul.lp-meta-box__course-tab__tabs li {
    flex-shrink: 0;
    padding: 0 4px;
  }
  ul.lp-meta-box__course-tab__tabs li a {
    border-right: none;
    border-bottom: 3px solid transparent;
    margin-right: 0;
    white-space: nowrap;
  }
  ul.lp-meta-box__course-tab__tabs li.active a {
    border-right: none;
    border-bottom-color: #3b82f6;
  }
}
#lp-course-builder-content #lp-course-edit-curriculum {
  background-color: #fff;
  border-radius: 12px;
  padding: 28px 0 0;
  color: #1f2937;
  max-width: 100%;
  box-sizing: border-box;
}
#lp-course-builder-content #lp-course-edit-curriculum .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f5f5f5;
}
#lp-course-builder-content #lp-course-edit-curriculum .heading h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #1e1e1e;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-items-counts,
#lp-course-builder-content #lp-course-edit-curriculum .count-sections,
#lp-course-builder-content #lp-course-edit-curriculum .total-items {
  background: #f5f5f5;
  color: #1e1e1e;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 12px;
  margin-right: 10px;
}
#lp-course-builder-content #lp-course-edit-curriculum .course-toggle-all-sections {
  cursor: pointer;
  color: #9ca3af;
  margin-right: auto;
  padding: 5px;
}
#lp-course-builder-content #lp-course-edit-curriculum .curriculum-sections {
  border: none;
}
#lp-course-builder-content #lp-course-edit-curriculum .curriculum-sections .section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}
#lp-course-builder-content #lp-course-edit-curriculum .curriculum-sections .section:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
#lp-course-builder-content #lp-course-edit-curriculum .section-head {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 1px solid transparent;
  border-radius: 8px;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-head .drag {
  cursor: grab;
  color: #9ca3af;
  margin-left: 12px;
  font-size: 16px;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-head .button {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  margin-right: 8px;
  cursor: pointer;
  font-weight: 500;
}
#lp-course-builder-content #lp-course-edit-curriculum .section:not(.lp-collapse) .section-head {
  border-bottom-color: #f3f4f6;
  border-radius: 8px 8px 0 0;
}
#lp-course-builder-content #lp-course-edit-curriculum input.lp-section-title-input {
  flex-grow: 1;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #1e1e1e;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s;
  width: auto;
}
#lp-course-builder-content #lp-course-edit-curriculum input.lp-section-title-input:hover, #lp-course-builder-content #lp-course-edit-curriculum input.lp-section-title-input:focus {
  background: #fff;
  border-color: #e5e7eb;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-btn-delete-section {
  color: #ef4444;
  background: rgba(254, 226, 226, 0.5);
  border: none;
  transition: background 0.2s;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-btn-delete-section:hover {
  background: #fee2e2;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-icon-angle-down,
#lp-course-builder-content #lp-course-edit-curriculum .lp-icon-angle-up {
  margin-right: 15px;
  color: #777777;
  cursor: pointer;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-icon-angle-down:hover,
#lp-course-builder-content #lp-course-edit-curriculum .lp-icon-angle-up:hover {
  color: #1e1e1e !important;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-collapse {
  padding: 20px;
  background-color: #f9fafb;
  border-radius: 0 0 8px 8px;
  border-top: unset;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-description textarea {
  width: 100%;
  border: 1px dashed #d1d5db;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #6b7280;
  resize: vertical;
  min-height: 60px;
  margin-bottom: 15px;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-description textarea:focus {
  border-style: solid;
  border-color: #9ca3af;
  outline: none;
  color: #374151;
}
#lp-course-builder-content #lp-course-edit-curriculum ul.section-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-add-item-type,
#lp-course-builder-content #lp-course-edit-curriculum .section-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  margin-bottom: 8px;
  padding: 10px 15px;
  border-radius: 6px;
  position: relative;
  transition: transform 0.1s;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-add-item-type:hover,
#lp-course-builder-content #lp-course-edit-curriculum .section-item:hover {
  border-color: #9ca3af;
}
#lp-course-builder-content #lp-course-edit-curriculum .item-ico-type {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 12px;
  opacity: 0.8;
  color: #1e1e1e;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-item.lp_lesson .item-ico-type::before {
  content: "\f119";
  font-family: dashicons;
  font-size: 20px;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-item.lp_quiz .item-ico-type::before {
  content: "\f469";
  font-family: dashicons;
  font-size: 20px;
}
#lp-course-builder-content #lp-course-edit-curriculum input.lp-item-title-input {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #374151;
  flex-grow: 1;
  padding: 5px;
}
#lp-course-builder-content #lp-course-edit-curriculum input.lp-item-title-input:focus {
  outline: none;
  text-decoration: underline;
}
#lp-course-builder-content #lp-course-edit-curriculum ul.item-actions {
  display: flex;
  gap: 8px;
  opacity: 0.3;
  transition: opacity 0.2s;
  list-style: none;
  margin: 0;
  padding: 0;
}
#lp-course-builder-content #lp-course-edit-curriculum ul.item-actions li a {
  color: #6b7280;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}
#lp-course-builder-content #lp-course-edit-curriculum ul.item-actions li a:hover {
  color: #1e1e1e;
}
#lp-course-builder-content #lp-course-edit-curriculum ul.item-actions li a.lp-icon-trash-o:hover {
  color: #ef4444;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-item:hover ul.item-actions {
  opacity: 1;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-actions .button {
  display: inline-flex;
}
#lp-course-builder-content #lp-course-edit-curriculum .section-actions .button:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #1e1e1e;
}
#lp-course-builder-content #lp-course-edit-curriculum button,
#lp-course-builder-content #lp-course-edit-curriculum .section-actions .button,
#lp-course-builder-content #lp-course-edit-curriculum .lp-add-item-type button {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #4b5563;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  transition: all 0.2s;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-add-item-type button {
  display: inline-flex;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-add-item-type button:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #1e1e1e;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-btn-show-popup-items-to-select {
  margin-right: auto;
  border-style: dashed !important;
}
#lp-course-builder-content #lp-course-edit-curriculum .add-new-section {
  margin-top: 30px;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
#lp-course-builder-content #lp-course-edit-curriculum .add-new-section:focus-within {
  border-color: #1e1e1e;
  background: #fff;
}
#lp-course-builder-content #lp-course-edit-curriculum .add-new-section .lp-icon-plus {
  color: #9ca3af;
}
#lp-course-builder-content #lp-course-edit-curriculum input.lp-section-title-new-input {
  flex-grow: 1;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border 0.2s;
}
#lp-course-builder-content #lp-course-edit-curriculum input.lp-section-title-new-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
#lp-course-builder-content #lp-course-edit-curriculum button.lp-btn-add-section {
  background-color: #1e1e1e;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  min-width: fit-content;
}
#lp-course-builder-content #lp-course-edit-curriculum button.lp-btn-add-section:hover {
  background-color: #333;
}
#lp-course-builder-content #lp-course-edit-curriculum .lp-hidden {
  display: none !important;
}

.lp-cb-tab-content #lp-course-edit-curriculum {
  background-color: #fff;
  border-radius: 12px;
  padding: 28px 0 0;
  color: #1f2937;
  max-width: 100%;
  box-sizing: border-box;
}
.lp-cb-tab-content #lp-course-edit-curriculum .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f5f5f5;
}
.lp-cb-tab-content #lp-course-edit-curriculum .heading h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #1e1e1e;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-items-counts,
.lp-cb-tab-content #lp-course-edit-curriculum .count-sections,
.lp-cb-tab-content #lp-course-edit-curriculum .total-items {
  background: #f5f5f5;
  color: #1e1e1e;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 12px;
  margin-right: 10px;
}
.lp-cb-tab-content #lp-course-edit-curriculum .course-toggle-all-sections {
  cursor: pointer;
  color: #9ca3af;
  margin-right: auto;
  padding: 5px;
}
.lp-cb-tab-content #lp-course-edit-curriculum .curriculum-sections {
  border: none;
}
.lp-cb-tab-content #lp-course-edit-curriculum .curriculum-sections .section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}
.lp-cb-tab-content #lp-course-edit-curriculum .curriculum-sections .section:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-head {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 1px solid transparent;
  border-radius: 8px;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-head .drag {
  cursor: grab;
  color: #9ca3af;
  margin-left: 12px;
  font-size: 16px;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-head .button {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  margin-right: 8px;
  cursor: pointer;
  font-weight: 500;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section:not(.lp-collapse) .section-head {
  border-bottom-color: #f3f4f6;
  border-radius: 8px 8px 0 0;
}
.lp-cb-tab-content #lp-course-edit-curriculum input.lp-section-title-input {
  flex-grow: 1;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #1e1e1e;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s;
  width: auto;
}
.lp-cb-tab-content #lp-course-edit-curriculum input.lp-section-title-input:hover, .lp-cb-tab-content #lp-course-edit-curriculum input.lp-section-title-input:focus {
  background: #fff;
  border-color: #e5e7eb;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-btn-delete-section {
  color: #ef4444;
  background: rgba(254, 226, 226, 0.5);
  border: none;
  transition: background 0.2s;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-btn-delete-section:hover {
  background: #fee2e2;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-icon-angle-down,
.lp-cb-tab-content #lp-course-edit-curriculum .lp-icon-angle-up {
  margin-right: 15px;
  color: #777777;
  cursor: pointer;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-icon-angle-down:hover,
.lp-cb-tab-content #lp-course-edit-curriculum .lp-icon-angle-up:hover {
  color: #1e1e1e !important;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-collapse {
  padding: 20px;
  background-color: #f9fafb;
  border-radius: 0 0 8px 8px;
  border-top: unset;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-description textarea {
  width: 100%;
  border: 1px dashed #d1d5db;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #6b7280;
  resize: vertical;
  min-height: 60px;
  margin-bottom: 15px;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-description textarea:focus {
  border-style: solid;
  border-color: #9ca3af;
  outline: none;
  color: #374151;
}
.lp-cb-tab-content #lp-course-edit-curriculum ul.section-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-add-item-type,
.lp-cb-tab-content #lp-course-edit-curriculum .section-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  margin-bottom: 8px;
  padding: 10px 15px;
  border-radius: 6px;
  position: relative;
  transition: transform 0.1s;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-add-item-type:hover,
.lp-cb-tab-content #lp-course-edit-curriculum .section-item:hover {
  border-color: #9ca3af;
}
.lp-cb-tab-content #lp-course-edit-curriculum .item-ico-type {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 12px;
  opacity: 0.8;
  color: #1e1e1e;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-item.lp_lesson .item-ico-type::before {
  content: "\f119";
  font-family: dashicons;
  font-size: 20px;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-item.lp_quiz .item-ico-type::before {
  content: "\f469";
  font-family: dashicons;
  font-size: 20px;
}
.lp-cb-tab-content #lp-course-edit-curriculum input.lp-item-title-input {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #374151;
  flex-grow: 1;
  padding: 5px;
}
.lp-cb-tab-content #lp-course-edit-curriculum input.lp-item-title-input:focus {
  outline: none;
  text-decoration: underline;
}
.lp-cb-tab-content #lp-course-edit-curriculum ul.item-actions {
  display: flex;
  gap: 8px;
  opacity: 0.3;
  transition: opacity 0.2s;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-cb-tab-content #lp-course-edit-curriculum ul.item-actions li a {
  color: #6b7280;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}
.lp-cb-tab-content #lp-course-edit-curriculum ul.item-actions li a:hover {
  color: #1e1e1e;
}
.lp-cb-tab-content #lp-course-edit-curriculum ul.item-actions li a.lp-icon-trash-o:hover {
  color: #ef4444;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-item:hover ul.item-actions {
  opacity: 1;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-actions .button {
  display: inline-flex;
}
.lp-cb-tab-content #lp-course-edit-curriculum .section-actions .button:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #1e1e1e;
}
.lp-cb-tab-content #lp-course-edit-curriculum button,
.lp-cb-tab-content #lp-course-edit-curriculum .section-actions .button,
.lp-cb-tab-content #lp-course-edit-curriculum .lp-add-item-type button {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #4b5563;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  transition: all 0.2s;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-add-item-type button {
  display: inline-flex;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-add-item-type button:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #1e1e1e;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-btn-show-popup-items-to-select {
  margin-right: auto;
  border-style: dashed !important;
}
.lp-cb-tab-content #lp-course-edit-curriculum .add-new-section {
  margin-top: 30px;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.lp-cb-tab-content #lp-course-edit-curriculum .add-new-section:focus-within {
  border-color: #1e1e1e;
  background: #fff;
}
.lp-cb-tab-content #lp-course-edit-curriculum .add-new-section .lp-icon-plus {
  color: #9ca3af;
}
.lp-cb-tab-content #lp-course-edit-curriculum input.lp-section-title-new-input {
  flex-grow: 1;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border 0.2s;
}
.lp-cb-tab-content #lp-course-edit-curriculum input.lp-section-title-new-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.lp-cb-tab-content #lp-course-edit-curriculum button.lp-btn-add-section {
  background-color: #1e1e1e;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  min-width: fit-content;
}
.lp-cb-tab-content #lp-course-edit-curriculum button.lp-btn-add-section:hover {
  background-color: #333;
}
.lp-cb-tab-content #lp-course-edit-curriculum .lp-hidden {
  display: none !important;
}

.lp-option-disabled {
  pointer-events: none;
  opacity: 0.5;
}

#taxonomy-course_category.categorydiv {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
}
#taxonomy-course_category.categorydiv .category-tabs {
  display: flex !important;
  gap: 20px;
  margin: 0 0 15px 0 !important;
  padding: 0 !important;
  border-bottom: 2px solid #f0f0f0;
}
#taxonomy-course_category.categorydiv .category-tabs li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}
#taxonomy-course_category.categorydiv .category-tabs li a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  padding-bottom: 8px;
  display: block;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
#taxonomy-course_category.categorydiv .category-tabs li.tabs a, #taxonomy-course_category.categorydiv .category-tabs li:hover a {
  color: #1e1e1e;
  border-bottom-color: #1e1e1e;
}
#taxonomy-course_category.categorydiv .tabs-panel {
  border: none !important;
  box-shadow: none !important;
  padding: 5px 0 !important;
  background: transparent !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  display: none;
}
#taxonomy-course_category.categorydiv .tabs-panel::-webkit-scrollbar {
  width: 6px;
}
#taxonomy-course_category.categorydiv .tabs-panel::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
#taxonomy-course_category.categorydiv ul.categorychecklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 30px;
  margin: 0 !important;
  padding: 0 !important;
}
#taxonomy-course_category.categorydiv ul.categorychecklist li {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  list-style: none;
}
#taxonomy-course_category.categorydiv ul.children {
  display: none !important;
  margin-right: 20px !important;
  margin-top: 5px !important;
  padding-right: 10px !important;
  border-right: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}
#taxonomy-course_category.categorydiv ul.children li {
  margin-bottom: 5px !important;
}
#taxonomy-course_category.categorydiv li.children-visible > ul.children {
  display: block !important;
}
#taxonomy-course_category.categorydiv input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #d0d5dd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  margin-left: 8px !important;
  position: relative;
}
#taxonomy-course_category.categorydiv input[type=checkbox]:checked {
  background: #fff;
  border-color: #1e1e1e;
}
#taxonomy-course_category.categorydiv input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #1e1e1e;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
#taxonomy-course_category.categorydiv label {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
  line-height: 1.5;
}

#course_category-adder {
  margin-top: 20px !important;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

#course_category-add-toggle {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #1e1e1e;
  display: flex;
  align-items: center;
}
#course_category-add-toggle:hover {
  color: #2563eb;
}

#course_category-add {
  display: none;
  margin-top: 15px;
}
#course_category-add label {
  display: none !important;
}
#course_category-add input[type=text],
#course_category-add select {
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  height: 40px;
}

#course_category-add-submit {
  background: #1e1e1e;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}
#course_category-add-submit:hover {
  background: #333;
}

.lp-cat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  cursor: pointer;
  color: #9ca3af;
  transition: transform 0.2s ease, color 0.2s;
  font-size: 12px;
}
.lp-cat-toggle::before {
  content: "\f347";
  font-family: dashicons;
}
.lp-cat-toggle:hover {
  color: #1e1e1e;
  background-color: #f3f4f6;
  border-radius: 50%;
}

li.children-visible > label > .lp-cat-toggle {
  transform: rotate(-180deg);
}

#lp-course-builder .cb-list-lesson {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0;
}
#lp-course-builder .cb-tab-lesson__action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#lp-course-builder .cb-input-search-lesson {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #333;
  font-family: inherit;
}
#lp-course-builder .cb-input-search-lesson::placeholder {
  color: #999;
}
#lp-course-builder .cb-tab-lesson__action,
#lp-course-builder .courses-builder__lesson-tab {
  width: calc(100% - 140px);
}
#lp-course-builder .lesson-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
#lp-course-builder .lesson-action-expanded {
  cursor: pointer;
  padding: 15px 0 15px 20px;
}
#lp-course-builder .lesson-action-expanded svg {
  width: 24px;
  height: 24px;
}
#lp-course-builder .btn-edit-lesson {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  padding: 5px 15px;
  gap: 5px;
  background-color: #fff;
  border: 1px solid #1e1e1e;
}
#lp-course-builder .btn-edit-lesson svg {
  width: 1rem;
  height: 1rem;
}
#lp-course-builder .lesson-item {
  display: flex;
  flex-direction: row;
  padding: 5px 20px;
  background: #fff;
  border-radius: 16px;
  gap: 20px;
  font-size: 16px;
}
#lp-course-builder .highlight-new-lesson {
  box-shadow: #c8b4fb 0px 0px 20px 1px;
}
#lp-course-builder .lesson-content {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
#lp-course-builder .lesson-content__left {
  display: flex;
  gap: 15px;
}
#lp-course-builder .lesson-content__right {
  display: flex;
  align-items: center;
  gap: 25px;
}
#lp-course-builder .lesson__preview svg {
  height: 20px;
  width: 20px;
}
#lp-course-builder .wap-lesson-title {
  margin-top: 0;
  margin-bottom: 0;
}
#lp-course-builder .wap-lesson-title button {
  font-size: 20px;
  background: #fff;
  border: none;
  text-decoration: none;
  max-width: 234px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lp-course-builder .lesson-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #ccc;
  border-radius: 5px;
  text-transform: capitalize;
}
#lp-course-builder .lesson-status.publish {
  color: #fff;
  background: #1e1e1e;
}
#lp-course-builder .lesson-status.trash {
  color: #fff;
  background-color: #dc2626;
}
#lp-course-builder .lesson-assigned-courses {
  max-width: 300px;
  margin-left: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#lp-course-builder .lesson-assigned-courses a {
  text-decoration: none;
}
#lp-course-builder .lesson-action-expanded__items {
  display: flex;
  position: absolute;
  min-width: 160px;
  top: 0;
  left: 0;
  transform: translate(-100%, 10px);
  padding: 10px;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  font-size: 16px;
  font-weight: 500;
}
#lp-course-builder .lesson-action-expanded__items.active {
  display: flex !important;
}
#lp-course-builder .lesson-action-expanded__items .lesson-action-expanded__duplicate,
#lp-course-builder .lesson-action-expanded__items .lesson-action-expanded__publish,
#lp-course-builder .lesson-action-expanded__items .lesson-action-expanded__trash,
#lp-course-builder .lesson-action-expanded__items .lesson-action-expanded__delete {
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 6px;
}
#lp-course-builder .lesson-action-expanded__items .lesson-action-expanded__duplicate:hover,
#lp-course-builder .lesson-action-expanded__items .lesson-action-expanded__publish:hover,
#lp-course-builder .lesson-action-expanded__items .lesson-action-expanded__trash:hover,
#lp-course-builder .lesson-action-expanded__items .lesson-action-expanded__delete:hover {
  background-color: #f5f5f5;
}
#lp-course-builder .lesson-action-expanded:hover + .lesson-action-expanded__items,
#lp-course-builder .lesson-action-expanded__items:hover {
  display: flex !important;
}

.lp-course-builder-content__section .lesson-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #ccc;
  border-radius: 5px;
  text-transform: capitalize;
}
.lp-course-builder-content__section .lesson-status.publish {
  color: #fff;
  background: #1e1e1e;
}
.lp-course-builder-content__section .lesson-status.trash {
  color: #fff;
  background-color: #dc2626;
}
.lp-course-builder-content__section .cb-section__lesson-title-assigned {
  display: flex;
  gap: 40px;
}
.lp-course-builder-content__section .cb-lesson-edit-title {
  flex: 1;
  margin-bottom: 24px;
}
.lp-course-builder-content__section .lesson-assigned-courses {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-left: 0 !important;
}
.lp-course-builder-content__section .lesson-assigned-courses .label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .lesson-assigned-courses a,
.lp-course-builder-content__section .lesson-assigned-courses span {
  font-size: 16px;
  font-weight: 400;
}
.lp-course-builder-content__section .cb-lesson-edit-title__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-lesson-edit-title__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.lp-course-builder-content__section .cb-lesson-edit-title__input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.lp-course-builder-content__section .cb-lesson-edit-desc {
  margin-bottom: 24px;
}
.lp-course-builder-content__section .cb-lesson-edit-desc__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-button {
  padding: 8px 25px;
  border-radius: 5px;
  background: #ccc;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.lp-course-builder-content__section .cb-button.cb-btn-update__lesson {
  background: #1e1e1e;
  color: #fff;
}
.lp-course-builder-content__section .cb-button.cb-btn-trash__lesson {
  background: rgb(220, 38, 38);
  color: #fff;
}
.lp-course-builder-content__section .field-material__label {
  width: unset;
  max-width: unset;
  min-width: unset;
}
.lp-course-builder-content__section .lp-material-btn-wrap {
  display: flex;
  gap: 12px;
}
.lp-course-builder-content__section #btn-lp--add-material,
.lp-course-builder-content__section #btn-lp--save-material {
  padding: 8px 25px;
  border-radius: 5px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #d1d5db;
}
.lp-course-builder-content__section table.lp-material--table thead.hidden {
  display: none;
}
@media (max-width: 768px) {
  .lp-course-builder-content__section #lp-course-builder-content {
    padding: 16px;
  }
}

.lp-course-builder-content__section .cb-section__quiz-title-assigned {
  display: flex;
  gap: 40px;
}
.lp-course-builder-content__section .lp-question-type-label {
  background: #e5e7eb;
  color: #4b5563;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
  white-space: nowrap;
}
.lp-course-builder-content__section .lp-question-data-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
}
.lp-course-builder-content__section .lp-question-data-edit-header label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lp-course-builder-content__section .lp-answers-config {
  margin-top: 15px;
}
.lp-course-builder-content__section .lp-question-by-type {
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #dcdcde;
}
.lp-course-builder-content__section .lp-question-choice-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 25px 10px 25px;
  font-size: 12px;
  color: #1e1e1e;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: #f5f5f5;
}
.lp-course-builder-content__section .lp-question-answer-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  border-radius: 4px;
  padding: 10px;
  border: 1px solid #f5f5f5;
  border-top: 1px solid #f5f5f5;
  position: relative;
}
.lp-course-builder-content__section .lp-question-answer-item .drag {
  color: #d1d5db;
  cursor: move;
  margin-left: 8px;
  font-size: 14px;
}
.lp-course-builder-content__section input.lp-question-answer-title-input {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  transition: border 0.2s;
  margin-left: 10px;
}
.lp-course-builder-content__section input.lp-question-answer-title-input:focus {
  border-color: #9ca3af;
  outline: none;
}
.lp-course-builder-content__section .lp-btn-delete-question-answer {
  color: #ef4444;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  margin-left: 10px;
  font-size: 16px;
}
.lp-course-builder-content__section .lp-question-answer-item:hover .lp-btn-delete-question-answer {
  opacity: 1;
}
.lp-course-builder-content__section .lp-question-answer-item input[type=radio],
.lp-course-builder-content__section .lp-question-answer-item input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.lp-course-builder-content__section .lp-question-answer-item input[type=checkbox] {
  border-radius: 4px;
}
.lp-course-builder-content__section .lp-question-answer-item input:checked {
  border-color: #10b981;
}
.lp-course-builder-content__section .lp-question-answer-item input:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}
.lp-course-builder-content__section .lp-question-answer-item input[type=checkbox]:checked {
  background: #10b981;
}
.lp-course-builder-content__section .lp-question-answer-item input[type=checkbox]:checked::after {
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 0 2px 2px;
  transform: translate(50%, -60%) rotate(-45deg);
  background: transparent;
  border-radius: 0;
}
.lp-course-builder-content__section .lp-question-answer-item-add-new {
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding-right: 10px;
  border-radius: 4px;
  border: 1px solid #f5f5f5;
  border-top: 1px solid #f5f5f5;
}
.lp-course-builder-content__section .lp-question-answer-item-add-new .lp-icon-plus {
  color: #9ca3af;
  margin-left: 8px;
}
.lp-course-builder-content__section input.lp-question-answer-title-new-input {
  flex-grow: 1;
  border: 1px dashed #d1d5db;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-left: 10px;
}
.lp-course-builder-content__section input.lp-question-answer-title-new-input:focus {
  border: 1px solid #9ca3af;
  outline: none;
}
.lp-course-builder-content__section .lp-question-fib-buttons {
  flex-wrap: wrap;
}
.lp-course-builder-content__section .lp-question-fib-buttons button,
.lp-course-builder-content__section .lp-btn-add-question-answer {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  min-width: fit-content;
}
.lp-course-builder-content__section .lp-question-fib-buttons button.lp-btn-fib-save-content {
  border-color: #1e1e1e;
  background: #1e1e1e;
  color: #fff;
}
.lp-course-builder-content__section .lp-btn-add-question-answer:hover {
  background: #e5e7eb;
  color: #1e1e1e;
}
.lp-course-builder-content__section .lp-question-field-settings {
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  gap: 6px 12px;
}
.lp-course-builder-content__section .lp-question-field-settings__label label {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  display: block;
  margin-bottom: 5px;
}
.lp-course-builder-content__section .lp-question-field-settings input[name=lp-question-point-input] {
  width: 80px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
}
.lp-course-builder-content__section .lp-question-fib-desc,
.lp-course-builder-content__section .lp-question-field-settings___desc {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
  font-style: italic;
}
.lp-course-builder-content__section .lp-edit-quiz-wrap .add-new-question {
  margin-top: 30px;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-course-builder-content__section .lp-edit-quiz-wrap .add-new-question.lp-icon-plus {
  color: #9ca3af;
}
.lp-course-builder-content__section .lp-edit-quiz-wrap .add-new-question select {
  height: 38px;
}
.lp-course-builder-content__section .lp-edit-quiz-wrap input.lp-question-title-new-input {
  flex-grow: 1;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  min-width: 200px;
}
.lp-course-builder-content__section .lp-edit-quiz-wrap input.lp-question-title-new-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.lp-course-builder-content__section select.lp-question-type-new {
  padding: 0 12px 0 30px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color: #fff;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}
.lp-course-builder-content__section button.lp-btn-add-question {
  background-color: #1e1e1e;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  min-width: fit-content;
}
.lp-course-builder-content__section button.lp-btn-add-question:hover {
  background-color: #1e1e1e;
}
.lp-course-builder-content__section button.lp-btn-show-popup-items-to-select {
  background-color: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  min-width: fit-content;
}
.lp-course-builder-content__section [class*=lp-icon-]:hover {
  color: #1e1e1e;
}
.lp-course-builder-content__section button.lp-btn-show-popup-items-to-select:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}
.lp-course-builder-content__section .lp-question-fib-option-header {
  background: #f5f5f5;
}
.lp-course-builder-content__section .lp-question-fib-option-header .lp-question-fib-option-index {
  font-weight: 600;
  font-size: 16px;
}
.lp-course-builder-content__section .lp-btn-fib-option-delete:hover {
  color: #ef4444;
}
.lp-course-builder-content__section .lp-question-fib-option-detail {
  font-size: 16px;
}
.lp-course-builder-content__section .lp-question-fib-option-detail > label {
  display: flex;
  flex-direction: row-reverse;
  font-weight: 500;
  gap: 8px;
  min-width: 80px;
  justify-content: flex-end;
  align-items: center;
}
.lp-course-builder-content__section .lp-question-fib-option-detail input[type=checkbox] {
  order: 1;
  margin-top: 2px;
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
  flex-shrink: 0;
}
.lp-course-builder-content__section .lp-question-fib-option-detail input[type=checkbox]:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  right: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.lp-course-builder-content__section .lp-question-fib-option-detail input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-course-builder-content__section .lp-question-fib-option-detail input[type=checkbox]:checked {
  background: #3b82f6;
}
.lp-course-builder-content__section .lp-question-fib-option-detail input[type=checkbox]:checked:before {
  right: 22px;
}
.lp-course-builder-content__section .lp-question-fib-option-detail .lp-question-fib-option-match-case-wrap > * {
  display: flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.lp-course-builder-content__section .lp-question-fib-option-detail .lp-question-fib-option-match-case-wrap > * label {
  display: flex;
  flex-direction: row-reverse;
  font-weight: 500;
  gap: 8px;
  min-width: 80px;
  justify-content: space-between;
  align-items: self-start;
}
.lp-course-builder-content__section .lp-question-fib-option-detail .lp-question-fib-option-match-case-wrap > * label input {
  margin-top: 3px;
}
.lp-course-builder-content__section .lp-question-fib-option-detail .lp-question-fib-option-match-case-wrap > * p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  display: block;
  font-weight: 400;
}
.lp-course-builder-content__section .lp-section-collapse {
  border-radius: 6px;
}
.lp-course-builder-content__section .cb-quiz-edit-title {
  flex: 1;
  margin-bottom: 24px;
}
.lp-course-builder-content__section .quiz-assigned-courses {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-left: 0 !important;
}
.lp-course-builder-content__section .quiz-assigned-courses .label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .quiz-assigned-courses a,
.lp-course-builder-content__section .quiz-assigned-courses span {
  font-size: 16px;
  font-weight: 400;
}
.lp-course-builder-content__section .lp-cb-section__title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
  color: #1e1e1e;
}
.lp-course-builder-content__section .quiz-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #ccc;
  border-radius: 5px;
  text-transform: capitalize;
}
.lp-course-builder-content__section .quiz-status.publish {
  color: #fff;
  background: #1e1e1e;
}
.lp-course-builder-content__section .quiz-status.trash {
  color: #fff;
  background-color: #dc2626;
}
.lp-course-builder-content__section .cb-quiz-edit-title {
  margin-bottom: 24px;
}
.lp-course-builder-content__section .cb-quiz-edit-title__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-quiz-edit-title__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.lp-course-builder-content__section .cb-quiz-edit-title__input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.lp-course-builder-content__section .cb-quiz-edit-desc {
  margin-bottom: 24px;
}
.lp-course-builder-content__section .cb-quiz-edit-desc__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-button {
  padding: 8px 25px;
  border-radius: 5px;
  background: #ccc;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.lp-course-builder-content__section .cb-button.cb-btn-update__quiz {
  background: #1e1e1e;
  color: #fff;
}
.lp-course-builder-content__section .cb-button.cb-btn-trash__quiz {
  background: rgb(220, 38, 38);
  color: #fff;
}
@media (max-width: 768px) {
  .lp-course-builder-content__section #lp-course-builder-content {
    padding: 16px;
  }
}

#lp-course-builder-content .lp-edit-quiz-wrap {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 30px;
  color: #1f2937;
  margin-top: 20px;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-edit-list-questions {
  border: none;
}
#lp-course-builder-content .lp-edit-quiz-wrap .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f3f4f6;
}
#lp-course-builder-content .lp-edit-quiz-wrap .heading h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #1e1e1e;
}
#lp-course-builder-content .lp-edit-quiz-wrap .total-items {
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 10px;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-toggle-all {
  cursor: pointer;
  color: #9ca3af;
  margin-right: auto;
  padding: 5px;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item .lp-btn-update-question-title,
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item .lp-btn-cancel-update-question-title {
  display: none;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item.editing .lp-btn-update-question-title,
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item.editing .lp-btn-cancel-update-question-title {
  display: inline-block;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item.editing .lp-btn-edit-question-title,
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item.editing .lp-btn-remove-question {
  display: none;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item .lp-btn-cancel-update-question-title {
  border: none;
  background: transparent;
  cursor: pointer;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item .lp-btn-cancel-update-question-title:hover {
  background: #f0f0f1;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05);
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: #fff;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-item:not(.lp-collapse) .lp-question-head {
  border-bottom: 1px solid #f3f4f6;
  border-radius: 8px 8px 0 0;
  background-color: #f9fafb;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head .drag {
  color: #9ca3af;
  cursor: grab;
  margin-left: 10px;
  font-size: 16px;
}
#lp-course-builder-content .lp-edit-quiz-wrap input.lp-question-title-input {
  flex-grow: 1;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s;
  margin-left: 10px;
}
#lp-course-builder-content .lp-edit-quiz-wrap input.lp-question-title-input:hover,
#lp-course-builder-content .lp-edit-quiz-wrap input.lp-question-title-input:focus {
  background: #fff;
  border-color: #e5e7eb;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head .lp-btn-edit-question-title,
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head .lp-btn-remove-question,
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head .lp-question-toggle {
  color: #9ca3af;
  cursor: pointer;
  padding: 6px;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head .lp-btn-edit-question-title:hover {
  color: #3b82f6;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head .lp-btn-remove-question:hover {
  color: #ef4444;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head .lp-question-toggle:hover {
  color: #1e1e1e;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-head .button {
  font-size: 12px;
  padding: 4px 10px;
  margin-left: 5px;
  display: none;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-question-edit-main {
  padding: 20px;
  background: #fff;
  border-radius: 0 0 8px 8px;
}
#lp-course-builder-content .lp-edit-quiz-wrap .mce-menubar {
  border: none;
  background: #f5f5f5;
}
#lp-course-builder-content .lp-edit-quiz-wrap .lp-icon-spinner {
  font-size: 12px;
}

.lp-course-builder-content__section .question-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #ccc;
  border-radius: 5px;
  text-transform: capitalize;
}
.lp-course-builder-content__section .question-status.publish {
  color: #fff;
  background: #1e1e1e;
}
.lp-course-builder-content__section .question-status.trash {
  color: #fff;
  background-color: #dc2626;
}
.lp-course-builder-content__section .cb-section__question-title-assigned {
  display: flex;
  gap: 40px;
}
.lp-course-builder-content__section .cb-question-edit-title {
  flex: 1;
  margin-bottom: 24px;
}
.lp-course-builder-content__section .question-assigned-quizzes {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-left: 0 !important;
}
.lp-course-builder-content__section .question-assigned-quizzes .label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .question-assigned-quizzes a,
.lp-course-builder-content__section .question-assigned-quizzes span {
  font-size: 16px;
  font-weight: 400;
}
.lp-course-builder-content__section .cb-question-edit-title__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-question-edit-title__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.lp-course-builder-content__section .cb-question-edit-title__input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.lp-course-builder-content__section .cb-question-edit-desc {
  margin-bottom: 24px;
}
.lp-course-builder-content__section .cb-question-edit-desc__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.lp-course-builder-content__section .cb-button {
  padding: 8px 25px;
  border-radius: 5px;
  background: #ccc;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.lp-course-builder-content__section .cb-button.cb-btn-update__question {
  background: #1e1e1e;
  color: #fff;
}
.lp-course-builder-content__section .cb-button.cb-btn-trash__question {
  background: rgb(220, 38, 38);
  color: #fff;
}
@media (max-width: 768px) {
  .lp-course-builder-content__section #lp-course-builder-content {
    padding: 16px;
  }
}

/**
 * Builder Popup Styles
 * Styles for AJAX popup loading of lesson, quiz, and question builders.
 * Reuses styles from admin edit quiz/question for consistency.
 *
 * @since 4.3.0
 * @version 1.0.0
 */
#lp-builder-popup-container {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}
#lp-builder-popup-container.active {
  display: block;
}
#lp-builder-popup-container #lp-material-container {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  display: block;
}
#lp-builder-popup-container .field-material__label {
  width: 150px;
  max-width: 150px;
  min-width: 150px;
  margin-left: 11px;
}
#lp-builder-popup-container .lp-material--field-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
}
#lp-builder-popup-container .lp-material--field-external-link,
#lp-builder-popup-container .lp-material--field-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 200px;
  height: 33px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
}
#lp-builder-popup-container .lp-material--field-method {
  width: 100%;
  max-width: 200px;
  height: 33px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
}
#lp-builder-popup-container .lp-material-save-field,
#lp-builder-popup-container .lp-material--delete {
  padding: 8px 20px;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #d1d5db;
  transition: all 0.2s;
}
#lp-builder-popup-container .lp-material--upload-wrap label {
  cursor: pointer;
  width: 100%;
  max-width: 200px;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.2s;
  margin-right: 56px;
}
#lp-builder-popup-container .lp-material--field-upload {
  display: none;
}
#lp-builder-popup-container .lp-material--upload-wrap label:hover {
  background-color: #f5f5f5;
  border-color: #9ca3af;
}
#lp-builder-popup-container .lp-material--upload-wrap label:active {
  background-color: #d0d0d0;
  transform: scale(0.98);
}
#lp-builder-popup-container .lp-material--upload-wrap label::before {
  content: "📁 ";
  margin-left: 5px;
}

body.lp-popup-open {
  overflow: hidden;
}

.lp-builder-popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  z-index: 1;
}

.lp-builder-popup {
  position: fixed;
  inset: 5vh 5% 5vh 5%;
  width: auto;
  max-width: 900px;
  max-height: none;
  height: auto;
  margin: auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: inset 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lp-builder-popup--fullscreen {
  inset: 0;
  max-width: 100%;
  border-radius: 0;
}
.lp-builder-popup--loading {
  width: auto;
  max-width: none;
  padding: 40px 60px;
  text-align: center;
}
.lp-builder-popup__loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.lp-builder-popup__loader .lp-loading-circle {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #1e1e1e;
  border-radius: 50%;
  animation: lp-popup-spin 0.8s linear infinite;
}
.lp-builder-popup__loader span {
  color: #666;
  font-size: 14px;
}
.lp-builder-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  background-color: #fff;
  flex-shrink: 0;
}
.lp-builder-popup__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-builder-popup__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-builder-popup__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
}
.lp-builder-popup__resize {
  background: none;
  border: none;
  font-size: 16px;
  color: #9ca3af;
  cursor: pointer;
  padding: 8px 10px;
  line-height: 1;
  transition: all 0.2s;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-builder-popup__resize:hover {
  color: #1e1e1e;
  background-color: #f3f4f6;
}
.lp-builder-popup__resize i {
  font-size: 16px;
}
.lp-builder-popup__close {
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  padding: 5px 10px;
  line-height: 1;
  transition: color 0.2s;
  border-radius: 4px;
}
.lp-builder-popup__close:hover {
  color: #d63638;
  background-color: #fee2e2;
}
.lp-builder-popup__body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  background-color: #fff;
}
.lp-builder-popup__tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 24px;
  border-bottom: 1px solid #e5e7eb;
  background-color: #fff;
  gap: 8px;
}
.lp-builder-popup__tab {
  padding: 14px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-bottom: -1px;
}
.lp-builder-popup__tab:hover {
  color: #1e1e1e;
}
.lp-builder-popup__tab.active {
  color: #1e1e1e;
  border-bottom-color: #1e1e1e;
}
.lp-builder-popup__tab-content {
  padding: 24px;
}
.lp-builder-popup__tab-pane {
  display: none;
}
.lp-builder-popup__tab-pane.active {
  display: block;
}
.lp-builder-popup__notice {
  padding: 15px;
  background-color: #f0f6fc;
  border-right: 4px solid #3b82f6;
  color: #1e1e1e;
  margin: 0 0 20px;
  border-radius: 6px 0 0 6px;
}
.lp-builder-popup__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  background-color: #fff;
  flex-shrink: 0;
}
.lp-builder-popup__footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-builder-popup__footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-builder-popup__btn {
  padding: 8px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.lp-builder-popup__btn--cancel {
  background-color: #f3f4f6;
  color: #1a1a1a;
  border: 1px solid #d1d5db;
}
.lp-builder-popup__btn--cancel:hover {
  background-color: #e5e7eb;
}
.lp-builder-popup__btn--save {
  background-color: #1e1e1e;
  color: #fff;
}
.lp-builder-popup__btn--save:hover {
  background-color: #333;
}
.lp-builder-popup__btn--save:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.lp-builder-popup__btn--trash {
  background-color: rgb(220, 38, 38);
  color: #fff;
}
.lp-builder-popup__btn--trash:hover {
  background-color: rgb(185, 28, 28);
}
.lp-builder-popup .cb-button {
  padding: 8px 25px;
  border-radius: 5px;
  background: #f3f4f6;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #d1d5db;
  transition: all 0.2s;
}
.lp-builder-popup .cb-button:hover {
  background: #e5e7eb;
}
.lp-builder-popup .cb-button.cb-btn-update__lesson, .lp-builder-popup .cb-button.cb-btn-update__question, .lp-builder-popup .cb-button.cb-btn-update__quiz {
  background: #1e1e1e;
  color: #fff;
  border: none;
}
.lp-builder-popup .cb-button.cb-btn-update__lesson:hover, .lp-builder-popup .cb-button.cb-btn-update__question:hover, .lp-builder-popup .cb-button.cb-btn-update__quiz:hover {
  background: #333;
}
.lp-builder-popup .cb-button.cb-btn-trash__lesson, .lp-builder-popup .cb-button.cb-btn-trash__question, .lp-builder-popup .cb-button.cb-btn-trash__quiz {
  background: rgb(220, 38, 38);
  color: #fff;
  border: none;
}
.lp-builder-popup .cb-button.cb-btn-trash__lesson:hover, .lp-builder-popup .cb-button.cb-btn-trash__question:hover, .lp-builder-popup .cb-button.cb-btn-trash__quiz:hover {
  background: rgb(185, 28, 28);
}
.lp-builder-popup .cb-button.cb-btn-publish__lesson, .lp-builder-popup .cb-button.cb-btn-publish__question, .lp-builder-popup .cb-button.cb-btn-publish__quiz {
  background: #1e1e1e;
  color: #fff;
  border: none;
}
.lp-builder-popup .cb-button.cb-btn-publish__lesson:hover, .lp-builder-popup .cb-button.cb-btn-publish__question:hover, .lp-builder-popup .cb-button.cb-btn-publish__quiz:hover {
  background: #333;
}
.lp-builder-popup .lesson-status,
.lp-builder-popup .question-status,
.lp-builder-popup .quiz-status {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #f3f4f6;
  border-radius: 5px;
  text-transform: capitalize;
}
.lp-builder-popup .lesson-status.publish,
.lp-builder-popup .question-status.publish,
.lp-builder-popup .quiz-status.publish {
  color: #fff;
  background: #1e1e1e;
}
.lp-builder-popup .lesson-status.draft,
.lp-builder-popup .question-status.draft,
.lp-builder-popup .quiz-status.draft {
  color: #1a1a1a;
  background: #fbbf24;
}
.lp-builder-popup .lesson-status.trash,
.lp-builder-popup .question-status.trash,
.lp-builder-popup .quiz-status.trash {
  color: #fff;
  background-color: #dc2626;
}
.lp-builder-popup .cb-section__header {
  display: none;
}
.lp-builder-popup .lp-meta-box,
.lp-builder-popup .lp-meta-box-wrap {
  margin: 0;
  background: transparent;
}
.lp-builder-popup .lp-meta-box .lp-meta-box__inner,
.lp-builder-popup .lp-meta-box-wrap .lp-meta-box__inner {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lp-builder-popup .form-field,
.lp-builder-popup .lp-meta-box__duration,
.lp-builder-popup .lp-meta-box-field {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 0;
}
.lp-builder-popup .form-field > label,
.lp-builder-popup .form-field label span,
.lp-builder-popup .lp-meta-box__duration > label,
.lp-builder-popup .lp-meta-box__duration label span,
.lp-builder-popup .lp-meta-box-field > label,
.lp-builder-popup .lp-meta-box-field label span {
  font-size: 14px;
  color: #23282d;
  margin: 0;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  padding: 0;
  font-weight: 600;
  flex: 0 0 auto;
}
.lp-builder-popup .form-field input[type=number],
.lp-builder-popup .form-field input[type=text],
.lp-builder-popup .form-field input[type=datetime-local],
.lp-builder-popup .lp-meta-box__duration input[type=number],
.lp-builder-popup .lp-meta-box__duration input[type=text],
.lp-builder-popup .lp-meta-box__duration input[type=datetime-local],
.lp-builder-popup .lp-meta-box-field input[type=number],
.lp-builder-popup .lp-meta-box-field input[type=text],
.lp-builder-popup .lp-meta-box-field input[type=datetime-local] {
  width: 100%;
  max-width: 200px;
  height: 33px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
}
.lp-builder-popup .form-field input[type=number]:focus,
.lp-builder-popup .form-field input[type=text]:focus,
.lp-builder-popup .form-field input[type=datetime-local]:focus,
.lp-builder-popup .lp-meta-box__duration input[type=number]:focus,
.lp-builder-popup .lp-meta-box__duration input[type=text]:focus,
.lp-builder-popup .lp-meta-box__duration input[type=datetime-local]:focus,
.lp-builder-popup .lp-meta-box-field input[type=number]:focus,
.lp-builder-popup .lp-meta-box-field input[type=text]:focus,
.lp-builder-popup .lp-meta-box-field input[type=datetime-local]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .form-field textarea,
.lp-builder-popup .lp-meta-box__duration textarea,
.lp-builder-popup .lp-meta-box-field textarea {
  order: 3;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
  min-height: 80px;
  resize: vertical;
}
.lp-builder-popup .form-field textarea:focus,
.lp-builder-popup .lp-meta-box__duration textarea:focus,
.lp-builder-popup .lp-meta-box-field textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .form-field select,
.lp-builder-popup .lp-meta-box__duration select,
.lp-builder-popup .lp-meta-box-field select {
  padding: 4px 12px;
  height: 34px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
  cursor: pointer;
}
.lp-builder-popup .form-field select:focus,
.lp-builder-popup .lp-meta-box__duration select:focus,
.lp-builder-popup .lp-meta-box-field select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .form-field input[type=checkbox],
.lp-builder-popup .lp-meta-box__duration input[type=checkbox],
.lp-builder-popup .lp-meta-box-field input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
  flex-shrink: 0;
  border: none;
}
.lp-builder-popup .form-field input[type=checkbox]:before,
.lp-builder-popup .lp-meta-box__duration input[type=checkbox]:before,
.lp-builder-popup .lp-meta-box-field input[type=checkbox]:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  right: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.lp-builder-popup .form-field input[type=checkbox]:checked,
.lp-builder-popup .lp-meta-box__duration input[type=checkbox]:checked,
.lp-builder-popup .lp-meta-box-field input[type=checkbox]:checked {
  background: #3b82f6;
}
.lp-builder-popup .form-field input[type=checkbox]:checked:before,
.lp-builder-popup .lp-meta-box__duration input[type=checkbox]:checked:before,
.lp-builder-popup .lp-meta-box-field input[type=checkbox]:checked:before {
  right: 22px;
}
.lp-builder-popup .form-field input[type=checkbox]:focus,
.lp-builder-popup .lp-meta-box__duration input[type=checkbox]:focus,
.lp-builder-popup .lp-meta-box-field input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .form-field .description,
.lp-builder-popup .lp-meta-box__duration .description,
.lp-builder-popup .lp-meta-box-field .description {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  display: block;
}
.lp-builder-popup .form-field:has(input[type=checkbox]),
.lp-builder-popup .lp-meta-box__duration:has(input[type=checkbox]),
.lp-builder-popup .lp-meta-box-field:has(input[type=checkbox]) {
  flex-direction: row;
  align-items: center;
  gap: 11px;
}
.lp-builder-popup .form-field:has(input[type=checkbox]) input[type=checkbox],
.lp-builder-popup .lp-meta-box__duration:has(input[type=checkbox]) input[type=checkbox],
.lp-builder-popup .lp-meta-box-field:has(input[type=checkbox]) input[type=checkbox] {
  order: 1;
  margin-top: 2px;
}
.lp-builder-popup .form-field:has(input[type=checkbox]) .description,
.lp-builder-popup .lp-meta-box__duration:has(input[type=checkbox]) .description,
.lp-builder-popup .lp-meta-box-field:has(input[type=checkbox]) .description {
  order: 3;
}
.lp-builder-popup .form-field._lp_hint_field,
.lp-builder-popup .form-field._lp_explanation_field,
.lp-builder-popup ._lp_duration_field,
.lp-builder-popup ._lp_course_repurchase_option_field {
  flex-wrap: wrap;
}
.lp-builder-popup .form-field._lp_hint_field .description,
.lp-builder-popup .form-field._lp_explanation_field .description,
.lp-builder-popup ._lp_duration_field .description,
.lp-builder-popup ._lp_course_repurchase_option_field .description {
  width: 100%;
  margin-right: 161px;
  margin-top: 6px;
}
.lp-builder-popup .lp-meta-box__duration > :not(label):not(.description) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-builder-popup .lp-meta-box__duration .description {
  margin-top: 4px;
}
.lp-builder-popup #_lp_passing_grade,
.lp-builder-popup #_lp_retake_count,
.lp-builder-popup #_lp_pagination {
  max-width: 100px;
}
.lp-builder-popup .lp-radios-field-meta-box {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.lp-builder-popup .lp-radios-field-meta-box li {
  margin-bottom: 8px;
}
.lp-builder-popup .lp-radios-field-meta-box li:last-child {
  margin-bottom: 0;
}
.lp-builder-popup .lp-radios-field-meta-box li label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  width: auto;
  min-width: auto;
  max-width: none;
  cursor: pointer;
}
.lp-builder-popup .lp-radios-field-meta-box li input[type=radio] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #1e1e1e;
}
.lp-builder-popup .wp-editor-wrap {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
}
.lp-builder-popup .wp-editor-wrap .wp-editor-tools {
  background-color: #f5f5f5;
  margin: 8px 8px 0;
  border-radius: 12px 12px 0 0;
}
.lp-builder-popup .wp-editor-wrap .wp-media-buttons {
  padding: 8px 8px 0;
}
.lp-builder-popup .wp-editor-wrap button.insert-media,
.lp-builder-popup .wp-editor-wrap input.button {
  color: #1e1e1e;
  border-color: #d1d5db;
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  line-height: 2.15384615;
  min-height: 30px;
  margin: 0;
  padding: 0 10px;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  white-space: nowrap;
  box-sizing: border-box;
  background: #fff;
}
.lp-builder-popup .wp-editor-wrap button.insert-media:hover,
.lp-builder-popup .wp-editor-wrap input.button:hover {
  background: #f5f5f5;
  border-color: #9ca3af;
}
.lp-builder-popup .wp-editor-wrap .mce-tinymce {
  border: none !important;
  visibility: visible !important;
}
.lp-builder-popup .wp-editor-wrap .mce-top-part::before {
  box-shadow: none;
}
.lp-builder-popup .wp-editor-wrap div.mce-statusbar {
  border-top: none;
}
.lp-builder-popup .wp-editor-wrap .wp-editor-tabs button {
  margin: 8px 0 8px 8px;
  border-bottom-color: #dcdcde;
  border-radius: 4px;
  background: #f5f5f5;
  border: 1px solid #d1d5db;
  padding: 4px 12px;
  font-size: 13px;
}
.lp-builder-popup .wp-editor-wrap .wp-editor-tabs button[aria-pressed=true] {
  background: #fff;
  color: #1e1e1e;
}
.lp-builder-popup .wp-editor-wrap .mce-top-part,
.lp-builder-popup .wp-editor-wrap .quicktags-toolbar {
  background-color: #f5f5f5;
  margin: 0 8px 0;
  padding: 0;
  border-radius: 0 0 8px 8px;
}
.lp-builder-popup .wp-editor-wrap .mce-top-part::before {
  box-shadow: none;
}
.lp-builder-popup .wp-editor-wrap .quicktags-toolbar {
  padding: 6px;
  border-bottom: none;
}
.lp-builder-popup .wp-editor-wrap .mce-toolbar-grp {
  background: none;
  border-bottom: none;
}
.lp-builder-popup .wp-editor-wrap .mce-toolbar-grp > div {
  padding: 0 8px 8px !important;
}
.lp-builder-popup .wp-editor-wrap .wp-editor-container {
  border: none;
}
.lp-builder-popup .wp-editor-wrap textarea.wp-editor-area {
  border: none;
  border-top: 0;
  border-radius: 0;
  padding: 12px;
}
.lp-builder-popup .wp-editor-container {
  border: none !important;
  background: #fff;
}
.lp-builder-popup .mce-top-part {
  margin: 0 !important;
}
.lp-builder-popup .quicktags-toolbar {
  border-radius: 0 0 8px 8px;
  margin: 0 !important;
  padding: 8px !important;
}
.lp-builder-popup .lp-material--table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}
.lp-builder-popup .lp-material--table th,
.lp-builder-popup .lp-material--table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e7eb;
  text-align: right;
}
.lp-builder-popup .lp-material--table th {
  background-color: #f9fafb;
  font-weight: 600;
  font-size: 13px;
  color: #374151;
}
.lp-builder-popup .lp-material--table td {
  font-size: 14px;
  color: #1e1e1e;
}
.lp-builder-popup .lp-material--table tr:last-child td {
  border-bottom: none;
}
.lp-builder-popup .lp-material--table tr:hover td {
  background-color: #f9fafb;
}
.lp-builder-popup .lp-material--table thead.hidden {
  display: none;
}
.lp-builder-popup .lp-material-btn-wrap {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.lp-builder-popup #btn-lp--add-material,
.lp-builder-popup #btn-lp--save-material {
  padding: 8px 20px;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #d1d5db;
  transition: all 0.2s;
}
.lp-builder-popup #btn-lp--add-material:hover,
.lp-builder-popup #btn-lp--save-material:hover {
  background: #f5f5f5;
  border-color: #9ca3af;
}
.lp-builder-popup .cb-lesson-edit-title,
.lp-builder-popup .cb-quiz-edit-title,
.lp-builder-popup .cb-question-edit-title {
  margin-bottom: 24px;
  flex: 1;
}
.lp-builder-popup .cb-lesson-edit-title__label,
.lp-builder-popup .cb-quiz-edit-title__label,
.lp-builder-popup .cb-question-edit-title__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #1e1e1e;
}
.lp-builder-popup .cb-lesson-edit-title__input,
.lp-builder-popup .cb-quiz-edit-title__input,
.lp-builder-popup .cb-question-edit-title__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
}
.lp-builder-popup .cb-lesson-edit-title__input:focus,
.lp-builder-popup .cb-quiz-edit-title__input:focus,
.lp-builder-popup .cb-question-edit-title__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .cb-lesson-edit-desc,
.lp-builder-popup .cb-quiz-edit-desc,
.lp-builder-popup .cb-question-edit-desc {
  margin-bottom: 24px;
}
.lp-builder-popup .cb-lesson-edit-desc__label,
.lp-builder-popup .cb-quiz-edit-desc__label,
.lp-builder-popup .cb-question-edit-desc__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #1e1e1e;
}
.lp-builder-popup .lp-form-setting-lesson .lp-meta-box,
.lp-builder-popup .lp-form-setting-quiz .lp-meta-box,
.lp-builder-popup .lp-form-setting-question .lp-meta-box {
  margin: 0;
  background: transparent;
}
.lp-builder-popup .lp-form-setting-lesson .lp-meta-box__inner,
.lp-builder-popup .lp-form-setting-quiz .lp-meta-box__inner,
.lp-builder-popup .lp-form-setting-question .lp-meta-box__inner {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lp-builder-popup .lp-meta-box-course-panels::before {
  content: attr(data-tab-title);
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.2;
}
.lp-builder-popup .cb-section__question-title-assigned {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.lp-builder-popup .cb-section__question-title-assigned .cb-question-edit-title {
  margin-bottom: 0;
}
.lp-builder-popup .cb-section__question-title-assigned .question-assigned-quizzes {
  flex-shrink: 0;
  padding: 10px 14px;
  background-color: #f3f4f6;
  border-radius: 6px;
  font-size: 13px;
  margin-top: auto;
  border: 1px solid #e5e7eb;
}
.lp-builder-popup .cb-section__question-title-assigned .question-assigned-quizzes .label {
  color: #6b7280;
  margin-left: 5px;
}
.lp-builder-popup .cb-section__question-title-assigned .question-assigned-quizzes a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}
.lp-builder-popup .cb-section__question-title-assigned .question-assigned-quizzes a:hover {
  text-decoration: underline;
}
.lp-builder-popup .cb-section__question-title-assigned .question-assigned-quizzes .question-not-assigned {
  color: #9ca3af;
  font-style: italic;
}
.lp-builder-popup .cb-section__lesson-title-assigned {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
}
.lp-builder-popup .cb-section__lesson-title-assigned .cb-lesson-edit-title {
  margin-bottom: 0;
}
.lp-builder-popup .cb-section__lesson-title-assigned .lesson-assigned-courses {
  flex-shrink: 0;
  padding: 10px 14px;
  background-color: #f3f4f6;
  border-radius: 6px;
  font-size: 13px;
  margin-top: auto;
  border: 1px solid #e5e7eb;
}
.lp-builder-popup .cb-section__lesson-title-assigned .lesson-assigned-courses .label {
  color: #6b7280;
  margin-left: 5px;
}
.lp-builder-popup .cb-section__lesson-title-assigned .lesson-assigned-courses a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}
.lp-builder-popup .cb-section__lesson-title-assigned .lesson-assigned-courses a:hover {
  text-decoration: underline;
}
.lp-builder-popup .cb-section__lesson-title-assigned .lesson-assigned-courses .question-not-assigned {
  color: #9ca3af;
  font-style: italic;
}
.lp-builder-popup .cb-section__quiz-title-assigned {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
}
.lp-builder-popup .cb-section__quiz-title-assigned .cb-quiz-edit-title {
  margin-bottom: 0;
}
.lp-builder-popup .cb-section__quiz-title-assigned .quiz-assigned-courses {
  flex-shrink: 0;
  padding: 10px 14px;
  background-color: #f3f4f6;
  border-radius: 6px;
  font-size: 13px;
  margin-top: auto;
  border: 1px solid #e5e7eb;
}
.lp-builder-popup .cb-section__quiz-title-assigned .quiz-assigned-courses .label {
  color: #6b7280;
  margin-left: 5px;
}
.lp-builder-popup .cb-section__quiz-title-assigned .quiz-assigned-courses a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}
.lp-builder-popup .cb-section__quiz-title-assigned .quiz-assigned-courses a:hover {
  text-decoration: underline;
}
.lp-builder-popup .cb-section__quiz-title-assigned .quiz-assigned-courses .question-not-assigned {
  color: #9ca3af;
  font-style: italic;
}

.lp-builder-popup .lp-edit-quiz-wrap .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  margin: -24px -24px 24px;
  border-radius: 0;
}
.lp-builder-popup .lp-edit-quiz-wrap .heading h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1e1e1e;
  width: 80%;
}
.lp-builder-popup .lp-edit-quiz-wrap .heading .total-items {
  font-size: 13px;
  color: #6b7280;
  background: #e5e7eb;
  padding: 4px 12px;
  border-radius: 12px;
}
.lp-builder-popup .lp-edit-quiz-wrap .heading .lp-question-toggle-all {
  cursor: pointer;
  padding: 5px;
  color: #6b7280;
}
.lp-builder-popup .lp-edit-quiz-wrap .heading .lp-question-toggle-all:hover {
  color: #1e1e1e;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-icon-angle-down {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-toggle-all.lp-collapse .lp-icon-angle-down {
  display: block;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-toggle-all.lp-collapse .lp-icon-angle-up {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-edit-list-questions {
  margin-bottom: 20px;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-icon-spinner {
  animation: rotation 2s infinite linear;
  font-size: 1.25rem;
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .one,
.lp-builder-popup .lp-edit-quiz-wrap .plural {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap[data-count="1"] .one {
  display: inline-block;
}
.lp-builder-popup .lp-edit-quiz-wrap:not([data-count="1"]) .plural {
  display: inline-block;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-icon-spinner {
  animation: rotation 2s infinite linear;
  font-size: 1.25rem;
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
  transition: all 0.2s;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-btn-update-question-title,
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-btn-cancel-update-question-title {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #4b5563;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  transition: all 0.2s;
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-icon-angle-down {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item.lp-collapse .lp-icon-angle-down {
  display: block;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item.lp-collapse .lp-icon-angle-up {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item.editing .lp-question-head .lp-btn-update-question-title,
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item.editing .lp-question-head .lp-btn-cancel-update-question-title {
  display: inline-block;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item.editing .lp-question-head .lp-btn-edit-question-title,
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item.editing .lp-question-head .lp-btn-remove-question {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-btn-cancel-update-question-title {
  border: none;
  background: transparent;
  cursor: pointer;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-btn-cancel-update-question-title:hover {
  background: #f0f0f1;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item:last-child {
  margin-bottom: 0;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background-color: #fff;
  border-bottom: 1px solid transparent;
  border-radius: 8px;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-btn-edit-question-title {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .drag {
  cursor: move;
  color: #9ca3af;
  font-size: 16px;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-question-title-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  background: transparent;
  transition: all 0.2s;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-question-title-input:hover, .lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-question-title-input:focus {
  background: #fff;
  border-color: #d1d5db;
  outline: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-question-type-label {
  font-size: 11px;
  background-color: #1e1e1e;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 500;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-btn-edit-question-title,
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-btn-remove-question {
  cursor: pointer;
  color: #9ca3af;
  padding: 6px;
  transition: all 0.2s;
  border-radius: 4px;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-btn-edit-question-title:hover,
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-btn-remove-question:hover {
  color: #1e1e1e;
  background: #f3f4f6;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-btn-remove-question:hover {
  color: #dc2626;
  background: #fee2e2;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-question-toggle {
  cursor: pointer;
  padding: 6px;
  color: #9ca3af;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .lp-question-toggle:hover {
  color: #1e1e1e;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-head .button {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item:not(.lp-collapse) .lp-question-head {
  border-bottom-color: #e5e7eb;
  border-radius: 8px 8px 0 0;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item .lp-question-edit-main {
  display: none;
  padding: 16px;
  background: #f9fafb;
  border-radius: 0 0 8px 8px;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item:not(.lp-collapse) .lp-question-edit-main {
  display: block;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item.clone {
  display: none;
}
.lp-builder-popup .lp-edit-quiz-wrap .lp-question-item.loading .lp-question-head .lp-icon-spinner {
  display: inline-block;
}
.lp-builder-popup .lp-edit-quiz-wrap .add-new-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  margin-top: 16px;
}
.lp-builder-popup .lp-edit-quiz-wrap .add-new-question .lp-icon-plus {
  color: #3b82f6;
}
.lp-builder-popup .lp-edit-quiz-wrap .add-new-question .lp-question-title-new-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}
.lp-builder-popup .lp-edit-quiz-wrap .add-new-question .lp-question-title-new-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .lp-edit-quiz-wrap .add-new-question .lp-question-type-new {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  min-width: 150px;
  font-size: 14px;
}
.lp-builder-popup .lp-edit-quiz-wrap .add-new-question .lp-question-type-new:focus {
  outline: none;
  border-color: #3b82f6;
}
.lp-builder-popup .lp-edit-quiz-wrap .add-new-question .button {
  padding: 10px 20px;
  background: #1e1e1e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}
.lp-builder-popup .lp-edit-quiz-wrap .add-new-question .button:hover {
  background: #333;
}

.lp-builder-popup .lp-edit-question-wrap .lp-question-edit-left,
.lp-builder-popup .lp-question-edit-main .lp-question-edit-left {
  width: 100%;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-data-edit,
.lp-builder-popup .lp-question-edit-main .lp-question-data-edit {
  margin-bottom: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-data-edit-header,
.lp-builder-popup .lp-question-edit-main .lp-question-data-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-data-edit-header label,
.lp-builder-popup .lp-question-edit-main .lp-question-data-edit-header label {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  color: #1e1e1e;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-data-edit-header .lp-question-type-label,
.lp-builder-popup .lp-question-edit-main .lp-question-data-edit-header .lp-question-type-label {
  font-size: 12px;
  background-color: #1e1e1e;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
}
.lp-builder-popup .lp-edit-question-wrap .lp-answers-config,
.lp-builder-popup .lp-question-edit-main .lp-answers-config {
  padding: 16px;
  background: #fff;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-choice-header,
.lp-builder-popup .lp-question-edit-main .lp-question-choice-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 13px;
  color: #6b7280;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item:last-of-type:not(.clone),
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item:last-of-type:not(.clone) {
  border-bottom: none;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .drag,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .drag {
  cursor: move;
  color: #9ca3af;
  font-size: 16px;
  padding: 4px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .drag:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .drag:hover {
  color: #6b7280;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .lp-icon-spinner,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .lp-icon-spinner {
  animation: rotation 2s infinite linear;
  font-size: 1.25rem;
  display: none;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=text],
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .lp-question-answer-title-input,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=text],
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .lp-question-answer-title-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=text]:focus,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .lp-question-answer-title-input:focus,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=text]:focus,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .lp-question-answer-title-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=text]:hover:not(:focus),
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .lp-question-answer-title-input:hover:not(:focus),
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=text]:hover:not(:focus),
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .lp-question-answer-title-input:hover:not(:focus) {
  border-color: #9ca3af;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .lp-icon-trash-o,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .lp-btn-delete-question-answer,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .lp-icon-trash-o,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .lp-btn-delete-question-answer {
  cursor: pointer;
  color: #9ca3af;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .lp-icon-trash-o:hover,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item .lp-btn-delete-question-answer:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .lp-icon-trash-o:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item .lp-btn-delete-question-answer:hover {
  color: #dc2626;
  background: #fee2e2;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=radio],
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  flex-shrink: 0;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=radio]:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=radio]:hover {
  border-color: #3b82f6;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=radio]:checked,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=radio]:checked {
  border-color: #3b82f6;
  background: #fff;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=radio]:checked::after,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 10px;
  height: 10px;
  background: #3b82f6;
  border-radius: 50%;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=radio]:focus,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=radio]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=checkbox],
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  flex-shrink: 0;
  background: #fff;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=checkbox]:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=checkbox]:hover {
  border-color: #3b82f6;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=checkbox]:checked,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=checkbox]:checked {
  background: #3b82f6;
  border-color: #3b82f6;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=checkbox]:checked::after,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item input[type=checkbox]:focus,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item.clone,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item.clone {
  display: none !important;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item.loading,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item.loading {
  opacity: 0.6;
  pointer-events: none;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 0;
  margin-top: 12px;
  border-top: 1px solid #e5e7eb;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new .lp-icon-plus,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new .lp-icon-plus {
  color: #3b82f6;
  font-size: 16px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new input[type=text],
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new .lp-question-answer-title-new-input,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new input[type=text],
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new .lp-question-answer-title-new-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new input[type=text]:focus,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new .lp-question-answer-title-new-input:focus,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new input[type=text]:focus,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new .lp-question-answer-title-new-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new input[type=text]::placeholder,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new .lp-question-answer-title-new-input::placeholder,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new input[type=text]::placeholder,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new .lp-question-answer-title-new-input::placeholder {
  color: #9ca3af;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new button,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new .lp-btn-add-question-answer,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new button,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new .lp-btn-add-question-answer {
  padding: 10px 16px;
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new button:hover,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new .lp-btn-add-question-answer:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new button:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new .lp-btn-add-question-answer:hover {
  background: #e5e7eb;
  color: #1e1e1e;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new button.active,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new .lp-btn-add-question-answer.active,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new button.active,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new .lp-btn-add-question-answer.active {
  background: #1e1e1e;
  color: #fff;
  border-color: #1e1e1e;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new button.active:hover,
.lp-builder-popup .lp-edit-question-wrap .lp-question-answer-item-add-new .lp-btn-add-question-answer.active:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new button.active:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-answer-item-add-new .lp-btn-add-question-answer.active:hover {
  background: #333;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details,
.lp-builder-popup .lp-question-edit-main .question-edit-details {
  margin-top: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details.lp-collapse .lp-section-collapse,
.lp-builder-popup .lp-question-edit-main .question-edit-details.lp-collapse .lp-section-collapse {
  display: none;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details.lp-collapse .lp-icon-angle-up,
.lp-builder-popup .lp-question-edit-main .question-edit-details.lp-collapse .lp-icon-angle-up {
  display: none;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details.lp-collapse .lp-icon-angle-down,
.lp-builder-popup .lp-question-edit-main .question-edit-details.lp-collapse .lp-icon-angle-down {
  display: block;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-question-data-edit-header,
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-trigger-toggle,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-question-data-edit-header,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-trigger-toggle {
  padding: 14px 16px;
  background-color: #f9fafb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  border-bottom: 1px solid transparent;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-question-data-edit-header:hover,
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-trigger-toggle:hover,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-question-data-edit-header:hover,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-trigger-toggle:hover {
  background-color: #f3f4f6;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-question-data-edit-header label,
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-trigger-toggle label,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-question-data-edit-header label,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-trigger-toggle label {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  cursor: pointer;
  color: #1e1e1e;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-question-data-edit-header .lp-tinymce-toggle,
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-trigger-toggle .lp-tinymce-toggle,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-question-data-edit-header .lp-tinymce-toggle,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-trigger-toggle .lp-tinymce-toggle {
  color: #6b7280;
  transition: transform 0.2s;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details:not(.lp-collapse) .lp-question-data-edit-header, .lp-builder-popup .lp-edit-question-wrap .question-edit-details:not(.lp-collapse) .lp-trigger-toggle,
.lp-builder-popup .lp-question-edit-main .question-edit-details:not(.lp-collapse) .lp-question-data-edit-header,
.lp-builder-popup .lp-question-edit-main .question-edit-details:not(.lp-collapse) .lp-trigger-toggle {
  border-bottom-color: #e5e7eb;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-icon-angle-down,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-icon-angle-down {
  display: none;
}
.lp-builder-popup .lp-edit-question-wrap .question-edit-details .lp-section-collapse,
.lp-builder-popup .lp-question-edit-main .question-edit-details .lp-section-collapse {
  padding: 20px;
  background: #fff;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-field-settings,
.lp-builder-popup .lp-question-edit-main .lp-question-field-settings {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-field-settings:last-child,
.lp-builder-popup .lp-question-edit-main .lp-question-field-settings:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-field-settings__label,
.lp-builder-popup .lp-question-edit-main .lp-question-field-settings__label {
  margin-bottom: 10px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-field-settings__label label,
.lp-builder-popup .lp-question-edit-main .lp-question-field-settings__label label {
  font-weight: 600;
  font-size: 14px;
  color: #1e1e1e;
  display: block;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-field-settings input[type=number],
.lp-builder-popup .lp-question-edit-main .lp-question-field-settings input[type=number] {
  width: 120px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-field-settings input[type=number]:focus,
.lp-builder-popup .lp-question-edit-main .lp-question-field-settings input[type=number]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-field-settings___desc,
.lp-builder-popup .lp-question-edit-main .lp-question-field-settings___desc {
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-field-settings .wp-editor-wrap,
.lp-builder-popup .lp-question-edit-main .lp-question-field-settings .wp-editor-wrap {
  margin-top: 0;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-blank-options,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-blank-options {
  margin-top: 16px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-blank-option-item,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-blank-option-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 12px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-blank-option-item.clone,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-blank-option-item.clone {
  display: none !important;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-blank-option-item .lp-question-fib-option-index,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-blank-option-item .lp-question-fib-option-index {
  font-weight: 600;
  color: #6b7280;
  min-width: 24px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-blank-option-item .lp-question-fib-option-title-input,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-blank-option-item .lp-question-fib-option-title-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-blank-option-item .lp-question-fib-option-title-input:focus,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-blank-option-item .lp-question-fib-option-title-input:focus {
  outline: none;
  border-color: #3b82f6;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-blank-option-item .lp-btn-fib-option-delete,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-blank-option-item .lp-btn-fib-option-delete {
  cursor: pointer;
  color: #9ca3af;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-blank-option-item .lp-btn-fib-option-delete:hover,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-blank-option-item .lp-btn-fib-option-delete:hover {
  color: #dc2626;
  background: #fee2e2;
}
.lp-builder-popup .lp-edit-question-wrap .lp-question-fib-option-detail,
.lp-builder-popup .lp-question-edit-main .lp-question-fib-option-detail {
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-insert-blank,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-delete-all-blanks,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-save-content,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-clear-all-content,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-insert-blank,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-delete-all-blanks,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-save-content,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-clear-all-content {
  padding: 8px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 8px;
  margin-bottom: 8px;
}
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-insert-blank:hover,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-delete-all-blanks:hover,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-save-content:hover,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-clear-all-content:hover,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-insert-blank:hover,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-delete-all-blanks:hover,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-save-content:hover,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-clear-all-content:hover {
  background: #f5f5f5;
  border-color: #9ca3af;
}
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-insert-blank.loading,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-delete-all-blanks.loading,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-save-content.loading,
.lp-builder-popup .lp-edit-question-wrap .lp-btn-fib-clear-all-content.loading,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-insert-blank.loading,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-delete-all-blanks.loading,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-save-content.loading,
.lp-builder-popup .lp-question-edit-main .lp-btn-fib-clear-all-content.loading {
  opacity: 0.6;
  pointer-events: none;
}

@keyframes lp-popup-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
@media (max-width: 768px) {
  .lp-builder-popup {
    width: 95%;
    max-height: 95vh;
  }
  .lp-builder-popup__header, .lp-builder-popup__footer {
    padding: 12px 16px;
  }
  .lp-builder-popup__tabs {
    padding: 0 16px;
    overflow-x: auto;
  }
  .lp-builder-popup__tab {
    padding: 12px 16px;
    white-space: nowrap;
  }
  .lp-builder-popup__tab-content {
    padding: 16px;
  }
  .lp-builder-popup__footer {
    flex-direction: column;
    gap: 10px;
  }
  .lp-builder-popup__footer-left, .lp-builder-popup__footer-right {
    width: 100%;
    justify-content: center;
  }
  .lp-builder-popup .form-field,
  .lp-builder-popup .lp-meta-box__duration,
  .lp-builder-popup .lp-meta-box-field {
    flex-wrap: wrap;
  }
  .lp-builder-popup .form-field > label,
  .lp-builder-popup .form-field label span,
  .lp-builder-popup .lp-meta-box__duration > label,
  .lp-builder-popup .lp-meta-box__duration label span,
  .lp-builder-popup .lp-meta-box-field > label,
  .lp-builder-popup .lp-meta-box-field label span {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 8px;
  }
  .lp-builder-popup .form-field input[type=number],
  .lp-builder-popup .form-field input[type=text],
  .lp-builder-popup .form-field input[type=datetime-local],
  .lp-builder-popup .lp-meta-box__duration input[type=number],
  .lp-builder-popup .lp-meta-box__duration input[type=text],
  .lp-builder-popup .lp-meta-box__duration input[type=datetime-local],
  .lp-builder-popup .lp-meta-box-field input[type=number],
  .lp-builder-popup .lp-meta-box-field input[type=text],
  .lp-builder-popup .lp-meta-box-field input[type=datetime-local] {
    max-width: 100%;
  }
  .lp-builder-popup .form-field:has(input[type=checkbox]),
  .lp-builder-popup .lp-meta-box__duration:has(input[type=checkbox]),
  .lp-builder-popup .lp-meta-box-field:has(input[type=checkbox]) {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .lp-builder-popup .form-field:has(input[type=checkbox]) > label,
  .lp-builder-popup .lp-meta-box__duration:has(input[type=checkbox]) > label,
  .lp-builder-popup .lp-meta-box-field:has(input[type=checkbox]) > label {
    width: auto;
    min-width: auto;
    max-width: none;
    margin-bottom: 0;
  }
  .lp-builder-popup .form-field .description,
  .lp-builder-popup .lp-meta-box__duration .description,
  .lp-builder-popup .lp-meta-box-field .description {
    margin-right: 0 !important;
  }
  .lp-builder-popup .cb-section__question-title-assigned,
  .lp-builder-popup .cb-section__lesson-title-assigned {
    flex-direction: column;
    gap: 16px;
  }
  .lp-builder-popup .cb-section__question-title-assigned .question-assigned-quizzes,
  .lp-builder-popup .cb-section__question-title-assigned .lesson-assigned-courses,
  .lp-builder-popup .cb-section__lesson-title-assigned .question-assigned-quizzes,
  .lp-builder-popup .cb-section__lesson-title-assigned .lesson-assigned-courses {
    margin-top: 0;
    align-items: flex-start;
  }
  .lp-builder-popup .lp-edit-quiz-wrap .add-new-question {
    flex-wrap: wrap;
  }
  .lp-builder-popup .lp-edit-quiz-wrap .add-new-question .lp-question-title-new-input {
    width: 100%;
  }
}
.learn-press-course-builder #lp-course-builder-content {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
}
.learn-press-course-builder .cb-section__course-edit {
  background: #fff;
  border-radius: 16px;
  min-height: calc(100% - 100px);
}
.learn-press-course-builder .cb-section__course-edit .cb-section__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 28px;
}
.learn-press-course-builder .cb-section__course-edit .lp-cb-section__title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
  color: #1e1e1e;
}
.learn-press-course-builder .cb-section__course-edit .cb-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.learn-press-course-builder .cb-section__course-edit .cb-section__header-action {
  display: flex;
  gap: 20px;
}
.learn-press-course-builder .cb-section__course-edit .cb-button {
  padding: 8px 25px;
  border-radius: 5px;
  background: #ccc;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.learn-press-course-builder .cb-section__course-edit .cb-button.loading {
  pointer-events: none;
  opacity: 0.8;
}
.learn-press-course-builder .cb-section__course-edit .cb-button.loading:before {
  display: inline-block;
  font-family: "lp-icon";
  content: "\f110";
  animation: lp-rotating 1s linear infinite;
  margin-left: 5px;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: middle;
  margin-top: -2px;
}
.learn-press-course-builder .cb-section__course-edit .lp-meta-box {
  background: transparent;
}
.learn-press-course-builder .cb-section__course-edit .lp-meta-box__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.learn-press-course-builder .cb-section__course-edit .form-field,
.learn-press-course-builder .cb-section__course-edit .lp-meta-box__duration {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 0;
}
.learn-press-course-builder .cb-section__course-edit .form-field._lp_hint_field,
.learn-press-course-builder .cb-section__course-edit .form-field._lp_explanation_field {
  flex-wrap: wrap;
}
.learn-press-course-builder .cb-section__course-edit .form-field label,
.learn-press-course-builder .cb-section__course-edit .form-field label span,
.learn-press-course-builder .cb-section__course-edit .lp-meta-box__duration label,
.learn-press-course-builder .cb-section__course-edit .lesson-materials .field-material__label {
  font-size: 14px;
  color: #1a1a1a;
  margin: 0;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  padding: 0;
  color: #23282d;
  font-weight: 600;
  flex: 0 0 auto;
}
.learn-press-course-builder .cb-section__course-edit .lesson-materials {
  flex-wrap: nowrap;
  gap: 10px;
}
.learn-press-course-builder .cb-section__course-edit .form-field input[type=number],
.learn-press-course-builder .cb-section__course-edit .form-field input[type=text],
.learn-press-course-builder .cb-section__course-edit .form-field input[type=datetime-local],
.learn-press-course-builder .cb-section__course-edit .lp-meta-box__duration input[type=number] {
  width: 100%;
  max-width: 200px;
  height: 33px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
}
.learn-press-course-builder .cb-section__course-edit .form-field textarea {
  order: 3;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
}
.learn-press-course-builder .cb-section__course-edit .form-field input[type=number]:focus,
.learn-press-course-builder .cb-section__course-edit .form-field input[type=text]:focus,
.learn-press-course-builder .cb-section__course-edit .form-field input[type=datetime-local]:focus,
.learn-press-course-builder .cb-section__course-edit .lp-meta-box__duration input[type=number]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.learn-press-course-builder .cb-section__course-edit select {
  padding: 4px 12px;
  height: 34px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
  cursor: pointer;
}
.learn-press-course-builder .cb-section__course-edit select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.learn-press-course-builder .cb-section__course-edit .lp-meta-box__duration > :not(label):not(.description) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.learn-press-course-builder .cb-section__course-edit .form-field input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
  flex-shrink: 0;
}
.learn-press-course-builder .cb-section__course-edit .form-field input[type=checkbox]:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  right: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.learn-press-course-builder .cb-section__course-edit .form-field input[type=checkbox]:checked {
  background: #3b82f6;
}
.learn-press-course-builder .cb-section__course-edit .form-field input[type=checkbox]:checked:before {
  right: 22px;
}
.learn-press-course-builder .cb-section__course-edit .form-field input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.learn-press-course-builder .cb-section__course-edit .form-field:has(input[type=checkbox]) {
  flex-direction: row;
  align-items: center;
  gap: 11px;
}
.learn-press-course-builder .cb-section__course-edit .form-field:has(input[type=checkbox]) input[type=checkbox] {
  order: 1;
  margin-top: 2px;
}
.learn-press-course-builder .cb-section__course-edit .form-field:has(input[type=checkbox]) .description {
  order: 3;
}
.learn-press-course-builder .cb-section__course-edit .description {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  display: block;
}
.learn-press-course-builder .cb-section__course-edit .lp-meta-box__duration .description {
  margin-top: 4px;
}
.learn-press-course-builder .cb-section__course-edit p.form-field,
.learn-press-course-builder .cb-section__course-edit p.lp-meta-box__duration {
  padding: 0;
  margin: 0;
}
.learn-press-course-builder .cb-section__course-edit p.form-field .description,
.learn-press-course-builder .cb-section__course-edit p.lp-meta-box__duration .description {
  margin-top: 6px;
}
.learn-press-course-builder .cb-section__course-edit #_lp_passing_grade,
.learn-press-course-builder .cb-section__course-edit #_lp_retake_count,
.learn-press-course-builder .cb-section__course-edit #_lp_pagination {
  max-width: 100px;
}
.learn-press-course-builder .cb-section__course-edit .lp_course_extra_meta_box__content {
  flex: 1;
}
.learn-press-course-builder .cb-section__course-edit .lp_course_extra_meta_box__content input[type=text] {
  max-width: 100%;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .learn-press-course-builder .cb-section__course-edit .lp-meta-box__inner {
    gap: 20px;
  }
  .learn-press-course-builder .cb-section__course-edit .form-field input[type=number],
  .learn-press-course-builder .cb-section__course-edit .form-field input[type=text],
  .learn-press-course-builder .cb-section__course-edit .form-field input[type=datetime-local],
  .learn-press-course-builder .cb-section__course-edit .lp-meta-box__duration input[type=number] {
    max-width: 100%;
  }
  .learn-press-course-builder .cb-section__course-edit .form-field:has(input[type=checkbox]) {
    flex-direction: column;
    gap: 8px;
  }
  .learn-press-course-builder .cb-section__course-edit .form-field:has(input[type=checkbox]) label {
    min-width: auto;
  }
  .learn-press-course-builder .cb-section__course-edit .form-field:has(input[type=checkbox]) .description {
    margin-right: 0;
    margin-top: 0;
  }
}

.wp-editor-wrap {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
}
.wp-editor-wrap .wp-editor-tools {
  background-color: #f5f5f5;
  margin: 8px 8px 0;
  border-radius: 12px 12px 0 0;
}
.wp-editor-wrap .wp-media-buttons {
  padding: 8px 8px 0;
}
.wp-editor-wrap button.insert-media,
.wp-editor-wrap input.button {
  color: #1e1e1e;
  border-color: #1e1e1e;
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  line-height: 2.15384615;
  min-height: 30px;
  margin: 0;
  padding: 0 10px;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  white-space: nowrap;
  box-sizing: border-box;
}
.wp-editor-wrap .mce-tinymce {
  border: none !important;
  visibility: visible !important;
}
.wp-editor-wrap .mce-top-part::before {
  box-shadow: none;
}
.wp-editor-wrap div.mce-statusbar {
  border-top: none;
}
.wp-editor-wrap .wp-editor-tabs button {
  margin: 8px 0 0 8px;
  border-bottom-color: #dcdcde;
  border-radius: 4px;
}
.wp-editor-wrap .wp-editor-tabs button[aria-pressed=true] {
  background: #fff;
  color: #000;
}
.wp-editor-wrap .mce-top-part,
.wp-editor-wrap .quicktags-toolbar {
  background-color: #f5f5f5;
  margin: 0 8px 0;
  padding: 0;
  border-radius: 0 0 8px 8px;
}
.wp-editor-wrap .mce-top-part::before {
  box-shadow: none;
}
.wp-editor-wrap .quicktags-toolbar {
  padding: 6px;
  border-bottom: none;
}
.wp-editor-wrap .wp-media-buttons {
  padding: 8px 8px 0;
}
.wp-editor-wrap .mce-tinymce {
  border: none !important;
  visibility: visible !important;
}
.wp-editor-wrap .mce-toolbar-grp {
  background: none;
  border-bottom: none;
}
.wp-editor-wrap .mce-toolbar-grp > div {
  padding: 5px;
}
.wp-editor-wrap .wp-editor-container {
  border: none;
}

#lp-builder-popup-container .wp-editor-container {
  border: none !important;
  background: #fff;
}
#lp-builder-popup-container .mce-top-part {
  margin: 0 !important;
}
#lp-builder-popup-container .lp-question-field-settings .mce-top-part {
  margin: 0 8px 0 !important;
}
#lp-builder-popup-container .quicktags-toolbar {
  border-radius: 0 0 8px 8px;
  margin: 0 !important;
  padding: 8px !important;
}

.lp-popup-items-to-select .header {
  padding: 0 20px;
  flex-shrink: 0;
}

.lp-popup-items-to-select .header ul.tabs {
  display: flex;
  margin-top: 10;
  padding: 0;
  list-style: none;
  gap: 20px;
  border-bottom: unset;
}

.lp-popup-items-to-select ul.tabs li {
  margin: 0;
}

.lp-popup-items-to-select .header ul.tabs li.tab a {
  display: block;
  text-decoration: none;
  color: #6b7280;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  border-radius: 6px;
  border: 1px solid #f5f5f5;
}

.lp-popup-items-to-select .header ul.tabs li.tab.active a,
.lp-popup-items-to-select .header ul.tabs li.tab a:hover {
  background: #f5f5f5;
  color: #1e1e1e;
}

input.lp-search-title-item {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background: #fff;
  margin-bottom: 15px;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s;
}

input.lp-search-title-item:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.lp-target ul.list-items {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  gap: 0;
  max-height: 500px;
}

.lp-select-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.2s;
}

.lp-select-item:last-child {
  border-bottom: none;
}

.lp-select-item:hover {
  background-color: #f5f5f5;
}

.lp-select-item input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin-left: 12px;
  cursor: pointer;
  position: relative;
  outline: none;
  flex-shrink: 0;
}

.lp-select-item input[type=checkbox]:checked {
  background-color: #1e1e1e;
  border-color: #1e1e1e;
}

.lp-select-item input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.lp-select-item .title {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.lp-select-item .title strong {
  color: #9ca3af;
  font-weight: 400;
  margin-right: 5px;
  font-size: 12px;
}

.list-items-wrap .learn-press-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.list-items-wrap .learn-press-pagination ul.page-numbers {
  display: flex;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: none;
}

.list-items-wrap .page-numbers li span.page-numbers.current,
.list-items-wrap .page-numbers li a.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid transparent;
}

.list-items-wrap .page-numbers li span.page-numbers.current {
  background-color: #1e1e1e;
  color: #fff;
}

.list-items-wrap .page-numbers li a.page-numbers {
  background-color: #fff;
  color: #6b7280;
  border-color: #e5e7eb;
  transition: all 0.2s;
}

.list-items-wrap .page-numbers li a.page-numbers:hover {
  border-color: #9ca3af;
  color: #1e1e1e;
}

.list-items-wrap .page-numbers i {
  font-size: 14px;
}

.lp-popup-items-to-select .footer {
  background: #fff;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.lp-popup-items-to-select .button {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.lp-popup-items-to-select .lp-btn-add-items-selected.lp-btn-edit-primary.active,
.lp-popup-items-to-select .lp-btn-add-items-selected.lp-btn-edit-primary:not(.active) {
  background-color: #333;
  color: #fff;
  order: 2;
}

.lp-btn-add-items-selected:hover:not(:disabled) {
  background-color: #333;
}

.lp-btn-add-items-selected:disabled {
  background-color: #f5f5f5;
  color: #9ca3af;
  cursor: not-allowed;
}

.lp-popup-items-to-select .lp-btn-add-items-selected.lp-btn-edit-primary.active:hover {
  background-color: #1e1e1e;
}

.lp-btn-count-items-selected {
  background: transparent;
  color: #6b7280;
  border: 1px dashed #d1d5db;
  font-size: 13px;
  order: 1;
}

.lp-btn-back-to-select-items {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #374151;
  order: 0;
}

.lp-btn-back-to-select-items:hover {
  background-color: #f5f5f5;
}

.lp-popup-items-to-select ul.list-items-selected {
  padding-right: 0;
  background: #fff;
  margin-bottom: 20px;
  gap: 0;
}

.lp-popup-items-to-select ul.list-items-selected li {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f5;
  color: #1e1e1e;
  cursor: pointer;
  transition: background 0.2s;
}

.lp-hidden {
  display: none !important;
}

.lp-popup-items-to-select .header .tabs .tab.active::after {
  display: none !important;
}

.lp-popup-items-to-select .header .tabs .tab:not(:last-child)::before {
  display: none;
}

.lp-popup-items-to-select .list-items-selected li:hover {
  background: #f5f5f5;
}

.lp-popup-items-to-select .list-items-selected li {
  padding: 5px;
}