.live-link-btn,
.live-link-btn:hover,
.sifency-templates-table td strong a:hover {
    color: var(--sifency-accent)
}

.sifency-conditions-group h3,
.sifency-modal-header {
    border-bottom: 1px solid var(--sifency-border-color)
}

.sifency-modal-footer .spinner,
.sifency-pro-badge,
.sifency-switch,
.status-label {
    vertical-align: middle
}

.sifency-conditions-group {
    border: 1px solid var(--sifency-border-color)
}

.sifency-conditions-group>button {
    margin: 0 15px 15px
}

.sifency-condition-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px
}

.sifency-condition-row .select2-container,
.sifency-condition-row .sifency-condition-value,
.sifency-nav-item-label {
    flex-grow: 1
}

.d-flex {
    display: flex;
    gap: 5px
}

.sifency-couple-text-btn a,
.sifency-edit-elementor-link,
.sifency-preview-link {
    font-size: 14px
}

.text-underline-animation span,
.text_underline_animation span {
    position: relative;
    display: inline-block
}

.text-underline-animation span::after,
.text_underline_animation span::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s
}

.text-underline-animation span:hover::after,
.text_underline_animation span:hover::after {
    transform: scaleX(1);
    transform-origin: right
}

.live-link-btn {
    text-decoration: none;
    font-size: 16px
}

.sifency-new-template-wrap .sifency-modal-body .sifency-form-group select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-width: 100%
}

.sifency-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 22, 41, .7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s
}

.sifency-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible
}

.sifency-modal-wrap {
    background: #fff;
    border-radius: 8px;
    width: 95%;
    max-width: 991px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    transform: scale(0);
    transition: transform .3s ease-out;
    max-height: 90vh
}

.sifency-modal-overlay.is-visible .sifency-modal-wrap {
    transform: scale(1)
}

.sifency-modal-wrap .select2-container--default .select2-search--dropdown .select2-search__field {
    border: none !important;
    box-shadow: none !important
}

.sifency-modal-wrap .select2-container--open .select2-dropdown--below {
    border: 1px solid var(--sifency-border-color) !important;
    border-radius: 15px !important
}

.sifency-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    flex-shrink: 0
}

.sifency-modal-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827
}

.sifency-modal-close {
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color .2s, color .2s
}

.sifency-modal-footer,
.sifency-templates-table tbody tr:hover {
    background-color: #f9fafb
}

.sifency-modal-close:hover {
    background-color: #e5e7eb;
    color: #111827
}

.sifency-modal-body {
    padding: 24px;
    overflow-y: auto;
    color: #374151
}

.sifency-modal-body::-webkit-scrollbar {
    width: 8px
}

.sifency-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1
}

.sifency-modal-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px
}

.sifency-modal-body::-webkit-scrollbar-thumb:hover {
    background: #9ca3af
}

.sifency-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--sifency-border-color);
    text-align: right;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.sifency-secondary-btn,
button#sifency-create-and-save,
button#sifency-save-section-draft {
    border-radius: 7px;
}

#sifency-save-conditions-btn,
.button.button-primary.sifency-admin-accent-btn,
.sifency-admin-accent-btn {
    border-radius: 7px;
}

#sifency-save-conditions-btn.disabled,
#sifency-save-conditions-btn:disabled {
    background-color: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed
}

.sifency-modal-footer .spinner {
    float: none;
    margin: -2px 5px 0 0;
    visibility: hidden;
    display: none
}

.sifency-modal-footer .spinner.is-active {
    visibility: visible
}

.sifency-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s
}

.sifency-switch .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: .4s
}

.sifency-switch input:checked+.slider {
    background-color: var(--sifency-accent)
}

.sifency-switch input:checked+.slider:before {
    transform: translateX(20px)
}

.sifency-switch .slider.round {
    border-radius: 34px
}

.sifency-switch .slider.round:before {
    border-radius: 50%
}

.sifency-switch {
    display: inline-block;
    width: 44px;
    height: 24px;
    position: relative
}

