/*========== VARIABLES ==========*/

:root {
    /* container */
    --acpt-wrapper-max-width: 1400px;

    /* spacing */
    --acpt-mini-spacing: 3px;
    --acpt-half-spacing: 6px;
    --acpt-spacing: 12px;
    --acpt-max-spacing: 18px;
    --acpt-row-spacing: 24px;

    /* border */
    --acpt-border-thickness: 1px;
    --acpt-border-radius: 4px;

    /* colors */
    --acpt-color-white: #fff;
    --acpt-color-pale-gray: #f6f7f7;
    --acpt-color-light-gray: #ccd0d4;
    --acpt-color-gray: #aaa;
    --acpt-color-medium-gray: #8c8f94;
    --acpt-color-dark-gray: #555;
    --acpt-color-darkest-gray: #191e23;
    --acpt-color-primary: #007cba;
    --acpt-color-primary-hover: #135e96;
    --acpt-color-info: #A972CA;
    --acpt-color-success: #02c39a;
    --acpt-color-warning: #b7922c;
    --acpt-color-error: #b02828;

    /* typography */
    --acpt-font-size-small: 11px; /*12px?? */
    --acpt-font-size-normal: 14px;
    --acpt-font-size-large: 16px;
}

/*========== GENERAL PURPOSE ==========*/

.preview-file {
    display: flex;
    gap: var(--acpt-spacing);
    align-items: center;
    margin-top: var(--acpt-spacing);
    overflow: hidden;
}

.acpt-text-truncate {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.button {
    width: fit-content;
}

.acpt-metabox.hide-title h2 {
    display: none;
}

.acpt-metabox .acpt-tax-meta-box .postbox-header h2 {
    padding-left: var(--acpt-spacing);
    font-size: var(--acpt-font-size-normal);
}

.acpt-metabox.hide-toggle .handlediv {
    display: none;
}

.acpt-form-label {
    display: block;
    margin-bottom: var(--acpt-half-spacing);
    font-weight: bold;
}

.acpt-form-control {
    width: 100%;
}

.acpt-flex {
    display: flex;
    align-items: center;
}

.acpt-flex.gap-5 {
    gap: var(--acpt-half-spacing);
}

.acpt-flex.gap-10 {
    gap: var(--acpt-spacing);
}

.acpt-wp-editor-wrapper {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
}

.acpt-wp-editor-wrapper .loading {
    padding: var(--acpt-spacing);
}

.acpt-wp-editor-buttons {
    display: flex;
    justify-content: space-between;
}

.acpt-wp-editor-buttons .wp-media-buttons,
.acpt-wp-editor-buttons .wp-editor-tabs {
    float: none;
}

/*========== META BOXES ==========*/

.acpt-metabox {
    display: block;
}

/* fix for comment meta fields */
#post-body-content .compat-attachment-fields {
    width: 100%;
}

#post-body-content .compat-attachment-fields tr:not(:last-child) .field {
    padding-bottom: var(--acpt-spacing);
}

.meta-box-sortables .postbox[id^=acpt_metabox_] > .postbox-header,
.edit-post-meta-boxes-area .postbox[id^=acpt_metabox_] > .postbox-header {
    position: relative;
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    background: var(--acpt-color-white) !important;
}

.block-editor-page .meta-box-sortables .postbox[id^=acpt_metabox_] > .postbox-header,
.block-editor-page .edit-post-meta-boxes-area .postbox[id^=acpt_metabox_] > .postbox-header {
    padding-left: 36px;
}

.edit-post-meta-boxes-area.is-advanced .meta-box-sortables .postbox[id^=acpt_metabox_] > .postbox-header {
    padding-left: 0;
}

.meta-box-sortables .postbox[id^=acpt_metabox_] > .postbox-header:hover,
.edit-post-meta-boxes-area .postbox[id^=acpt_metabox_] > .postbox-header:hover {
    background: var(--acpt-color-pale-gray) !important;
}

.meta-box-sortables .postbox[id^=acpt_metabox_] > .inside,
.edit-post-meta-boxes-area .postbox[id^=acpt_metabox_] > .inside {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0 !important;
}

.meta-box-sortables .postbox[id^=acpt_metabox_] > .inside table tr:nth-child(odd),
.edit-post-meta-boxes-area .postbox[id^=acpt_metabox_] > .inside table tr:nth-child(odd) {
    background: var(--acpt-color-white);
}

.meta-box-sortables .postbox.closed > .inside,
.edit-post-meta-boxes-area .postbox.closed > .inside {
    display: none !important;
}

/*========== OP META BOXES ==========*/

.acpt-postbox h2 {
    background: var(--acpt-color-white);
    position: relative;
    padding-left: 12px !important;
    font-size: var(--acpt-font-size-normal);
}

.acpt-postbox .postbox-header .handle-actions {
    background: var(--acpt-color-white);
}

.acpt-postbox .inside {
    margin: 0;
    padding: 0;
}

/*========== TAXONOMY META BOXES ==========*/

.taxonomy-meta-box-group {
}

.taxonomy-meta-box-group h3.taxonomy-meta-box-group-title {
    padding: var(--acpt-spacing);
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    margin: 0;
    position: relative;
    background: var(--acpt-color-white);
    font-size: var(--acpt-font-size-normal);
}

.taxonomy-meta-box-group .taxonomy-meta-fields {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    background: var(--acpt-color-white);
}

/*========== ATTACHMENT META BOXES ==========*/

.attachment-meta-fields {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    background: var(--acpt-color-white);
}

/*========== OPTION PAGE META BOXES ==========*/

/* Hack for enqueuing WP Editor */
#no-show,
#wp-no-show-wrap {
    display: none;
    height: 0;
}

.option-page-meta-fields-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.acpt-buttons-group {
    display: flex;
    align-items: center;
    gap: var(--acpt-half-spacing);
}

/*========== GRID HELPER ==========*/

.grid-1,
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6 {
    display: grid;
    gap: var(--acpt-spacing);
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr;}
.grid-5 { grid-template-columns: 1fr 1fr 1fr 1fr 1fr;}
.grid-6 { grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;}

/*========== USER META FIELDS ==========*/

.acpt-user-meta-box {
    background: var(--acpt-color-white);
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    margin-bottom: var(--acpt-spacing);
    max-width: var(--acpt-wrapper-max-width);
}

.acpt-user-meta-box.no-borders {
    border-radius: 0 var(--acpt-border-radius) var(--acpt-border-radius) var(--acpt-border-radius);
    margin-bottom: 0;
}

.acpt-user-meta-box .postbox-header {
    margin: 0;
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    position: relative;
    background: var(--acpt-color-white) !important;
    padding: var(--acpt-spacing);
    font-size: var(--acpt-font-size-normal);
    display: flex;
    justify-content: space-between;
}

.acpt-user-meta-box .postbox-header:empty {
    padding: 0;
}

.acpt-user-meta-box h3 {
    margin: 0;
    padding: 0;
    font-size: var(--acpt-font-size-normal);
}

.acpt-user-meta-box-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.acpt-user-meta-box-wrapper.inside {
    margin: 0 !important;
    padding: 0 !important;
}

/*========== META FIELDS ==========*/

