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

.onyx-main-title {
    background: #FFF;
    margin: 0 0 40px;
    margin-left: -20px;
    padding: 25px 30px;
    line-height: 1;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.onyx-main-title svg {
    height: 1.2em;
    width: 1.2em;
}

.onyx-settings-main-wrapper * {
    box-sizing: border-box;
}

.onyx-settings-main-wrapper {
    min-width: 255px;
    border: 0;
    box-shadow: none;
    background: transparent;
    max-width: 1200px;
    position: relative;
    background: #FFF;
    border-top: 4px solid #000;
    margin: 20px 0;
}

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

.onyx-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;
}

.onyx-settings-footer .button.onyx-button-loader:after {
    content: "";
    border: 2px solid #FFF;
    border-radius: 50%;
    border-right-color: transparent;
    height: 8px;
    width: 8px;
    animation-name: onyx-spin;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

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

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


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

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

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

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

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

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


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

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

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

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


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

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

.onyx-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;
}

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

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

/* Tab Content */

.onyx-options-fields-wrap {
    padding: 30px;
}

/* Fields */
.onyx-field-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.onyx-field-column .onyx-field-wrap {
    display: flex;
    gap: 15px;
}

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

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

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

.onyx-field-wrap > h3 {
    background: #000;
    padding: 12px;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.3;
    color: #FFF;
    flex-grow: 1;
    letter-spacing: 1px;
}

.onyx-settings-field select {
    width: 280px;
}

.onyx-settings-field input[type="text"] {
    width: 280px;
}

.onyx-settings-field input[type="number"] {
    width: 100px;
    padding-right: 0;
}

/* Two/Three Column */
.onyx-one-column-row {
    display: grid;
    grid-template-columns: repeat(1, 300px);
    gap: 20px;
    margin: 0;
    padding: 0;
}

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

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

.onyx-two-column-row > li,
.onyx-three-column-row > li {
    margin: 0;
    padding: 0;
}

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

.onyx-settings-list > label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: bold;
}

/* Fields */
.onyx-toggle {
    position: relative;
    display: block;
    width: 68px;
    height: 30px
}

.onyx-toggle input {
    display: none;
}

