body.sifency-modern-ui-active #col-left,
body.sifency-modern-ui-active #col-right,
body.sifency-modern-ui-active #posts-filter br,
body.sifency-modern-ui-active .page-title-action,
body.sifency-modern-ui-active .search-box,
body.sifency-modern-ui-active .subsubsub,
body.sifency-modern-ui-active .tablenav,
body.sifency-modern-ui-active .wp-heading-inline,
body.sifency-modern-ui-active .wp-list-table,
input[name="meta[meta_team_single_style]"],
input[name="meta[meta_team_single_type]"] {
    display: none !important
}

:root {
    --s-primary: #007bff;
    --s-primary-hover: #006ce0;
    --s-bg-body: #f0f2f5;
    --s-border: #f0f0f0;
    --s-white: #ffffff;
    --s-text: #1d2327;
    --s-text-gray: #646970;
    --s-radius: 6px;
    --s-shadow: 0 4px 10px rgba(0, 0, 0, 0.05)
}

.sifency-app-wrapper {
    display: flex;
    background: var(--s-bg-body);
    margin: 20px 20px 0 0;
    border-radius: var(--s-radius);
    overflow: hidden;
    border: 1px solid var(--s-border);
    min-height: 60vh
}

@media screen and (max-width: 876px) {
    .sifency-app-wrapper {
        flex-direction: column;
    }
}

.sifency-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff
}

.sifency-content-area {
    padding: 30px;
    overflow-y: auto;
    height: 100%
}

.sifency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px
}

.sifency-cpt-sidebar {
    width: 260px;
    background: var(--s-white);
    border-right: 1px solid var(--s-border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0
}

.sifency-brand {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--s-text);
    height: 55px
}

.nav-item,
.sifency-logo-icon {
    display: flex;
    align-items: center;
    border-radius: 6px
}

.sifency-logo-icon {
    width: 30px;
    height: 30px;
    background: #eef3f7;
    color: var(--s-primary);
    justify-content: center
}

.sifency-logo-icon .dashicons {
    margin-top: 5px
}

.sifency-nav {
    padding: 15px;
    flex-grow: 1;
    overflow-y: auto
}

@media screen and (max-width: 876px) {
    .sifency-cpt-sidebar {
        width: 100%;
    }

    .sifency-cpt-sidebar .sifency-nav {
        width: 100%;
    }

    .sifency-cpt-sidebar .sifency-nav .sifency-nav-items,
    .sifency-cpt-sidebar .sifency-nav .nav-scroll-area {
        display: flex;
        flex-wrap: wrap;
    }
}

.nav-section-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin: 20px 0 10px 5px;
    letter-spacing: .5px
}

.nav-item {
    padding: 10px 12px;
    color: var(--s-text-gray);
    text-decoration: none;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 500;
    transition: .2s
}

.card-title a:hover,
.classic-link:hover,
.nav-item-manage,
.nav-item.active,
.nav-item:hover {
    color: var(--s-primary)
}

.classic-link,
.nav-item-manage {
    font-size: 12px;
    text-decoration: none
}

.nav-item:hover {
    background: #f6f7f7
}

.nav-item.active {
    background: #e9f5ff;
    font-weight: 600
}

#sifency-move-form-here #submit:hover,
.sifency-btn-primary:hover {
    background: var(--s-primary-hover)
}

.nav-item .dashicons {
    margin-right: 8px;
    font-size: 16px;
    line-height: 20px
}

.nav-item .count {
    margin-left: auto;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px
}

.nav-item-manage {
    display: block;
    margin: 10px 0 0 12px
}

.nav-item-manage:hover {
    text-decoration: underline
}

.nav-scroll-area {
    max-height: 400px;
    overflow-y: auto
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0
}

.classic-link {
    color: var(--s-text-gray);
    display: flex;
    align-items: center;
    gap: 5px
}

.sifency-topbar {
    background: var(--s-white);
    border-bottom: 1px solid var(--s-border);
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px
}

.topbar-left h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600
}

.topbar-right {
    display: flex;
    gap: 15px;
    align-items: center
}

.sifency-content-area,
.sifency-search {
    position: relative
}