.sifency-switch input {
    opacity: 0;
    width: 0;
    height: 0
}

.sifency-templates-table td .sifency-switch {
    margin-right: 8px
}

.sifency-switch,
.sifency-widget-card,
.sifency-widget-card-footer,
.sifency-widget-toggle {
    overflow: visible !important
}

.sifency-separator {
    color: #ececec
}

.sifency-templates-header {
    margin: 15px 0
}

.sifency-conditions-group {
    border: 1px solid var(--sifency-border-color);
    border-radius: 6px;
    margin-bottom: 24px;
    background: #fff
}

.sifency-conditions-group h3 {
    font-size: .9rem;
    font-weight: 600;
    margin: 0;
    padding: 12px 16px;
    background: #f9fafb;
    border-bottom: 1px solid var(--sifency-border-color);
    color: #111827;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px
}

.sifency-conditions-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.sifency-no-rules-message {
    color: #6b7280;
    margin: 0
}

.sifency-add-condition {
    margin: 0 16px 16px;
    border-radius: 6px !important
}

.sifency-condition-row {
    display: grid;
    grid-template-columns: 24px repeat(2, minmax(150px, 1fr)) 2fr auto;
    gap: 12px;
    align-items: center
}

.sifency-condition-drag {
    cursor: grab;
    color: #9ca3af;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s;
}

.sifency-condition-drag:hover {
    color: var(--sifency-accent);
}

.sifency-condition-drag:active {
    cursor: grabbing;
}

.ui-sortable-placeholder {
    visibility: visible !important;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    height: 45px;
    grid-column: 1 / -1;
}

.ui-sortable-helper {
    background: #fff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 999999;
}

.sifency-condition-row.is-duplicate {
    outline: 1px solid #ef4444;
    background-color: #fef2f2 !important;
    animation: sifency-shake 0.4s ease-in-out;
    border-radius: 7px;
}

@keyframes sifency-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-2px);
    }

    40%,
    80% {
        transform: translateX(2px);
    }
}




.sifency-condition-row .select2-container .select2-selection--single,
.sifency-form-group select,
.sifency-form-group input[type=text],
.sifency-condition-row select {
    min-width: 150px;
    width: 100%;
    border-radius: 6px;
    border: none !important;
    font-size: 14px;
    color: #374151;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f6f7f7;
    box-shadow: none;
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.sifency-condition-row .select2-container .select2-selection--single select option {
    padding: 10px;
    background: #fff;
    color: #333;
    border: none !important;
}

.sifency-form-group select:focus,
.sifency-condition-row select:focus {
    border: none;
    box-shadow: none !important;
    outline: none !important
}

.sifency-condition-row .select2-container .select2-selection--single {
    height: 38px;
    border-radius: 6px;
    border: 1px solid var(--sifency-border-color);
    box-shadow: none !important
}

.sifency-condition-row .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px
}

.sifency-condition-row .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px
}

.sifency-remove-condition,
.sifency-duplicate-condition {
    color: #9ca3af;
    text-decoration: none;
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color .2s, background-color .2s
}

.sifency-duplicate-condition.dashicons {
    font-size: 14px !important;
}

.sifency-remove-condition:hover {
    color: #ef4444;
    background-color: #fee2e2
}

.sifency-duplicate-condition:hover {
    color: #10b981;
    background-color: #d1fae5
}

button.button.sifency-add-condition {
    margin: 20px
}

.sifency-admin-primary-btn,
.sifency-templates-list-container .page-title-action {
    background-color: var(--sifency-accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: .2s ease-in-out;
    border: none;
    cursor: pointer
}

.sifency-templates-list-container .page-title-action:hover {
    background-color: var(--sifency-accent-hover);
    border-color: var(--sifency-accent-hover);
    transform: translateY(-1px);
    color: #fff
}

.sifency-templates-list-container .sifency-templates-table {
    border: none;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--sifency-border-color)
}

.sifency-templates-table thead tr {
    background-color: var(--white-color)
}