.onyx-toggle span {
    padding: 2px;
    background: #fff;
    border: 2px solid #8c8f94;
    border-radius: 20px;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

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

.onyx-toggle span:before {
    content: "NO";
    font-size: 11px;
    width: 32px;
    text-align: center;
    position: absolute;
    right: 0;
    font-weight: bold;
}

.onyx-toggle input:checked + span {
    border-color: #28ac70;
}

.onyx-toggle input:checked + span:after {
    left: 28px;
    background: #28ac70;
}

.onyx-toggle input:checked + span:before {
    content: "YES";
    left: 0;
    right: auto;
    color: #28ac70;
}

.onyx-icon-pick-wrap .onyx-icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.onyx-icon-pick-wrap .onyx-icon-title {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.onyx-icon-pick-wrap .onyx-icon-btn {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 5px;
    border: 1px solid transparent;
    background: #f8f8f8;
    cursor: pointer;
    border: 1px solid #EAEAEA;
}

.onyx-icon-pick-wrap .onyx-icon-btn svg {
    width: 24px;
    height: 24px;
}

.onyx-icon-pick-wrap .onyx-icon-btn[aria-pressed="true"] {
    background: #000;
}

.onyx-icon-pick-wrap .onyx-icon-btn[aria-pressed="true"] svg {
    fill: #FFF;
}



/* Unit */

.onyx-unit-fields {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.onyx-unit-fields li {
    margin: 0;
}

.onyx-unit-fields li > label {
    text-align: center;
    display: block;
}

.onyx-unit-fields li input[type="number"] {
    width: 55px;
    text-align: center;
    padding-right: 0;
}

.onyx-unit-fields .onyx-link-button {
    cursor: pointer;
    outline: none;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    color: #2c3338;
    min-height: 28px;
    width: 45px;
    background-color: #a4afb7;
    color: #fff;
}

.onyx-unit-fields.onyx-not-linked .onyx-link-button {
    background: none;
    color: inherit;
}

.onyx-unit-fields .onyx-link-button span {
    font-size: 16px;
    height: 28px;
    width: 45px;
    align-items: center;
    justify-content: center;
}

.onyx-unit-fields .onyx-link-button .onyx-linked {
    display: flex;
}

.onyx-unit-fields .onyx-link-button .onyx-unlinked {
    display: none;
}

.onyx-unit-fields.onyx-not-linked .onyx-link-button .onyx-linked {
    display: none;
}

.onyx-unit-fields.onyx-not-linked .onyx-link-button .onyx-unlinked {
    display: flex;
}



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

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

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

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

.onyx-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;
}

.onyx-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;
}



p.onyx-desc {
    font-size: 13px;
    font-style: italic;
    margin: 6px 0 0;
}

.onyx-replace-image-values-wrap {
    display: flex;
    gap: 20px;
    flex-direction: column;
    margin-bottom: 20px;
    align-items: flex-start;
}

.onyx-setting-replace-image-list {
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: flex-start;
}

.onyx-settings-field .onyx-add-replace-image,
.onyx-settings-field .onyx-add-invert-image {
    display: flex;
    align-items: center;
    gap: 8px
}

.onyx-replace-image-fields {
    border: 1px solid #EEE;
    padding: 15px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.onyx-setting-replace-image-list .onyx-replace-image {
    display: flex;
    gap: 20px;
    align-items: center;
}

.onyx-setting-replace-image-list .onyx-replace-image label {
    width: 100px;
}

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

.onyx-class-field {
    height: 100px;
    width: 400px;
    resize: none;
}

/*Preset Stripe*/
.onyx-preset-stripe-field {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.onyx-preset-stripe {
    display: flex;
    height: 60px;
    width: 150px;
    background: #EEE;
    border: 3px solid #FFF;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.onyx-preset-radio-box {
    display: none !important;
}

.onyx-preset-radio-box:checked + .onyx-preset-stripe {
    border-color: #000;
}

/*Graphite*/
.onyx-preset-style-1 {
    background: linear-gradient(to right,
            #101010 0%,
            #101010 20%,
            #1A1A1A 20%,
            #1A1A1A 40%,
            #C4C4C4 40%,
            #C4C4C4 60%,
            #FFFFFF 60%,
            #FFFFFF 80%,
            #D6D6D6 80%,
            #D6D6D6 100%,
            #444444 100%);
}

/* Cool Blue */
.onyx-preset-style-2 {
    background: linear-gradient(to right,
            #0B1220 0%,
            #0B1220 20%,
            #131C30 20%,
            #131C30 40%,
            #CAD3EA 40%,
            #CAD3EA 60%,
            #6CA8FF 60%,
            #6CA8FF 80%,
            #98C2FF 80%,
            #98C2FF 100%,
            #2B3A5C 100%);
}

/* Violet Pulse */
.onyx-preset-style-3 {
    background: linear-gradient(to right,
            #121016 0%,
            #121016 20%,
            #1B1823 20%,
            #1B1823 40%,
            #D7D2E3 40%,
            #D7D2E3 60%,
            #B695FF 60%,
            #B695FF 80%,
            #D1BEFF 80%,
            #D1BEFF 100%,
            #3B3450 100%);
}

/* Emerald Night */
.onyx-preset-style-4 {
    background: linear-gradient(to right,
            #0D1613 0%,
            #0D1613 20%,
            #16221E 20%,
            #16221E 40%,
            #D0E6DF 40%,
            #D0E6DF 60%,
            #39D98A 60%,
            #39D98A 80%,
            #6EE7B7 80%,
            #6EE7B7 100%,
            #2F443E 100%);
}

/* Warm Amber */
.onyx-preset-style-5 {
    background: linear-gradient(to right,
            #14110E 0%,
            #14110E 20%,
            #1D1915 20%,
            #1D1915 40%,
            #E3D8C6 40%,
            #E3D8C6 60%,
            #FFB357 60%,
            #FFB357 80%,
            #FFD099 80%,
            #FFD099 100%,
            #3B332A 100%);
}

/* Cyber Teal */
.onyx-preset-style-6 {
    background: linear-gradient(to right,
            #071518 0%,
            #071518 20%,
            #0F2126 20%,
            #0F2126 40%,
            #CBE7EA 40%,
            #CBE7EA 60%,
            #33D1C6 60%,
            #33D1C6 80%,
            #7FE7DF 80%,
            #7FE7DF 100%,
            #285055 100%);
}

/* OLED Black */
.onyx-preset-style-7 {
    background: linear-gradient(to right,
            #000000 0%,
            #000000 20%,
            #0A0A0A 20%,
            #0A0A0A 40%,
            #E5E5E5 40%,
            #E5E5E5 60%,
            #FFFFFF 60%,
            #FFFFFF 80%,
            #BFBFBF 80%,
            #BFBFBF 100%,
            #262626 100%);
}

/* Rose Midnight */
.onyx-preset-style-8 {
    background: linear-gradient(to right,
            #151012 0%,
            #151012 20%,
            #1F171A 20%,
            #1F171A 40%,
            #E2D4D8 40%,
            #E2D4D8 60%,
            #FF7A9E 60%,
            #FF7A9E 80%,
            #FF9FB8 80%,
            #FF9FB8 100%,
            #3C2E33 100%);
}

/* Deep Ocean */
.onyx-preset-style-9 {
    background: linear-gradient(to right,
            #061A2B 0%,
            #061A2B 20%,
            #0C2A44 20%,
            #0C2A44 40%,
            #D6E6F5 40%,
            #D6E6F5 60%,
            #4DB3FF 60%,
            #4DB3FF 80%,
            #7FCCFF 80%,
            #7FCCFF 100%,
            #1E4A6E 100%);
}

/* Crimson Night */
.onyx-preset-style-10 {
    background: linear-gradient(to right,
            #2A0B0B 0%,
            #2A0B0B 20%,
            #3F1212 20%,
            #3F1212 40%,
            #F2D6D6 40%,
            #F2D6D6 60%,
            #FF5C5C 60%,
            #FF5C5C 80%,
            #FF8A8A 80%,
            #FF8A8A 100%,
            #6B2424 100%);
}

/* Aurora Purple */
.onyx-preset-style-11 {
    background: linear-gradient(to right,
            #1A0D2E 0%,
            #1A0D2E 20%,
            #2A1548 20%,
            #2A1548 40%,
            #E6DAFF 40%,
            #E6DAFF 60%,
            #9F7CFF 60%,
            #9F7CFF 80%,
            #C2A8FF 80%,
            #C2A8FF 100%,
            #50308A 100%);
}

/* Tropical Teal */
.onyx-preset-style-12 {
    background: linear-gradient(to right,
            #062621 0%,
            #062621 20%,
            #0D3A33 20%,
            #0D3A33 40%,
            #D4F1EA 40%,
            #D4F1EA 60%,
            #1ED6B3 60%,
            #1ED6B3 80%,
            #5BE7CB 80%,
            #5BE7CB 100%,
            #1E6A60 100%);
}

/* Sunset Orange */
.onyx-preset-style-13 {
    background: linear-gradient(to right,
            #2B1406 0%,
            #2B1406 20%,
            #44210B 20%,
            #44210B 40%,
            #F5E0D1 40%,
            #F5E0D1 60%,
            #FF8A3D 60%,
            #FF8A3D 80%,
            #FFB07A 80%,
            #FFB07A 100%,
            #75411D 100%);
}