/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

#swpf-settings-metabox.postbox * {
    box-sizing: border-box;
}

#swpf-settings-metabox {
    min-width: 255px;
    border: 0;
    box-shadow: none;
    background: transparent;
    max-width: 1400px;
}

body.post-type-swpf-product-filter #post-body-content {
    max-width: 1400px;
}

.swpf-settings-main-wrapper {
    position: relative;
    background: #FFF;
    border-top: 4px solid #88ddfb;
}

.swpf-settings-footer {
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e4eaff;
    position: sticky;
    bottom: 0;
    background: #FFF;
    left: 0;
    right: 0;
    z-index: 9;
}

.swpf-settings-footer .button {
    padding: 13px 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    outline: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 9;
}

.swpf-settings-footer .button.swpf-upgrade-to-pro {
    background: #ff0000;
    border-color: #ff0000;
}

.swpf-general-settings .button.swpf-button-loader:after,
.swpf-custom-terms-footer .button.swpf-btn-loading:after,
.swpf-show-custom-term-options.swpf-btn-loading:after,
.swpf-settings-footer .button.swpf-button-loader:after {
    content: "";
    border: 2px solid #FFF;
    border-radius: 50%;
    border-right-color: transparent;
    height: 8px;
    width: 8px;
    animation-name: swpf-spin;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes swpf-spin {
    from {
        transform: rotate(0deg);
    }

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

/* TAB */
.swpf-tab-options-wrap {
    background: #f7f7ff;
    padding: 5px 30px 0;
}

.swpf-tab-options-wrap ul {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.swpf-tab-options-wrap ul li {
    padding: 20px;
    cursor: pointer;
    text-transform: uppercase;
    margin: 0;
    font-weight: bold;
    border-radius: 0 0 3px 3px;
    color: #333;
    user-select: none;
}

.swpf-tab-options-wrap ul li:hover {
    background: #FFF;
    box-shadow: 0 -8px 12px 0 rgba(0, 0, 0, 0.1);
}

.swpf-tab-options-wrap ul li.swpf-tab-active {
    background: #FFF;
    box-shadow: 0 -8px 12px 0 rgba(0, 0, 0, 0.1);
}

/* Tab Content */

.swpf-options-fields-wrap {
    padding: 30px;
    counter-reset: filtersection;
}

.swpf-options-fields-wrap .swpf-each-items-wrap {
    margin-bottom: 20px;
    border: 1px solid #e4eaff;
    background: #FFF;
}

.swpf-options-fields-wrap .swpf-each-items-wrap.swpf-highlight {
    box-shadow: 0 0 0px 6px #8fd39b;
}

.swpf-options-fields-wrap .swpf-each-items-wrap:last-child {
    margin-bottom: 0;
}

.swpf-options-fields-wrap > h3 {
    margin: 0 0px 30px;
    padding: 0;
}

.swpf-tax-heading-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f7ff;
}

.swpf-tax-heading-wrap h4 {
    text-transform: uppercase;
    font-weight: bold;
    padding: 0 25px;
}

.swpf-tax-heading-wrap h4:before {
    counter-increment: filtersection;
    content: counter(filtersection);
    background: #000;
    color: #FFF;
    height: 26px;
    width: 26px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 14px;
    border-radius: 3px;
}

.swpf-each-items-wrap .swpf-option-fields-inner-wrap {
    border-top: 1px solid #e4eaff;
    padding: 25px;
    display: none;
}

.swpf-tab-action {
    display: flex;
}

.swpf-tab-action span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e4eaff;
    width: 56px;
    height: 56px;
    font-size: 16px;
}

.swpf-tab-action span.swpf-sortable-box {
    cursor: move;
}

.swpf-tab-action span.swpf-toggle-box {
    cursor: pointer;
}

.swpf-filter-list {
    border: 1px solid #e4eaff;
    padding: 20px;
    margin-bottom: 30px;
}

.swpf-filter-list h3 {
    margin: 0;
    font-size: 16px;
}

.swpf-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    margin-right: -20px;
    padding-right: 20px;
    overflow: hidden auto;
    max-height: 300px;
}

.swpf-filters-wrap::-webkit-scrollbar {
    width: 3px;
}

/* Track */
.swpf-filters-wrap::-webkit-scrollbar-track {
    background: #EEE;
}

/* Handle */
.swpf-filters-wrap::-webkit-scrollbar-thumb {
    background: #DDD;
}