.table-list-item-title {
    font-size: 16px;
    line-height: 26px
}

.sifency-template-inline-edit {
    position: relative;
    margin-bottom: 8px;
    max-width: 100%
}

.sifency-template-meta-view {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px
}

.sifency-template-meta-view .table-list-item-title {
    margin: 0
}

.sifency-edit-template-meta {
    font-size: 13px;
    padding: 0;
    opacity: .75;
    transition: opacity .2s
}

.sifency-edit-template-meta:hover {
    opacity: 1
}

.sifency-template-meta-tooltip {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100050;
    min-width: 280px;
    max-width: min(340px, 92vw);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.97);
    transform-origin: top left;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    pointer-events: none
}

.sifency-template-meta-tooltip.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 9999999;
}

.sifency-template-meta-tooltip-card {
    position: relative;
    padding: 14px 16px 12px;
    background: #fff;
    border: 1px solid var(--sifency-border-color, #dcdcde);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .06)
}

.sifency-template-meta-tooltip-arrow {
    position: absolute;
    top: -6px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--sifency-border-color, #dcdcde);
    border-top: 1px solid var(--sifency-border-color, #dcdcde);
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(16, 24, 40, .04)
}

.sifency-tooltip-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: #646970;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: color .15s, background .15s
}

.sifency-tooltip-close:hover {
    color: #1d2327;
    background: #f0f0f1
}

.sifency-tooltip-field {
    margin-bottom: 10px
}

.sifency-tooltip-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #646970
}

.sifency-template-meta-tooltip-card .sifency-template-title-input,
.sifency-template-meta-tooltip-card .sifency-template-slug-input,
.sifency-template-meta-tooltip-card .sifency-template-status-input {
    width: 100%;
    font-size: 12px;
    line-height: 1.4;
    border: none;
    border-radius: 6px;
    background: #f6f7f7;
    box-shadow: none;
    outline: none;
    transition: background .15s ease
}


.sifency-template-meta-tooltip-card .sifency-template-title-input:focus,
.sifency-template-meta-tooltip-card .sifency-template-slug-input:focus,
.sifency-template-meta-tooltip-card .sifency-template-status-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
    background: #eef0f3
}

.sifency-template-slug-row {
    display: flex;
    align-items: center;
    gap: 2px
}

.sifency-slug-prefix {
    color: #646970;
    font-size: 13px;
    line-height: 1;
    flex-shrink: 0
}

.sifency-template-meta-tooltip-card .sifency-template-slug-input {
    flex: 1;
    min-width: 0
}

.sifency-template-inline-edit--cpt-card {
    margin-bottom: 0
}

.sifency-template-inline-edit--cpt-card .sifency-template-meta-view {
    margin-bottom: 0;
    gap: 6px
}

.sifency-template-inline-edit--cpt-card .sifency-template-title-display {
    font-size: 1.05em;
    font-weight: 600;
    line-height: 1.35
}

.sifency-card-for-cpt .cpt-card-header,
.sifency-card-for-cpt .card-title {
    overflow: visible;
    position: relative
}

.sifency-card-for-cpt .card-body {
    overflow: visible
}

.sifency-template-tooltip-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding-top: 2px
}

.sifency-template-tooltip-footer .sifency-save-template-meta {
    min-height: 30px;
    line-height: 1.2
}

.sifency-inline-save-feedback {
    font-size: 12px;
    color: #646970
}

.sifency-inline-save-feedback.is-success {
    color: #00a32a
}

.sifency-inline-save-feedback.is-error {
    color: #d63638
}

.sifency-templates-table td:first-child {
    overflow: visible
}

.sifency-templates-table thead th {
    border-bottom: 1px solid var(--sifency-border-color);
    padding: 12px 20px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-align: left
}

.sifency-post-switch-status-col {
    width: 150px;
    max-width: 150px;
    min-width: 150px
}

