.sifency-admin-btn:active,
.sifency-admin-btn:focus,
.sifency-admin-btn:focus-visible,
.sifency-admin-btn:focus-within,
.sifency-admin-btn:hover,
.sifency-admin-btn:target,
a.sifency-admin-btn:active,
a.sifency-admin-btn:focus,
a.sifency-admin-btn:focus-visible,
a.sifency-admin-btn:focus-within,
a.sifency-admin-btn:hover,
a.sifency-admin-btn:target,
button.sifency-admin-btn:active,
button.sifency-admin-btn:focus,
button.sifency-admin-btn:focus-visible,
button.sifency-admin-btn:focus-within,
button.sifency-admin-btn:hover,
button.sifency-admin-btn:target {
    outline: 0 !important;
    box-shadow: none !important;
    text-decoration: none
}

button.button.button-primary.plugin-action-btn.activate-btn.sifency-admin-btn .spinner,
button.button.button-primary.plugin-action-btn.activated-btn.sifency-admin-btn .spinner {
    display: none
}

button.button.button-primary.plugin-action-btn.activate-btn.sifency-admin-btn.processing .spinner,
button.button.button-primary.plugin-action-btn.activated-btn.sifency-admin-btn.processing .spinner {
    display: initial !important
}

button.button.button-primary.plugin-action-btn.activate-btn.sifency-admin-btn.processing,
button.button.button-primary.plugin-action-btn.activated-btn.sifency-admin-btn.processing {
    display: flex;
    align-items: center
}

.sifency-copy-btn {
    background: linear-gradient(90deg, #007cba, #00a6ff);
    border: none !important;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    transition: .2s
}

.sifency-copy-btn:hover {
    background: linear-gradient(90deg, #008edc, #33b3ff);
    transform: translateY(-1px)
}

.sifency-copy-btn .dashicons {
    font-size: 16px;
    line-height: 1;
    margin-top: 5px;
    color: var(--sifency-accent)
}

.sifency-copy-btn::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) scale(.9);
    background: #1e293b;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: .15s
}

.sifency-copy-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1)
}

.plugin-action-btn {
    min-width: 130px;
    text-align: center
}

.sifency-nav-item.sifency-admin-btn {
    cursor: pointer
}


.plugin-action-btn.activated-btn {
    background: #f0f0f1 !important;
    border-color: #dcdcde !important;
    color: #50575e !important;
    cursor: default
}

.plugin-action-btn.processing .spinner {
    visibility: visible;
    display: inline-block;
    margin: -2px 5px 0 0
}

.sifency-admin-wrap .button,
.sifency-admin-wrap button {
    border-radius: var(--sifency-radius-sm);
    transition: var(--sifency-transition);
    border: 1px solid #f1f1f1;
    position: relative;
    overflow: hidden;
}


.sifency-admin-wrap .button::before,
.sifency-admin-wrap button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s;
    box-shadow: none !important
}

.sifency-admin-wrap .button:hover::before,
.sifency-admin-wrap button:hover::before {
    left: 100%
}

.sifency-welcome-actions .button-hero {
    padding: 8px 20px;
    height: auto
}

.sifency-pro-button {
    display: inline-block;
    background: #fff;
    color: var(--sifency-primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px
}

.sifency-button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto
}

.sifency-button-group .button {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.sifency-export-item p {
    font-size: 13px;
    color: var(--sifency-text-muted);
    flex-grow: 1;
    margin-bottom: 16px
}

.sifency-addons-export-import-btn.button {
    background-color: var(--sifency-accent);
    border: none;
    transition: .3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: fit-content
}

.sifency-switch::after,
.sifency-switch::before {
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    transition: opacity .2s, transform .2s;
    left: 50%;
    position: absolute
}

.sifency-addons-export-import-btn.button:hover {
    background-color: var(--sifency-accent-hover)
}

.button.button-danger.button-large.sifency-admin-btn {
    background-color: var(--sifency-danger-color);
    border: none;
    color: #fff;
    transition: .3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px
}

.sifency-admin-btn.sifency-secondary-btn {
    border-color: var(--sifency-border-color);
    color: #101010;
    display: flex;
    align-items: center
}

.sifency-admin-btn.sifency-secondary-btn:hover {
    border-color: var(--sifency-accent)
}

.sifency-admin-btn.sifency-secondary-btn .dashicons {
    color: var(--sifency-accent)
}

.sifency-admin-btn.button-danger {
    border-color: var(--sifency-border-color);
    color: var(--sifency-danger-color);
    display: flex;
    align-items: center
}

.sifency-admin-btn.button-danger:hover {
    border-color: var(--sifency-danger-color);
    color: var(--sifency-danger-color)
}

.sifency-switch::after {
    content: attr(data-tooltip);
    text-align: center;
    bottom: calc(100% + 10px);
    background: #111827;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 320px;
    width: max-content;
    white-space: normal;
    word-break: break-word;
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    z-index: 99999
}

.sifency-switch::before {
    content: '';
    bottom: calc(100% + 4px);
    border: 6px solid transparent;
    border-top-color: #111827
}

.sifency-switch:hover::after,
.sifency-switch:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.sifency-status-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: default;
    gap: 6px
}

.sifency-status-label[data-tooltip]::after {
    content: '?';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    background-color: #a00;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    transition: background-color .3s
}

.sifency-status-label[data-tooltip]::before,
.sifency-tooltip-element {
    line-height: 1.4;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s, transform .2s
}

.sifency-status-label[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #101010;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    white-space: normal;
    word-wrap: break-word;
    width: max-content;
    max-width: 220px;
    z-index: 1000
}

.sifency-status-label[data-tooltip]::before::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #f3f3f3 transparent transparent
}

.sifency-status-label[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px)
}

:root {
    --sif-tooltip-bg: #1d2327;
    --sif-tooltip-text: #ffffff;
    --sif-tooltip-radius: 4px;
    --sif-tooltip-font: 12px;
    --sif-tooltip-shadow: 0 4px 12px rgba(0, 0, 0, 0.15)
}

.sifency-tooltip-element {
    position: fixed;
    background-color: var(--sif-tooltip-bg);
    color: var(--sif-tooltip-text);
    padding: 6px 12px;
    border-radius: var(--sif-tooltip-radius);
    font-size: var(--sif-tooltip-font);
    font-weight: 500;
    z-index: 999999;
    box-shadow: var(--sif-tooltip-shadow);
    white-space: nowrap;
    transform: translateX(10px);
    visibility: hidden
}

.sifency-tooltip-element.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0)
}

.sifency-tooltip-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -4px;
    transform: translateY(-50%);
    border-width: 4px 4px 4px 0;
    border-style: solid;
    border-color: transparent var(--sif-tooltip-bg) transparent transparent
}