#poststuff #majc-settings-metabox .inside {
    margin: 0;
    padding: 0;
}

#majc-settings-metabox .postbox-header {
    display: none;
}

.majc-menu-option-wrap {
    background: #1d2327;
    padding: 15px 20px;
}

.majc-menu-option-wrap .majc-side-menus {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
}

.majc-menu-option-wrap .majc-side-menus li {
    flex-grow: 1;
    text-align: center;
    padding: 14px 20px;
    margin: 0;
    background: #2b3337;
    color: #FFF;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    border-radius: 4px;
}

.majc-menu-option-wrap .majc-side-menus li.majc-tab-active {
    background: #2170b1;
}

.majc-settings-row {
    position: relative;
    padding: 15px 0;
    margin: 0;
    border-bottom: 1px solid #EEE;
    display: flex;
}

.majc-settings-row:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: #F9F9F9;
    border-left: 1px solid #E1E1E1;
}

.majc-settings-row > label {
    flex: 0 1 200px;
    padding: 0 20px;
    position: relative;
    font-weight: bold;
}

.majc-settings-fields {
    flex-grow: 1;
    padding: 0 20px;
    width: calc(100% - 280px);
}

.majc-settings-fields p.majc-desc {
    margin: 8px 0 0;
    font-size: 13px;
    font-style: italic;
}

#poststuff .majc-menu-field-wrap h2,
.majc-settings-outer-wrap .majc-menu-field-wrap h2 {
    background: #f9f9f9;
    border-bottom: 1px solid #EEE;
    padding: 30px 20px;
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
}

.majc-settings-fields select,
.majc-settings-fields textarea,
.majc-settings-fields input[type="text"],
.majc-settings-fields input[type="url"] {
    width: 300px;
}

.majc-settings-fields select[multiple] {
    width: 400px;
}

.majc-settings-fields input[type="number"] {
    width: 80px;
}

.majc-settings-list-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.majc-settings-list > label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Sub Section Panel */
.majc-submenu {
    display: flex;
    padding: 25px 20px 0px;
    border-bottom: 1px solid #EEE;
    gap: 12px;
}

.majc-submenu .majc-submenu-tab {
    padding: 12px 20px;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
    flex-grow: 1;
    cursor: pointer;
    text-align: center;
    background: #eaeaea;
    font-size: 12px;
    border-radius: 5px 5px 0 0;
}

.majc-submenu .majc-submenu-tab:hover {
    background: #333;
    color: #FFF;
}

.majc-submenu .majc-submenu-tab.majc-tab-active {
    background: #2170b1;
    color: #FFF;
}

/* Two Column */

.majc-two-column-row {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 20px;
    margin: 0;
    padding: 0;
}

.majc-two-column-row > li {
    margin: 0;
    padding: 0;
}

.majc-two-column-row > li > label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}


/* Three Column */

.majc-three-column-row {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 20px;
    margin: 0;
    padding: 0;
}

.majc-three-column-row > li {
    margin: 0;
    padding: 0;
}

.majc-three-column-row > li > label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}


/* Four Column */

.majc-four-column-row {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    gap: 20px;
    margin: 0;
    padding: 0;
}

.majc-four-column-row > li {
    margin: 0;
    padding: 0;
}

.majc-four-column-row > li > label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Icon Chooser */
.majc-icon-box-wrap {
    position: relative;
    width: 382px;
}

.majc-icon-box-wrap .majc-icon-box {
    display: none;
}