@media screen and (max-width: 1720px) {
    .sifency-post-lists-wrap {
        flex-wrap: wrap;
    }




    .sifency-templates-table thead {
        display: none;
    }

    .sifency-post-lists-wrap .sifency-post-action-col,
    .sifency-post-lists-wrap .sifency-post-switch-status-col,
    .sifency-post-lists-wrap .sifency-post-publish-status-col,
    .sifency-post-lists-wrap .sifency-post-switch-status-col {
        width: 100% !important;
        border: none;
    }

    .sifency-dashboard-content .sifency-templates-list-container .sifency-templates-table {
        padding: 50px;
    }

    /* Hide table header */
    .sifency-post-list-table thead {
        display: none;
    }

    /* Make each row a card */
    .sifency-post-lists-wrap {
        display: block !important;
        width: 100%;
        margin-bottom: 20px;
        border: 1px solid var(--sifency-border-color);
        border-radius: 10px;
        overflow: hidden;
    }

    /* Reset td layout */
    .sifency-post-lists-wrap td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
        padding: 15px;
        border: 0;
        border-bottom: 1px solid #eee;
    }

    .sifency-post-lists-wrap td:last-child {
        border-bottom: 0;
    }

    .sifency-post-title-col .d-flex {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sifency-post-switch-status-col,
    .sifency-post-publish-status-col {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

    .sifency-post-action-col .sifency-action-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sifency-separator {
        display: none;
    }
}

.sifency-post-action-col {
    width: 300px;
    max-width: 300px;
    min-width: 300px
}

.sifency-post-condition-col {
    width: 200px;
    max-width: 200px;
    min-width: 2000px
}

.sifency-post-publish-status-col {
    width: 100px;
    min-width: 100px;
    max-width: 100px
}

.sifency-templates-table tbody tr {
    background-color: #fff;
    transition: background-color .2s ease-in-out
}

.sifency-templates-table tbody tr:nth-child(odd) {
    background-color: #fdfdfd
}

.sifency-templates-table tbody tr:nth-child(odd):hover {
    background-color: #f7f7f8
}

.sifency-templates-table tbody td {
    padding: 20px;
    border-bottom: 1px solid #f0f1f1;
    vertical-align: middle;
    color: #374151;
    min-height: 50px
}

.sifency-templates-table tbody tr:last-child td {
    border-bottom: none
}

.sifency-templates-table td strong a {
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    transition: color .2s
}

.sifency-templates-table .sifency-conditions-summary {
    color: #6b7280;
    font-size: 13px
}

.sifency-templates-table td:last-child {
    display: flex;
    align-items: center;
    gap: 8px
}

.sifency-templates-table .button.sifency-edit-conditions-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
    border-radius: 6px;
    transition: .2s ease-in-out
}

.sifency-templates-table .button.sifency-edit-conditions-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827
}

.sifency-nav-item.is-active .sifency-beta-badge::after,
.sifency-nav-item.is-active .sifency-pro-badge::after {
    position: fixed;
    transform: translate(-50%, -50%);
    color: #facc15;
    font-weight: 900;
    pointer-events: none;
    white-space: nowrap
}

.sifency-templates-table .button-link-delete {
    color: #6b7280;
    transition: color .2s ease-in-out
}

.sifency-templates-table .button-link-delete:hover {
    color: #ef4444;
    background-color: transparent
}

.sifency-templates-table tbody tr:only-child td {
    padding: 20px;
    font-size: 15px
}

.sifency-nav-item.is-active .sifency-pro-badge::after {
    content: "PRO";
    top: 50vh;
    left: 32vw;
    font-size: 18vw;
    animation: .5s forwards proFadeIn
}

@keyframes proFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.8)
    }

    to {
        opacity: .1;
        transform: translate(-50%, -50%) scale(1)
    }
}

.sifency-premium-upsell-card {
    background: #fff;
    border: 1px solid var(--sifency-border-color);
    border-radius: 8px;
    padding: 40px;
    max-width: 550px
}

.sifency-upsell-icon {
    display: inline-block;
    background-color: #eef4ff;
    border-radius: 50%;
    padding: 12px;
    margin-bottom: 20px;
    line-height: 0
}