/* Handle on hover */
.swpf-filters-wrap::-webkit-scrollbar-thumb:hover {
    background: #BBB;
}

.swpf-filters-wrap .swpf-filter-show-hide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
    padding: 8px;
    border: 1px dashed #e4eaff;
    gap: 10px;
}

.swpf-filters-wrap .swpf-filter-show-hide:hover {
    background: #FAFAFA;
}

/* Fields */
.swpf-field-inline-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.swpf-field-inline-wrap .swpf-field-wrap {
    display: flex;
    gap: 15px;
}

.swpf-field-wrap > label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: bold;
}

.swpf-field-inline-wrap .swpf-field-wrap > label {
    width: 200px;
    flex: 0 0 200px;
    margin: 0;
}

.swpf-field-inline-wrap .swpf-field-wrap > .swpf-settings-input-field {
    width: calc(100% - 215px);
    flex: 0 0 calc(100% - 215px);
}

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

.swpf-icon-box {
    display: none;
}

.swpf-icon-box-wrap .swpf-icon-box {
    display: none;
    margin-top: 5px;
}

.swpf-icon-box-wrap .swpf-selected-icon {
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #8c8f94;
    position: relative;
    margin-right: 44px;
    cursor: pointer;
    font-size: 18px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
}

.swpf-icon-box-wrap .swpf-selected-icon span {
    position: absolute;
    right: -36px;
    top: -1px;
    height: 36px;
    width: 36px;
    border: 1px solid #8c8f94;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
}

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

.swpf-icon-box-wrap .swpf-selected-icon span.swpf-icon-reset {
    border-radius: 4px;
    right: -80px;
    color: #666;
    font-size: 13px;
}

.swpf-icon-box-wrap .swpf-icon-search {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f7f7ff;
    border: 1px solid #8c8f94;
    border-bottom: 0;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.swpf-icon-box-wrap .swpf-icon-search select {
    width: 150px;
    min-width: 0;
    margin-right: 10px;
}

.swpf-icon-box-wrap .swpf-icon-search-input {
    flex-grow: 1;
}

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

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

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

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

.swpf-type-icon .swpf-icon-box-wrap .swpf-icon-list li {
    height: 36px;
    width: 36px;
}

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

.swpf-icon-box-wrap .swpf-icon-list li.icon-active {
    background: #88ddfb;
    border: 1px solid #88ddfb;
    color: #fff;
}


.swpf-row {
    display: grid;
    grid-template-columns: repeat(4, 240px);
    gap: 15px 30px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EEE;
}

.swpf-row:last-child,
.swpf-last-row {
    border: 0;
    margin: 0;
    padding: 0;
}

.swpf-field-wrap.swpf-step-filter {
    grid-column: span 4;
}

.swpf-field-wrap.swpf-step-filter label {
    margin: 0;
    text-transform: uppercase;
}

.swpf-button-wrap {
    display: flex;
    justify-content: flex-end;
    border: 1px solid #EEE;
    padding: 15px;
    margin-top: 20px;
}

.swpf-show-custom-term-options {
    display: inline-flex;
    text-decoration: none;
    font-size: 13px;
    margin: 0;
    padding: 12px 25px;
    cursor: pointer;
    border: 0;
    white-space: nowrap;
    background: #3fc9f9;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    gap: 5px;
    align-items: center;
}


.swpf-custom-terms-options {
    display: none;
}


.swpf-field-wrap input[type=date],
.swpf-field-wrap input[type=datetime-local],
.swpf-field-wrap input[type=datetime],
.swpf-field-wrap input[type=email],
.swpf-field-wrap input[type=month],
.swpf-field-wrap input[type=number],
.swpf-field-wrap input[type=password],
.swpf-field-wrap input[type=search],
.swpf-field-wrap input[type=tel],
.swpf-field-wrap input[type=text],
.swpf-field-wrap input[type=time],
.swpf-field-wrap input[type=url],
.swpf-field-wrap input[type=week],
.swpf-field-wrap select {
    min-height: 36px;
    border-color: #8c8f94;
}

.swpf-field-wrap input[type=number] {
    min-width: 60px;
    width: 60px;
    padding-right: 0;
    text-align: center;
}

.swpf-field-wrap button.button:not(.wp-color-result) {
    min-height: 36px !important;
}

.swpf-field-wrap input[type=text]:not(.wp-color-picker),
.swpf-field-wrap .selectize-input,
.swpf-field-wrap select,
.swpf-field-wrap .swpf-range-slider-field {
    max-width: 300px;
    width: 100%;
}

.swpf-field-wrap select.swpf-unit {
    width: 60px;
    text-align: center;
}

#swpf-settings-metabox .selectize-input {
    border-color: #8c8f94;
    max-width: 300px;
}