.sifency-search input {
    padding: 8px 10px 8px 30px;
    border: 1px solid var(--s-border);
    border-radius: 6px;
    font-size: 13px
}

.sifency-search .dashicons {
    position: absolute;
    left: 8px;
    top: 13px;
    color: #aaa
}

.sifency-btn-primary {
    background: var(--s-primary);
    color: var(--s-white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center
}

.sifency-btn-primary:hover {
    color: var(--s-white)
}

.sifency-btn-primary .dashicons {
    font-size: 14px;
    margin-top: 10px
}

#sifency-move-form-here #col-left {
    width: 100%;
    float: none;
    margin: 0
}

#sifency-move-form-here .col-wrap {
    padding: 0
}

#sifency-move-form-here .form-field {
    margin-bottom: 15px;
    padding: 0
}

#sifency-move-form-here .form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 12px;
    color: var(--s-text)
}

#sifency-move-form-here .form-field p {
    font-size: 11px;
    color: #999;
    margin: 4px 0 0
}

#sifency-move-form-here input[type=text],
#sifency-move-form-here select,
#sifency-move-form-here textarea {
    width: 100%;
    border: 1px solid var(--s-border);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    box-shadow: none;
    background: #fbfbfb
}

#sifency-move-form-here input:focus,
#sifency-move-form-here textarea:focus {
    border-color: var(--s-primary);
    background: var(--s-white);
    outline: 0;
    box-shadow: 0 0 0 1px var(--s-primary)
}

#sifency-move-form-here .term-slug-wrap p,
.sifency-fullscreen-btn,
.sifency-media-preview.empty,
body.sifency-modern-ui-active #screen-meta-links .screen-meta-toggle {
    display: none
}

#sifency-move-form-here .submit {
    margin-top: 15px;
    padding: 0
}

#sifency-move-form-here #submit {
    background: var(--s-primary);
    border-color: var(--s-primary);
    color: var(--s-white);
    width: 100%;
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 500;
    transition: .2s;
    cursor: pointer
}

#sifency-tax-form-area {
    width: 360px
}

.sifency-topbar-inner {
    width: 100%;
    margin-top: 0
}

.sifency-accent-button.sifency-admin-btn {
    background-color: var(--s-primary);
    border: none
}

.sifency-accent-button.sifency-admin-btn:hover {
    background-color: var(--s-primary-hover);
    border: none
}

body.sifency-modern-ui-active {
    background-color: #f3f4f6
}

.sifency-ui-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    box-shadow: none;
    max-width: 500px;
    padding: 15px 20px
}

.sifency-card-for-cpt {
    background: var(--s-card-bg);
    border: 1px solid var(--s-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: .3s cubic-bezier(.4, 0, .2, 1)
}

.sifency-card-for-cpt:hover {
    transform: translateY(-4px)
}

.sifency-group-links {
    display: flex;
    align-items: center
}

#sifency-save-meta {
    border: none;
    cursor: pointer;
    margin-left: 20px
}

.save-meta {
    border: none
}

.sifency-meta-trigger {
    border: none;
    padding: 0;
    background: 0 0;
    cursor: pointer;
    margin-left: 5px
}

.sifency-meta-trigger .dashicons {
    font-size: 14px !important
}

.sifency-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center
}

.sifency-modal-content {
    background: #fff;
    width: 900px;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.sifency-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.sifency-modal-header h3 {
    margin: 0;
    font-size: 16px
}

.sifency-modal-close {
    background: 0 0;
    border: none;
    cursor: pointer;
    color: #666
}

.sifency-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1
}

.sifency-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #fff
}

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

.sifency-form-group input,
.sifency-form-group textarea {
    border: 1px solid var(--s-primary)
}

.sifency-meta-row {
    background: #fafafa;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px
}

.sifency-meta-key {
    font-weight: 600;
    font-size: 12px;
    color: #555;
    display: block;
    margin-bottom: 6px
}

.sifency-modal-loading {
    text-align: center;
    padding: 40px;
    color: #777
}

.spin {
    animation: 1s linear infinite rotation
}

@keyframes rotation {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(359deg)
    }
}

.sifency-media-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px
}