.sifency-beta-badge,
.sifency-nav-item .sifency-beta-badge {
    background-color: #facc15;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase
}

.sifency-upsell-icon svg path {
    fill: var(--sifency-accent)
}

.sifency-premium-upsell-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px
}

.sifency-premium-upsell-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 450px
}

.sifency-beta-badge {
    color: #111827;
    transition: .2s
}

.sifency-nav-item .sifency-beta-badge {
    position: relative;
    display: inline-block;
    color: #111827;
    transition: .3s
}

.sifency-nav-item.is-active .sifency-beta-badge::after {
    content: "BETA";
    top: 80vh;
    left: 39vw;
    font-size: 20vw;
    opacity: 0;
    animation: .5s forwards betaFadeIn
}

@keyframes betaFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.8)
    }

    to {
        opacity: .1;
        transform: translate(-50%, -50%) scale(1)
    }
}

.sifency-nav-item:not(.is-active) .sifency-beta-badge::after {
    opacity: 0;
    transition: opacity .5s
}

.sifency-upgrade-button {
    display: inline-block;
    background: linear-gradient(90deg, #ffb900, #ff9e00);
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: .2s ease-in-out
}

.sifency-upgrade-button:hover {
    background-color: linear-gradient(90deg, #ff9e00, #ffb900);
    transform: translateY(-2px)
}

.sifency-upgrade-button:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px linear-gradient(90deg, #ffb900, #ff9e00)
}

.sifency-dashboard-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start
}

.sifency-dashboard-nav {
    flex-shrink: 0;
    width: 220px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--sifency-border-color);
    border-radius: 12px;
    padding: 12px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    box-sizing: border-box;
}

/* Sidebar Toggle styling */
.sifency-sidebar-toggle-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
    transition: justify-content 0.3s ease;
}

.sifency-sidebar-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50px;
    right: -15px;
    z-index: 10;
    background-color: #fff;
    border-radius: 50%;
}

.sifency-sidebar-toggle:focus-visible {
    outline: 2px solid var(--sifency-accent);
    outline-offset: 2px;
}


/* Transitions for sub-elements */
.sifency-nav-item-label,
.sifency-accordion-text,
.sifency-beta-badge,
.sifency-pro-badge,
.sifency-accordion-arrow {
    display: inline-block;
    vertical-align: middle;
    max-width: 200px;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0.2s ease, margin 0.3s ease, padding 0.3s ease;
}

.sifency-accordion-arrow {
    margin-left: auto;
    flex-shrink: 0;
}