#swpf-settings-metabox .selectize-input input {
    min-width: 100px;
}

.swpf-toggle {
    position: relative;
    display: block;
    width: 44px;
    height: 24px
}

.swpf-toggle input {
    display: none;
}

.swpf-toggle span {
    padding: 2px;
    background: #fff;
    border: 2px solid #8c8f94;
    border-radius: 20px;
    display: block;
    width: 44px;
    height: 24px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.swpf-toggle span:after {
    content: "";
    transition: all 0.3s ease;
    background: #8c8f94;
    border-radius: 1em;
    position: relative;
    display: block;
    width: 50%;
    height: 100%;
    left: 0;
}

.swpf-toggle input:checked + span {
    border-color: #7FC6A6;
}

.swpf-toggle input:checked + span:after {
    left: 50%;
    background: #7FC6A6;
}

.swpf-plugin-banner {
    background: #000;
    color: #FFF;
    padding: 15px 25px;
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: normal;
}

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

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

.swpf-custom-terms-options-active.swpf-custom-terms-options {
    display: block;
}

.swpf-custom-terms-options {
    position: fixed;
    left: 0;
    right: 0;
    top: 32px;
    bottom: 0;
    z-index: 99;
    margin-left: 160px;
}

.swpf-custom-terms-options:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.swpf-custom-terms-field-outer-wrap {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 0;
    background: #FFF;
    margin-top: 50px;
    height: calc(100% - 100px);
    overflow: hidden auto;
}

.swpf-custom-terms-field-outer-wrap::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.swpf-custom-terms-field-outer-wrap::-webkit-scrollbar-track {
    background: #EEE;
}

/* Handle */
.swpf-custom-terms-field-outer-wrap::-webkit-scrollbar-thumb {
    background: #DDD;
}

/* Handle on hover */
.swpf-custom-terms-field-outer-wrap::-webkit-scrollbar-thumb:hover {
    background: #BBB;
}

.swpf-custom-terms-field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.swpf-custom-terms-footer {
    position: sticky;
    bottom: 0;
    background: #FFF;
    padding: 10px;
    border: 1px solid #AAA;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.swpf-custom-terms-footer p {
    margin: 0;
    font-weight: bold;
}

.swpf-custom-terms-footer .button {
    padding: 13px 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    outline: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.swpf-custom-terms-option-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: #FFF;
    height: 50px;
    width: 50px;
    cursor: pointer;
    text-indent: -999px;
    z-index: 999;
}

.swpf-custom-terms-option-close:before {
    content: "";
    position: absolute;
    background: #000;
    height: 2px;
    width: 24px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.swpf-custom-terms-option-close:after {
    content: "";
    position: absolute;
    background: #000;
    width: 2px;
    height: 24px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.swpf-custom-terms-options .swpf-custom-term-field-wrap {
    border: 1px solid #AAA;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.swpf-custom-terms-options .swpf-custom-term-field-wrap.swpf-custom-no-term-field {
    grid-column: span 4;
    text-align: center;
}

.swpf-custom-terms-options .swpf-custom-term-field-wrap h4 {
    margin: 0 -15px 0;
    padding: 0 15px 10px;
    border-bottom: 1px solid #AAA;
}

.swpf-custom-term-field.swpf-field-wrap > label {
    display: block;
    margin-bottom: 5px;
    width: 100%;
}

.swpf-custom-terms-options .swpf-field-wrap {
    display: block;
}

#swpf-settings-metabox .swpf-custom-terms-options .swpf-custom-terms-field-outer-wrap input[type=text]:not(.wp-color-picker),
#swpf-settings-metabox .swpf-custom-terms-options .swpf-custom-terms-field-outer-wrap .selectize-input,
#swpf-settings-metabox .swpf-custom-terms-options .swpf-custom-terms-field-outer-wrap select {
    min-width: 100%;
}

.swpf-settings-input-field .CodeMirror {
    width: 500px;
    border: 1px solid #EEE;
}

.swpf-custom-img-action-field {
    display: flex;
    gap: 10px;
}

.swpf-custom-img-action-field .swpf-image-remove,
.swpf-custom-img-action-field .swpf-image-upload {
    display: block;
    text-decoration: none;
    font-size: 13px;
    height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    background: #3fc9f9;
    color: #FFF;
    line-height: 30px;
    text-transform: uppercase;
    font-weight: bold;
}

.swpf-custom-img-action-field .swpf-image-remove {
    background: #c70000;
}

.swpf-image-uploaded .swpf-custom-img-action-field .swpf-image-upload,
.swpf-custom-img-action-field .swpf-image-remove {
    display: none;
}

.swpf-custom-img-action-field .swpf-image-upload,
.swpf-image-uploaded .swpf-custom-img-action-field .swpf-image-remove {
    display: block;
}

.swpf-custom-menu-image-icon {
    height: 50px;
    width: 50px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

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


.selectize-control.plugin-remove_button [data-value] .remove {
    border-left: 1px solid #FFF;
}

.swpf-display-with-shortcode .swpf-settings-shortcode-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

#swpf-copy-shortcode {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    min-height: 36px;
    margin: 0;
    padding: 0 25px;
    cursor: pointer;
    border: 0;
    white-space: nowrap;
    background: #3fc9f9;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
}

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

.swpf-typography-field > label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: bold;
}

/*Choosen Select*/
.swpf-typography-fields .chosen-container-single {
    max-width: 100%;
}

.swpf-typography-fields .chosen-container-single .chosen-single {
    min-height: 36px;
    font-size: 14px;
    line-height: 36px;
    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 right 5px top 50% !important;
    background-size: 16px 16px !important;
    cursor: pointer;
    vertical-align: middle;
    padding: 0 0 0 10px;
}

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

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

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

.swpf-typography-font-style-wrap.swpf-typography-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Backend Jquery Slider */
.swpf-range-slider-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.swpf-range-slider {
    width: 300px;
}

.swpf-range-slider.ui-widget.ui-widget-content {
    position: relative;
    background: #f0f0f1;
    border: none;
    height: 6px;
    border-radius: 0;
    margin: 0;
}

.swpf-range-slider.ui-slider .ui-slider-range {
    background: #88ddfb;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.swpf-range-slider.ui-slider .ui-slider-handle {
    position: absolute;
    height: 14px;
    width: 14px;
    background: #88ddfb !important;
    border: none;
    border-radius: 100%;
    margin-left: -7px;
    bottom: -4px;
    top: auto;
    cursor: pointer;
    outline: 0;
    box-shadow: none;
}

.swpf-range-slider.ui-slider .ui-slider-handle span {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #88ddfb;
    color: #FFF;
    padding: 4px 6px;
    font-size: 12px;
    border-radius: 10px;
    line-height: 1;
    margin-bottom: 4px;
    min-width: 12px;
    text-align: center;
    white-space: nowrap;
}


/*Widget Page CSS*/
.editor-styles-wrapper .wp-block {
    z-index: 9;
}

.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .swpf-widget-field-wrap a.button {
    color: #FFF;
}


/* Desc */
.swpf-desc {
    font-size: 13px;
    font-style: italic;
    margin: 8px 0 0;
}


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

.swpf-alert .swpf-alert-message {
    padding-right: 30px;
}

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

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

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

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

/* Multiple Select */
.swpf-toggle-tab-body .select2-container {
    width: 100% !important;
}

.swpf-toggle-tab-body .select2-container--default .select2-selection--multiple .select2-selection__clear {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 0;
    margin-right: 0;
    padding: 3px 5px;
    line-height: 1;
    font-size: 15px;
}

.swpf-toggle-tab-body .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    margin: 0;
    float: none;
}