.acpt-admin-meta-row {
    display: flex;
    width: 100%;
    padding: var(--acpt-row-spacing);
    gap: var(--acpt-row-spacing);
    min-width: 0;
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-meta-row.hidden {
    display: none;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li .acpt-admin-meta-row {
    border-left: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-right: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li.hidden .acpt-admin-meta-row {
    border: none;
}

.acpt-admin-meta-row:last-child {
    border-bottom: none;
}

.acpt-admin-meta-wrapper {
    display: inline-grid;
    align-self: stretch;
    min-width: 0;
}

.acpt-admin-meta-wrapper.hidden {
    display: none !important;
}

.acpt-admin-meta {
    background: transparent;
    gap: var(--acpt-spacing);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: space-between;
}

.acpt-admin-meta-icon {
    width: 64px;
}

.acpt-admin-meta-icon .icon {
    height: 40px;
    width: 40px;
    display: flex;
    text-align: center;
    background: var(--acpt-color-success);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.acpt-admin-meta-icon .icon svg {
    fill: var(--acpt-color-white);
}

.acpt-admin-meta-field-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /*max-width: 1024px;*/
}

.acpt-admin-meta-field-wrapper.none,
.acpt-admin-meta-field-wrapper.top {
    flex-direction: column;
}

.acpt-admin-meta-field-wrapper.left,
.acpt-admin-meta-field-wrapper.right {
    gap: var(--acpt-spacing);
}

.acpt-admin-meta-label {
    width: 220px;
}

.acpt-admin-meta-field-wrapper.top .acpt-admin-meta-label {
    width: 100%;
}

.acpt-admin-meta-label label {
    font-size:  var(--acpt-font-size-normal);
    color: var(--acpt-color-darkest-gray);
    font-weight: bold;
    display: flex;
    gap: var(--acpt-half-spacing);
    margin-bottom: 5px;
    align-items: center;
}

.acpt-admin-meta-label small {
    font-style: italic;
}

.acpt-admin-meta-label .inversed-by {
    color: var(--acpt-color-gray);
}

.acpt-admin-meta-label .relation {
    margin-bottom: var(--acpt-spacing);
    display: flex;
    gap: var(--acpt-spacing);
    align-items: center;
}

.acpt-admin-meta-label .relation .relation-label {
    border: 2px solid var(--acpt-color-gray);
    color: var(--acpt-color-gray);
    width: 20px;
    height: 20px;
    display: inline-block;
    line-height: 20px;
    text-align: center;
    border-radius: 20px;
    font-weight: bold;
}

.acpt-admin-meta-label .relation .relation-sign {
    font-weight: bold;
    color: var(--acpt-color-primary);
}

.acpt-admin-meta-field {
    width: 100%;
    /*max-width: 1024px;*/
}

.acpt-admin-meta-field .acpt-before-and-after-wrapper {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: stretch;
}

.acpt-admin-meta-field .acpt-before-and-after-wrapper .after,
.acpt-admin-meta-field .acpt-before-and-after-wrapper .before {
    border: var(--acpt-border-thickness) solid var(--acpt-color-medium-gray);
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: var(--acpt-color-pale-gray);
}

.acpt-admin-meta-field .acpt-before-and-after-wrapper .before {
    border-radius: var(--acpt-border-radius) 0 0 var(--acpt-border-radius);
    border-right: none;
}

.acpt-admin-meta-field .acpt-before-and-after-wrapper .after {
    border-radius: 0 var(--acpt-border-radius) var(--acpt-border-radius) 0;
    border-left: none;
}

.acpt-admin-meta-field .acpt-before-and-after-wrapper .CodeMirror-wrap,
.acpt-admin-meta-field .acpt-before-and-after-wrapper .selectize-input,
.acpt-admin-meta-field .acpt-before-and-after-wrapper .acpt-admin-meta-field-input {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    border-color: var(--acpt-color-medium-gray);
}

.acpt-admin-meta-field .acpt-before-and-after-wrapper:has(.before) .CodeMirror-wrap,
.acpt-admin-meta-field .acpt-before-and-after-wrapper:has(.before) .selectize-input,
.acpt-admin-meta-field .acpt-before-and-after-wrapper:has(.before) .acpt-admin-meta-field-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.acpt-admin-meta-field .acpt-before-and-after-wrapper:has(.after) .CodeMirror-wrap,
.acpt-admin-meta-field .acpt-before-and-after-wrapper:has(.after) .selectize-input,
.acpt-admin-meta-field .acpt-before-and-after-wrapper:has(.after) .acpt-admin-meta-field-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.acpt-admin-meta-label .description {
    font-style: italic;
    margin-top: var(--acpt-half-spacing);
    margin-bottom: var(--acpt-spacing);
    display: block;
}

.acpt-admin-meta-field .acpt-admin-meta-field-input {
    width: 100%;
}

.acpt-admin-meta-field .acpt-admin-meta-field-input:invalid,
.acpt-admin-meta-field .acpt-admin-meta-field-input:invalid:focus {
    border: var(--acpt-border-thickness) solid var(--acpt-color-error);
    color: var(--acpt-color-error);
}

.acpt-admin-meta-field .acpt-admin-meta-field-input-50 {
    width: 49.7%;
}

.acpt-admin-meta-field .btn-wrapper {
    display: flex;
    gap: var(--acpt-half-spacing);
    width: 100%;
    flex-wrap: wrap;
}

.acpt-admin-meta-field .btn-wrapper .button,
.acpt-admin-meta-field .btn-wrapper .acpt-admin-meta-field-input {
    margin-right: var(--acpt-half-spacing);
}

.acpt-admin-meta-field .btn-wrapper .upload-file-btn,
.acpt-admin-meta-field .btn-wrapper .upload-file-btn:hover,
.acpt-admin-meta-field .btn-wrapper .upload-video-btn,
.acpt-admin-meta-field .btn-wrapper .upload-video-btn:hover,
.acpt-admin-meta-field .btn-wrapper .upload-gallery-btn,
.acpt-admin-meta-field .btn-wrapper .upload-gallery-btn:hover,
.acpt-admin-meta-field .btn-wrapper .upload-image-btn,
.acpt-admin-meta-field .btn-wrapper .upload-image-btn:hover,
.acpt-admin-meta-field .btn-wrapper .upload-image-slider-btn,
.acpt-admin-meta-field .btn-wrapper .upload-image-slider-btn:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18px' height='18px' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11 15h2V9h3l-4-5l-4 5h3z'/%3E%3Cpath fill='%23fff' d='M20 18H4v-7H2v7c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2v-7h-2z'/%3E%3C/svg%3E");
    background-position: 8px 50%;
    padding-left: 30px;
    background-repeat: no-repeat;
}

.acpt-admin-meta-field .btn-wrapper .file-delete-btn,
.acpt-admin-meta-field .btn-wrapper .upload-delete-slider-btn,
.acpt-admin-meta-field .btn-wrapper .upload-delete-btn {
    border: var(--acpt-border-thickness) solid var(--acpt-color-error);
    color: var(--acpt-color-error);
    background: var(--acpt-color-white);
}

.acpt-admin-meta-field .btn-wrapper .file-delete-btn:focus,
.acpt-admin-meta-field .btn-wrapper .upload-delete-slider-btn:focus,
.acpt-admin-meta-field .btn-wrapper .upload-delete-btn:focus {
    outline: none;
    box-shadow: none;
}

.acpt-admin-meta-field .file-upload-wrapper .audio {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    display: flex;
    max-width: 1200px;
    padding: var(--acpt-row-spacing);
    gap: var(--acpt-spacing);
    align-items: flex-start;
    border-radius: var(--acpt-border-radius);
    flex-direction: column;
}

.acpt-admin-meta-field .file-upload-wrapper .playlist-preview .audio {
    flex-direction: row;
    align-items: center;
}

.acpt-admin-meta-field .playlist-preview,
.acpt-admin-meta-field .audio-preview {
    margin: 0 0 var(--acpt-spacing);
}

.acpt-admin-meta-field .playlist-preview .placeholder,
.acpt-admin-meta-field .audio-preview .placeholder {
    color: var(--acpt-color-medium-gray);
}

.acpt-admin-meta-field .playlist-preview .acpt-audio-meta-wrapper,
.acpt-admin-meta-field .audio-preview .acpt-audio-meta-wrapper {
    gap: var(--acpt-spacing);
    display: inline-flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
}

.acpt-admin-meta-field .playlist-preview .acpt-audio-meta-wrapper audio,
.acpt-admin-meta-field .audio-preview .acpt-audio-meta-wrapper audio {
    width: 100%;
}

.acpt-admin-meta-field .playlist-preview .acpt-audio-meta h5,
.acpt-admin-meta-field .audio-preview .acpt-audio-meta h5 ,
.acpt-admin-meta-field .playlist-preview .acpt-audio-meta .meta,
.acpt-admin-meta-field .audio-preview .acpt-audio-meta .meta {
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.acpt-admin-meta-field .playlist-preview {
    gap: var(--acpt-spacing);
    display: inline-flex;
    flex-direction: column;
    width: 100%;
}

.acpt-admin-meta-field .playlist-preview .handle {
    color: var(--acpt-color-light-gray);
    font-weight: bold;
    cursor: grabbing;
    font-size: 24px;
    line-height: 7px;
    position: relative;
    top: -5px;
    padding-right: var(--acpt-half-spacing);;
}

.acpt-admin-meta-field .playlist-preview .audio.hover {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.acpt-admin-meta-field .playlist-preview .audio .delete-playlist-audio-btn {
    color: var(--acpt-color-error);
    fill: var(--acpt-color-error);
}

@media screen and (max-width: 960px) {
    .acpt-admin-meta-field .playlist-preview .acpt-audio-meta-wrapper,
    .acpt-admin-meta-field .audio-preview .acpt-audio-meta-wrapper {
        flex-direction: column;
        align-items: start;
    }

    .acpt-admin-meta-field .playlist-preview .acpt-audio-meta .meta,
    .acpt-admin-meta-field .audio-preview .acpt-audio-meta .meta {
        width: 100%;
    }
}

.acpt-admin-meta-field .image-preview {
    display: flex !important;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: var(--acpt-spacing) !important;
    width: 100%;
    color: var(--acpt-color-medium-gray);
    margin-bottom: var(--acpt-half-spacing);;
}

.acpt-admin-meta-field .image-preview .image {
    text-align: center;
    cursor: move;
    position: relative;
}

.acpt-admin-meta-field .image-preview .ph-class {
    background: var(--acpt-color-pale-gray);
    width: 150px;
    height: 100px;
    padding: var(--acpt-half-spacing);;
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
}

.acpt-admin-meta-field .image-preview .delete-gallery-img-btn {
    position: absolute;
    z-index: 11;
    top: -5px;
    right: -5px;
    text-decoration: none;
    background: var(--acpt-color-darkest-gray);
    color: var(--acpt-color-light-gray);
    border-radius: 100%;
    font-weight: bold;
    width: 18px;
    height: 18px;
    margin: 0;
    display: none;
}
.acpt-admin-meta-field .image-preview .image:hover .delete-gallery-img-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.acpt-admin-meta-field .image-preview .image:hover .delete-gallery-img-btn:hover {
    color: var(--acpt-color-white);
}

.acpt-admin-meta-field .image-preview .delete-gallery-img-btn:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.acpt-admin-meta-field .acpt-reset-map {
    margin-top: var(--acpt-spacing);
    display: inline-block;
    color: var(--acpt-color-error);
}

.acpt-admin-meta-field .image-preview .image .placeholder {
    width: 150px;
    height: 100px;
    padding: var(--acpt-half-spacing);
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
    display: block;
    color: var(--acpt-color-light-gray);
    align-content: center;
}

.acpt-admin-meta-field .image-preview .image video,
.acpt-admin-meta-field .image-preview .image img {
    max-width: 150px;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    padding: var(--acpt-half-spacing);
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
}

.acpt-admin-meta-field .image-preview .image video {
    width: 267px;
    height: 200px;
}

.acpt-admin-meta-field .image-slider-wrapper {
    display: flex;
    gap: var(--acpt-max-spacing);
}

.acpt-admin-meta-field .file-preview {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    color: var(--acpt-color-medium-gray);
    margin-bottom: var(--acpt-spacing);
}

.acpt-admin-meta-field .embed-preview {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.acpt-admin-meta-field .embed-preview .embed {
    display: flex;
    text-align: center;
    margin-top: var(--acpt-spacing);
    margin-right: var(--acpt-spacing);
    object-fit: cover;
    padding: var(--acpt-spacing);
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
    align-items: center;
    justify-content: center;
    align-content: center;
}

.acpt-badge  {
    background: var(--acpt-color-primary);
    color: var(--acpt-color-white) !important;
    display: inline;
    margin-right: var(--acpt-half-spacing);
    min-height: 1px !important;
    padding: 3px 6px !important;
    font-size: var(--acpt-font-size-small);
    border-radius: var(--acpt-border-radius);
}

.acpt-badge.acpt-badge-success {
    background: var(--acpt-color-success);
}

.acpt-badge.acpt-badge-danger {
    background: var(--acpt-color-error);
}

.acpt-badge.acpt-badge-info {
    background: var(--acpt-color-info);
}

.acpt-badge.acpt-badge-warning {
    background: var(--acpt-color-warning);
}

.acpt-admin-meta-field .acpt_checkboxes {
    display: flex;
    flex-direction: column;
    gap: var(--acpt-spacing);
}

.acpt-admin-meta-field .acpt_checkboxes.inline {
    flex-direction: row;
}

.acpt-admin-meta-field .acpt_checkboxes input {
    margin: 0;
    padding: 0;
}

.acpt-admin-meta-field .acpt_checkboxes .item {
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    gap: var(--acpt-half-spacing);
}

.acpt-admin-meta-field .acpt_checkboxes .item label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--acpt-half-spacing);
}

.acpt-admin-meta-field .acpt_checkboxes .item label .after,
.acpt-admin-meta-field .acpt_checkboxes .item label .before {
    border: var(--acpt-border-thickness) solid var(--acpt-color-medium-gray);
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: var(--acpt-color-pale-gray);
    border-radius: var(--acpt-border-radius);
}

.acpt-admin-meta-field .acpt_checkboxes .item .related-post {
    display: flex;
    align-items: center;
    gap: var(--acpt-half-spacing);
}

.acpt-admin-meta-field .acpt_checkboxes .item .related-post .cpt {
    background: var(--acpt-color-primary);
    color: var(--acpt-color-white);
    padding: 4px 6px;
    font-size: var(--acpt-font-size-small);
    border-radius: var(--acpt-border-radius);
}

.acpt-admin-meta-field .acpt-sortable {
    display: grid;
    gap: var(--acpt-spacing);
}

.acpt-admin-meta-field .acpt-sortable .no-records {
    margin: 0;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li {
    display: flex !important;
    align-items: center;
    gap: var(--acpt-spacing);
    height: fit-content;
    border-radius: var(--acpt-border-radius);
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    position: relative;
    max-inline-size: 100% !important; /* Fix for oxyprops */
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li:last-child {
    margin-bottom: 0;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li .handle {
    color: var(--acpt-color-light-gray);
    font-weight: bold;
    cursor: grabbing;
    font-size: 24px;
    line-height: 7px;
    position: relative;
    top: -5px;
    padding: var(--acpt-max-spacing) var(--acpt-half-spacing) var(--acpt-spacing) var(--acpt-spacing);
}

.acpt-admin-meta-field .remove-grouped-element {
    margin-left: var(--acpt-half-spacing);
    padding: var(--acpt-half-spacing);
    height: 18px;
}

.acpt-admin-meta-field .remove-grouped-element.button-danger svg {
    fill: var(--acpt-color-error) !important;
    color: var(--acpt-color-error) !important;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-li_toggle_visibility {
    margin-right: var(--acpt-spacing);
    padding: 0 var(--acpt-half-spacing);
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li.hover {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li.ph-class {
    border: var(--acpt-border-thickness) solid var(--acpt-color-success);
}

.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content ,
.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content .w-full,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content .w-full {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.sortable-content .option-page-meta-field-wrapper .option-page-meta {
    margin: 0;
}

.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content label,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content label {
    width: auto !important;
    margin-bottom: var(--acpt-half-spacing);
    display: flex;
    gap: var(--acpt-half-spacing);
    font-weight: bold;
}

.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content div.field,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content div.field {
    display: flex;
    align-items: center;
}

.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content div.field.top,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content div.field.top {
    flex-direction: column;
}

.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content div.field .acpt-admin-meta-label,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content div.field .acpt-admin-meta-label {
    width: auto !important;
}

.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content div.field .acpt-admin-meta-label,
.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content div.field label,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content div.field.top .acpt-admin-meta-label,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content div.field.top label {
    width: 100% !important;
}

.acpt-admin-meta-field .acpt-flexible .acpt-sortable li.sortable-li .sortable-content div.field .field-inner,
.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-content div.field .field-inner {
    margin: var(--acpt-half-spacing);
    width: 100%;
}

.acpt-sortable .sortable-placeholder {
    height: 2px !important;
    background: var(--acpt-color-primary);
    border:none;
    border-radius: 0 !important;
}

.gallery-preview .sortable-placeholder {
    height: 100px !important;
    width: 150px !important;
    border-radius: var(--acpt-border-radius);
    border: var(--acpt-border-thickness) solid var(--acpt-color-primary);
}

/** toggle repeaters feature **/

.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-li_toggle_visibility svg {
    position: relative;
    top: var(--acpt-half-spacing);
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li.hidden .button,
.acpt-admin-meta-field .acpt-sortable li.sortable-li.hidden .field,
.acpt-admin-meta-field .acpt-sortable li.sortable-li.hidden .acpt-admin-meta-wrapper,
.acpt-admin-meta-field .acpt-sortable li.sortable-li.hidden .acpt-table {
    display: none !important;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li.hidden .sortable-li_toggle_visibility {
    position: absolute;
    right: var(--acpt-spacing);
    top: var(--acpt-spacing);
    display: block !important;
}


.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-li_collapsed_placeholder {
    display: none;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li .sortable-li_collapsed_placeholder .label {
    font-weight: bold;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li.hidden .sortable-li_collapsed_placeholder {
    display: block;
    width: 100%;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li.hidden .sortable-content {
    display: none;
}

.acpt-admin-meta-field .acpt-sortable li.sortable-li a.sortable-li_toggle_visibility.reverse svg {
    transform: rotate(180deg);
}

.acpt-admin-meta-field .acpt-sortable .sortable-li.sortable-li-active {
    background: var(--acpt-color-pale-gray) !important;
    border: var(--acpt-border-thickness) solid var(--acpt-color-primary) !important;
}

/*========== KEYBOARD SHORTCUT LEGEND ==========*/

.acpt-keyboards-legend-wrapper {
    display: flex;
    width: 100%;
    margin-top: var(--acpt-spacing);
}

.acpt-keyboards-legend-wrapper .acpt-keyboards-legend-link {
    display: flex;
    gap: var(--acpt-mini-spacing);
    align-items: center;
}

ul.acpt-keyboards-legend {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--acpt-spacing);
}

ul.acpt-keyboards-legend li {
    display: flex;
    gap: var(--acpt-half-spacing);
    align-items: center;
}

ul.acpt-keyboards-legend li .key {
    background: var(--acpt-color-dark-gray);
    color: var(--acpt-color-white);
    border-radius: var(--acpt-border-radius);
    padding: var(--acpt-half-spacing);
    width: 90px;
    align-content: center;
    text-align: center;
}


/*========== CODEMIRROR ==========*/

.acpt-admin-meta-field .CodeMirror-wrap {
    border: var(--acpt-border-thickness) solid var(--acpt-color-medium-gray);
    width: 100%;
    border-radius: var(--acpt-border-radius);
}

.acpt-admin-meta-field .CodeMirror-code {
    padding-left: 18px;
}

.acpt-admin-meta-field .CodeMirror-linenumber {
    left: -31px !important;
}

.acpt-admin-meta-field .CodeMirror-gutters {
    left: 0 !important;
}

/*========== CHECKBOX TOGGLE UI ==========*/

input[type="checkbox"].wppd-ui-toggle {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    width: 36px;
    height: auto;
    vertical-align: middle;
    position: relative;
    border: 0;
    outline: 0;
    cursor: pointer;
    margin: 0 4px;
    background: none;
    box-shadow: none;
}
input[type="checkbox"].wppd-ui-toggle:focus {
    box-shadow: none;
}
input[type="checkbox"].wppd-ui-toggle:after {
    content: '';
    font-size: 8px;
    font-weight: 400;
    line-height: 18px;
    text-indent: -14px;
    color: var(--acpt-color-white)fff;
    width: 36px;
    height: 18px;
    display: inline-block;
    background-color: var(--acpt-color-gray);
    border-radius: 72px;
    box-shadow: 0 0 12px rgb(0 0 0 / 15%) inset;
}
input[type="checkbox"].wppd-ui-toggle:before {
    content: '';
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    top: 2px;
    left: 2px;
    margin: 0;
    border-radius: 50%;
    background-color: var(--acpt-color-white);
}

input[type="checkbox"].wppd-ui-toggle:checked:before {
    left: 20px;
    margin: 0;
    background-color: var(--acpt-color-white);
}

input[type="checkbox"].wppd-ui-toggle,
input[type="checkbox"].wppd-ui-toggle:before,
input[type="checkbox"].wppd-ui-toggle:after,
input[type="checkbox"].wppd-ui-toggle:checked:before,
input[type="checkbox"].wppd-ui-toggle:checked:after {
    transition: ease .15s;
}

input[type="checkbox"].wppd-ui-toggle:checked:after {
    content: '';
    background-color: var(--acpt-color-primary);
}

/*========== FLEXIBLE CONTENT ==========*/

.acpt_flexible {
    display: flex;
    flex-direction: column;
    gap: var(--acpt-spacing);
}

.acpt_flexible .acpt_blocks_list {
    margin-bottom: 0;
}

.acpt_flexible .acpt_add_flexible_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.acpt-min-max-counts {
    display: flex;
    gap: var(--acpt-spacing);
}

.acpt-min-max-counts.float-right {
    float: right;
    position: relative;
    top: 6px;
}

.acpt-min-max-counts .min,
.acpt-min-max-counts .max {
    color: var(--acpt-color-gray);
}

.acpt-min-max-counts .min .count { color: var(--acpt-color-error); }
.acpt-min-max-counts .max .count { color: var(--acpt-color-primary); }

.acpt-acpt_add_flexible_btn {
    display: flex;
    gap: var(--acpt-half-spacing);
    align-items: center;
}

.acpt_flexible .acpt_add_flexible_block .acpt_add_flexible_btn.active svg {
    transform: rotate(180deg);
    transform-origin: 67% 72%;
}

.acpt_flexible .acpt_add_flexible_block .acpt_add_flexible_btn svg {
    fill: var(--acpt-color-primary);
}

.acpt_flexible .acpt_add_flexible_block .acpt_add_flexible_btn:hover svg {
    fill: var(--acpt-color-primary-hover);
}

.acpt_flexible .acpt_add_flexible_block .acpt_flexible_block_items {
    background: white;
    list-style: none;
    width: auto;
    display: table;
    padding: 0;
    top: 50px;
    position: absolute;
    border-radius: var(--acpt-border-radius);
    border: var(--acpt-border-thickness) solid var(--acpt-color-pale-gray);
    min-width: 220px;
    transition:  all ease .3s;
    opacity: 0;
    z-index: -1;
}

.acpt_flexible .acpt_add_flexible_block .acpt_flexible_block_items.active {
    opacity: 1;
    z-index: 11111;
    top: 35px
}

.acpt_flexible .acpt_add_flexible_block .acpt_flexible_block_items li {
    margin: 0;
    padding: var(--acpt-spacing);
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-pale-gray);
    cursor: pointer;
}

.acpt_flexible .acpt_add_flexible_block .acpt_flexible_block_items li:hover {
    background: var(--acpt-color-pale-gray);
}

.acpt_flexible .acpt_add_flexible_block .acpt_flexible_block_items li:last-child {
    border: none;
}

.acpt_flexible .acpt_blocks_list {

}

.acpt_flexible .acpt_blocks_list .acpt_nested_fields_list {
    display: flex;
    flex-direction: column;
    gap: var(--acpt-spacing);
}

.acpt_flexible .acpt_blocks_list .acpt_nested_fields_list li {
    margin: 0;
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--acpt-spacing);
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title.no-margin {
    margin-bottom: 0;
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title h3 {
    padding: 0;
    margin: 0;
    font-size:  var(--acpt-font-size-normal);
    display: flex;
    gap: var(--acpt-half-spacing);
    align-items: center;
    border: none;
    background: transparent !important;
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title .acpt_blocks_list_item_icons {
    display: flex;
    gap: var(--acpt-half-spacing);
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title .acpt_blocks_list_item_icons a {
    padding: var(--acpt-half-spacing);
    border-radius: var(--acpt-border-radius);
    width: 18px;
    height: 18px;
    text-align: center;
    display: flex;
    justify-content: center;
    background: var(--acpt-color-pale-gray);
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title .acpt_blocks_list_item_icons a.acpt_blocks_list_item_delete {
    border: var(--acpt-border-thickness) solid var(--acpt-color-error);
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title .acpt_blocks_list_item_icons a.acpt_blocks_list_item_toggle_visibility {
    border: var(--acpt-border-thickness) solid var(--acpt-color-primary);
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title .acpt_blocks_list_item_icons a.acpt_blocks_list_item_toggle_visibility.reverse svg {
    transform: rotate(180deg);
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title .acpt_blocks_list_item_icons a.acpt_blocks_list_item_delete svg { fill: var(--acpt-color-error) }
.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title .acpt_blocks_list_item_icons a.acpt_blocks_list_item_toggle_visibility svg { fill: var(--acpt-color-primary) }

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_title .acpt_blocks_list_item_icons a:hover {
    background: var(--acpt-color-pale-gray);
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item_fields {
    width: 100%;
    margin: 0 0 var(--acpt-spacing);
}

.acpt_flexible .acpt_blocks_list .acpt_blocks_list_item .block-content {
    padding: var(--acpt-spacing) var(--acpt-spacing) var(--acpt-spacing) 0;
}

.acpt_flexible .acpt_blocks_list_item.collapsed .acpt_blocks_list_item_title {
    margin: 0;
}

.acpt_flexible .acpt_blocks_list_item.collapsed .acpt_blocks_list_item_fields,
.acpt_flexible .acpt_blocks_list_item.collapsed .acpt_add_flexible_element_btn,
.acpt_flexible .acpt_blocks_list_item.collapsed .acpt_delete_all_flexible_element_btn {
    display: none;
}

/*========== TEXTAREA COUNTER ==========*/

.acpt-wp-editor-ch-counter .count,
.acpt-textarea-ch-counter .count {
    color: var(--acpt-color-success);
}

.acpt-wp-editor-ch-counter .count.danger,
.acpt-textarea-ch-counter .count.danger {
    color: var(--acpt-color-error);
}

.acpt-wp-editor-ch-counter .count.warning,
.acpt-textarea-ch-counter .count.warning {
    color: var(--acpt-color-warning);
}

.acpt-wp-editor-ch-counter {
    margin-top: var(--acpt-half-spacing);
}

/*========== LIST ELEMENTS ==========*/

.list-wrapper {

}

.list-wrapper .list-element a {
    margin-left: var(--acpt-half-spacing);
    width: 130px;
    text-decoration: none;
    vertical-align: top;
    border: var(--acpt-border-thickness) solid var(--acpt-color-error);
    padding: var(--acpt-half-spacing) var(--acpt-spacing);
    text-align: center;
    border-radius: var(--acpt-border-radius);
    display: inline-block;
    color: var(--acpt-color-error);
    margin-bottom: -1px;
}

.list-wrapper .list-element a:hover
.list-wrapper .list-element a:focus {
    color: var(--acpt-color-error);
    border: var(--acpt-border-thickness) solid var(--acpt-color-error);
}

.list-add-element {
    margin-top: var(--acpt-spacing) !important;
}

/*========== RANGE ==========*/

.acpt-range-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
}

.acpt-range-wrapper input[type="range"] {
    /* removing default appearance */
    -webkit-appearance: none;
    appearance: none;
    /* creating a custom design */
    width: 100%;
    cursor: pointer;
    outline: none;
    /*  slider progress trick  */
    overflow: hidden;
    border-radius: 16px;
    background: var(--acpt-color-pale-gray);
    height: 16px;
}

/* Track: webkit browsers */
.acpt-range-wrapper input[type="range"]::-webkit-slider-runnable-track {
    height: 15px;
    background: var(--acpt-color-pale-gray);
    border-radius: 16px;
}

/* Track: Mozilla Firefox */
.acpt-range-wrapper input[type="range"]::-moz-range-track {
    height: 15px;
    background: var(--acpt-color-pale-gray);
    border-radius: 16px;
}

/* Thumb: webkit */
.acpt-range-wrapper input[type="range"]::-webkit-slider-thumb {
    /* removing default appearance */
    -webkit-appearance: none;
    appearance: none;
    /* creating a custom design */
    height: 16px;
    width: 16px;
    position: relative;
    top: -3px;
    background-color: var(--acpt-color-white);
    border-radius: 50%;
    border: var(--acpt-border-thickness) solid var(--acpt-color-gray);
    box-shadow: -410px 0 0 400px var(--acpt-color-primary-hover);
}

/* Thumb: Firefox */
.acpt-range-wrapper input[type="range"]::-moz-range-thumb {
    height: 15px;
    width: 15px;
    background-color: var(--acpt-color-white);
    border-radius: 50%;
    border: var(--acpt-border-thickness) solid var(--acpt-color-gray);
    box-shadow: -410px 0 0 400px var(--acpt-color-primary-hover);
}

.acpt-range-wrapper > div {
    display: flex;
    flex-direction: column;
}

.acpt-range-wrapper datalist {
    display: inline-flex;
    width: 350px;
    justify-content: space-between;
    margin-top: var(--acpt-half-spacing);
}

.acpt-range-wrapper datalist option {
    margin: 0;
    width: 32px;
    text-align: center;
    color: var(--acpt-color-gray);
}

.acpt-range-wrapper datalist option:first-child {
    margin-left: -8px;
}

.acpt-range-wrapper datalist option:last-child {
    margin-right: -8px;
}

.acpt-range-wrapper .acpt-range-value {
    display: inline-block;
    padding: var(--acpt-half-spacing) var(--acpt-spacing);
    border-radius: var(--acpt-border-radius);
    background: var(--acpt-color-pale-gray);
    position: relative;
    top: -12px;
}

/*========== DATE and TIME ==========*/

.acpt-datepicker-clear {
    margin-top: var(--acpt-half-spacing);
    display: inline-block;
}

.acpt-datepicker,
.acpt-datetimepicker,
.acpt-daterangepicker {
    background-repeat: no-repeat;
    background-position: center right 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.2rem' height='1.2rem' viewBox='0 0 24 24'%3E%3Cpath fill='%238C8F9E' d='M3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7v2H5a2 2 0 0 0-2 2m16 14H5V8h14z'/%3E%3C/svg%3E");
}

.acpt-timepicker {
    background-repeat: no-repeat;
    background-position: center right 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.2rem' height='1.2rem' viewBox='0 0 24 24'%3E%3Cpath fill='%238C8F9E' d='M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10s10-4.486 10-10S17.514 2 12 2m0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8s8 3.589 8 8s-3.589 8-8 8'/%3E%3Cpath fill='%238C8F9E' d='M13 7h-2v5.414l3.293 3.293l1.414-1.414L13 11.586z'/%3E%3C/svg%3E");
}

/*========== SELECTIZE ==========*/

.acpt-select2 {
    width: 100%;
    min-width: 100px;
}

select.acpt-select2 {
    display: none;
}

.acpt-select2  .selectize-input {
    border-color: var(--acpt-color-medium-gray);
}

.acpt-select2 .selectize-dropdown .selected {
    background-color: var(--acpt-color-primary);
}

.acpt-select2 .selectize-control.multi .selectize-input [data-value] {
    text-shadow: none;
    border-radius: var(--acpt-border-radius);
    background-color: var(--acpt-color-primary);
    background-image: none;
    background-repeat: repeat-x;
    box-shadow:none;
}

.acpt-select2 .selectize-dropdown-content [data-value] {
    padding: var(--acpt-half-spacing) var(--acpt-spacing);
}

.selectize-dropdown-content [data-value] a.remove,
.selectize-control.multi .selectize-input [data-value] a.remove {
    color: var(--acpt-color-white) !important;
    text-decoration: none !important;;
    margin-left: var(--acpt-half-spacing) !important;
    font-size: var(--acpt-font-size-large);
}

.selectize-control .selectize-input.has-items > div,
.selectize-control.multi .selectize-input > div {
    background-color: var(--acpt-color-primary);
    color: var(--acpt-color-white);
    border: none;
    border-radius: var(--acpt-border-radius);
    text-shadow: none;
    padding: var(--acpt-half-spacing) var(--acpt-spacing);
}

.selectize-item {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: var(--acpt-spacing);
    min-width: 250px;
    overflow: hidden;
}

.selectize-dropdown-content .selectize-item {
    display: flex !important;
    align-items: center;
    gap: var(--acpt-spacing);
}

.selectize-item,
.selectize-dropdown  {
    padding: 10px !important;
}

.selectize-item {
    display: flex;
    gap: var(--acpt-half-spacing);
}

.selectize-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--acpt-border-radius);
}

.selectize-item .selectize-thumbnail .selectize-thumbnail-no-image {
    display: block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.7);
    border-radius: var(--acpt-border-radius);
}

.selectize-dropdown-content .selectize-item .selectize-thumbnail-no-image {
    background: #bbe1f9;
}

.selectize-item .selectize-details {
    display: flex;
    flex-direction: column;
}

.selectize-item .selectize-details .acpt-badge  {
    background: var(--acpt-color-primary);
    color: var(--acpt-color-white);
    display: inline;
    margin: 0 auto 4px 0;
    padding: 3px 6px;
    font-size: var(--acpt-font-size-small);
    border-radius: var(--acpt-border-radius);
    font-weight: bold;
}

.selectize-item a.remove {
    position: absolute;
    top: var(--acpt-spacing);;
    right: var(--acpt-spacing);;
    color: var(--acpt-color-white);
    text-decoration: none;
    font-size: 18px;
}

.selectize-item.selected .acpt-badge  {
    background: var(--acpt-color-white);
    color: var(--acpt-color-primary);
}

.selectize-control.single .selectize-input {
    background: var(--acpt-color-white) !important;
    min-height: 42px;
}

.selectize-control.single .selectize-input > input {
    opacity: 0;
    position: absolute;
    left: 0;
}

.acpt-admin-meta-field .acpt-select2 .selectize-dropdown {
    z-index: 20;
}

/*========== CURRENCY (UOM) SELECTOR ==========*/

.currency-group {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    align-content: center;
    align-items: center;
}

.currency-group .before,
.currency-group .after {
    border: var(--acpt-border-thickness) solid var(--acpt-color-medium-gray);
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: var(--acpt-color-pale-gray);
    border-radius: var(--acpt-border-radius);
}

.currency-group .before {
    margin-right: var(--acpt-half-spacing);
}

.currency-group .after {
    margin-left: var(--acpt-half-spacing);
}

.currency-symbol {
    font-weight: bold;
    display: inline-block;
    margin-right: var(--acpt-half-spacing);
}

.currency-amount {
    text-align: right;
}

.currency-addon {
    text-align: left;
    position: relative;
    margin: 0;
}

/*========== ADDRESS FIELD ==========*/

.acpt_map_multi_preview,
.acpt_map_preview {
    width: 100%;
    height: 450px;
    background-color: var(--acpt-color-pale-gray);
}

.acpt_map_multi_preview.loading,
.acpt_map_preview.loading {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24"><path fill="none" stroke="%23c3c4c7" stroke-dasharray="15" stroke-dashoffset="15" stroke-linecap="round" stroke-width="2" d="M12 3C16.9706 3 21 7.02944 21 12"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.3s" values="15;0"/><animateTransform attributeName="transform" dur="1.5s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></path></svg>');
    background-color: var(--acpt-color-pale-gray);
}

.acpt-hide-map {
    position: relative;
    top: -4px;
    margin-left: var(--acpt-spacing);
}

.acpt-input-map {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
    padding: var(--acpt-half-spacing) var(--acpt-spacing);
    right: 20px !important;
    left: 10px !important;
    top: 60px !important;
    width: 70% !important;
}

/*========== ADDRESS MULTI FIELD ==========*/

.acpt_map_multi_wrapper {
    margin-top: var(--acpt-spacing);
    display: flex;
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt_map_multi_wrapper .acpt_map_multi_selections {
    width: 40%;
    height: 450px;
    overflow-y: auto;
    border-right:  var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt_map_multi_wrapper .acpt_map_multi_selections .selection {
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--acpt-spacing);
    border-bottom:  var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    cursor: pointer;
}

.acpt_map_multi_wrapper .acpt_map_multi_selections .selection.active {
    font-weight: bold;
}

.acpt_map_multi_wrapper .acpt_map_multi_selections .selection:last-child {
    border: none;
}

.acpt_map_multi_wrapper .acpt_map_multi_selections  .selection:hover {
    background-color: var(--acpt-color-pale-gray);
}

.acpt_map_multi_wrapper .acpt_map_multi_selections  .selection span {
    margin-right: var(--acpt-spacing);
}

/*========== HELPERS ==========*/

.mb-4 {
    margin-bottom: 4px;
}

.button-danger {
    border: var(--acpt-border-thickness) solid var(--acpt-color-error) !important;
    color: var(--acpt-color-error) !important;
}

.button-danger:hover,
.button-danger:focus {
    color: var(--acpt-color-error) !important;
    border: var(--acpt-border-thickness) solid var(--acpt-color-error) !important;
}

/*========== MEDIA QUERIES ==========*/

@media (max-width: 1200px){
    .acpt-admin-meta-icon {
        display: none;
    }

    .option-page-meta-field .acpt-sortable li .sortable-content div.field,
    .acpt-admin-meta-field .acpt-flexible .acpt-sortable li .sortable-content div.field,
    .acpt-admin-meta-field .acpt-admin-meta-field-input {
        width: 100% !important;
    }
}

@media (max-width: 1200px){

    .acpt-flex {
        flex-direction: column;
    }

    .acpt-text-truncate {
        max-width: 200px;
    }

    .grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }

    .acpt-admin-meta-field .acpt-sortable li .sortable-content div.field,
    .acpt-admin-meta-field .acpt-flexible .acpt-sortable li .sortable-content div.field,
    .acpt-admin-meta-wrapper,
    .acpt-admin-meta-field .acpt-admin-meta-field-input-50,
    .acpt-admin-meta-label,
    .acpt-admin-meta-field {
        display: block;
        width: 100% !important;
    }

    .acpt-admin-meta-row {
        flex-direction: column;
    }

    .acpt-admin-meta-label {
        margin-bottom: var(--acpt-spacing);
    }

    .acpt-admin-meta-field .image-preview {
        flex-direction: column;
    }

    .acpt-admin-meta-field .image-preview .image video,
    .acpt-admin-meta-field .image-preview .image img {
        max-width: 100%;
        width: 100%;
        height: 100%;
    }

    .option-page-meta-field .btn-wrapper,
    .acpt-admin-meta-field .btn-wrapper {
        flex-direction: column;
        gap: var(--acpt-half-spacing);
    }

    .option-page-meta-field-wrapper {
        width: 100% !important;
    }

    .option-page-meta-field.right,
    .option-page-meta-field.left {
        display: block;
    }

    .acpt-admin-meta-field-wrapper {
        flex-direction: column !important;
    }

    .acpt-relation-field-selector {
        display: flex;
        flex-direction: column;
    }

    .acpt-relation-field-selector .options {
        width: 100% !important;
        border-right: none !important;
        border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    }

    .acpt-relation-field-selector .selected-items {
        width: 100% !important;
        align-self: auto;
    }

    .acpt_map_multi_wrapper {
        flex-direction: column-reverse;
    }

    .acpt_map_multi_wrapper .acpt_map_multi_selections {
        width: 100%;
        height: auto;
        overflow-y: auto;
        border-top:  var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
        border-right:  none;
    }
}

/*========== WORDPRESS ==========*/

.acpt-color-picker {
    background: transparent !important;
}

/*========== WOOCOMMERCE ==========*/

.wc-radios label {
    float: none !important;
    margin-left: 0px !important;
}

/*========== OWL CAROUSEL ==========*/

.acpt-owl-carousel .item img{
    display: block;
    width: 100%;
    height: auto;
}

/*========== PARSLEY ==========*/

.has-errors:hover,
.has-errors:focus,
.has-errors {
    outline: none !important;
    box-shadow: none !important;
    border: var(--acpt-border-thickness) solid var(--acpt-color-error) !important;
}

.acpt-error,
.acpt-error-list {
    margin: 5px 0 0;
    display: block;
    width: 100%;
    color: var(--acpt-color-error);
}

/*========== RELATION SELECTOR ==========*/

.acpt-relation-field-selector {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
    display: flex;
    width: 100%;
}

.acpt-relation-field-selector .options {
    background: var(--acpt-color-white);
    width: 50%;
    border-right: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-relation-field-selector .options .search {
    padding: var(--acpt-half-spacing);
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-relation-field-selector .options .values {
    display: flex;
    flex-direction: column;
    height: 340px;
    overflow-y: auto;
}

.acpt-relation-field-selector .options .values .loading {
    padding: var(--acpt-spacing);
}

.acpt-relation-field-selector .options .values .section {
    font-weight: bold;
    color: var(--acpt-color-darkest-gray);
    padding: var(--acpt-spacing) var(--acpt-max-spacing);
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-relation-field-selector .options .values .value {
    cursor: pointer;
    padding: var(--acpt-spacing) var(--acpt-max-spacing);
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-relation-field-selector .options .values .value.disabled {
    cursor: not-allowed;
    pointer-events: none;
    color: var(--acpt-color-light-gray);
}

.acpt-relation-field-selector .options .values .value:hover {
    background: var(--acpt-color-pale-gray);
}

.acpt-relation-field-selector .options .values .value.disabled:hover {
    background: transparent;
}


.acpt-relation-field-selector .options .values.not-allowed .value,
.acpt-relation-field-selector .options .values.not-allowed .value:hover {
    cursor: not-allowed;
    background: transparent;
    opacity: .5;
}


.acpt-relation-field-selector .selected-items {
    background: var(--acpt-color-pale-gray);
    width: 50%;
}

.acpt-relation-field-selector .selected-items .title {
    display: flex;
    justify-content: space-between;
    padding: var(--acpt-max-spacing) var(--acpt-max-spacing) 0;
}

.acpt-relation-field-selector .selected-items h4 {
    margin: 0;
    padding: 0;
}

.acpt-relation-field-selector .selected-items .values {
    overflow-x: auto;
    height: 320px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: var(--acpt-spacing);
}

.acpt-relation-field-selector .selected-items .values .value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    padding: var(--acpt-spacing) var(--acpt-max-spacing);
    border-radius: var(--acpt-border-radius);
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    background: var(--acpt-color-white);
}

.acpt-relation-field-selector .selected-items .values .value .handle-placeholder {
    display: flex;
    align-items: center;
    align-content: center;
    gap: var(--acpt-half-spacing);
}

.acpt-relation-field-selector .selected-items .values .value .handle-placeholder .handle {
    top: -10px;
}

.acpt-relation-field-selector .selected-items .values .value .delete svg {
    fill: var(--acpt-color-error);
    color: var(--acpt-color-error);
}

.acpt-relation-field-selector .add-post-wrapper {
    border-top: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    padding: 10px 20px;
}

.acpt-relation-field-selector .add-post-wrapper .add-post {
    display: inline-flex;
    align-items: center;
    gap: var(--acpt-half-spacing);
}

.acpt-relation-field-selector .add-post-wrapper .add-post svg {
    fill: var(--acpt-color-primary);
}

.acpt-relation-field-selector .add-post-wrapper .add-post:hover svg {
    fill: var(--acpt-color-primary-hover);
}

/*========== intlTelInput ==========*/

.iti {
    display: block !important;
}

/*========== TABS, ACCORDIONS ==========*/

.acpt-admin-vertical-tabs-wrapper {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-tabs {
    display: flex;
    flex-direction: column;
    gap: var(--acpt-half-spacing);
    min-width: 150px;
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-tabs .acpt-admin-vertical-tab {
    background: var(--acpt-color-white);
    padding: var(--acpt-spacing) var(--acpt-max-spacing);
    border-radius: var(--acpt-border-radius) 0 0 var(--acpt-border-radius);
    cursor: pointer;
    opacity: .7;
    color: var(--acpt-color-darkest-gray);
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-tabs .acpt-admin-vertical-tab.active {
    color: var(--acpt-color-primary-hover);
    font-weight: bold;
    position: relative;
    opacity: 1;
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-tabs .acpt-admin-vertical-tab.with-borders {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-right: none;
    right: -1px;
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-tabs .acpt-admin-vertical-tab.active:after {
    content: '';
    background: var(--acpt-color-primary-hover);
    position: absolute;
    width: 2px;
    height: 100%;
    right: 0;
    bottom: 0;
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-panels {
    width: 100%;
    height: 100%;
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-panels .acpt-admin-vertical-panel.with-borders {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-panels .acpt-admin-vertical-panel {
    display: none;
}

.acpt-admin-vertical-tabs-wrapper .acpt-admin-vertical-panels .acpt-admin-vertical-panel.active {
    background: var(--acpt-color-white);
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-horizontal-tabs-wrapper {
    width: 100%;
    margin-bottom: var(--acpt-spacing);;
}

.acpt-admin-horizontal-tabs {
    display: flex;
    align-items: center;
    gap: var(--acpt-half-spacing);
    position: relative;
    top: 1px;
}

.acpt-admin-horizontal-tabs .acpt-admin-horizontal-tab {
    background: var(--acpt-color-white);
    padding: var(--acpt-spacing) var(--acpt-max-spacing);
    border-radius: var(--acpt-border-radius) var(--acpt-border-radius) 0 0;
    opacity: .7;
    color: var(--acpt-color-darkest-gray);
    cursor: pointer;
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-horizontal-tabs .acpt-admin-horizontal-tab.with-borders {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-bottom: none;
}

.acpt-admin-horizontal-tabs .acpt-admin-horizontal-tab.active {
    color: var(--acpt-color-primary-hover);
    font-weight: bold;
    opacity: 1;
    position: relative;
}

.acpt-admin-horizontal-tabs .acpt-admin-horizontal-tab.active:after {
    content: '';
    background: var(--acpt-color-primary-hover);
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
}

.acpt-admin-horizontal-panels .acpt-admin-horizontal-panel {
    display: none;
}

.acpt-admin-horizontal-panels .acpt-admin-horizontal-panel.active {
    background: var(--acpt-color-white);
    display: flex;
    flex-wrap: wrap;
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    margin-bottom: var(--acpt-spacing);
}

.acpt-admin-horizontal-panels .acpt-admin-horizontal-panel.no-margin {
    margin-bottom: 0px;
}

.acpt-admin-horizontal-panels .acpt-admin-horizontal-panel.with-borders {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-accordion-wrapper {
    background: var(--acpt-color-white);
    border-radius: var(--acpt-border-radius);
    margin-bottom: var(--acpt-spacing);;
}

.acpt-admin-accordion-wrapper .acpt-admin-accordion-item .acpt-admin-accordion-title {
    cursor: pointer;
    color: var(--acpt-color-darkest-gray);
    opacity: .7;
    font-weight: bold;
    padding: var(--acpt-spacing); var(--acpt-max-spacing);
    font-size: var(--acpt-font-size-large);
    position: relative;
}

.acpt-admin-accordion-wrapper .acpt-admin-accordion-item .acpt-admin-accordion-title:after {
    content: "\25bc";
    position: absolute;
    right: var(--acpt-max-spacing);
    color:  var(--acpt-color-light-gray);
}

.acpt-admin-accordion-wrapper .acpt-admin-accordion-item.active .acpt-admin-accordion-title:after {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
}

.acpt-admin-accordion-wrapper .acpt-admin-accordion-item .acpt-admin-accordion-title {
    color: var(--acpt-color-darkest-gray);
    opacity: 1;
}

.acpt-admin-accordion-wrapper .acpt-admin-accordion-item .acpt-admin-accordion-content {
    display: none;
}

.acpt-admin-accordion-wrapper .acpt-admin-accordion-item.active .acpt-admin-accordion-content {
    display: block;
    border-top: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-accordion-item {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-accordion-content .taxonomy-meta-fields {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    background: var(--acpt-color-white);
}

/*========== COUNTRY PICKER FIX ==========*/

.acpt-admin-meta-field .country-select {
    display: block;
    width: 100%;
}

.acpt-admin-meta-field .country-select.inside {
    margin: 0 !important;
    padding: 0;
}

.acpt-admin-meta-field .country-select.inside .arrow {
    left: auto;
}

/*========== TABLES ==========*/

.acpt-table-responsive {
    width: 100%;
}

@media screen and (max-width: 960px) {
    .acpt-table-responsive {
        overflow-x: auto;
    }
}

.acpt-admin-meta-field tbody.acpt-sortable {
    display: table;
    width: 100%;
}

.acpt-table {
    width: 100%;
    display: table;
    border-spacing: 0;
    border-collapse: separate;
    background: var(--acpt-color-white);
}

.acpt-table td,
.acpt-table th {
    border: var(--acpt-border-thickness) solid  var(--acpt-color-light-gray);
}

.acpt-table th {
    background: var(--acpt-color-light-gray);
    border-color: var(--acpt-color-gray);;
    color: var(--acpt-color-darkest-gray);
}

.acpt-table td,
.acpt-table th {
    padding: var(--acpt-spacing);
    text-align: left;
}

.acpt-table tr:first-child td:first-child {
    border-top-left-radius: var(--acpt-border-radius);
}

.acpt-table tr:first-child td:last-child {
    border-top-right-radius: var(--acpt-border-radius);
}

.acpt-table tr:last-child td:first-child {
    border-bottom-left-radius: var(--acpt-border-radius);
}

.acpt-table tr:last-child td:last-child {
    border-bottom-right-radius: var(--acpt-border-radius);
}

.acpt-table .sortable-li.sortable-li:nth-child(odd) {
    background: var(--acpt-color-white);
}

.acpt-table .acpt-nested-sortable .handle,
.acpt-table .acpt-sortable .handle {
    color: var(--acpt-color-light-gray);
    font-weight: bold;
    cursor: grabbing;
    font-size: 24px;
    line-height: 7px;
    position: relative;
    top: -5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acpt-table .acpt-admin-meta {
    padding: 0;
    border: none;
    margin: 0;
    background: transparent;
}

.acpt-table .acpt-admin-meta .acpt-admin-meta-label {
    display: none;
}

.acpt-table.acpt-vertical-table td {
    background: var(--acpt-color-white) !important;
}

.acpt-table.acpt-vertical-table th {
    text-align: right;
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.acpt-table.acpt-vertical-table th .text-ellipsis {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.acpt-table.acpt-vertical-table tr:first-child > th,
.acpt-table.acpt-vertical-table tr:first-child > td {
    border-top: none;
}

.acpt-table.acpt-vertical-table tr:last-child > td,
.acpt-table.acpt-vertical-table tr:last-child > th {
    border-bottom: none;
}

.jquery-modal.blocker.current {
    z-index: 111111 !important;
}

.jquery-modal.blocker.current .wp-picker-holder {
    position: absolute;
}

.jquery-modal.blocker.current .wp-color-result.wp-picker-open {
    display: none;
}


/*========== TABLE FIELD ==========*/

.acpt-editable-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--acpt-color-white);
    color: var(--acpt-color-medium-gray);
}

.acpt-editable-table td,
.acpt-editable-table th {
    border: var(--acpt-border-thickness) solid  var(--acpt-color-light-gray);
}

.acpt-editable-table th {
    color: var(--acpt-color-darkest-gray);
}

.acpt-editable-table td,
.acpt-editable-table th {
    padding: var(--acpt-spacing);
    text-align: left;
    position: relative;
}

.acpt-editable-table th {
    position: relative;
    cursor: grab;
    user-select: none;
}

.acpt-editable-table th:active {
    cursor: grabbing;
}

.acpt-editable-table .add-col {
    z-index: 11;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--acpt-font-size-large);
    display: flex;
    background: white;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    border: var(--acpt-border-thickness) solid var(--acpt-color-primary);
    font-weight: bold;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.acpt-editable-table .add-col.prev {
    left: -11px;
}

.acpt-editable-table .add-col.next {
    right: -11px;
}

.acpt-editable-table .add-row {
    z-index: 11;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--acpt-font-size-large);
    display: flex;
    background: white;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    border: var(--acpt-border-thickness) solid var(--acpt-color-primary);
    font-weight: bold;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.acpt-editable-table .add-row.prev {
    top: -11px;
}

.acpt-editable-table .add-row.next {
    bottom: -11px;
}

.acpt-editable-table .delete-row {
    color: var(--acpt-color-error);
    text-decoration: none;
    font-size: var(--acpt-font-size-large);
    display: flex;
    background: white;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    border: var(--acpt-border-thickness) solid var(--acpt-color-error);
    font-weight: bold;
    align-items: center;
    justify-content: center;
}

.acpt-editable-table .delete-col {
    z-index: 11;
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--acpt-color-error);
    text-decoration: none;
    font-size: var(--acpt-font-size-large);
    display: flex;
    background: white;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    border: var(--acpt-border-thickness) solid var(--acpt-color-error);
    font-weight: bold;
    align-items: center;
    justify-content: center;
}

.acpt-editable-table .white {
    background: white;
    border: none;
}

.acpt-editable-table .helper {
    background: var(--acpt-color-pale-gray);
    font-weight: bold;
}

.acpt-editable-table .resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    cursor: col-resize;
    user-select: none;
}

.acpt-editable-table .resizer:hover,
.acpt-editable-table .resizing {
    border-right: 2px solid var(--acpt-color-primary);
}

.acpt-editable-table .dragging {
    background-color: var(--acpt-color-pale-gray);
}

.acpt-editable-table .selected {
    border: var(--acpt-border-thickness) solid var(--acpt-color-primary) !important;
    color: var(--acpt-color-primary) !important;
    background: var(--acpt-color-pale-gray); !important;
}

.acpt-editable-table [contenteditable]:focus {
    background: var(--acpt-color-white) !important;
}

.acpt-editable-table tr > :not(th):not(td):not(div.acpt-context-menu) {
    display: none !important;
}

.acpt-table-templates {
    border: var(--acpt-border-thickness) solid  var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
    max-height: 300px;
    overflow-y: auto;
}

.acpt-table-templates li {
    display: flex;
    align-content: center;
    padding: var(--acpt-spacing);
    margin: 0;
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    justify-content: space-between;
    align-items: center;
}

.acpt-table-templates li .label {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.acpt-table-templates li .buttons {
    display: flex;
    gap: var(--acpt-half-spacing);
}

.acpt-table-templates li .buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.acpt-table-templates li:last-child {
    border: none;
}

/*========== CONTEXT MENU ==========*/

.acpt-context-menu {
    display: none;
    position: absolute;
    z-index: 11111;
    border-radius: var(--acpt-border-radius);
    background: var(--acpt-color-darkest-gray);
    color: var(--acpt-color-white);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    gap: var(--acpt-spacing);
    margin: 0;
    padding: var(--acpt-spacing);
    bottom: 45px;
    max-width: 280px;
    font-size: var(--acpt-font-size-small);
}

.acpt-context-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--acpt-color-darkest-gray) transparent transparent transparent;
}

.acpt-context-menu input,
.acpt-context-menu select,
.acpt-context-menu select:hover,
.acpt-context-menu select:focus,
.acpt-context-menu option {
    font-size: 11px !important;
    background: var(--acpt-color-dark-gray);
    width: 100%;
    border: none;
    color: var(--acpt-color-white) !important;
    appearance: auto;
    padding: 3px;
    height: 25px;
    font-weight: normal !important;
}

.acpt-context-menu .input-wrapper {
    width: 100%;
    display: flex;
    gap: var(--acpt-spacing);
    margin-bottom: 10px;
    align-items: center;
}

.acpt-context-menu .input-wrapper .inputs {
    display: flex;
    gap: var(--acpt-half-spacing);
    width: 290px;
}

.acpt-context-menu .input-wrapper:last-child {
    margin: 0;
}

.acpt-context-menu .input-wrapper label {
    width: 100px !important;
    display: inline-block;
    text-align: left !important;
}

.acpt-context-menu h3 {
    color: var(--acpt-color-white);
    padding: 0;
    margin: 0 0 var(--acpt-spacing);
    font-size:  var(--acpt-font-size-normal);
    text-align: left !important;
}

/*========== IMAGE SLIDER ==========*/

.acpt-admin-meta-field .acpt-image-slider {
    display: grid;
    position: relative;
    overflow: hidden;
    border-radius: var(--acpt-border-radius);
    margin-bottom: var(--acpt-spacing);
    max-width: 450px;
    --position: 50%;
}

.acpt-admin-meta-field .acpt-image-slider .placeholder {
    max-width: 450px;
    text-align: left;
}

.acpt-admin-meta-field .acpt-image-slider .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.acpt-admin-meta-field .acpt-image-slider .image-before {
    position: absolute;
    inset: 0;
    width: var(--position);
}

.acpt-admin-meta-field .acpt-image-slider .slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    /* for Firefox */
    width: 100%;
    height: 100%;
}

.acpt-admin-meta-field .acpt-image-slider .slider:focus-visible ~ .slider-button {
    outline: 5px solid var(--acpt-color-darkest-gray);
    outline-offset: 3px;
}

.acpt-admin-meta-field .acpt-image-slider .slider-line {
    position: absolute;
    inset: 0;
    width: .2rem;
    height: 100%;
    background-color: var(--acpt-color-white);
    /* z-index: 10; */
    left: var(--position);
    transform: translateX(-50%);
    pointer-events: none;
}

.acpt-admin-meta-field .acpt-image-slider .slider-button {
    position: absolute;
    background-color: var(--acpt-color-white);
    color: var(--acpt-color-darkest-gray);
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* z-index: 100; */
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}

/*========== ID GENERATION ==========*/

.acpt-id-generate {
    margin-top: var(--acpt-half-spacing);
    display: inline-block;
}

/*========== QR CODE META FIELDS ==========*/
/*========== BARCODE META FIELDS ==========*/

.acpt-barcode-wrapper,
.acpt-qr-code-wrapper {
    display: flex;
    align-items: center;
    gap: var(--acpt-max-spacing);
    flex-wrap: wrap;
}

.acpt-barcode-wrapper {
    align-items: flex-start;
}

.acpt-barcode-wrapper .acpt-barcode-controls,
.acpt-qr-code-wrapper .acpt-qr-code-controls {
    display: flex;
    flex-direction: column;
    gap: var(--acpt-spacing);
}

.acpt-barcode-wrapper .acpt-barcode-controls label,
.acpt-qr-code-wrapper .acpt-qr-code-controls label {
    margin: 0 0 var(--acpt-half-spacing);
    padding: 0;
    display: block;
}

.acpt-barcode-wrapper .acpt-barcode-controls input,
.acpt-barcode-wrapper .acpt-barcode-controls select,
.acpt-qr-code-wrapper .acpt-qr-code-controls input,
.acpt-qr-code-wrapper .acpt-qr-code-controls select {
    width: 100%;
}

.acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors,
.acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors {
    display: flex;
    align-items: center;
    gap: var(--acpt-spacing);
    flex-wrap: wrap;
}

.acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors > div,
.acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors > div {
    width: 150px;
}

.acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors .wp-picker-container,
.acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors .wp-picker-container {
    position: relative;
}

.acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors .wp-picker-open+.wp-picker-input-wrap,
.acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors .wp-picker-open+.wp-picker-input-wrap {
    display: flex;
    align-items: center;
}

.acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors .wp-picker-open+.wp-picker-input-wrap label,
.acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors .wp-picker-open+.wp-picker-input-wrap label {
    margin: 0;
    padding: 0;
}

.acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors .wp-picker-holder,
.acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors .wp-picker-holder {
    position: absolute;
    z-index: 111;
}

.acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors .wp-color-result.wp-picker-open,
.acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors .wp-color-result.wp-picker-open {
    display: none;
}

.acpt-barcode-wrapper .acpt-barcode,
.acpt-qr-code-wrapper .acpt-qr-code {
    outline: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
    border: var(--acpt-spacing) solid var(--acpt-color-white);
    overflow: hidden;
}

.acpt-barcode-wrapper .acpt-barcode.has-errors {
    outline: var(--acpt-border-thickness) solid var(--acpt-color-error);
}

.acpt-barcode-wrapper .acpt-barcode-errors {
    margin-top: var(--acpt-spacing);
    color: var(--acpt-color-error);
}

.acpt-barcode-wrapper .acpt-barcode-errors:empty {
    margin-top: 0;
}

.acpt-barcode-wrapper .acpt-barcode:empty {
    /*background-image: url('data:image/svg+xml,<svg fill="%23c3c4c7" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 64 64" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g><rect x="38" y="23" width="2" height="5"></rect><rect x="42" y="23" width="2" height="5"></rect><rect x="38" y="30" width="2" height="2"></rect><rect x="42" y="30" width="2" height="2"></rect><rect x="31" y="34" width="2" height="2"></rect><rect x="26" y="54" width="2" height="2"></rect><rect x="42" y="34" width="2" height="2"></rect><rect x="38" y="38" width="2" height="2"></rect><rect x="42" y="38" width="2" height="2"></rect><path d="M2,2h3V0H1C0.448,0,0,0.448,0,1v4h2V2z"></path><path d="M63,0h-4v2h3v3h2V1C64,0.448,63.552,0,63,0z"></path><path d="M2,59H0v4c0,0.552,0.448,1,1,1h4v-2H2V59z"></path><path d="M62,62h-3v2h4c0.552,0,1-0.448,1-1v-4h-2V62z"></path><path d="M4,5v12c0,0.552,0.448,1,1,1h12c0.552,0,1-0.448,1-1V5c0-0.552-0.448-1-1-1H5C4.448,4,4,4.448,4,5z M6,6h10v10H6V6z"></path><path d="M13,8H9C8.448,8,8,8.448,8,9v4c0,0.552,0.448,1,1,1h4c0.552,0,1-0.448,1-1V9C14,8.448,13.552,8,13,8z M12,12h-2v-2h2V12z"></path><path d="M47,18h12c0.552,0,1-0.448,1-1V5c0-0.552-0.448-1-1-1H47c-0.552,0-1,0.448-1,1v12C46,17.552,46.448,18,47,18z M48,6h10v10 H48V6z"></path><path d="M55,8h-4c-0.552,0-1,0.448-1,1v4c0,0.552,0.448,1,1,1h4c0.552,0,1-0.448,1-1V9C56,8.448,55.552,8,55,8z M54,12h-2v-2h2V12z "></path><path d="M17,46H5c-0.552,0-1,0.448-1,1v12c0,0.552,0.448,1,1,1h12c0.552,0,1-0.448,1-1V47C18,46.448,17.552,46,17,46z M16,58H6V48 h10V58z"></path><path d="M9,56h4c0.552,0,1-0.448,1-1v-4c0-0.552-0.448-1-1-1H9c-0.552,0-1,0.448-1,1v4C8,55.552,8.448,56,9,56z M10,52h2v2h-2V52z"></path><path d="M44,19h-7V7h-2v13c0,0.552,0.448,1,1,1h8V19z"></path><rect x="22" y="12" width="7" height="2"></rect><rect x="26" y="8" width="7" height="2"></rect><rect x="4" y="19" width="2" height="9"></rect><path d="M18,25H8v2h9v4h2v-5C19,25.448,18.552,25,18,25z"></path><rect x="9" y="20" width="2" height="2"></rect><rect x="21" y="18" width="2" height="8"></rect><rect x="21" y="28" width="9" height="2"></rect><path d="M61,29h-2v10h-3v2h4c0.552,0,1-0.448,1-1V29z"></path><rect x="26" y="18" width="2" height="2"></rect><rect x="4" y="33" width="2" height="8"></rect><rect x="4" y="42" width="9" height="2"></rect><path d="M50,28h2v-4c0-0.552-0.448-1-1-1h-5v2h4V28z"></path><rect x="9" y="33" width="2" height="2"></rect><rect x="20" y="32" width="2" height="8"></rect><rect x="20" y="42" width="9" height="2"></rect><rect x="8" y="38" width="9" height="2"></rect><rect x="21" y="52" width="2" height="4"></rect><rect x="20" y="48" width="9" height="2"></rect><path d="M36,44v-5c0-0.552-0.448-1-1-1H25v2h9v4H36z"></path><rect x="26" y="32" width="2" height="2"></rect><rect x="15" y="34" width="2" height="2"></rect><rect x="59" y="53" width="2" height="7"></rect><rect x="54" y="58" width="3" height="2"></rect><rect x="54" y="52" width="2" height="4"></rect><path d="M61,44c0-0.552-0.448-1-1-1H49v2h10v6h2V44z"></path><path d="M48,56v-5c0-0.552-0.448-1-1-1H36v2h10v4H48z"></path><rect x="50" y="47" width="7" height="2"></rect><rect x="20" y="58" width="7" height="2"></rect><rect x="30" y="51" width="2" height="9"></rect><rect x="32" y="46" width="4" height="2"></rect><path d="M47,36h5v-2h-4v-6h-2v7C46,35.552,46.448,36,47,36z"></path><rect x="50" y="30" width="5" height="2"></rect><rect x="54" y="20" width="3" height="2"></rect><rect x="59" y="20" width="2" height="5"></rect><rect x="54" y="25" width="2" height="2"></rect><path d="M39,17h4c0.552,0,1-0.448,1-1V3h-2v12h-3V17z"></path><path d="M24,5h15V3H23c-0.552,0-1,0.448-1,1v5h2V5z"></path><path d="M25,24h7c0.552,0,1-0.448,1-1v-8h-2v7h-6V24z"></path><rect x="34" y="23" width="2" height="4"></rect><rect x="36" y="54" width="7" height="2"></rect><rect x="36" y="58" width="9" height="2"></rect><path d="M50,58h-2v2h3c0.552,0,1-0.448,1-1v-8h-2V58z"></path><rect x="16" y="42" width="2" height="2"></rect><rect x="39" y="42" width="4" height="2"></rect><rect x="46" y="38" width="2" height="3"></rect><rect x="45" y="43" width="2" height="2"></rect><rect x="39" y="46" width="3" height="2"></rect><rect x="50" y="38" width="2" height="2"></rect><rect x="54" y="34" width="3" height="2"></rect><rect x="35" y="34" width="5" height="2"></rect><rect x="34" y="29" width="2" height="3"></rect></g></g></svg>');*/
    /*max-width: 200px;*/
    /*max-height: 200px;*/
    /*width: 100%;*/
    /*aspect-ratio: 1 / 1;*/
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.acpt-qr-code-wrapper .acpt-qr-code:empty {
    background-image: url('data:image/svg+xml,<svg fill="%23c3c4c7" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 64 64" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g><rect x="38" y="23" width="2" height="5"></rect><rect x="42" y="23" width="2" height="5"></rect><rect x="38" y="30" width="2" height="2"></rect><rect x="42" y="30" width="2" height="2"></rect><rect x="31" y="34" width="2" height="2"></rect><rect x="26" y="54" width="2" height="2"></rect><rect x="42" y="34" width="2" height="2"></rect><rect x="38" y="38" width="2" height="2"></rect><rect x="42" y="38" width="2" height="2"></rect><path d="M2,2h3V0H1C0.448,0,0,0.448,0,1v4h2V2z"></path><path d="M63,0h-4v2h3v3h2V1C64,0.448,63.552,0,63,0z"></path><path d="M2,59H0v4c0,0.552,0.448,1,1,1h4v-2H2V59z"></path><path d="M62,62h-3v2h4c0.552,0,1-0.448,1-1v-4h-2V62z"></path><path d="M4,5v12c0,0.552,0.448,1,1,1h12c0.552,0,1-0.448,1-1V5c0-0.552-0.448-1-1-1H5C4.448,4,4,4.448,4,5z M6,6h10v10H6V6z"></path><path d="M13,8H9C8.448,8,8,8.448,8,9v4c0,0.552,0.448,1,1,1h4c0.552,0,1-0.448,1-1V9C14,8.448,13.552,8,13,8z M12,12h-2v-2h2V12z"></path><path d="M47,18h12c0.552,0,1-0.448,1-1V5c0-0.552-0.448-1-1-1H47c-0.552,0-1,0.448-1,1v12C46,17.552,46.448,18,47,18z M48,6h10v10 H48V6z"></path><path d="M55,8h-4c-0.552,0-1,0.448-1,1v4c0,0.552,0.448,1,1,1h4c0.552,0,1-0.448,1-1V9C56,8.448,55.552,8,55,8z M54,12h-2v-2h2V12z "></path><path d="M17,46H5c-0.552,0-1,0.448-1,1v12c0,0.552,0.448,1,1,1h12c0.552,0,1-0.448,1-1V47C18,46.448,17.552,46,17,46z M16,58H6V48 h10V58z"></path><path d="M9,56h4c0.552,0,1-0.448,1-1v-4c0-0.552-0.448-1-1-1H9c-0.552,0-1,0.448-1,1v4C8,55.552,8.448,56,9,56z M10,52h2v2h-2V52z"></path><path d="M44,19h-7V7h-2v13c0,0.552,0.448,1,1,1h8V19z"></path><rect x="22" y="12" width="7" height="2"></rect><rect x="26" y="8" width="7" height="2"></rect><rect x="4" y="19" width="2" height="9"></rect><path d="M18,25H8v2h9v4h2v-5C19,25.448,18.552,25,18,25z"></path><rect x="9" y="20" width="2" height="2"></rect><rect x="21" y="18" width="2" height="8"></rect><rect x="21" y="28" width="9" height="2"></rect><path d="M61,29h-2v10h-3v2h4c0.552,0,1-0.448,1-1V29z"></path><rect x="26" y="18" width="2" height="2"></rect><rect x="4" y="33" width="2" height="8"></rect><rect x="4" y="42" width="9" height="2"></rect><path d="M50,28h2v-4c0-0.552-0.448-1-1-1h-5v2h4V28z"></path><rect x="9" y="33" width="2" height="2"></rect><rect x="20" y="32" width="2" height="8"></rect><rect x="20" y="42" width="9" height="2"></rect><rect x="8" y="38" width="9" height="2"></rect><rect x="21" y="52" width="2" height="4"></rect><rect x="20" y="48" width="9" height="2"></rect><path d="M36,44v-5c0-0.552-0.448-1-1-1H25v2h9v4H36z"></path><rect x="26" y="32" width="2" height="2"></rect><rect x="15" y="34" width="2" height="2"></rect><rect x="59" y="53" width="2" height="7"></rect><rect x="54" y="58" width="3" height="2"></rect><rect x="54" y="52" width="2" height="4"></rect><path d="M61,44c0-0.552-0.448-1-1-1H49v2h10v6h2V44z"></path><path d="M48,56v-5c0-0.552-0.448-1-1-1H36v2h10v4H48z"></path><rect x="50" y="47" width="7" height="2"></rect><rect x="20" y="58" width="7" height="2"></rect><rect x="30" y="51" width="2" height="9"></rect><rect x="32" y="46" width="4" height="2"></rect><path d="M47,36h5v-2h-4v-6h-2v7C46,35.552,46.448,36,47,36z"></path><rect x="50" y="30" width="5" height="2"></rect><rect x="54" y="20" width="3" height="2"></rect><rect x="59" y="20" width="2" height="5"></rect><rect x="54" y="25" width="2" height="2"></rect><path d="M39,17h4c0.552,0,1-0.448,1-1V3h-2v12h-3V17z"></path><path d="M24,5h15V3H23c-0.552,0-1,0.448-1,1v5h2V5z"></path><path d="M25,24h7c0.552,0,1-0.448,1-1v-8h-2v7h-6V24z"></path><rect x="34" y="23" width="2" height="4"></rect><rect x="36" y="54" width="7" height="2"></rect><rect x="36" y="58" width="9" height="2"></rect><path d="M50,58h-2v2h3c0.552,0,1-0.448,1-1v-8h-2V58z"></path><rect x="16" y="42" width="2" height="2"></rect><rect x="39" y="42" width="4" height="2"></rect><rect x="46" y="38" width="2" height="3"></rect><rect x="45" y="43" width="2" height="2"></rect><rect x="39" y="46" width="3" height="2"></rect><rect x="50" y="38" width="2" height="2"></rect><rect x="54" y="34" width="3" height="2"></rect><rect x="35" y="34" width="5" height="2"></rect><rect x="34" y="29" width="2" height="3"></rect></g></g></svg>');
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.acpt-barcode-wrapper .acpt-barcode svg,
.acpt-qr-code-wrapper .acpt-qr-code img {
    max-width: 200px;
}

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

    .acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors,
    .acpt-barcode-wrapper,
    .acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors,
    .acpt-qr-code-wrapper {
        flex-direction: column;
    }

    .acpt-barcode-wrapper .acpt-barcode-controls .barcode-colors > div,
    .acpt-qr-code-wrapper .acpt-qr-code-controls .qr-code-colors > div {
        width: auto;
    }
}

.acpt-barcode-wrapper .acpt-barcode-controls .buttons,
.acpt-qr-code-wrapper .acpt-qr-code-controls .buttons {
    display: flex;
    gap: var(--acpt-spacing);
}

/*========== WOOCOMMERCE PRODUCT VARIATIONS META FIELDS ==========*/

.acpt-admin-meta-wc-variation-group {
    display: flex;
    flex-direction: column;
    gap: var(--acpt-spacing);
}

.acpt-admin-meta-wc-variation-box {
    border: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
    border-radius: var(--acpt-border-radius);
    background: var(--acpt-color-white);
    overflow: hidden;
}

.acpt-admin-meta-wc-variation-box .acpt-admin-meta-row {
    width: auto;
}

.acpt-admin-meta-wc-variation-box li.sortable-li .acpt-admin-meta-row {
    width: 100%;
}

.acpt-admin-meta-wc-variation-box .acpt-admin-meta-wc-variation-box-header {
    padding: 12px 24px;
    border-radius: var(--acpt-border-radius) var(--acpt-border-radius) 0 0;
    font-size:  var(--acpt-font-size-normal);
    color: var(--acpt-color-darkest-gray);
    font-weight: bold;
    background: var(--acpt-color-pale-gray);
    border-bottom: var(--acpt-border-thickness) solid var(--acpt-color-light-gray);
}

.acpt-admin-meta-wc-variation-box .acpt-admin-meta-label label {
    font-weight: normal;
    color: var(--acpt-color-dark-gray);
    font-size: 13px;
}

.acpt-admin-meta-wc-variation-box .acpt-sortable.list-wrapper td {
    padding: var(--acpt-spacing);
}

.acpt-admin-meta-wc-variation-box #inventory_product_data .notice, #variable_product_options #message, #variable_product_options .notice {
    border: none !important;
    margin: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

.wp-picker-container.wp-picker-active + .acpt-eye-dropper-button {
    display: none;
}

#wpbody-content .metabox-holder:empty {
    padding-top: 0;
}