/* Mobile responsive media query (< 991px) */
@media screen and (max-width: 991px) {
    .sifency-dashboard-nav {
        width: 68px;
        padding: 12px 8px;
    }

    .sifency-sidebar-toggle-wrap {
        justify-content: center;
    }

    .sifency-dashboard-nav .sifency-nav-item-label,
    .sifency-dashboard-nav .sifency-accordion-text,
    .sifency-dashboard-nav .sifency-beta-badge,
    .sifency-dashboard-nav .sifency-pro-badge,
    .sifency-dashboard-nav .sifency-accordion-arrow {
        max-width: 0;
        opacity: 0;
        visibility: hidden;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sifency-dashboard-nav .sifency-accordion-content {
        max-height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .sifency-dashboard-nav .sifency-nav-item,
    .sifency-dashboard-nav .sifency-accordion-summary {
        justify-content: center;
        padding: 12px 0;
    }

    .sifency-dashboard-nav .sifency-nav-item-icon,
    .sifency-dashboard-nav .sifency-accordion-icon {
        margin: 0 !important;
    }

    /* Mobile Expanded State */
    .sifency-dashboard-nav.is-expanded {
        width: 260px;
        padding: 12px;
    }

    .sifency-dashboard-nav.is-expanded .sifency-sidebar-toggle-wrap {
        justify-content: flex-end;
    }

    .sifency-dashboard-nav.is-expanded .sifency-nav-item,
    .sifency-dashboard-nav.is-expanded .sifency-accordion-summary {
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .sifency-dashboard-nav.is-expanded .sifency-nav-item-label,
    .sifency-dashboard-nav.is-expanded .sifency-accordion-text,
    .sifency-dashboard-nav.is-expanded .sifency-beta-badge,
    .sifency-dashboard-nav.is-expanded .sifency-pro-badge,
    .sifency-dashboard-nav.is-expanded .sifency-accordion-arrow {
        max-width: 200px;
        opacity: 1;
        visibility: visible;
    }
}

/* Desktop responsive media query (> 991px) */
@media screen and (min-width: 992px) {

    /* Desktop Collapsed State */
    .sifency-dashboard-nav.is-collapsed {
        width: 50px;
        padding: 12px 8px;
    }

    .sifency-dashboard-nav.is-collapsed .sifency-accordion-arrow {
        display: none;
    }

    .sifency-dashboard-nav.is-collapsed .sifency-sidebar-toggle-wrap {
        justify-content: center;
    }

    .sifency-dashboard-nav.is-collapsed .sifency-nav-item,
    .sifency-dashboard-nav.is-collapsed .sifency-accordion-summary {
        justify-content: center;
        padding: 12px 0;
    }

    .sifency-dashboard-nav.is-collapsed .sifency-nav-item-icon,
    .sifency-dashboard-nav.is-collapsed .sifency-accordion-icon {
        margin: 0 !important;
    }

    .sifency-dashboard-nav.is-collapsed .sifency-nav-item-label,
    .sifency-dashboard-nav.is-collapsed .sifency-accordion-text,
    .sifency-dashboard-nav.is-collapsed .sifency-beta-badge,
    .sifency-dashboard-nav.is-collapsed .sifency-pro-badge,
    .sifency-dashboard-nav.is-collapsed .sifency-accordion-arrow {
        max-width: 0;
        opacity: 0;
        visibility: hidden;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sifency-dashboard-nav.is-collapsed .sifency-accordion-content {
        max-height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

.sifency-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    gap: 8px;
    transition: .3s;
    background-color: transparent;
    position: relative;
    border: none;
}

.sifency-nav-item:hover {
    background-color: rgba(0, 0, 0, .03);
    color: var(--sifency-accent)
}

.sifency-nav-item.is-active {
    background: var(--sifency-accent);
    color: #fff
}

.sifency-nav-item.is-active:hover {
    background-color: var(--sifency-accent-hover)
}

.sifency-nav-item-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    min-width: 18px
}

.sifency-pro-badge {
    background-color: #eef4ff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: auto;
    text-transform: uppercase;
    transition: .3s
}

.sifency-nav-item.is-active .sifency-pro-badge {
    background-color: rgba(255, 255, 255, .3);
    color: #fff
}

.sifency-dashboard-content {
    flex-grow: 1;
    min-width: 0;
    margin-right: 20px
}

.sifency-dashboard-nav::-webkit-scrollbar {
    width: 6px
}

.sifency-dashboard-nav::-webkit-scrollbar-track {
    background: 0 0
}

.sifency-dashboard-nav::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .1);
    border-radius: 10px
}

.sifency-dashboard-nav::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, .2)
}

.sifency-new-template-wrap {
    width: 800px
}

.sifency-new-template-wrap .sifency-modal-body {
    padding: 150px
}

.sifency-new-template-wrap .sifency-modal-body .sifency-form-group select option:hover,
.sifency-new-template-wrap .sifency-modal-body .sifency-form-group select option[selected] {
    background: var(--sifency-accent);
    color: var(--white-color)
}

.sifency-new-template-wrap .sifency-modal-body .sifency-form-group select::-internal-select-autofill-preview[popover] {
    box-shadow: none !important;
    border: none !important
}

.sifency-form-group {
    margin-bottom: 20px
}

.sifency-form-group:last-of-type {
    margin-bottom: 0
}

.sifency-form-group label {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px
}