.swpf-toggle-tab-body .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;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swpf-toggle-tab-body .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #333;
    background: #FFF;
    height: 14px;
    width: 14px;
    line-height: 12px;
    text-align: center;
    margin: 0 6px 0 0;
}

.swpf-toggle-tab-body .select2-container--default .select2-search--inline .select2-search__field {
    min-height: 0;
    min-width: 100%;
}

.swpf-toggle-tab-body .select2-results__option[aria-selected] {
    margin: 0;
}


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

.swpf-settings-list-row > .swpf-field-wrap {
    width: 300px;
}

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

.swpf-display-lists {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.swpf-display-lists h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.swpf-toggle-tab-body {
    border: 1px solid #EEE;
    padding: 10px;
    max-height: 230px;
    overflow: hidden auto;
}

.swpf-toggle-tab-body::-webkit-scrollbar {
    width: 3px;
}

/* Track */
.swpf-toggle-tab-body::-webkit-scrollbar-track {
    background: #EEE;
}

/* Handle */
.swpf-toggle-tab-body::-webkit-scrollbar-thumb {
    background: #DDD;
}

/* Handle on hover */
.swpf-toggle-tab-body::-webkit-scrollbar-thumb:hover {
    background: #BBB;
}

ul.swpf-listing {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.swpf-listing li {
    padding: 0;
    margin: 0 0 6px;
}

ul.swpf-listing li:last-child {
    margin-bottom: 0;
}

ul.swpf-listing ul {
    margin-left: 15px;
    margin-top: 6px;
}

.swpf-list-box h4 {
    padding: 10px;
    border: 1px solid #EEE;
    margin: 0;
    border-bottom: 0;
}

.swpf-list-box p {
    margin: 0;
}

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

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

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

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


/* Colors */
.swpf-settings-input-field .wp-picker-container *,
.swpf-custom-term-field .wp-picker-container * {
    box-sizing: content-box !important;
}

.swpf-settings-input-field .wp-picker-open + .wp-picker-input-wrap {
    display: flex;
    align-items: center;
}

.swpf-settings-input-field .wp-picker-container .wp-color-picker {
    width: 190px !important;
}

.swpf-settings-input-field .wp-picker-container .wp-color-result.button {
    min-height: 32px !important;
}

.swpf-settings-input-field .wp-color-result-text {
    padding: 0 6px;
    line-height: 34px;
}

/* Shadow */
.swpf-shadow-fields {
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.swpf-shadow-fields li {
    margin: 0;
    padding: 0;
}

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

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

/* Dimension */
.swpf-dimension-fields {
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.swpf-dimension-fields li {
    margin: 0;
    padding: 0;
}

.swpf-dimension-fields li > label {
    text-align: center;
    display: block;
    margin-top: 4px;
}

.swpf-dimension-fields li input[type="number"] {
    width: 55px;
    text-align: center;
    margin: 0;
}

.swpf-dimension-fields .swpf-link-button {
    cursor: pointer;
    outline: none;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    color: #2c3338;
    min-height: 36px;
    width: 50px;
    background-color: #8c8f94;
    color: #fff;
}

.swpf-dimension-fields.swpf-not-linked .swpf-link-button {
    background: none;
    color: inherit;
}

.swpf-dimension-fields .swpf-link-button span {
    font-size: 16px;
    height: 34px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.swpf-dimension-fields .swpf-link-button .swpf-linked {
    display: flex;
}

.swpf-dimension-fields .swpf-link-button .swpf-unlinked {
    display: none;
}

.swpf-dimension-fields.swpf-not-linked .swpf-link-button .swpf-linked {
    display: none;
}

.swpf-dimension-fields.swpf-not-linked .swpf-link-button .swpf-unlinked {
    display: flex;
}

/* Sub Design Tab */
.swpf-option-fields-inner-wrap {
    display: flex;
    gap: 30px;
    position: relative;
}

.swpf-sub-panel-wrap {
    flex-grow: 1;
}

.swpf-sub-tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-basis: 180px;
}

.swpf-sub-tabs li {
    margin: 0;
    padding: 0;
}

.swpf-sub-tabs li a {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    outline: 0;
    text-transform: uppercase;
    font-size: 13px;
    background: #f7f7ff;
    font-weight: bold;
}

.swpf-sub-tabs li.swpf-active a {
    background: #88ddfb;
    color: #FFF;
    position: relative;
}

.swpf-sub-tabs li.swpf-active a:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    border-style: solid;
    border-width: 10px;
    border-color: transparent transparent transparent #88ddfb;
    transform: translateY(-50%);
    margin-left: -1px;
}

.swpf-sub-panel {
    display: none;
}

.swpf-sub-panel h3.swpf-sub-title {
    font-size: 16px;
    margin: -6px 0;
    text-transform: uppercase;
}

.swpf-sub-panel h4 {
    font-size: 16px;
    margin: 0 0 10px;
}

.swpf-design-others .swpf-three-column-row {
    margin-bottom: 30px;
}

.swpf-spacer {
    height: 30px;
}

.swpf-separator {
    border-bottom: 1px solid #EEE;
}

#swpf-design-settings {
    position: relative;
}

#swpf-design-settings:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 210px;
    background: #f7f7ff;
}

/* General Settings */
.swpf-general-settings {
    background: #FFF;
    padding: 30px;
    max-width: 800px;
    margin: 30px 0 0;
}

.swpf-general-settings .swpf-settings-row {
    margin-bottom: 30px;
}

.swpf-general-settings .swpf-success-notice {
    padding: 15px;
    color: #4BB543;
    border-top: 3px solid #4BB543;
    font-size: 14px;
    margin-bottom: 20px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;
}

.swpf-general-settings .swpf-error-notice {
    padding: 15px;
    color: #ff0033;
    border-top: 3px solid #ff0033;
    font-size: 14px;
    margin-bottom: 20px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;
}

.swpf-general-settings .swpf-success-notice p {
    margin: 0;
}

.swpf-general-settings .swpf-main-header {
    background: #111;
    padding: 15px;
    color: #FFF;
    margin: 0 0 25px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.swpf-general-settings .swpf-field-wrap {
    margin-bottom: 25px;
}

.swpf-general-settings .swpf-field-wrap input[type="text"] {
    width: 100%;
    max-width: 100%;
}

.swpf-license-activation-notice p {
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.swpf-license-activation-notice p.swpf-license-activate {
    color: #4BB543;
}

.swpf-license-activation-notice p.swpf-license-inactive {
    color: #ff0033;
}


.swpf-filter-list .swpf-filters-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swpf-filter-list .swpf-filters-title i {
    padding: 10px;
    cursor: pointer;
    line-height: 1;
    border-radius: 3px;
    border: 1px solid #EEE;
}

.swpf-filter-list .swpf-filters-title i:hover {
    background: rgba(0, 0, 0, 0.05);
}

.swpf-filter-show-hide a.swpf-filter-scroll-to-section {
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    outline: none;
}


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

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

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

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

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

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

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

.swpf-preview-zone .swpf-remove-preview {
    position: absolute;
    right: 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;
}

.swpf-preview-zone.hidden + .swpf-dropzone-wrapper + #swpf_import {
    display: none;
}


.swpf-options-fields-wrap#main-settings .swpf-option-fields-inner-wrap {
    display: none;
}

.swpf-options-fields-wrap#main-settings .swpf-each-items-wrap:first-of-type .swpf-option-fields-inner-wrap {
    display: block;
}