.majc-icon-box-wrap .majc-selected-icon {
    background: #f6f6f6;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border: 1px solid #eee;
    position: relative;
    margin-left: 44px;
    cursor: pointer;
    font-size: 22px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.majc-icon-box-wrap .majc-selected-icon span {
    position: absolute;
    background: #f6f6f6;
    left: -45px;
    top: -1px;
    height: 45px;
    width: 45px;
    border: 1px solid #eee;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.majc-icon-box-wrap .majc-selected-icon span i.majc-down-icon {
    display: block;
    border: solid #333;
    border-width: 0 0 2px 2px;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
}

.majc-icon-box-wrap .majc-icon-search {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f7f7f7;
    border: 1px solid #eee;
    border-top: 0;
}

.majc-icon-box-wrap .majc-icon-search select {
    width: 150px;
    margin-left: 10px;
}

.majc-icon-box-wrap .majc-icon-list {
    height: 215px;
    overflow-y: scroll;
    font-size: 18px;
    border: 1px solid #eee;
    background: #fff;
    border-top: 0;
    padding: 4px;
    margin: 0;
    display: none;
    cursor: pointer;
    box-sizing: border-box;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.majc-icon-box-wrap .majc-icon-list::-webkit-scrollbar {
    display: none;
}

.majc-icon-box-wrap .majc-icon-list:first-of-type {
    display: block;
}

.majc-icon-box-wrap .majc-icon-list li {
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    width: 43px;
    border: 1px solid #eee;
    border-radius: 3px;
    font-size: 18px;
    margin: 4px;
    transition: all 0.3s ease;
}

.majc-type-icon .majc-icon-box-wrap .majc-icon-list li {
    height: 38px;
    width: 38px;
}

.majc-icon-box-wrap .majc-icon-list li:hover {
    background: #333;
    border: 1px solid #333;
    color: #fff;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

.majc-icon-box-wrap .majc-icon-list li.icon-active {
    background: #0073aa;
    border: 1px solid #0073aa;
    color: #fff;
}

/* Image Uploader */
.majc-custom-img-icon-btn {
    position: relative;
    width: 60px;
    margin-bottom: 10px;
}

.majc-custom-menu-image-icon {
    height: 60px;
    width: 60px;
    border: 2px dashed #EEE;
}

.majc-custom-menu-image-icon img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.majc-image-remove {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #FF0000;
    opacity: 0.6;
    text-indent: -9999px;
    cursor: pointer;
    border-radius: 50%;
}

.majc-custom-img-icon-btn:hover .majc-image-remove {
    opacity: 1;
}

.majc-image-remove:before,
.majc-image-remove:after {
    position: absolute;
    right: 9px;
    content: ' ';
    height: 10px;
    width: 1px;
    background-color: #fff;
    top: 5px;
}

.majc-image-remove:before {
    transform: rotate(-45deg);
}

.majc-image-remove:after {
    transform: rotate(45deg);
}

/* Show/Hide Lists */
.majc-display-lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.majc-postbox-fields,
.majc-hide-singular {
    border: 1px solid #EEE;
}

.majc-postbox-fields h4,
.majc-hide-singular h4 {
    margin: 0;
    padding: 15px;
    border-bottom: 1px solid #EEE;
}

.majc-toggle-tab-body {
    max-height: 300px;
    overflow-y: scroll;
    padding: 15px 15px 15px 0;
    margin-left: 19px;
}

.majc-toggle-tab-body p {
    margin: 0 0 15px;
}

.majc-toggle-tab-body p:last-child {
    margin-bottom: 0;
}

.majc-toggle-tab-body input[type="checkbox"] {
    float: right;
    margin-top: 2px !important;
}

.majc-toggle-tab-body input[type="checkbox"] + label {
    margin-right: 30px;
    display: block;
}

/* Typography */
.majc-typography-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
}

.majc-typography-fields li {
    margin: 0;
    padding: 0;
}

.majc-typography-fields li > label {
    display: block;
    margin-bottom: 6px;
}

/* Colors */
.majc-color-fields {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    gap: 20px;
    margin: 0;
}

.majc-color-fields li {
    margin: 0;
    padding: 0;
}

.majc-color-fields li > label {
    display: block;
    margin-bottom: 6px;
}

/*Toggle Button*/
.majc-toggle-input-field input[type=checkbox] {
    width: 40px;
    height: 20px;
    border-radius: 20px;
    background: rgb(255, 42, 43);
    position: relative;
    border: 0;
    margin: 0;
    min-width: 0;
    box-shadow: none;
}

.majc-toggle-input-field input[type=checkbox]:before {
    content: "";
    display: block;
    position: absolute;
    right: 2px;
    top: 2px;
    transition: all 0.2s ease;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid #FFF;
    background-color: rgb(255, 42, 43);
    box-sizing: border-box;
    margin: 0;
}

.majc-toggle-input-field input[type=checkbox]:checked {
    background-color: rgb(15, 202, 128);
}

.majc-toggle-input-field input[type=checkbox]:checked:before {
    background-color: rgb(15, 202, 128);
    transform: translateX(-20px);
}

/*Choosen Select*/
.majc-typography-fields .chosen-container-single .chosen-single {
    min-height: 30px;
    font-size: 14px;
    line-height: 2;
    color: #2c3338;
    border-color: #8c8f94;
    box-shadow: none;
    border-radius: 3px;
    background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat left 5px top 55%;
    background-size: 16px 16px;
    cursor: pointer;
    vertical-align: middle;
    padding: 0 10px 0 0;
}

.majc-typography-fields .chosen-container-single .chosen-single div {
    display: none;
}

.majc-typography-fields .chosen-container-single .chosen-single span {
    margin: 0 0 0 26px;
}

.majc-typography-fields .chosen-container-single .chosen-search input[type="text"] {
    background: none !important;
    padding: 5px;
    box-shadow: none;
}

/* Range Slider */
.majc-range-slider-wrap {
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
}

.majc-range-slider {
    position: relative;
    flex-grow: 1;
    height: 4px;
    margin: 12px 0;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.5s;
}

.majc-range-slider:hover {
    background: rgba(0, 0, 0, 0.2);
}

.majc-range-slider .ui-slider-range {
    display: inline-block;
    position: absolute;
    top: 0;
    height: 100%;
    background: #13a1dc;
}

.majc-range-slider .ui-slider-handle {
    height: 16px;
    width: 16px;
    background: #fff;
    border: none;
    display: inline-block;
    position: absolute;
    top: 50%;
    margin: 0 -8px 0 0;
    transform: translateY(-50%);
    box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
}

.majc-range-slider + .majc-range-input-selector {
    margin-right: 10px;
    margin-left: 5px;
    width: 50px !important;
    height: 28px;
    text-align: center;
    border-radius: 4px;
    padding: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

/* Cart Editor Popup */
.majc-cart-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.majc-cart-popup .majc-cart-popup-content {
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    background: #f1f3f5;
    position: relative;
}

.majc-cart-popup iframe {
    width: 100%;
    height: 100%;
}

.majc-cart-popup-close {
    position: absolute;
    background: #93003c;
    height: 40px;
    width: 40px;
    bottom: 0;
    left: 0;
    cursor: pointer;
    color: #FFF;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.majc-cart-popup-active {
    overflow: hidden;
}


/* Dropzone */
.majc-dropzone-wrapper {
    border: 2px dashed #91b0b3;
    color: #92b0b3;
    position: relative;
    height: 150px;
    max-width: 500px;
    margin-bottom: 10px;
}

.majc-dropzone-desc {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-direction: column;
}

.majc-dropzone-desc .icofont-download {
    font-size: 22px;
}

.majc-dropzone,
.majc-dropzone:focus {
    position: absolute;
    outline: none !important;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.majc-dropzone-wrapper:hover,
.majc-dropzone-wrapper.dragover {
    background: #ecf0f5;
}

.majc-preview-zone {
    border: 1px dashed #CCC;
    max-width: 500px;
    margin-bottom: 5px;
    position: relative;
}

.majc-preview-zone .box-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    margin-bottom: 0;
}

.majc-preview-zone .majc-remove-preview {
    position: absolute;
    left: 10px;
    top: 10px;
    color: red;
    border: none;
    background: none !important;
    vertical-align: top;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    min-height: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.majc-preview-zone.hidden + .majc-dropzone-wrapper + #uwcc_import {
    display: none;
}

/* Shadow */

.majc-shadow-fields {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.majc-shadow-fields li > label {
    text-align: center;
    display: block;
}

.majc-shadow-fields li input[type="number"] {
    width: 60px;
    text-align: center;
}

/* Dimension */

.majc-dimension-fields {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.majc-dimension-fields li > label {
    text-align: center;
    display: block;
}

.majc-dimension-fields li input[type="number"] {
    width: 60px;
    text-align: center;
}


/* Text Check Box */

.majc-text-check-box {
    border: 1px solid #EEE;
    display: inline-flex;
}

.majc-text-check-box label {
    border-left: 1px solid #EEE;
}

.majc-text-check-box label:last-child {
    border: none;
}

.majc-text-check-box label span {
    display: block;
    padding: 10px 15px;
}

.majc-text-check-box label span i {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.9em;
}

.majc-text-check-box label input:checked + span {
    background: #000;
    color: #FFF;
}

.majc-text-check-box label input {
    display: none;
}

/* Multiple Select */
.majc-settings-fields .select2-container--default .select2-selection--multiple .select2-selection__clear {
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 0;
    margin-left: 0;
    padding: 3px 5px;
    line-height: 1;
}

.majc-settings-fields .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding-left: 20px;
}

.majc-settings-fields .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    margin: 0;
}

.majc-settings-fields .select2-container--default .select2-selection--multiple li.select2-selection__choice {
    background: #333;
    color: #FFF;
    border-radius: 2px;
    border: 0;
    padding: 3px 6px;
    margin: 5px 0 0 5px;
}

.majc-settings-fields .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #333;
    background: #FFF;
    border-radius: 10px;
    height: 14px;
    width: 14px;
    line-height: 12px;
    text-align: center;
    margin-left: 6px;
}

.majc-settings-fields .select2-container--default .select2-search--inline .select2-search__field {
    min-height: 0;
}

/* Alert */

.majc-alert {
    width: 300px;
    top: -100px;
    left: 100px;
    position: fixed;
    padding: 20px;
    color: #FFF;
    border-radius: 4px;
    font-size: 16px;
    z-index: 9999;
    transition: all 0.2s ease;
    visibility: hidden;
    background: #EEE;
}

.majc-alert .majc-alert-message {
    padding-left: 30px;
}

.majc-alert .icofont-close-line {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 16px;
    cursor: pointer;
}

.majc-alert-active {
    top: 100px;
    visibility: visible;
}

.majc-alert-success {
    background-color: #42BA96;
}

.majc-alert-warning {
    background-color: #DF4759;
}

/** Admin Notice **/
.majc-notice.notice {
    padding: 20px 20px 20px 40px !important;
    position: relative;
}

.majc-notice.notice.notice p {
    margin: 0 0 10px;
}

.majc-notice a.notice-dismiss {
    text-decoration: none;
}


/** PopUp Settings **/
.majc-popup-wrap,
.majc-freeshipping-wrap {
    margin: 20px 0px 20px 20px;
    background: #FFF;
    max-width: 1200px;
}

h2.majc-main-header {
    color: #FFF;
    padding: 10px 0;
    margin: 0;
    text-transform: uppercase;
}

.majc-save-settings {
    padding: 15px;
    display: flex;
    justify-content: flex-end;
    border: #f9f9f9;
}

.majc-settings-outer-wrap .majc-save-notice {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: 2px dashed #EEE;
}

.majc-settings-outer-wrap .majc-success-notice {
    border-color: green;
    color: green;
}

.majc-settings-outer-wrap .majc-error-notice {
    border-color: red;
    color: red;
}

.majc-settings-outer-wrap .majc-save-notice p {
    margin: 0;
    color: inherit;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
}

/** Post status **/
.majc-post-states {
    display: inline-block;
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 10px;
    background: #333;
    color: #fff;
}

/** Sortable Elements **/
.majc-each-elements {
    border: 1px solid #EEE;
    padding: 10px;
    margin-bottom: 5px;
    background: #F9F9F9;
    width: 300px;
}

.majc-each-elements:before {
    content: "\31";
    font-family: "ElegantIcons";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    margin-left: 10px;
    opacity: 0.8;
}

.majc-each-elements.majc-ignore:before {
    content: "\e074";
}

.majc-each-elements label {
    vertical-align: top;
}

.majc-each-elements .switch {
    float: left;
}

ul.majc-feature-list {
    margin: 0;
    padding: 30px;
    font-size: 15px;
}

ul.majc-feature-list ul {
    margin: 10px 0 0 0;
    padding: 0;
}

ul.majc-feature-list li {
    position: relative;
    padding: 0 30px 0 0;
    margin: 0 0 10px 0;
}

ul.majc-feature-list li:before {
    content: "\f15e";
    font-family: 'dashicons';
    font-weight: 900;
    position: absolute;
    top: 2px;
    right: 0;
    font-size: 12px;
    text-align: center;
    border-radius: 50%;
    color: #333;
    width: 18px;
    height: 18px;
    line-height: 18px;
    background: #4bae4f;
    color: #FFF;
}

#upgrade-settings h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px !important;
}

#upgrade-settings h2 a,
a.majc-upgrade-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    color: #FFF;
    background: #2170b1;
    text-decoration: none;
    border-radius: 2px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

#upgrade-settings h2 a span,
a.majc-upgrade-button span {
    height: auto;
    width: auto;
    font-size: inherit;
    margin: 0 0 0 5px;
}

#upgrade-settings h2 a:hover,
a.majc-upgrade-button:hover {
    background: #000;
}

a.majc-upgrade-button {
    margin: -10px 30px 30px 0;
}

/** Admin Notice **/
.majc-notice.notice {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px 20px 20px 40px !important;
    position: relative;
}

.majc-notice.notice .majc-notice-logo {
    width: 84px;
    flex: 84px 0 0;
}

.majc-notice.notice .majc-notice-logo svg {
    fill: #72aee6;
    display: block;
}

.majc-notice.notice p {
    padding: 0;
    margin: 0 0 15px;
    font-size: 16px;
}

.majc-notice.notice .button .dashicons {
    height: auto;
    width: auto;
    margin: 0 0 0 6px;
    vertical-align: middle;
    font-size: 16px;
}

.majc-notice a.notice-dismiss {
    text-decoration: none;
}

/* Additional RTL CSS */
.majc-range-slider .ui-slider-range {
    left: 0;
}

ul.majc-feature-list li {
    direction: ltr;
}