:root {
  --wcpt-color-blue: #228be6;
}

.wcpt-editor-clear {
  clear: both;
}

body.wc_product_table_page_wcpt-edit #wpcontent * {
  box-sizing: border-box;
}

body.wc_product_table_page_wcpt-edit .wcpt-title-resources {
  font-size: 16px;
  background: #f7f7f7;
  color: #d6d6d6;
  text-shadow: 1px 1px 1px white;
  border: 1px solid #00000026;
  border-radius: 5px;
  margin-bottom: 20px;
  width: 670px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.wc_product_table_page_wcpt-edit .wcpt-title-resources a {
  padding: 15px;
  text-decoration: none;
  border-right: 1px solid #00000026;
  text-align: center;
  flex: 1;
}

body.wc_product_table_page_wcpt-edit .wcpt-title-resources a:last-child {
  border-right: none;
}

body.wc_product_table_page_wcpt-edit
  ul#adminmenu
  a.wp-has-current-submenu:after,
body.wc_product_table_page_wcpt-edit
  ul#adminmenu
  > li.current
  > a.current:after {
  border-right-color: #fff;
}

.wcpt-page-title {
  font-weight: bold;
  margin: 30px 40px 30px 0;
  padding-left: 55px;
  line-height: 45px;
  display: block;
  color: #000;
  font-size: 45px;
  position: relative;
}

.wcpt-page-title:before {
  font-size: 50px !important;
  position: absolute;
  left: 0;
}

.wcpt-editor {
  margin-bottom: 40px;
  margin-top: 30px;
  clear: both;
  width: 1050px;
  box-shadow: 2px 2px 5px rgb(0 0 0 / 10%);
  font-size: 16px;
  border-radius: 4px;
}

.wcpt-editor input,
.wcpt-editor select {
  margin: 0;
  vertical-align: middle;
}

.wcpt-editor select {
  line-height: 1.25em;
}

.wcpt-editor input[type="checkbox"] + span {
  cursor: pointer;
}

.wcpt-editor input[type="checkbox"],
.wcpt-editor input[type="radio"] {
  border: 1px solid rgba(0, 0, 0, 0.33);
  box-shadow: none;
  margin-right: 4px;
  margin-bottom: 2.5px;
}

.wcpt-editor input[type="text"][disabled],
.wcpt-editor input[type="checkbox"][disabled],
.wcpt-editor select[disabled] {
  border-color: #ccc;
  background: #f7f7f7;
}

.wcpt-editor input[type="checkbox"]:not([disabled]):hover,
.wcpt-editor input[type="checkbox"]:not([disabled]):checked {
  border-color: #656565;
}

.wcpt-hide {
  display: none !important;
}

/* dynamic input wrapper */
.wcpt-diw {
  position: relative;
  flex-shrink: 0;
}

body .wcpt-editor .wcpt-diw > input,
body .wcpt-diw > input,
.wcpt-borders-style .wcpt-diw > input[wcpt-model-key],
.wcpt-diw > select,
.wcpt-block-editor-lightbox-content .wcpt-diw > input[wcpt-model-key] {
  width: 100% !important;
  margin: 0 !important;
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

.wcpt-diw-tray {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
}

.wcpt-diw > .sp-container {
  position: absolute;
  left: 0;
  top: 0;
}

/*editor tabs*/
.wcpt-tab-content {
  clear: both;
  border: 1px solid black;
  display: none;
  padding: 10px;
  width: 100%;
}

.wcpt-tab-content.active {
  display: block;
}

.wcpt-tab-content:after {
  content: "";
  display: block;
  clear: both;
}

.wcpt-tab-content > div:first-child {
  padding-top: 0;
}

.wcpt-tab-label {
  width: 25%;
  float: left;
  background: #f7f7f7;
  padding: 30px 30px 35px;
  cursor: pointer;
  text-align: center;
  border: 1px solid #ddd;
  border-width: 1px 0 0 1px;
  position: relative;
  font-size: 18px;
  color: #404040;
}

.wcpt-tab-label.active {
  background: white;
}

.wcpt-tab-label .wcpt-tab-label-text {
  border-bottom: 2px solid #e4e4e4;
  padding-bottom: 4px;
  position: relative;
  left: 5px;
}

.wcpt-tab-label-icon {
  position: absolute;
  left: -30px;
  top: 2px;
  opacity: 0.5;
}

.fa-wc-product::before {
  font-family: WooCommerce !important;
  content: "\e006";
}

.wcpt-tab-label:hover .wcpt-tab-label-text,
.wcpt-tab-label.active .wcpt-tab-label-text {
  border-bottom: 2px solid;
  color: black;
}

.wcpt-tab-label:hover .wcpt-tab-label-text i.wcpt-tab-label-icon,
.wcpt-tab-label.active .wcpt-tab-label-text i.wcpt-tab-label-icon {
  opacity: 1;
  color: black;
}

.wcpt-tab-label.active:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
}

.wcpt-editor-notice {
  display: none;
  padding: 15px 20px;
  background: rgba(255, 255, 0, 0.3);
  font-size: 15px;
  line-height: 20px;
  margin: 20px 0 0;
}

.wcpt-editor > .wcpt-tab-triggers {
  padding-bottom: 2px;
}

.wcpt-editor > .wcpt-tab-triggers > .wcpt-tab-label:first-child {
  border-radius: 4px 0 0 0;
}

.wcpt-editor > .wcpt-tab-triggers > .wcpt-tab-label:last-child {
  border-radius: 0 4px 0 0;
}

.wcpt-editor > .wcpt-tab-content {
  border-radius: 0 0 4px 4px;
}

/* editor rows */
.wcpt-editor-row {
  background: #fff;
  padding: 0;
  margin-bottom: 20px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.wcpt-editor-row-handle-headings:after,
.wcpt-editor-row-handle:after,
.wcpt-editor-row:after {
  content: "";
  display: block;
  clear: both;
}

.wcpt-editor-row-handle-headings > div,
.wcpt-editor-row-handle > div {
  float: left;
  width: calc((100% - (4 * 60px)) / 2);
  text-align: left;
  padding: 20px;
  color: #353535;
}

.wcpt-editor-row-handle-headings > .wcpt-editor-row-handle-heading-gap,
.wcpt-editor-row-handle > .wcpt-editor-row-handle-action {
  text-align: center;
  width: 60px !important;
}

.wcpt-editor-row-toggle i {
  font-size: 18px;
  transform: scale(1.2);
  position: relative;
}

.wcpt-editor-row-handle-action {
  cursor: pointer;
}

.wcpt-editor-row-move {
  cursor: move;
  cursor: -webkit-grab;
}

.wcpt-editor-row-handle-action,
.wcpt-editor-row-handle-data {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wcpt-editor-row-toggle-opened
  > .wcpt-editor-row-handle
  > .wcpt-editor-row-toggle
  > .wcpt-editor-row-toggle-open,
.wcpt-editor-row-toggle-close {
  display: none !important;
}

.wcpt-editor-row-toggle-opened
  > .wcpt-editor-row-handle
  > .wcpt-editor-row-toggle
  > .wcpt-editor-row-toggle-close,
.wcpt-editor-row-toggle-open {
  display: inline-block !important;
}

.wcpt-editor-row-handle-headings {
  border-color: transparent !important;
}

.wcpt-editor-row-options {
  border-right-width: 0 !important;
  border-bottom-width: 0 !important;
  border-left-width: 0 !important;
  display: none;
  padding: 25px 30px;
}

.wcpt-editor-row-toggle-opened .wcpt-editor-row-options {
  display: block;
}

.wcpt-editor-row-handle-headings,
.wcpt-editor-row,
.wcpt-editor-row-options {
  border-color: #ddd;
  border-style: solid;
  border-width: 1px;
}

/* customize rows - start */
.wcpt-editor-row-handle-headings,
.wcpt-editor-row,
.wcpt-editor-row-options {
  border-color: #d8d8d8;
  border-width: 1px;
}

.wcpt-editor-row-handle-headings > div,
.wcpt-editor-row-handle > div {
  width: calc(
    (100% - (4 * 60px)) / 3
  ); /* 4 -> number of action columns 3 -> number of data columns */
}
/* customize rows - stop */

.wcpt-editor-row-option > label {
  display: block;
  padding-bottom: 10px;
  font-size: 18px;
}

.wcpt-editor-row-option label.wcpt-editor-options-heading {
  border-bottom: 1px solid #ddd;
  line-height: 2em;
  /* margin-top: 30px; */
  cursor: default;
}

.wcpt-editor-row-option label > small {
  display: block;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.6em;
  font-weight: normal;
  float: none;
}

.wcpt-editor-loading {
  margin: 20px 0 30px;
  background: #f3f3f3;
  padding: 20px;
  box-shadow: 0 0 100px white inset;
}

.wcpt-editor-loading > .wcpt-icon-loader {
  vertical-align: text-bottom;
  height: 1.4em;
  width: 1.4em;
  margin-right: 0.5em;
  color: #909090;
}

.wcpt-editor-checkbox-label {
  display: inline-block !important;
  word-break: break-all;
  background: #f2f2f2;
  border-radius: 6px;
  margin: 5px;
  padding: 8px;
  cursor: pointer;
}

.wcpt-editor-checkbox-label--checked {
  font-weight: bold;
  background: #ddd !important;
}

.wcpt-checkbox-selection-group {
  margin-bottom: 20px;
  background: #fafafa;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.wcpt-checkbox-selection-group > label:first-child {
  display: block;
  margin: 10px;
}

.wcpt-editor-row-option {
  padding-top: 20px;
}

.wcpt-editor-row-option > .wcpt-editor-row-option:first-child,
.wcpt-editor-row-option
  > .wcpt-editor-row-option[wcpt-disabled]:first-child
  + .wcpt-editor-row-option {
  padding-top: 0;
}

.wcpt-editor-row-option:after {
  content: "";
  display: block;
  clear: both;
}

.wcpt-editor-row-option + .wcpt-tabs {
  margin-top: 30px;
}

.wcpt-editor-row-option--parent {
  margin-top: 30px 0;
}

.wcpt-editor-row-option--parent > label {
  font-weight: bold;
}

.wcpt-editor-row-option--parent > .wcpt-editor-row-option {
  padding: 10px 0 10px 20px;
  border-left: 5px solid #eee;
  margin: 0;
}

/* row option elements */

.wcpt-editor-row-option select:not([wcpt-react-app] select),
.wcpt-editor-row-option input[type="text"]:not([wcpt-react-app] input),
.wcpt-editor-row-option input[type="number"]:not([wcpt-react-app] input) {
  font-size: 16px;
  width: 100%;
  padding: 5px 10px;
  height: 40px !important;
  margin: 0 !important;
}

.wcpt-editor-row-option select:not([wcpt-react-app] select) {
  line-height: 1.1em;
  max-width: 100%;
}

.wcpt-editor-row-option textarea:not([wcpt-react-app] textarea) {
  font-size: 16px;
  width: 100%;
  padding: 5px 10px;
  height: 75px;
  margin: 0 !important;
}

/* react apps */
[wcpt-react-app] .mantine-Input-input input,
[wcpt-react-app] .mantine-Input-input input:focus {
  border: none;
  box-shadow: none;
  outline: none;
  padding: 0;
}

[wcpt-react-app] .mantine-Pill-root,
#wcpt-query-editor-v2 .mantine-Pill-root {
  background: #238be6 !important;
  color: white !important;
}

/* custom label option rows */
.wcpt-editor-custom-label-setup {
  box-shadow: none;
  background: #fbfbfb;
  padding: 15px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  position: relative;
  margin: 0 0 30px 0;
}

.wcpt-editor-custom-label-setup .wcpt-disabled-tabs {
  font-size: 14px;
  color: #5796c7;
}

.wcpt-editor-custom-label-setup > div:first-child {
  margin-bottom: 10px;
}

.wcpt-editor-corner-options {
  position: absolute;
  top: 12px;
  right: 10px;
}

.wcpt-editor-corner-options > * {
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  transition: opacity 0.2s;
}

.wcpt-editor-corner-options > *:hover {
  opacity: 0.6;
}

.wcpt-editor-corner-options > * > span > svg {
  width: 1em !important;
  height: 1em !important;
}

.wcpt-first-row > .wcpt-editor-corner-options > [wcpt-move-up],
.wcpt-last-row > .wcpt-editor-corner-options > [wcpt-move-down] {
  opacity: 0.2;
  cursor: default;
}

.wcpt-editor-row-contract,
.wcpt-toggle-column-expand .wcpt-editor-row-expand {
  display: none;
}

.wcpt-toggle-column-expand .wcpt-editor-row-contract,
.wcpt-editor-row-expand {
  display: inline-block;
  cursor: pointer;
}

/* range options rows */
.wcpt-editor-range-options-row {
  box-shadow: none;
  background: #fbfbfb;
  padding: 15px;
  border: 1px solid #ddd;
  position: relative;
  padding-bottom: 20px;
}

/* .wcpt-editor-range-options-row .wcpt-editor-row-remove {
  position: absolute;
  right: -7%;
  top: 7%;
  font-size: 30px;
  cursor: pointer;
} */

/* .wcpt-editor-range-options-row .wcpt-editor-row-remove:before {
  content: '\00d7';
} */

/* style options toggle */

.wcpt-toggle-label {
  display: flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  font-size: inherit;
  font-weight: normal;
  padding: 15px 0;
}

.wcpt-open > .wcpt-toggle-label {
  margin: 0;
  border-bottom: 1px solid #f5f5f5;
}

.wcpt-toggle-options:not(.wcpt-open)
  > *:not(.wcpt-toggle-label):not(.wcpt-toggle-escape) {
  display: none !important;
}

.wcpt-toggle-options.wcpt-open {
  padding-bottom: 20px;
}

/* column rows settings begin */

[data-wcpt-tab="columns"].wcpt-tab-content {
  padding: 0 30px;
}

.wcpt-editor-columns-container[data-wcpt-device] {
  margin-top: 30px;
  position: relative;
}

.wcpt-editor-columns-container--empty {
  min-height: 160px;
}

.wcpt-device-style {
  position: relative;
  padding-top: 25px;
}

.wcpt-editor-light-heading {
  font-size: 20px;
  line-height: 1.2em;
  margin: 0 0 15px;
  padding: 20px;
  font-weight: 600;
  color: #000;
  background: #fbfbfb;
  border: 1px solid #eeeeee;
  /* border-bottom: 4px solid #f1f1f1; */
  position: relative;
  text-transform: capitalize;
  border-radius: 4px;
}

.wcpt-editor-light-heading.wcpt-sub {
  font-size: 16px;
  color: black;
  padding: 15px 15px;
}

.wcpt-device-style .wcpt-editor-light-heading > .wcpt-inheritance-option {
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 16px;
  font-weight: normal;
  z-index: 1;
  transform: translateY(-50%);
  color: #616161;
}

/* column rows heading */
.wcpt-editor-column-heading {
  display: inline-block;
  padding: 15px 0 20px;
  /* font-weight: bold; */
  width: 225px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
}

.wcpt-editor-column-heading:first-child {
  width: calc(25% + 20px);
  padding-left: 20px;
}

.wcpt-filter-heading:last-child {
  width: 168px;
}

.wcpt-editor-row-remove {
  cursor: pointer;
}

/* column rows wrapper */
.wcpt-column-rows-wrapper {
  padding-bottom: 60px;
  min-height: 80px;
  position: relative;
  margin-bottom: 30px;
}

.wcpt-editor-columns-device-divider:last-child {
  display: none;
}

.wcpt-column-rows-wrapper > .wcpt-add-column-row {
  position: absolute;
  bottom: 0;
  left: 10px;
}

/* column row */
.wcpt-column-row {
  border-radius: 5px;
  margin-bottom: 15px;
  background: #f9f9f9;
  height: 60px;
  overflow: hidden;
}

.wcpt-column-row.wcpt-column-row-expand {
  height: auto;
  overflow: visible;
}

.wcpt-column-row.wcpt-column-row-expand {
  padding-bottom: 30px;
  background: #fbfbfb;
}

/* column row summary */
.wcpt-column-summary {
  position: relative;
  cursor: pointer;
}

.wcpt-column-summary:after {
  content: "";
  display: block;
  clear: both;
}

/* -- children */
.wcpt-column-summary > div {
  width: 25%;
  display: inline-block;
  padding: 20px 5px 20px 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 60px;
}

.wcpt-column-summary div.wcpt-column-template {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}

/* -- template */
.wcpt-column-summary > div.wcpt-column-template-info {
  width: 450px;
  height: 60px;
}

.wcpt-column-summary > .wcpt-editor-corner-options {
  top: 0;
  right: 0;
  width: 150px;
}

/* column row setting panel */
.wcpt-column-row-settings-panel {
  background: #f7f7f7;
  padding: 25px 30px 10px;
  margin: 5px 20px 0;
  border: 1px solid #ddd;
  position: relative;
  box-shadow: 0 0 6px #00000021;
  border-radius: 3px;
}

.wcpt-column-row-settings-panel-close {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 23px;
  opacity: 0.5;
}

.wcpt-editor .wcpt-editor-column-template {
  margin-bottom: 15px;
}

.wcpt-column-row-settings-panel-close:hover {
  opacity: 1;
}

.wcpt-editor-option-row input[type="text"],
.wcpt-editor-option-row textarea,
.wcpt-editor-option-row select {
  height: 40px;
  width: 100%;
  padding: 0 10px;
  margin: 0;
  /* border-radius: 4px; */
  box-shadow: none;
  border: 1px solid #ececec;
  font-size: 16px;
}

.wcpt-column-row label {
  display: block;
  margin-bottom: 10px;
}

.wcpt-column-settings .wcpt-wrapper .wcpt-editor-row-option:first-child {
  padding-top: 0;
}

/* column options row */
.wcpt-editor-option-row {
  margin: 0 0 10px 0px;
}

.wcpt-editor-option-row:after {
  content: "";
  display: block;
  clear: both;
}

.wcpt-editor-option-row textarea {
  height: 300px;
  width: 100%;
  vertical-align: top;
  padding: 5px 10px;
}

.wcpt-editor .CodeMirror {
  height: auto;
  border: 1px solid #eaeaea;
  margin-bottom: 20px;
  padding: 5px;
}

.wcpt-editor .CodeMirror-scroll {
  min-height: 100px;
  max-height: 800px;
}

.wcpt-editor-option-row label:first-child {
  margin-bottom: 10px;
  vertical-align: baseline;
  display: block;
  padding: 5px 0;
}

.wcpt-radio-wrapper {
  display: inline-block !important;
  margin-right: 30px;
}

.wcpt-radio-wrapper input[type="radio"] {
  margin: 0;
}

.wcpt-toggle-label .wcpt-icon {
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  display: inline-flex;
}

.wcpt-toggle-label .wcpt-icon:first-child {
  margin-right: 0.5em;
  margin-left: 0;
}

.wcpt-nav-editor-row {
  border: 1px solid #eee;
  padding: 20px 20px 25px;
  margin-bottom: 20px;
  background: #fbfbfb;
  position: relative;
  border-radius: 4px;
}

.wcpt-nav-editor-row > .wcpt-editor-corner-options {
  top: 20px;
  right: 20px;
}

.wcpt-nav-editor-row > .wcpt-editor-row-option {
  margin: 0;
}

.wcpt-nav-editor-row
  > .wcpt-editor-row-option
  > .wcpt-editor-header-textarea-wrapper {
  min-height: 100%;
}

.wcpt-nav-editor-row
  > .wcpt-editor-row-option
  > .wcpt-editor-header-textarea-wrapper
  > .wcpt-block-editor {
  display: flex;
  height: 100%;
}

.wcpt-nav-editor-row
  > .wcpt-editor-row-option
  > .wcpt-editor-header-textarea-wrapper
  > .wcpt-block-editor
  > .wcpt-block-editor-row {
  padding-right: 10px;
  flex-grow: 1;
}

.wcpt-nav-editor-row > .wcpt-editor-row-option:after {
  display: none;
}

.wcpt-responsive-nav-settings-wrapper {
  background: #fbfbfb;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #eee;
}

.wcpt-nav-inherit-notice {
  margin: 0 0 20px;
  font-style: italic;
  font-size: 14px;
  color: #888;
}

.wcpt-responsive-nav-settings-wrapper .wcpt-block-editor {
  background: transparent;
}

/* filters new - start */
.wcpt-editor-flex {
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
}

.wcpt-editor-filter-row-options {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.wcpt-editor-row-remove-temp {
  cursor: pointer;
  font-size: 30px;
  padding: 5px;
}

.wcpt-editor-row-remove-temp:before {
  content: "\00d7";
}

.wcpt-editor-filter-row-options {
  margin: 20px 0;
}

.wcpt-editor-filter-row-options > .wcpt-editor-header-textarea-wrapper {
  width: 32%;
  vertical-align: top;
}

body .wcpt-editor-filter-row-options .wcpt-block-editor .wcpt-block-editor-row {
}

.wcpt-editor-filter-row-options > [wcpt-model-key="center"] {
  display: none !important; /* disaled */
}

/* -- 100-0 */
.wcpt-ratio-100-0 [wcpt-model-key="left"] {
  width: 100%;
  padding-right: 0;
}
.wcpt-ratio-100-0 [wcpt-model-key="right"] {
  display: none;
}

/* -- 100-0-center-aligned */
.wcpt-ratio-100-0-center-aligned [wcpt-model-key="left"] {
  width: 100%;
  padding-right: 0;
  text-align: center;
}
.wcpt-ratio-100-0-center-aligned [wcpt-model-key="right"] {
  display: none;
}
/* -- 70-30 */
.wcpt-ratio-70-30 [wcpt-model-key="left"] {
  width: 70%;
}
.wcpt-ratio-70-30 [wcpt-model-key="right"] {
  width: 30%;
}
/* -- 50-50 */
.wcpt-ratio-50-50 [wcpt-model-key="left"] {
  width: 50%;
}
.wcpt-ratio-50-50 [wcpt-model-key="right"] {
  width: 50%;
}
/* -- 30-70 */
.wcpt-ratio-30-70 [wcpt-model-key="left"] {
  width: 30%;
}
.wcpt-ratio-30-70 [wcpt-model-key="right"] {
  width: 70%;
}
/* -- 0-100 */
.wcpt-ratio-0-100 [wcpt-model-key="left"] {
  display: none;
}
.wcpt-ratio-0-100 [wcpt-model-key="right"] {
  width: 100%;
}

/* -- flex_justified */
.wcpt-ratio-flex_justified [wcpt-model-key="left"] {
  width: 100%;
}
.wcpt-ratio-flex_justified [wcpt-model-key="right"] {
  display: none;
}

/* -- flex_justified_2_columns */
.wcpt-ratio-flex_justified_2_columns [wcpt-model-key="left"] {
  width: 50%;
}
.wcpt-ratio-flex_justified_2_columns [wcpt-model-key="right"] {
  width: 50%;
}

/* filters new - end */

/* filters - start */
.wcpt-editor-tab-filters h3 {
  background: #efefef;
  padding: 15px;
  font-size: 18px;
  margin: 30px 0 15px;
  font-weight: normal;
}

.wcpt-editor-tab-filters h3:first-child {
  margin: 5px 0 15px;
}

.wcpt-filter-set-settings {
  background: #f9f9f9;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.wcpt-filter-set .wcpt-filter-headings {
  margin: 10px 20px 0px 20px !important;
}

.wcpt-filter-set-settings label {
  margin-bottom: 5px;
  display: block;
}

.wcpt-filter-set-settings:after {
  content: "";
  display: block;
  clear: both;
}

.wcpt-filter-set-settings-top {
  font-size: 14px;
  position: relative;
  margin: 10px 0;
}

.wcpt-filter-set-heading-top {
  display: inline-block;
}

.wcpt-filter-set-move,
.wcpt-filter-set-settings-toggle,
.wcpt-filter-set-settings-top [wcpt-duplicate-row],
.wcpt-filter-set-settings-top [wcpt-remove-row] {
  cursor: pointer;
}

.wcpt-filter-set-move {
  display: inline-block;
  margin-right: 8px;
  cursor: move;
  cursor: -webkit-grab;
}

.wcpt-filter-set-settings-toggle {
  position: absolute;
  right: 90px;
  top: 0;
}

.wcpt-filter-set-settings-top [wcpt-duplicate-row] {
  position: absolute;
  right: 40px;
  top: 0;
}

.wcpt-filter-set-settings-top [wcpt-remove-row] {
  position: absolute;
  right: 0;
  top: 0;
}

.wcpt-filter-set {
  padding: 0;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

button.wcpt-add-filter-set {
  margin-bottom: 10px !important;
}

.wcpt-nav-device {
  margin-bottom: 60px;
}

.wcpt-nav-device:after {
  content: "";
  display: block;
  clear: both;
}

.wcpt-nav-device:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 10px;
}

.wcpt-left-sidebar-settings {
  width: 260px;
  float: left;
  min-height: 180px;
}

.wcpt-left-sidebar-settings [wcpt-model-key="left_sidebar"] {
  padding: 20px;
  background: #fbfbfb;
  border: 1px solid #eee;
  border-radius: 4px;
}

.wcpt-left-sidebar-settings .wcpt-block-editor-delete-row,
.wcpt-nav-editor-row .wcpt-block-editor-delete-row {
  display: none !important;
}

.wcpt-left-sidebar-settings .wcpt-block-editor-row {
  padding-right: 10px !important;
  min-height: 110px;
}

.wcpt-left-sidebar-settings
  .wcpt-block-editor-row
  .wcpt-block-editor-add-element {
  width: 100%;
}

.wcpt-left-sidebar-settings .wcpt-element-block {
  word-wrap: break-word;
  width: 100%;
  display: inline-block;
  padding: 6px 26px;
}

.wcpt-left-sidebar-settings .wcpt-element-block-placeholder {
  width: 100% !important;
}

.wcpt-left-sidebar-settings .wcpt-element-block span {
  margin-left: 0;
}

.wcpt-left-sidebar-settings .wcpt-element-block > .wcpt-be-label-icon,
.wcpt-left-sidebar-settings
  .wcpt-element-block
  > .wcpt-element-block__settings-icon {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.wcpt-left-sidebar-settings
  .wcpt-element-block
  > .wcpt-element-block__settings-icon {
  left: auto;
  right: 6px;
  transform: translateY(-50%);
}

.wcpt-header-settings {
  width: 720px;
  float: right;
}

.wcpt-filter-headings {
  margin-top: 10px;
}

.wcpt-filter-heading {
  display: inline-block;
  padding: 15px 0 20px;
  font-weight: bold;
}

.wcpt-filter-heading-name {
  width: calc(25% + 55px);
  padding-left: 55px;
}

.wcpt-filter-heading-options_source {
  width: 25%;
}

.wcpt-filter-set-empty .wcpt-filter-headings {
  display: none;
}

.wcpt-filter-row {
  border-radius: 5px;
  margin-bottom: 15px;
  background: #f9f9f9;
}

.wcpt-filter-row.wcpt-filter-row-expand {
  padding-bottom: 30px;
  background: #fbfbfb;
}

/* filter row summary */
.wcpt-filter-summary {
  position: relative;
  cursor: pointer;
}

.wcpt-filter-summary:after {
  content: "";
  display: block;
  clear: both;
}

/* -- children */
.wcpt-filter-summary > div {
  width: 25%;
  display: inline-block;
  padding: 20px 5px 20px 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

div.wcpt-filter-options_source {
  /* width: 180px; */
}

div.wcpt-filter-template {
  /* width: 150px; */
}

/* -- move */
div.wcpt-filter-row-move {
  width: 40px;
  padding-left: 15px;
  text-align: center;
  cursor: move;
  cursor: -webkit-grab;
  opacity: 0.5;
}

/* -- edit */
div.wcpt-filter-row-edit {
  width: 60px;
  text-align: center;
  position: absolute;
  right: 60px;
}

/* -- remove */
div.wcpt-filter-row-remove {
  width: 50px;
  padding-left: 10px;
  position: absolute;
  right: 0;
}

/* filter row setting panel */
.wcpt-filter-row-settings-panel {
  background: #f7f7f7;
  padding: 25px 30px 15px;
  margin: 5px 20px 0;
  border: 1px solid #ddd;
  display: none;
  position: relative;
  box-shadow: 0 0 6px #00000021;
  border-radius: 3px;
}

.wcpt-filter-row-expand .wcpt-filter-row-settings-panel {
  display: block;
}

.wcpt-filter-row-settings-panel-close {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 23px;
  opacity: 0.5;
}

/*.wcpt-filter-row-settings-panel-close:before {
  content: '\00d7';
}*/

.wcpt-filter-row-settings-panel-close:hover {
  opacity: 1;
}

.wcpt-filter-set input[type="text"],
.wcpt-filter-set textarea,
.wcpt-filter-set select {
  height: 35px;
  width: 100%;
  padding: 0 10px;
  margin-bottom: 20px;
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid #e4e4e4;
}

/* filter basic options */
.wcpt-filter-essential-options:after {
  content: "";
  display: block;
  clear: both;
}

.wcpt-filter-essential-options > div {
  display: block;
  float: left;
  padding-right: 30px;
  width: 33.3%;
}

.wcpt-filter-row label {
  display: block;
  margin-bottom: 10px;
  padding-left: 3px;
}

/* filter advanced options */
.wcpt-filter-other-options {
  padding: 0 0 10px;
}

/* filter options row */
.wcpt-filter-option-row {
  margin: 5px 0px;
}

.wcpt-filter-option-row textarea {
  height: 80px;
  width: 100%;
  vertical-align: top;
  margin-bottom: 10px;
  padding: 5px 10px;
}

.wcpt-filter-option-row label {
  min-width: 80px;
  display: inline-block;
  margin-bottom: 10px;
  vertical-align: baseline;
}

/* filter terms table */
.wcpt-filter-terms-table > div {
}

.wcpt-filter-terms-table-heading {
  font-weight: bold;
  margin-bottom: 10px;
  padding: 10px;
}

.wcpt-filter-terms-table-heading > div {
  display: inline-block;
}

.wcpt-filter-terms-table-heading > div:not(:first-child) {
  padding-left: 10px;
}

.wcpt-filter-terms-table-term {
  width: 120px;
  padding-right: 5px;
}

.wcpt-filter-terms-table-label {
  width: 160px;
}

.wcpt-filter-terms-table-label input {
  width: 80%;
}

.wcpt-filter-terms-table-row {
  background: #f3f3f3;
  width: calc(100% + 20px);
  left: -10px;
  position: relative;
  padding: 12px 20px 10px;
  margin-bottom: 10px;
  border: 1px solid #e2dfdf;
  border-right-color: #ececec;
  border-bottom-color: #ececec;
  border-radius: 4px;
  box-shadow: 3px 4px 10px #00000005 inset;
}

.wcpt-filter-terms-table-row > div {
  display: inline-block;
  vertical-align: middle;
}

.wcpt-filter-terms-table-row > div:last-child {
  width: calc(100% - 132px);
}

.wcpt-filter-terms-table-row .wcpt-filter-terms-label-locale-rows-wrapper {
  /* vertical-align: middle; */
}

.wcpt-filter-terms-table-row .wcpt-filter-terms-label-locale-row > div {
  display: inline-block;
  vertical-align: middle;
}

.wcpt-filter-terms-table-locale {
  margin-right: 15px;
}

.wcpt-filter-terms-table-label-locale-row-action button.wcpt-button {
  color: #5a5a5a;
}

.wcpt-filter-terms-table-label-locale-row-action
  button.wcpt-button[wcpt-remove-row][wcpt-disabled] {
  opacity: 0.25 !important;
  color: black !important;
  border: 1px solid #00000073 !important;
  cursor: default;
}

.wcpt-filter-terms-table-label-locale-row-action button.wcpt-button:hover {
  color: #000000;
}

/* add filter row */
.wcpt-add-filter-row {
  margin-top: 5px;
}

.wcpt-add-filter-row:first-child {
  margin-top: 25px;
}

.wcpt-filter-terms-label-locale-row {
  margin-bottom: 5px;
}

.wcpt-filter-terms-label-locale-row:last-child {
  margin-bottom: 0;
}

/* app */
[wcpt-row-template][wcpt-disabled],
[wcpt-panel-condition][wcpt-disabled] {
  display: none !important;
}

/* filters - end */

.wcpt-responsive-summary-template {
  padding: 20px;
  border-top: 1px solid;
}

.wcpt-responsive-summary-template-input {
  margin: 20px 0;
  width: 100%;
  height: 80px;
  padding: 10px 15px;
  box-shadow: none !important;
}

.wcpt-help-message {
  background: #e3f2fd;
  padding: 20px 25px;
  display: none;
  position: relative;
}

.wcpt-close-icon {
  font-size: 20px;
  color: black;
  width: 20px;
  height: 20px;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.wcpt-close-icon:before,
.wcpt-close-icon:after {
  content: "";
  width: 1px;
  height: 15px;
  background: black;
  position: absolute;
  left: 50%;
  top: 2px;
  transform: rotate(45deg);
}

.wcpt-close-icon:before {
  transform: rotate(-45deg);
}

.wcpt-message-close {
  position: absolute;
  right: 15px;
  top: 15px;
}

.wcpt-help-message .wcpt-item {
  padding: 15px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.23);
}

.wcpt-help-message .wcpt-item:last-child {
  border-bottom: none;
}

.wcpt-help-message .wcpt-item:nth-child(2) {
  padding-top: 0;
}

.wcpt-help-message .wcpt-item:last-child {
  padding-bottom: 0;
}

.wcpt-help-message .wcpt-item-left,
.wcpt-help-message .wcpt-item-right {
  display: inline-block;
  /* vertical-align: top; */
}

.wcpt-help-message .wcpt-item-left {
  width: 130px;
}

.wcpt-help-message .wcpt-item-right {
  padding: 5px 10px;
  background: #bbdefb;
  border-radius: 3px;
  cursor: pointer;
}

/*course new start*/

[data-wcpt-tab="courses"].tab-content {
  padding: 20px;
}

.wcpt-editor .wcpt-category-options {
  margin: 20px 0 0;
}

.wcpt-editor .wcpt-category-options:after {
  content: "";
  display: block;
  clear: both;
}

.wcpt-category-options.wcpt-disable-category-options span {
  text-decoration: line-through;
}

.wcpt-editor .wcpt-category {
  display: inline-block;
  padding: 0 10px 10px 20px;
  vertical-align: top;
  position: relative;
}

.wcpt-category-options > .wcpt-category {
  width: 32%;
  /* float: left; */
}

.wcpt-toggle-sub-categories {
  font-size: 1em;
  line-height: 0;
  cursor: pointer;
  position: relative;
  display: inline-block;
  transition: 0.3s transform;
  transform: rotate(0deg);
}

.wcpt-toggle-sub-categories svg {
  stroke-width: 2.5;
}

.wcpt-show-sub-categories > .wcpt-toggle-sub-categories {
  transform: rotate(180deg);
}

.wcpt-sub-categories {
  display: none;
  padding-top: 10px;
  margin-left: -5px;
  padding-bottom: 5px;
}

.wcpt-show-sub-categories > .wcpt-sub-categories {
  display: block;
}

.wcpt-sub-categories .wcpt-category {
  display: block;
}

.wcpt-sub-categories .wcpt-category:last-child {
  padding-bottom: 0;
}

.wcpt-editor .wcpt-category label {
  vertical-align: top;
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  max-width: calc(100% - 35px);
}

.wcpt-editor .wcpt-category input[type="checkbox"] {
  margin: 0;
  position: absolute;
  left: 0;
  top: 3px;
}

.wcpt-hide-out-of-stock-option-note {
  position: relative;
  padding: 11px;
  margin-left: 19px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid #ffc107;
  border-radius: 5px 5px 5px 5px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  display: inline-block;
  background: white;
  color: black;
}

.wcpt-hide-out-of-stock-option-note:after {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent #ffc107 transparent transparent;
}

label.wcpt-element-note {
  background: #fff176;
  padding: 20px !important;
  font-size: 14px !important;
}

label.wcpt-element-note p {
  margin: 0 0 1em 0 !important;
  font-size: 14px !important;
}

label.wcpt-element-note p:last-child {
  margin-bottom: 0.25em !important;
}

.wcpt-editor .wcpt-option-row {
  padding: 20px;
  border-bottom: 1px solid #f7f7f7;
}

.wcpt-editor .wcpt-option-row:last-child {
  border-bottom: none;
}

.wcpt-editor .wcpt-option-row .wcpt-heading {
  font-weight: bold;
  font-size: 16px;
  padding-bottom: 5px;
}

input.wcpt-width--50-percent {
  width: 50% !important;
}

.wcpt-editor .wcpt-option-label,
.wcpt-editor .wcpt-input {
  width: 200px;
  display: inline-block;
}

.wcpt-editor .wcpt-input {
  width: calc(100% - 240px);
}

.wcpt-borders-style {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-between;
}

.wcpt-borders-style > *:not(label) {
  flex-basis: auto;
  width: calc(33% - 2px) !important;
}

.wcpt-borders-style label {
  flex-basis: 100%;
}

[wcpt-model-key="border-color"] {
  margin-right: 0 !important;
}

.wcpt-borders-style.wcpt-open {
  padding-bottom: 20px !important;
}

.wcpt-flex-option-container {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}

/* [wcpt-model-key="margin-top"],
[wcpt-model-key="margin-right"],
[wcpt-model-key="margin-bottom"],
[wcpt-model-key="margin-left"],
[wcpt-model-key="padding-top"],
[wcpt-model-key="padding-right"],
[wcpt-model-key="padding-bottom"],
[wcpt-model-key="padding-left"],
.wcpt-padding-props > input {
  width: 24.75% !important;
  display: inline-block;
  margin: 0 !important;
  float: left;
  border-width: 1px 1px 1px 0 !important;
} */

.wcpt-margin-input-force-full-width {
  width: 100% !important;
  border-left-width: 1px !important;
}

[wcpt-model-key="margin-left"],
[wcpt-model-key="padding-left"] {
  margin-right: 0 !important;
}

/* [wcpt-model-key="margin-top"],
[wcpt-model-key="padding-top"],
.wcpt-padding-props > input {
  border-width: 1px 1px 1px 1px !important;
} */

.wcpt-editor .wcpt-input input[type="text"],
.wcpt-editor .wcpt-input input[type="number"],
.wcpt-editor .wcpt-input textarea,
.wcpt-editor .wcpt-input select {
  max-width: none !important;
  width: 100%;
  padding: 10px;
  height: 40px;
  box-shadow: none;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
}

.wcpt-editor .wcpt-input textarea {
  height: 80px;
  vertical-align: middle;
}

.wcpt-editor-tab-buttons .wcpt-input input,
.wcpt-editor-tab-buttons .wcpt-input select {
  padding: 10px;
}

/*style*/
.wcpt-editor-tab-style .wcpt-heading {
  padding: 20px 30px;
  font-size: 18px;
  /* text-transform: uppercase; */
  line-height: 1em;
  background: #ececec;
  color: #000000;
}

#wcpt-css {
  width: 100%;
  height: 200px;
  border-color: #eeeeee;
  box-shadow: none !important;
  padding: 15px 20px;
  font-size: 14px;
  line-height: 1.5em;
  margin-bottom: 20px;
}

.wcpt-style-row {
  padding: 15px 30px;
}

.wcpt-style-row:nth-child(odd) {
  background: #fbfbfb;
}

.wcpt-style-row:last-child {
  border-bottom: none;
}

[data-wcpt-tab="style"] .wcpt-left,
[data-wcpt-tab="style"] .wcpt-right {
  width: 300px;
  display: inline-block;
  margin: 10px 0;
  line-height: 32px;
}

[data-wcpt-tab="style"] .wcpt-right {
  width: 60%;
}

[data-wcpt-tab="style"] .wcpt-left label {
  cursor: default;
}

[data-wcpt-tab="style"] input[type="number"] {
  width: 100px;
  margin-right: 6px;
  padding: 10px;
  height: 35px;
}

[data-wcpt-tab="style"] select {
  max-width: none;
  height: 40px;
}

[data-wcpt-tab="style"] .wcpt-right input[type="text"]:not(.wcpt-color-picker),
[data-wcpt-tab="style"] .wcpt-right input[type="number"] {
  padding: 10px 8px;
  width: 300px;
  box-shadow: none;
  border: 1px solid #a7a7a7;
  border-radius: 5px;
}

.wp-color-result:after {
  height: 20px;
}

.wcpt-color-picker + .button {
  vertical-align: middle;
}

.wcpt-button,
.wcpt-button:hover,
.wcpt-button:focus,
.wcpt-button:visited {
  padding: 14px 24px;
  display: inline-block;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f7;
  border-radius: 2px;
  margin-right: 6px;
  margin-bottom: 5px;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.04);
  outline: none;
}

.wcpt-button:not([disabled]):hover {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #f9f9f9;
}

.wcpt-button:not([disabled]):active {
  box-shadow: none;
  outline: none;
  opacity: 0.9;
}

.wcpt-button[disabled] {
  opacity: 0.5;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: default;
}

/*template*/
.wcpt-template {
  display: none;
}

/* save button */

.wcpt-save-data {
  display: inline-block;
  margin-bottom: 0;
  width: 100%;
  text-align: center;
  max-width: 200px;
}

.button-primary.wcpt-editor-save-button {
  font-size: 16px;
  padding: 12px 20px !important;
  line-height: 1em !important;
  height: auto !important;
  vertical-align: middle;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wcpt-saving button.wcpt-editor-save-button {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.wcpt-saving-icon {
  display: inline-block;
  opacity: 0;
  margin-left: 8px;
  font-size: 12px;
  line-height: 1em;
  transition: 0.4s;
  vertical-align: middle;
  transform: scale(1.2);
  width: 0;
  transition: 0.2s width;
  overflow: hidden;
}

.wcpt-saved-icon {
  width: 0;
  overflow: hidden;
  transition: 0.3s width;
  display: inline-block;
  stroke-width: 3px;
}

.wcpt-saved-icon svg {
  stroke-width: 3px;
}

.wcpt-saved .wcpt-saved-icon {
  width: 1em;
}

.wcpt-saving .wcpt-saving-icon {
  opacity: 1;
  width: 1em;
}

.wcpt-save-keys {
  margin-top: 8px;
  font-size: 14px;
  color: #000000;
  opacity: 0.5;
  display: inline-block;
  transition: 0.2s background-color, 0.2s opacity;
}

.wcpt-save-data:hover .wcpt-save-keys {
  background: rgb(255 235 59 / 35%);
  opacity: 1;
}

.wcpt-editor-save-reset-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30px;
}

/* saving symbol */
.wcpt-be-lightbox-on .wcpt-save-data,
.wcpt-editor-save-table--floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 15px;
  width: 200px;
  z-index: 100000;
  background: white;
  box-shadow: 2px 2px 2px #ddd;
  border-radius: 4px;
  border: 1px solid lightgrey;
}

/* footer */
.wcpt-footer {
  margin: 40px 0 20px;
  position: relative;
  /* background: white; */
}

.wcpt-footer > div {
  margin: 10px 0 0 0;
  padding: 20px 24px;
  background: #ffffff;
  font-size: 16px;
  border: 1px solid #00000026;
  border-radius: 4px;
  max-width: 1050px;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 1050px;
}

.wcpt-footer > div > .wcpt-icon:first-child {
  margin-right: 10px;
  font-size: 18px;
  vertical-align: middle;
  position: relative;
  color: #999;
  display: inline-block !important;
}

.wcpt-footer-note-stars {
  display: inline-flex;
  gap: 0;
  vertical-align: top;
}

.wcpt-footer-note-stars svg {
  fill: gold;
}

.wcpt-built-in-shortcode-list-heading {
  font-weight: bold;
  color: black;
  font-size: 16px;
  display: block;
  margin: 30px 0 10px;
  cursor: pointer;
}

.wcpt-built-in-shortcode-list {
  font-size: 16px;
  line-height: 1.6em;
  color: #666;
}

.wcpt-built-in-shortcode-list p {
  font-size: 16px;
  line-height: 1.6em;
  margin: 0 0 1em 0 !important;
}

.wcpt-built-in-shortcode-list p:last-child {
  font-size: 16px;
  line-height: 1.6em;
  /* margin-bottom: 0 !important; */
}

.wcpt-built-in-shortcode {
  color: #444444;
  font-weight: bold;
  display: block;
  background: rgb(247 247 247);
  padding: 8px 10px;
  margin: 40px 0 10px;
  position: relative;
  cursor: pointer;
}

.wcpt-built-in-shortcode:before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #eaeaea;
  position: absolute;
  left: 0;
  top: -5px;
}

.wcpt-built-in-shortcode__attributes {
  padding-left: 20px;
  list-style: disc;
  margin: 10px 0;
}

.wcpt-built-in-shortcode__attributes li {
  margin: 10px 0 !important;
}

.wcpt-built-in-shortcode__attributes strong {
  border: 1px solid #eaeaea;
  background: #f7f7f7;
  padding: 2px 6px;
  margin: 0 5px 2px 0;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
}

/* style tab */

.wcpt-editor-tab-style {
  padding: 20px 30px;
}

.wcpt-device-style:not(:last-child) {
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 25px;
}

.wcpt-device-style .wcpt-toggle-options {
  margin: 15px 0;
  border-radius: 4px;
  border: 1px solid #eee;
}

.wcpt-device-style .wcpt-toggle-options:hover {
  border-color: black;
}

.wcpt-device-style > .wcpt-editor-light-heading {
  margin-bottom: 20px;
  z-index: 1 !important;
}

.wcpt-device-style .wcpt-toggle-options.wcpt-open {
  border-color: #aaa;
  padding-bottom: 10px;
}

.wcpt-device-style .wcpt-toggle-options > .wcpt-toggle-label {
  padding: 20px;
}

.wcpt-device-style .wcpt-toggle-options > .wcpt-toggle-label > .wcpt-icon {
  opacity: 0.5;
}

.wcpt-device-style .wcpt-toggle-options > .wcpt-wrapper {
  padding: 0 20px;
}

.wcpt-device-style
  .wcpt-toggle-options
  > .wcpt-wrapper
  .wcpt-editor-option-row
  input[type="text"],
.wcpt-device-style
  .wcpt-toggle-options
  > .wcpt-wrapper
  .wcpt-editor-option-row
  textarea,
.wcpt-device-style
  .wcpt-toggle-options
  > .wcpt-wrapper
  .wcpt-editor-option-row
  select {
  border-color: #ddd;
}

.wcpt-editor-tab-style .wcpt-toggle-label {
  font-size: 16px;
  font-weight: 600;
}

.wcpt-editor-tab-style .wcpt-toggle-options.wcpt-open > .wcpt-toggle-label {
  margin-bottom: 20px !important;
}

.wcpt-editor-option-row.wcpt-separation-heading {
  padding: 0 0 10px !important;
  margin: 40px 0 20px;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

/* icons */

.wcpt-icon {
  height: 1em;
  width: 1em;
  line-height: 1em;
  font-size: inherit;
  vertical-align: middle;
  display: inline-block;
}

.wcpt-icon > svg {
  height: 1em;
  width: 1em;
  font-size: inherit;
  /* vertical-align: middle; */
}

.wcpt-rotate-90 {
  transform: rotate(90deg);
}

.wcpt-rotate {
  animation: wcpt-rotate 2s infinite linear;
  -webkit-animation: wcpt-rotate 2s infinite linear;
  -moz-animation: wcpt-rotate 2s infinite linear;
  -o-animation: wcpt-rotate 2s infinite linear;
  display: inline-block;
}

@-webkit-keyframes wcpt-rotate {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes wcpt-rotate {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(360deg);
  }
}

@-o-keyframes wcpt-rotate {
  from {
    -o-transform: rotate(0deg);
  }

  to {
    -o-transform: rotate(360deg);
  }
}

/* style accordion */
.wcpt-row-accordion {
  border: 1px solid #ddd;
  padding: 5px 20px 5px !important;
  position: relative;
  border-radius: 6px;
  box-shadow: 2px 2px #eee;
  /* margin-top: 15px; */
}

.wcpt-row-accordion .wcpt-toggle-label svg {
  width: 18px;
  position: relative;
  vertical-align: middle;
  display: inline-block !important;
}

.wcpt-row-accordion.wcpt-open > .wcpt-toggle-label {
  border-bottom: 2px solid #eee;
}

.wcpt-row-accordion.wcpt-open {
  padding-bottom: 20px;
}

.wcpt-row-accordion > .wcpt-editor-row-option:last-child {
  margin-bottom: 20px;
}

/* PRO only badge */

.wcpt-pro-cover {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}

.wcpt-pro-cover:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.25) 40%,
    rgba(255, 255, 255, 1) 100%
  );
}