form.swpf-custom-terms-options .swpf-custom-color,
form.swpf-custom-terms-options .swpf-custom-image {
    display: none;
}

form.swpf-custom-terms-options.swpf-field-settings-display-type-color .swpf-custom-color,
form.swpf-custom-terms-options.swpf-field-settings-display-type-image .swpf-custom-image {
    display: block;
}

/* Meta Field Settings */
.swpf-setting-metafield-wrap .swpf-three-column-row {
    grid-template-columns: repeat(3, 200px);
}

.swpf-general-settings .swpf-add-metafield button,
.swpf-general-settings .swpf-save-settings button {
    display: flex;
    gap: 8px;
    align-items: center;
    text-transform: uppercase;
    font-weight: bold;
}

.swpf-save-settings {
    padding: 12px 30px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #e4eaff;
    position: sticky;
    bottom: 0;
    background: #FFF;
    margin-left: -30px;
    margin-right: -30px;
    margin-bottom: -30px;
    margin-top: 30px;
}

.swpf-setting-metafield-lists {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid #e2e2e2;
    padding: 15px;
    margin: 0 0 30px;
    position: relative;
}

.swpf-meta-key-values-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.swpf-setting-metafield-lists .swpf-remove-metafield {
    position: absolute;
    background: #ff2f41;
    height: 35px;
    width: 35px;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 10px;
    top: 10px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 16px;
}