.sifency-media-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #eee
}

.complex-data-notice {
    font-style: italic;
    color: #d63638;
    font-size: 12px
}

.card-status {
    position: absolute;
    top: 37%;
    bottom: 50%;
    width: 40px;
    height: 40px;
    z-index: 0;
    opacity: .8
}

body.sifency-modern-ui-active .status-publish {
    background-color: #12b76a;
    clip-path: circle(50% at 2% 50%);
}

body.sifency-modern-ui-active .status-draft {
    background-color: #f79009;
    clip-path: circle(50% at 2% 50%);
}

body.sifency-modern-ui-active .status-trash {
    background-color: #f04438;
    clip-path: circle(50% at 2% 50%);
}

body.sifency-modern-ui-active .status-private {
    background-color: #667085
}

.card-body {
    padding: 20px 20px 20px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.cpt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px
}

.card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word
}

.card-title a {
    color: var(--s-text-main);
    text-decoration: none;
    transition: color .2s
}

.sifency-thumb-wrapper {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: .4s ease-in-out
}

.sifency-btn-xs,
.sifency-icon-btn {
    transition: .2s;
    text-decoration: none
}

.sifency-thumb-wrapper .sifency-thumb-img:hover {
    transform: scale(1.05);
    transition: .4s ease-in-out
}

.sifency-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sifency-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98a2b3
}

.sifency-thumb-placeholder .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px
}

.card-meta {
    margin-top: auto;
    padding-top: 15px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed #eaecf0
}

.card-meta>div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: var(--s-text-sub);
    font-weight: 500
}

.card-meta>div>div,
.card-meta>div>span {
    display: flex;
    align-items: center;
    gap: 6px
}

.card-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #98a2b3
}

body.sifency-modern-ui-active .status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase
}

body.sifency-modern-ui-active .badge-publish {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6
}

body.sifency-modern-ui-active .badge-draft {
    background: #fffaeb;
    color: #b54708;
    border: 1px solid #fedf89
}

body.sifency-modern-ui-active .badge-trash {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca
}

.card-actions {
    background: #f9fafb;
    border-top: 1px solid var(--s-card-border);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.sifency-btn-xs {
    color: var(--sifency-accent);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px
}

.sifency-btn-xs .dashicons {
    font-size: 16px;
    line-height: 22px
}

.sifency-btn-xs:hover {
    background: #f9fafb;
    color: var(--s-primary)
}

.btn-elementor:hover {
    border-color: #93003c;
    color: #93003c;
    background: #fff0f5
}

.sifency-cpt-icons {
    display: flex;
    gap: 1px
}

.sifency-icon-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    background: 0 0
}

.sifency-icon-btn .dashicons {
    font-size: 16px;
    width: 18px;
    height: 18px
}

.sifency-icon-btn:hover {
    background: #f2f4f7;
    color: var(--s-primary)
}

.sifency-icon-btn.delete-link {
    color: #d92d20
}

.sifency-icon-btn.delete-link:hover {
    background: #fef3f2
}

.sifency-pagination {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 40px
}

.sifency-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #374151;
    transition: .25s;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(8px)
}

.sifency-pagination .page-numbers:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px)
}

.sifency-pagination .page-numbers.current,
.sifency-pagination .page-numbers:hover {
    background: var(--s-primary, #007bff)
}

.sifency-pagination .page-numbers.current {
    background: #007bff;
    color: #fff;
    pointer-events: none
}

.sifency-pagination .page-numbers.next,
.sifency-pagination .page-numbers.prev {
    font-size: 16px;
    font-weight: 600
}

.sifency-pagination .page-numbers.dots {
    background: 0 0;
    color: #9ca3af;
    cursor: default
}

.sifency-pagination .page-numbers.dots:hover {
    background: 0 0;
    transform: none
}

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

.select2-container {
    width: 100% !important;
    max-width: 200px
}

.select2-container .select2-selection--multiple {
    background: 0 0;
    border: 1px solid #e9f5ff
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 0 4px
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    margin-top: 4px;
    padding: 2px 5px;
    font-size: 10px;
    background-color: #e9f5ff;
    border: none
}

.sifency-cat-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px
}