[wcpt-model-key="condition"].wcpt-pro-cover:before {
  background: linear-gradient(
    to bottom,
    rgba(247, 247, 247, 0.5) 0%,
    rgba(247, 247, 247, 1) 100%
  );
}

/* media element */

.wcpt-selected-media-display img {
  max-width: 150px;
  max-height: 150px;
  margin: 15px 0 0 0;
}

/* notice */
.wcpt-notice {
  font-size: 16px;
  line-height: 1.6em;
  background: rgba(255, 235, 59, 0.6);
  padding: 15px 20px;
  display: block;
  margin: 20px 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* global settings page */
.wcpt-settings {
  max-width: 750px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  background: white;
}

.wcpt-settings .wcpt-toggle-label {
  font-size: 18px;
  padding: 15px 20px;
  text-transform: capitalize;
}

.wcpt-settings .wcpt-toggle-label .wcpt-icon {
  margin-left: 5px;
}

.wcpt-settings .wcpt-toggle-options .wcpt-editor-row-option {
  padding-left: 20px;
  border-left: 2px dotted #eee;
}

/* license activation buttons */
.wcpt-license-key-activated {
  color: #4caf50;
  font-size: 16px;
  margin-left: 6px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 6px;
  border: 2px solid currentColor;
}

.wcpt-button.wcpt-activate-license,
.wcpt-button.wcpt-deactivate-license {
  padding: 10px 15px;
  margin-top: 0;
}

.wcpt-license-feedback > span {
  display: block;
  padding: 15px;
  border-width: 1px;
  border-style: solid;
  margin: 20px 0 10px;
  font-size: 16px;
}

/* .wcpt-license-feedback.wcpt-in-heading > span {
  display: inline-block;
  padding: 8px 16px 8px 8px;
  font-size: 14px;
  margin: 0;
} */

.wcpt-verifying-license-message {
  border-color: #03a9f429;
  background: #03a9f405;
  color: #38a3d4;
  box-shadow: 0 0 20px #03a9f40d;
}

.wcpt-license-feedback > span .wcpt-icon {
  position: relative;
  top: 2px;
  line-height: 0;
  margin-right: 0.2em;
}

.wcpt-license-feedback > span .wcpt-icon svg {
  width: 1em;
  height: 1em;
  vertical-align: baseline;
}

.wcpt-verifying-license .wcpt-verifying-license-message {
  display: block !important;
}

/* .wcpt-verifying-license .wcpt-in-heading .wcpt-verifying-license-message{
  display: inline-block !important;
} */

.wcpt-response-active-elsewhere,
.wcpt-response-invalid-key,
.wcpt-response-invalid-response {
  border-color: #ffe9e9;
  background: #fff9f9;
  color: #f44336;
  box-shadow: 0 0 20px #f9776d17;
}

.wcpt-response-deactivated {
  border-color: #ffecd0;
  background: #fffdf7;
  color: #e68900;
  box-shadow: 0 0 20px #ff980014;
}

.wcpt-response-activated {
  border-color: #8bc34a1c;
  background: #8bc34a0f;
  color: #689f38;
  box-shadow: 0 0 20px #8bc34a1c;
}

/* archive rows */

.wcpt-editor-row-option.wcpt-archive-overrider-rule {
  position: relative;
  background: rgb(248, 248, 248);
  padding: 10px 20px 30px 0px !important;
  margin: 0 0 20px 0;
  border: 1px solid #eee !important;
  border-radius: 4px;
}

.wcpt-editor-row-option textarea.wcpt-editor-custom-table-shortcode {
  margin-top: 14px !important;
  border-radius: 4px;
  box-shadow: none;
  font-size: 16px;
  padding: 6px 10px;
}

/* search settings */
.wcpt-search-rules {
  position: relative;
}

.wcpt-search__doc {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
}

.wcpt-search-rules input[type="number"] {
  width: 80px !important;
  height: 30px;
  display: inline-block;
  box-shadow: none;
  position: absolute;
  right: 20px;
}

.wcpt-search-rules label {
  position: relative;
}

.wcpt-search-rules__custom-rules {
  position: relative;
  margin-bottom: 10px;
}

.wcpt-search-rules__custom-rules label {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 5px;
}

body
  .wcpt-editor-row-option
  .wcpt-search-rules__custom-rules
  input[type="number"] {
  width: 80px !important;
  height: 30px !important;
  display: inline-block;
  box-shadow: none;
}

.wcpt-search-rules__custom-rules input[type="checkbox"] {
  margin: 0 10px 0 0;
}

.wcpt-search-rules__score {
  left: auto;
  right: 60px;
}

.wcpt-search-rules__match-name {
  color: #bbb;
}

input[type="checkbox"]:checked + .wcpt-search-rules__match-name {
  color: inherit;
}

.wcpt-search__enable-all,
.wcpt-search__disable-all {
  font-size: 16px;
  margin-right: 0.5em;
}

a.wcpt-search__disable {
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
}

.wcpt-open.wcpt-search__field {
  padding-bottom: 20px;
}

.wcpt-search__enabled-count,
.wcpt-search__field-state {
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 100;
  background: white;
  border: 2px solid #f1f1f1;
  padding: 4px 10px;
  border-radius: 10px;
}

.wcpt-search__enabled-count {
  right: 120px;
}

.wcpt-search__enabled-count:empty {
  display: none;
}

.wcpt-search-enabled > .wcpt-search__field-state {
  border-color: #c8e6c9;
}

.wcpt-search__field-state svg {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin-right: 3px;
  color: #999;
  stroke-width: 4px;
  position: relative;
  top: -1px;
}

.wcpt-search-enabled > .wcpt-search__field-state > .wcpt-search__disabled {
  display: none;
}

.wcpt-search-disabled > .wcpt-search__field-state {
  border-color: #ffcdd2;
}

.wcpt-search__enabled-count--none.wcpt-search__enabled-count {
  border-color: #ffcdd2;
}

.wcpt-search__enabled-count--all.wcpt-search__enabled-count {
  border-color: #c8e6c9;
}

.wcpt-search-disabled > .wcpt-search__field-state > .wcpt-search__enabled,
.wcpt-search-disabled > .wcpt-search__enabled-count {
  display: none;
}

.wcpt-search__field .wcpt-editor-light-heading {
  font-size: 16px;
}

.wcpt-reset-global-settings {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #2271b1;
  font-size: 16px;
  padding: 12px 20px;
  border: 1px solid #2271b1;
  border-radius: 4px;
  background: #f6f7f7;
  transition: 0.2s;
}

.wcpt-reset-global-settings:hover {
  background: #f0f0f1;
  border-color: #0a4b78;
  color: #0a4b78;
}

.wcpt-resetting-icon {
  display: inline-block;
  opacity: 0;
  margin-left: 8px;
  font-size: 12px;
  line-height: 1em;
  transition: 0.4s;
  vertical-align: middle;
  transform: scale(1.2);
  width: 0;
  transition: 0.2s width;
  overflow: hidden;
}

.wcpt-resetting .wcpt-resetting-icon {
  opacity: 1;
  width: 1em;
}

.wcpt-resetting.wcpt-reset-global-settings {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

/* select2 */

.wcpt-editor-row-option .select2-selection {
  min-height: 50px;
  margin-bottom: 5px !important;
}

.wcpt-editor-row-option .select2-selection__rendered,
.wcpt-editor-row-option .select2-selection__arrow {
  margin: 8px;
}

.wcpt-icon-rep {
  width: 16px;
  vertical-align: text-bottom;
  border: none !important;
  margin: 0 5px 0 4px !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.wcpt-editor-row-option .wcpt-icon-name {
  width: 16px;
  vertical-align: middle;
}

.post-type-wc_product_table
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  padding: 6px;
  font-size: 16px;
}

.post-type-wc_product_table .select2-results__option {
  font-size: 16px;
}

.post-type-wc_product_table .select2-container .select2-selection--multiple {
  min-height: 42px;
}

.post-type-wc_product_table .select2-search--inline {
  float: none !important;
}

.post-type-wc_product_table
  .select2-container--default
  .select2-search--inline
  .select2-search__field {
  position: relative;
  top: 4px;
}

.post-type-wc_product_table
  .select2-container--default
  .select2-results
  > .select2-results__options {
  max-height: 500px;
}

.wcpt-block-editor-lightbox-content {
  cursor: default;
}

/* pro */

.wcpt-pro-badge {
  border-radius: 8px;
  font-size: 12px;
  background: #ef5350;
  color: white;
  padding: 0px 8px;
  margin-left: 0.75em;
  vertical-align: middle;
}

.wcpt-pro-only-notice {
  background: #e5393557;
  color: #580000;
  padding: 10px 15px;
  margin: 20px 0 10px;
  font-size: 16px;
  vertical-align: middle;
}

.wcpt-pro-only-notice a {
  color: inherit;
}

/* feedback anim */
.wcpt-row-plc-hld.wcpt-anim-new-row {
  border: 2px solid #42a5f545;
  background: #03a9f412;
}

.wcpt-row-plc-hld.wcpt-anim-delete-row {
  border: 2px solid #f443366e;
  background: rgb(255, 204, 204);
}

/* toggle */

.wcpt-toggle.wcpt-toggle-on {
  position: relative;
  z-index: 10000;
}

.wcpt-toggle.wcpt-toggle-off > .wcpt-toggle-trigger > .wcpt-toggle-is-on,
.wcpt-toggle.wcpt-toggle-off > .wcpt-toggle-tray,
.wcpt-toggle.wcpt-toggle-on > .wcpt-toggle-trigger > .wcpt-toggle-is-off {
  display: none;
}

.wcpt-toggle-trigger {
  cursor: pointer;
}

.wcpt-toggle.wcpt-toggle-on > .wcpt-toggle-trigger {
  opacity: 1;
}

.wcpt-toggle-tray {
  position: absolute;
  top: calc(100% + 10px);
  padding: 15px 20px;
  background: #fdfdfd;
  width: 500px;
  right: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  box-shadow: 2px 2px 4px rgb(0 0 0 / 15%);
  z-index: 4;
  font-size: 16px;
  opacity: 0.985;
  cursor: default;
  max-height: 800px;
  overflow-y: auto;
}

.wcpt-toggle-tray > .wcpt-toggle-x {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.2s opacity;
}

.wcpt-toggle-tray > .wcpt-toggle-x:hover {
  opacity: 1;
}

.wcpt-toggle-tray table {
  border-collapse: collapse;
}

.wcpt-toggle-tray td {
  padding: 15px 10px;
  border-bottom: 1px solid #f1f1f1 !important;
  line-height: 1.75em;
  vertical-align: top;
}

.wcpt-toggle-tray td:first-child {
  width: 180px;
}

.wcpt-toggle-trigger > .wcpt-icon > svg {
  height: 1em;
  width: 1em;
  font-size: inherit;
  vertical-align: top;
}

.wcpt-toggle-trigger > .wcpt-icon {
  height: 1em;
  width: 1em;
  font-size: inherit;
  vertical-align: middle;
  display: inline-block;
}

/* selectors */

.wcpt-selectors {
  float: right;
  position: relative;
}

/* shortcode info */
.wcpt-shortcode-info > .wcpt-toggle-trigger:hover,
.wcpt-shortcode-info.wcpt-toggle-on > .wcpt-toggle-trigger {
  opacity: 1;
}

.wcpt-shortcode-info .wcpt-icon-sliders {
  font-size: 16px;
  margin-left: 2px;
  margin-top: -2px;
}

.wcpt-shortcode-info .wcpt-toggle-tray td:first-child {
  width: 140px;
  vertical-align: top;
}

.wcpt-shortcode-info .wcpt-toggle-tray {
  width: 720px;
}

.wcpt-shortcode-info .wcpt-pro-badge {
  margin: 0 0 0 0;
  display: inline-block;
  line-height: 1;
  font-size: 12px;
}

/* warning notice checklist */

.wcpt-notice-checklist {
  margin: 50px 0;
  display: block;
  font-size: 18px;
  border-style: solid;
  border-width: 8px 0;
  border-color: #f9f9f9;
  padding: 14px 0;
  display: none;
}

.wcpt-notice-ck-label {
  margin-right: 8px;
}

.wcpt-notice-ck-item {
  padding: 8px;
  color: rgba(0, 0, 0, 0.98);
  border-radius: 4px;
  position: relative;
}

.wcpt-notice-ck-item:last-child {
  margin-right: 0;
}

.wcpt-notice-checklist .wcpt-icon {
  display: inline-block;
  vertical-align: middle;
  margin-top: -3px;
  margin-right: 3px;
  color: #b9b9b9;
  font-size: 18px !important;
}

.wcpt-notice-checklist .wcpt-icon-check svg {
  color: #7ed321;
  stroke-width: 3px !important;
}

.wcpt-notice-checklist .wcpt-icon svg {
  width: 1em;
  height: 1em;
  stroke-width: 2px;
}

.wcpt-notice-ck-item.wcpt-done .wcpt-icon-info,
.wcpt-notice-ck-item .wcpt-icon-check {
  display: none;
}

.wcpt-notice-ck-item.wcpt-done .wcpt-icon-check {
  display: inline-block;
}

.wcpt-notice-ck-item .wcpt-tltp-content {
  display: none;
  width: 350px;
  padding: 20px 30px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  z-index: 100;
  font-size: 16px;
  line-height: 2em;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
}

.wcpt-notice-ck-item:not(.wcpt-done):hover .wcpt-tltp-content {
  display: inline-block;
}

.wcpt-notice-ck-item .wcpt-tltp-content:after,
.wcpt-notice-ck-item .wcpt-tltp-content:before {
  content: " ";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #ffffff transparent;
  position: absolute;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
}

.wcpt-notice-ck-item .wcpt-tltp-content:before {
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #e2e2e2 transparent;
  position: absolute;
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
}

/* select variation */
.wcpt-editor-select-variation-attribute-term {
  border: none;
  margin: 0 !important;
  padding: 5px 0;
  display: inline-block;
  width: 100%;
}

.wcpt-editor-select-variation-attribute-term > select,
.wcpt-editor-select-variation-attribute-term > .wcpt-loading-term {
  width: calc(50% - 40px) !important;
}

.wcpt-editor-select-variation-attribute-term > .wcpt-loading-term {
  display: inline-block;
  padding-left: 10px;
  font-size: 18px;
}

.wcpt-editor-select-variation-attribute-term > .wcpt-loading-term > .wcpt-icon {
  width: 25px;
  height: 25px;
  display: inline-block;
  text-align: center;
  line-height: 20px;
  position: relative;
  top: 6px;
  margin-right: 4px;
}

.wcpt-editor-select-variation-attribute-term > .wcpt-remove-item {
  position: relative;
  top: 5px;
  margin-left: 10px;
  cursor: pointer;
  background: white;
  color: #f77c73;
  height: 34px;
  display: inline-block;
  border-radius: 100%;
  padding: 5px;
  transition: 0.2s;
}

.wcpt-editor-select-variation-attribute-term > .wcpt-remove-item:hover {
  background: #f77c73;
  color: white;
}

.wcpt-button[wcpt-add-row-template="identify_variation"] {
  margin-top: 10px;
}

/* how to use */
.wcpt-how-to-use {
  font-size: 18px;
  font-style: normal;
  text-decoration: none;
  z-index: 1;
  position: absolute;
  top: 0;
  right: 20px;
  transform: translateY(-100%);
  background: #f7f7f7;
  padding: 10px 15px;
  border-radius: 6px 6px 0px 0px;
  border: 1px solid #ececec;
  border-bottom: none;
  box-shadow: 0 -1px 2px #f3f3f3;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.wcpt-how-to-use > .wcpt-icon > svg {
  width: 1em;
}

.wcpt-noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/* columns UI */

.wcpt-editor-tab-columns > div > .wcpt-editor-light-heading,
.wcpt-editor-tab-style > div > .wcpt-editor-light-heading {
  position: sticky;
  top: 32px;
  z-index: 2;
}

.wcpt-editor-tab-columns > div > .wcpt-editor-light-heading > span {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
  margin-right: 0.75em;
}

.wcpt-editor-tab-columns__device-tabs__panels__item {
  display: block;
  font-weight: normal;
  font-size: 16px;
  clear: both;
  margin-bottom: 0;
  transition: 0.3s margin-bottom;
  transition-delay: 0.3s;
  position: relative;
}

a.wcpt-editor-tab-columns__device-tabs__column-link,
.wcpt-device-columns-toggle a {
  margin-right: 1.25em !important;
  font-size: 18px !important;
  text-decoration: underline !important;
  outline: none !important;
  box-shadow: none !important;
  display: inline-block !important;
  border: none !important;
  line-height: 1.4em !important;
}

.wcpt-editor-tab-columns__device-tabs__panels__item > * {
  opacity: 0;
  transform: scale(0.95) translateX(4px);
  transition: 0.2s;
}

.wcpt-editor-tab-columns__device-tabs__panels__item
  > *.wcpt-column-link--reveal-anim {
  opacity: 1;
  transform: scale(1) translateX(0);
}

a.wcpt-editor-tab-columns__device-tabs__column-link {
  opacity: 0;
  transform: scale(0.95);
  transition: 0.2s color, 0.2s opacity, 0.2s border-color, 0.2s transform;
}

.wcpt-device-columns-toggle a {
  margin-right: 0 !important;
}

.wcpt-editor-tab-columns__device-tabs__panels__item a:hover,
.wcpt-device-columns-toggle a:hover {
  border-color: var(--wcpt-color-blue) !important;
}

.wcpt-device-columns-toggle {
  position: absolute;
  right: 15px;
  top: 80px;
  font-size: 16px;
  font-weight: normal;
  transform: translateY(-50%);
}

.wcpt-editor-tab-columns > div > .wcpt-editor-light-heading {
  padding-right: 190px;
}

.wcpt-editor-responsive-layout-help-doc-link {
  padding: 20px 40px;
  background: #f1f1f1;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgb(0 0 0 / 4%);
  margin-bottom: 25px;
  display: none !important;
}

/* 'Style' scroll UI */

.wcpt-device-style > .wcpt-editor-option-row .wcpt-editor-option-row {
  position: relative;
  padding-left: 200px;
  margin-bottom: 20px;
}

.wcpt-device-style div .wcpt-editor-option-row > label {
  position: absolute;
  left: 0;
  color: #444;
  font-size: 16px;
}

/* Navigation errors */

.wcpt-navigation-errors {
  margin: 0 0 20px;
  padding: 20px;
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ffcdd2;
  border-radius: 4px;
}

.wcpt-navigation-errors__heading {
  display: block;
  font-weight: bold;
}

.wcpt-navigation-errors__warnings {
  list-style-type: circle;
  padding-left: 1em;
  margin: 10px 0;
}

/* Additional query args info */

.wcpt-additional-query-args-info {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.wcpt-additional-query-args-info > .wcpt-toggle-trigger {
  font-size: 12px;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
}

.wcpt-additional-query-args-info > .wcpt-toggle-tray > p {
  font-size: 14px;
  line-height: 1.8em;
}

/* element conditions section */
[wcpt-model-key="condition"] .wcpt-editor-row-option--inset-options {
  margin-bottom: 25px;
  padding-left: 25px;
  border-left: 2px solid #ddd;
  margin-left: 8px;
}

.wcpt-editor-columns-device-divider {
  height: 4px;
  background: #f0efef;
  border: none;
}

/* .wcpt-column-hover-highlight, */
.wcpt-editor-tab-columns__device-tabs__panels__item
  a.wcpt-column-hover-highlight {
  border-color: #0e76ac !important;
  background-color: #0e75ac14 !important;
}

/* column tabs */
:root {
  --column-tabs-selected-border-color: rgb(0 0 0 / 40%);
}

.wcpt-device-columns-toggle {
  display: none !important;
}

.wcpt-editor-tab-columns > div > .wcpt-editor-light-heading {
  padding: 10px !important;
  margin-bottom: 60px;
}

.wcpt-editor-tab-columns > div > .wcpt-editor-light-heading:after {
  display: none !important;
}

.wcpt-editor-tab-columns__device-tabs__panels__item a {
  margin: 5px !important;
  font-size: 18px !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1) !important;
  display: inline-block !important;
  border: 2px solid #d8d8d8 !important;
  line-height: 1.4em !important;
  background: #ffffff !important;
  padding: 4px 10px 4px 24px;
  border-radius: 6px;
  color: black;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
  max-width: 250px;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  overflow: hidden;
}

.wcpt-editor-tab-columns__device-tabs__panels__item a:before {
  content: "";
  background-image: url("order.svg");
  width: 22px;
  height: 24px;
  display: inline-block;
  opacity: 0.3;
  position: absolute;
  top: 50%;
  left: -3px;
  transform: translateY(-50%) scale(0.7);
}

.wcpt-column-link__count {
  display: none;
  font-size: 0.75em;
  border: 1px solid #ddd;
  min-width: 1em;
  height: 1em;
  line-height: 1em;
  padding: 2px;
  text-align: center;
  box-sizing: content-box !important;
  background: #f8f8f8;
  border-radius: 100%;
  margin: 0 6px 0 1px;
  vertical-align: middle;
  color: #373737;
  position: relative;
  top: -1.5px;
}

.wcpt-editor-tab-columns__device-tabs__panels__item .ui-sortable-placeholder {
  background: #e8e8e8 !important;
  visibility: visible !important;
  opacity: 0.5;
}

.wcpt-editor-tab-columns__device-tabs__panels__item
  .ui-sortable-placeholder:before,
.wcpt-editor-tab-columns__device-tabs__panels__item
  .ui-sortable-placeholder:after {
  display: none !important;
}

.wcpt-editor-tab-columns__device-tabs__panels__item a[data-wcpt-index="add"] {
  background: var(--wcpt-color-blue) !important;
  color: #fff;
  border-color: #207dce !important;
  padding-left: 10px !important;
}

.wcpt-editor-tab-columns__device-tabs__panels__item
  a[data-wcpt-index="add"]:after,
.wcpt-editor-tab-columns__device-tabs__panels__item
  a[data-wcpt-index="add"]:before {
  display: none !important;
}

.wcpt-editor-tab-columns__device-tabs__panels__item {
  padding: 10px !important;
  border: 1px solid var(--column-tabs-selected-border-color);
  background: white;
  display: none;
}

.wcpt-editor-tab-columns__device-tabs__panels__item--selected {
  display: block;
}

.wcpt-editor-tab-columns__device-tabs__panels__item:after {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  bottom: -10px;
  left: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 8%), transparent);
  position: absolute;
}