.swpf-setting-metafield-options-list {
    margin-left: 20px;
}

.swpf-setting-metafield-options-list > label {
    display: block;
    margin-bottom: 5px;
}

.swpf-setting-metafield-options-list .button,
.swpf-add-metafield .button {
    display: flex;
    align-items: center;
    gap: 6px;
}

.swpf-setting-metafield-options-list .button.swpf-btn-loading:after,
.swpf-add-metafield .button.swpf-btn-loading:after {
    content: "";
    border: 2px solid #2171B1;
    border-radius: 50%;
    border-right-color: transparent;
    height: 8px;
    width: 8px;
    animation-name: swpf-spin;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.swpf-setting-metafield-list.swpf-meta-key-value {
    position: relative;
    padding-left: 48px;
}

.swpf-setting-metafield-list.swpf-meta-key-value:before {
    content: "\31";
    font-family: "ElegantIcons";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    opacity: 0.8;
    position: absolute;
    left: 0;
    top: 0;
    border: 1px solid #8c8f94;
    height: 34px;
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    cursor: move;
}

@media screen and (max-width:1400px) {

    .swpf-row,
    .swpf-three-column-row,
    .swpf-typography-fields {
        grid-template-columns: repeat(2, 300px);
    }

    .swpf-custom-terms-options {
        margin: 0;
        z-index: 99999;
    }

    .swpf-custom-terms-field-outer-wrap {
        width: 95%;
    }
}

@media screen and (max-width:960px) {

    .swpf-row,
    .swpf-two-column-row,
    .swpf-three-column-row,
    .swpf-setting-metafield-wrap .swpf-three-column-row,
    .swpf-typography-fields {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width:768px) {
    .swpf-tab-options-wrap {
        padding: 10px 20px;
    }

    .swpf-tab-options-wrap ul {
        flex-direction: column;
        gap: 5px;
    }

    .swpf-tab-options-wrap ul li {
        text-align: center;
        border: 1px solid transparent;
    }

    .swpf-tab-options-wrap ul li:hover,
    .swpf-tab-options-wrap ul li.swpf-tab-active {
        box-shadow: none;
        border: 1px solid #DDD;
    }

    .swpf-tab-options-wrap ul li {
        padding: 10px;
    }

    .swpf-custom-terms-field-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .swpf-field-inline-wrap .swpf-field-wrap {
        flex-direction: column;
    }

    .swpf-field-inline-wrap .swpf-field-wrap > label {
        width: auto;
        flex: 0 0 auto;
    }

    .swpf-field-inline-wrap .swpf-field-wrap > .swpf-settings-input-field {
        width: auto;
        flex: 0 0 auto;
    }
}

@media screen and (max-width:580px) {
    .swpf-option-fields-inner-wrap {
        flex-direction: column;
    }

    #swpf-design-settings:before {
        display: none;
    }
}

.swpf-desc span.swpf-code {
    background-color: #e9f1fe;
    padding: 2px;
}




.swpf_import_template_form {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

#swpf_temp_import,
#swpf_temp_view_demo {
    display: inline-flex;
    gap: 6px;
}


/* Free VS Pro Comparison table*/
.swpf-compare-table {
    width: 100%;
    border-collapse: collapse;
}

.swpf-compare-table th {
    background: #2271b1;
    color: #fff;
    padding: 14px;
    font-size: 14px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
}

.swpf-compare-table td {
    border: 1px solid #ddd;
    padding: 14px;
    font-size: 14px;
}

.swpf-compare-table tr:nth-child(even) {
    background: #f9f9f9;
}

.swpf-compare-table .swpf-yes {
    color: #28a745;
}

.swpf-compare-table .swpf-no {
    color: #dc3545;
}

.swpf-compare-table .swpf-yes i,
.swpf-compare-table .swpf-no i {
    color: #FFF;
    height: 20px;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 3px;
    font-size: 16px;
}

.swpf-compare-table .swpf-yes i {
    background: #28a745;
}

.swpf-compare-table .swpf-no i {
    background: #dc3545;
}

.swpf-compare-table .swpf-pro {
    font-weight: bold;
}

.swpf-compare-table .swpf-feature a {
    background: #000;
    color: #FFF;
    text-decoration: none;
    font-size: 12px;
    border-radius: 3px;
    padding: 5px 8px;
    line-height: 1;
    display: inline-block;
    margin-left: 6px;
    outline: 0;
    box-shadow: none;
}

.swpf-compare-table .swpf-feature a:hover {
    background: #2271b1;
}

.swpf-compare-table .swpf-compare-button a{
    padding: 13px 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    outline: 0 !important;
    box-shadow: none !important;
    background-color: #ff0000;
    border-color: #ff0000;
    color: #FFF;
}

.swpf-compare-table .swpf-compare-button a:hover,
.swpf-compare-table .swpf-compare-button a:focus{
    background-color: #000;
    border-color: #000;
    color: #FFF;
}