.sifency-action-buttons,
.sifency-condition-badges {
    display: flex;
    gap: 8px;
    align-items: center
}

.sifency-badge,
.sifency-btn {
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex
}

.sifency-badge {
    padding: 3px 8px;
    border-radius: 6px
}

.button.sifency-add-condition.include:hover,
.sifency-badge.include {
    background: #e6f9ed;
    color: #1a7f37;
    border: 1px solid #b6efc8
}

.button.sifency-add-condition.exclude:hover,
.sifency-badge.exclude {
    background: #fde8e8;
    color: #b91c1c;
    border: 1px solid #f5c2c2
}

.sifency-badge .dashicons {
    font-size: 15px;
    margin-right: 0;
    position: relative;
    top: 3px
}

.sifency-notset {
    color: #888;
    font-style: italic
}

.sifency-btn {
    gap: 3px;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: .2s
}

.sifency-btn .dashicons {
    font-size: 16px;
    margin-top: 5px
}

.sifency-btn.edit {
    background: #e8f4ff;
    color: var(--sifency-accent);
    border-color: #b3d8ff
}

.sifency-btn.edit:hover {
    background: var(--sifency-accent-hover);
    color: #fff;
    border-color: var(--sifency-accent-hover)
}

.sifency-btn.delete {
    background: #fdeaea;
    color: #c0392b;
    border-color: #f5c2c2
}

.sifency-btn.delete:hover {
    background: #c0392b;
    color: #fff
}

.sifency-btn.restore {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0
}

.sifency-btn.restore:hover {
    background: #047857;
    color: #fff
}

.sifency-btn.delete-perm {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca
}

.sifency-btn.delete-perm:hover {
    background: #b91c1c;
    color: #fff
}

.fullwidth-enabled .icon-expand {
    opacity: 0;
    transform: scale(.6)
}

.fullwidth-enabled .sifency-admin-topbar,
.fullwidth-enabled .sifency-admin-wrap,
.fullwidth-enabled .sifency-dashboard-content,
.fullwidth-enabled .sifency-pricing-dashboard,
.fullwidth-enabled .sifency-theme-grid {
    margin-right: 0
}

.fullwidth-enabled .icon-compress {
    opacity: 1;
    transform: scale(1)
}

.fullwidth-enabled .sifency-admin-container,
.fullwidth-enabled .sifency-admin-wrapper,
.fullwidth-enabled .sifency-page-wrapper,
.fullwidth-enabled .wrap {
    max-width: 100% !important;
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    min-height: 100vh;
    z-index: 999999999999999
}

.fullwidth-enabled body,
.fullwidth-enabled html {
    overflow: hidden !important;
    height: 100vh !important
}

.fullwidth-enabled .sifency-admin-topbar {
    margin-top: 0
}

.fullwidth-enabled .sifency-license-wrapper {
    margin-right: 0 !important
}

.fullwidth-enabled #wpcontent {
    margin: 0 !important
}

.fullwidth-enabled #adminmenu,
.fullwidth-enabled #adminmenuback,
.fullwidth-enabled #adminmenuwrap,
.fullwidth-enabled #screen-meta,
.fullwidth-enabled #screen-meta-links,
.fullwidth-enabled #wpadminbar,
.fullwidth-enabled #wpfooter,
.fullwidth-enabled .notice,
.fullwidth-enabled .update-nag,
.fullwidth-enabled div.error,
.fullwidth-enabled div.updated {
    display: none !important
}

.fullwidth-enabled {
    --wp-admin-bar-height: 0px !important
}

.fullwidth-enabled #wpbody,
.fullwidth-enabled #wpbody-content,
.fullwidth-enabled #wpcontent {
    margin-left: 0 !important;
    padding: 0 !important
}

.fullwidth-enabled #wpbody-content {
    padding-bottom: 0 !important
}

a.button.button-secondary.sifency-admin-btn.sifency-deactive-licence {
    background: var(--sifency-danger-color);
    color: #fff;
    border: none;
    height: 40px;
    display: inline-flex;
    align-items: center
}