.wcpt-editor-tab-columns__device-tabs__panels__item a:after {
  content: "";
  width: 1px;
  height: 100%;
  background: #eee;
  display: inline-block;
  top: 0;
  left: 16px;
  position: absolute;
}

/* .wcpt-column-settings {
  margin: 20px 0 !important;
} */

/* device column tabs */

.wcpt-editor-tab-columns__device-tabs {
  position: sticky;
  top: 32px;
  margin-top: 20px;
  margin-bottom: 30px;
  z-index: 3;
  background: white;
  /* padding-top: 10px; */
}

.wcpt-editor-tab-columns__device-tabs:after {
  content: "";
  clear: both;
  display: block;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item {
  display: inline-block;
  padding: 20px;
  background: #f9f9f9;
  float: left;
  border: 1px solid #dddddd;
  border-bottom: none !important;
  border-right-color: transparent;
  cursor: pointer;
  font-size: 18px;
  position: relative;
  color: #666;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item img {
  width: 15px;
  vertical-align: middle;
  margin-right: 6px;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item
  .wcpt-column-device-icon--tablet {
  width: 18px !important;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item span {
  vertical-align: middle;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item:last-child {
  border-right-color: #dddddd;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item--selected {
  background: white;
  border: 1px solid var(--column-tabs-selected-border-color) !important;
  border-width: 1px 1px 0 1px;
  color: #000;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item--selected:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 4px;
  width: 100%;
  background: inherit;
  z-index: 1;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item--selected
  + .wcpt-editor-tab-columns__device-tabs__triggers__item {
  border-left-color: transparent;
}

/* -- more options for columns */
.wcpt-editor-tab-columns__device-tabs__more-options {
  opacity: 1;
  transition: 0.2s opacity;
  position: absolute;
  top: 10px;
  right: 0px;
  text-decoration: none !important;
  box-shadow: none !important;
  font-size: 16px;
}

.wcpt-editor-tab-columns__device-tabs__more-options
  #wcpt-more-column-options
  > button {
  border: 1px solid var(--column-tabs-selected-border-color);
}

.wcpt-editor-tab-columns__device-tabs__scroll-to-top--visible
  + .wcpt-editor-tab-columns__device-tabs__more-options {
  opacity: 0;
  pointer-events: none;
}

.wcpt-editor-tab-columns__device-tabs__more-options
  .wcpt-tooltip-content
  .wcpt-icon:first-child {
  margin-right: 6px;
}
.wcpt-editor-tab-columns__device-tabs__more-options
  .wcpt-tooltip-content
  .wcpt-icon:nth-child(2) {
  flex-grow: 1;
}

.wcpt-tooltip {
  padding: 6px 6px 6px 12px;
}

.wcpt-editor-tab-columns__device-tabs__more-options .wcpt-tooltip-content div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wcpt-editor-tab-columns__device-tabs__more-options .wcpt-tooltip-content a {
  font-size: 16px;
  display: flex;
  border: 2px solid rgb(0 0 0 / 8%);
  padding: 8px;
  border-radius: 6px;
  color: black;
  align-items: center;
  gap: 4px;
  justify-content: flex-start;
  text-decoration: none;
}

.wcpt-editor-tab-columns__device-tabs__more-options
  .wcpt-tooltip-content
  a:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

/* -- scroll to top */
.wcpt-editor-tab-columns__device-tabs__scroll-to-top {
  opacity: 0;
  transition: 0.2s opacity;
  pointer-events: none;
  position: absolute;
  top: 22px;
  right: 10px;
  text-decoration: none !important;
  box-shadow: none !important;
  color: #2196f3 !important;
  font-size: 16px;
}

.wcpt-editor-tab-columns__device-tabs__scroll-to-top--visible {
  opacity: 1;
  pointer-events: all;
}

/* -- show all columns / column focus mode */
.wcpt-editor-tab-columns__device-tabs__show-all-columns {
  position: absolute;
  top: 22px;
  left: 605px;
  cursor: pointer;
  font-size: 16px;
}

.wcpt-editor-tab-columns__device-tabs__show-all-columns span {
  opacity: 0.75;
}

.wcpt-editor-tab-columns__device-tabs__show-all-columns:hover span,
.wcpt-editor-tab-columns__device-tabs__show-all-columns input:checked + span {
  opacity: 1;
}

.wcpt-editor-tab-columns__device-tabs__show-all-columns input {
  border-color: #444 !important;
  margin-right: 0 !important;
}

.wcpt-editor-tab-columns__device-tabs__show-all-columns:hover input,
.wcpt-editor-tab-columns__device-tabs__show-all-columns:hover input:checked {
  border-color: black !important;
}

/* tab rounded corners */
:root {
  --tab-border-radius: 3px;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item:first-child {
  border-radius: var(--tab-border-radius) 0 0 0;
}

.wcpt-editor-tab-columns__device-tabs__triggers__item:last-child {
  border-radius: 0 var(--tab-border-radius) 0 0;
}

.wcpt-editor-tab-columns__device-tabs__panels__item {
  border-radius: 0 var(--tab-border-radius) var(--tab-border-radius)
    var(--tab-border-radius);
}

/* column focus mode */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode {
  padding-bottom: 40px !important;
}

/* -- column device tabs */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-editor-tab-columns__device-tabs {
  position: relative;
  top: 0;
}

/* -- device columns container */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode .wcpt-editor-columns-container:not(.wcpt-editor-device-columns-container--focused),

/* -- column settings box */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode .wcpt-column-settings:not(.wcpt-column-settings--focused),

/* -- device divider */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode .wcpt-editor-columns-device-divider,

/* -- device columns container heading */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode .wcpt-editor-columns-container > .wcpt-editor-light-heading,

/* -- add column button */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode .wcpt-editor-columns-container > .wcpt-button,

/* -- panel shadow */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode .wcpt-editor-tab-columns__device-tabs__panels__item:after {
  display: none;
}

/* -- highlight selected column link */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-editor-tab-columns__device-tabs__column-link--focused {
  background: #e8f4ff !important;
  border-color: currentColor !important;
  color: #2196f3;
}

.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-editor-tab-columns__device-tabs__column-link--focused:after {
  background: #cce1f1 !important;
}

.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-editor-tab-columns__device-tabs__column-link--focused
  .wcpt-column-link__count {
  border-color: currentColor;
  color: #2687d6;
  background: white;
}

/* -- column settings */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-column-settings {
  margin-bottom: 0 !important;
  opacity: 0.5;
  border-color: #2687d6;
  transition: 0.4s opacity, 0.4s transform;
  clear: both;
  transform: translateY(10px) scale(0.98);
  cursor: default;
}

.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-column-settings
  .wcpt-editor-row-contract,
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-column-settings
  .wcpt-editor-row-move-down,
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-column-settings
  .wcpt-editor-row-move-up {
  display: none !important;
}

.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-column-settings--reveal-anim {
  opacity: 1;
  border-color: #eaeaea;
  transform: translateY(0) scale(1);
}

.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-row-plc-hld
  + .wcpt-column-settings {
  transition: none;
}

/* -- panel arrow down */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-editor-tab-columns__device-tabs__panels__item:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  position: absolute;
  left: 35px;
  bottom: 0;
  transform: rotate(135deg);
  border: 1px solid #999999;
  border-width: 1px 1px 0 0;
  background: white;
  transition: 0.2s;
}

.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-child-column-link-selected.wcpt-editor-tab-columns__device-tabs__panels__item:before {
  bottom: -8px;
  width: 15px;
  height: 15px;
  opacity: 1;
}

.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  [data-wcpt-column-count="0"].wcpt-editor-tab-columns__device-tabs__panels__item:before {
  display: none;
}

/* -- panel boder bottom */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-child-column-link-selected.wcpt-editor-tab-columns__device-tabs__panels__item {
  margin-bottom: 25px;
  transition-delay: 0s;
}

.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-editor-columns-container {
  margin-top: 0;
}

/* -- no columns for device message */
.wcpt-editor-tab-columns.wcpt-editor-tab-columns--focus-mode
  .wcpt-no-device-columns-message {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

/* WCPT Tooltip Component */
.wcpt-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  vertical-align: middle;
}

/* Tooltip Icon */
.wcpt-tooltip .wcpt-tooltip-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  text-align: center;
  line-height: 1em;
  padding: 4px;
  border-radius: 100%;
  opacity: 0.3;
  box-sizing: content-box !important;
  font-size: 16px;
}

.wcpt-tooltip .wcpt-tooltip-icon,
.wcpt-tooltip .wcpt-tooltip-text {
  opacity: 0.3;
  color: #000;
}

.wcpt-tooltip .wcpt-tooltip-text + .wcpt-tooltip-icon {
  padding-left: 0.3em;
}

.wcpt-tooltip .wcpt-tooltip-icon > * {
  vertical-align: baseline;
  color: black;
}

.wcpt-tooltip:hover .wcpt-tooltip-icon,
.wcpt-tooltip:hover .wcpt-tooltip-text {
  opacity: 1;
}

/* Tooltip Content */
.wcpt-tooltip .wcpt-tooltip-content {
  max-width: 200px;
  width: max-content;
  background: #fdf398;
  color: black;
  position: absolute;
  font-size: 14px;
  line-height: 1.4em;
  padding: 8px 12px 8px 14px;
  border-radius: 6px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 1px rgb(255 255 255 / 25%);
  opacity: 0;
  visibility: hidden;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%) translateY(0px);
  transition: 0.2s opacity, 0.2s transform;
  z-index: 1;
  pointer-events: none;
  cursor: default;
}

.wcpt-tooltip-content::before,
.wcpt-tooltip-content::after {
  cursor: help;
}

/* Allow hover on tooltip content */
.wcpt-tooltip[data-wcpt-allow-hover="true"] .wcpt-tooltip-content {
  pointer-events: auto;
}

/* Hover bridge element when hover allowed */
.wcpt-tooltip[data-wcpt-allow-hover="true"] .wcpt-tooltip-content::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 20px;
  bottom: -20px;
  left: 0;
}

/* Tooltip positions */
.wcpt-tooltip[data-wcpt-direction="bottom"] .wcpt-tooltip-content {
  bottom: auto;
  top: calc(100% + 5px);
}

.wcpt-tooltip[data-wcpt-direction="bottom"][data-wcpt-allow-hover="true"]
  .wcpt-tooltip-content::before {
  bottom: auto;
  top: -20px;
}

.wcpt-tooltip[data-wcpt-direction="left"] .wcpt-tooltip-content {
  bottom: auto;
  top: 50%;
  right: 30px;
  transform: translateX(0) translateY(-50%);
}

.wcpt-tooltip[data-wcpt-direction="left"][data-wcpt-allow-hover="true"]
  .wcpt-tooltip-content::before {
  width: 20px;
  height: 100%;
  bottom: 0;
  left: auto;
  right: -20px;
}

.wcpt-tooltip[data-wcpt-direction="right"] .wcpt-tooltip-content {
  bottom: auto;
  top: 50%;
  left: 30px;
  right: auto;
  transform: translateX(0) translateY(-50%);
}

.wcpt-tooltip[data-wcpt-direction="right"][data-wcpt-allow-hover="true"]
  .wcpt-tooltip-content::before {
  width: 20px;
  height: 100%;
  bottom: 0;
  left: -20px;
}

/* Tooltip Pointer */
.wcpt-tooltip .wcpt-tooltip-content::after {
  content: "";
  position: absolute;
  border-width: 8px;
  border-style: solid;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  border-color: #fdf398 transparent transparent transparent;
}

.wcpt-tooltip[data-wcpt-direction="bottom"] .wcpt-tooltip-content::after {
  top: auto;
  bottom: 100%;
  border-color: transparent transparent #fdf398 transparent;
}

.wcpt-tooltip[data-wcpt-direction="left"] .wcpt-tooltip-content::after {
  top: 50%;
  left: 100%;
  margin-top: -8px;
  margin-left: 0;
  border-color: transparent transparent transparent #fdf398;
}

.wcpt-tooltip[data-wcpt-direction="right"] .wcpt-tooltip-content::after {
  top: 50%;
  left: auto;
  right: 100%;
  margin-top: -8px;
  margin-left: 0;
  border-color: transparent #fdf398 transparent transparent;
}

/* Show Tooltip Content on Hover */
.wcpt-tooltip:hover .wcpt-tooltip-content {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.5s;
  transform: translateX(50%) translateY(-10px);
}

.wcpt-tooltip[data-wcpt-direction="bottom"]:hover .wcpt-tooltip-content {
  transform: translateX(50%) translateY(10px);
}

.wcpt-tooltip[data-wcpt-direction="left"]:hover .wcpt-tooltip-content {
  transform: translateX(-10px) translateY(-50%);
}

.wcpt-tooltip[data-wcpt-direction="right"]:hover .wcpt-tooltip-content {
  transform: translateX(10px) translateY(-50%);
}

/* more options */
.wcpt-editor-more-options {
  position: relative;
}

.wcpt-editor-more-options > .wcpt-editor-row-option {
  display: none;
}

.wcpt-editor-more-options--expanded > .wcpt-editor-row-option {
  display: block;
}

.wcpt-editor-more-options__trigger > span {
  color: var(--wcpt-color-blue);
  cursor: pointer;
  margin-bottom: 15px;
  font-size: 14px;
  border: 1px solid currentColor;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 7px;
  font-weight: 600;
}

.wcpt-editor-more-options--expanded .wcpt-editor-more-options__trigger {
  margin-top: 25px;
}

.wcpt-editor-more-options__trigger
  > span.wcpt-editor-more-options__trigger__more {
  display: inline-block;
}

.wcpt-editor-more-options__trigger
  > span.wcpt-editor-more-options__trigger__less {
  display: none;
}

.wcpt-editor-more-options--expanded
  span.wcpt-editor-more-options__trigger__more {
  display: none;
}

.wcpt-editor-more-options--expanded
  span.wcpt-editor-more-options__trigger__less {
  display: inline-block;
}

/* Table editor top fields */

.wcpt-editor-top-fields-container {
  max-width: 670px;
  color: #000;
}

.wcpt-editor-top-fields-row {
  display: flex;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 4px;
}

.wcpt-editor-top-fields-cell {
  display: flex;
  align-items: center;
}

.wcpt-editor-top-fields-label {
  width: 120px;
  min-width: 120px;
  padding: 8px 10px;
  font-size: 18px;
  border-right: 1px solid #ddd;
  justify-content: center;
}

.wcpt-editor-top-fields-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  padding: 8px 10px;
  box-shadow: 2px 2px 2px #ddd;
}

.wcpt-editor-top-fields-input {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  padding: 0 8px !important;
  min-height: 0 !important;
  height: auto !important;
}

.wcpt-editor-top-fields-input:focus {
  outline: 2px solid var(--wcpt-color-blue) !important;
  outline-offset: -1px !important;
}

.wcpt-editor-top-fields-input,
.wcpt-editor-top-fields-content .wcpt-sc-display-wrapper {
  flex-grow: 1;
  line-height: 2em !important;
}

.wcpt-editor-top-fields-icon-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px;
  display: inline-flex;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.wcpt-editor-top-fields-icon-button:hover {
  opacity: 1;
}

.wcpt-editor-top-fields-icon-button svg {
  width: 18px;
}

.wcpt-editor-top-fields-shortcode-ops {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.wcpt-editor-top-fields-three-dots {
  cursor: pointer;
}

.wcpt-editor-top-fields-copy-shortcode {
  position: absolute;
  left: -40px;
}

.wcpt-sc-display-copy-button {
  font-size: 18px;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  cursor: pointer;
  text-align: center;
  padding: 4px;
}

.wcpt-sc-display-copy-button-icon {
  display: inline-block;
}

.wcpt-sc-display-copy-button-success {
  display: none;
  white-space: nowrap;
  right: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.wcpt-icon.wcpt-sc-display-copy-button-success-icon {
  color: #4caf50;
  stroke-width: 3px;
}

.wcpt-sc-display-copy-button-success svg {
  stroke-width: 3px;
}

.wcpt-sc-display-wrapper {
  position: relative;
}

.wcpt-sc-display-wrapper input.wcpt-sc-display {
  background-color: #f7f7f7 !important;
  width: 100%;
  height: auto !important;
}

.wcpt-editor-top-table-actions,
.wcpt-shortcode-info {
  width: 160px;
  display: flex;
  justify-content: flex-end;
}

.wcpt-editor-top-table-actions .wcpt-toggle-trigger,
.wcpt-shortcode-info .wcpt-toggle-trigger {
  color: #aaa;
}

.wcpt-editor-top-table-actions .wcpt-toggle-trigger:hover,
.wcpt-editor-top-table-actions.wcpt-toggle-on .wcpt-toggle-trigger,
.wcpt-shortcode-info .wcpt-toggle-trigger:hover,
.wcpt-shortcode-info.wcpt-toggle-on .wcpt-toggle-trigger {
  color: #000;
}

.wcpt-editor-top-table-actions .wcpt-toggle-trigger {
  margin-right: -5px;
  width: auto;
  padding: 5px;
}

.wcpt-editor-top-table-actions .wcpt-toggle-tray {
  top: calc(100% - -5px);
  display: flex;
  gap: 4px;
  flex-direction: column;
  width: auto;
  align-items: flex-start;
  padding: 4px;
}

.wcpt-editor-top-table-actions .wcpt-toggle-tray > span {
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  flex-grow: 1;
  width: 100%;
  text-align: left;
  display: flex;
  gap: 5px;
  align-items: center;
}

.wcpt-editor-top-table-actions .wcpt-toggle-tray > span:hover {
  background: #f8f8f8;
}

.wcpt-editor-top-table-actions .wcpt-toggle-tray > span > .wcpt-icon {
  color: #666;
}

.wcpt-editor-top-table-actions .wcpt-toggle-tray > span:hover > .wcpt-icon {
  color: #000;
}

.wcpt-editor-top-table-actions .wcpt-toggle-trigger > .wcpt-icon,
.wcpt-shortcode-info .wcpt-toggle-trigger > .wcpt-icon {
  margin-left: -2px;
}

.wcpt-editor-customize-theme {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  font-size: 16px;
  gap: 15px;
}

.wcpt-editor-customize-theme button {
  white-space: nowrap;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  background-color: var(--wcpt-color-blue);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.wcpt-editor-customize-theme button .wcpt-original-icon {
  display: inline-flex;
}

.wcpt-editor-customize-theme button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.wcpt-editor-customize-theme button .wcpt-icon svg {
  opacity: 0.7;
  stroke-width: 2px;
}
