/* html{
    filter: hue-rotate(335deg);
} */

body, html{
    height: auto;
    background: #F3F6FC;
    background: linear-gradient(180deg,rgba(243, 246, 252, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

body:before{
    content: '';
    min-width: 100vh;
    min-height: 100vw;
    left: 0;
    top: 0;
    position: fixed;
    background: linear-gradient(180deg,#F4F7FC 0%, rgba(255, 255, 255, 1) 100%);
    transform: scaleX(5);
}

body.login{
    overflow: hidden;
}

#wtu-backend-header .wtu-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.login .button.wp-hide-pw{
    max-height: 30px !important;
}

/* body #wpwrap{
    background: #edf2f6cc;
} */

.postbox{
    border-left: none !important;
    border-right: none !important;
}

#dashboard-widgets-wrap .postbox{
    border: none !important;
}

.wrap{
    max-width: 1600px;
    margin: 0 auto !important;
    display: block;
}

.tablenav.top .tablenav-pages{
    visibility: hidden !important;
}

#dashboard-widgets-wrap #dashboard-widgets{
    display: flex;
    align-items: flex-start;
    gap: 2.5em;
}

#dashboard-widgets #postbox-container-1{
    flex: 1 1 auto;
    width: min(100%, calc(100% - 360px)) !important;
    max-width: none !important;
}

#dashboard-widgets #postbox-container-4{
    flex: 0 0 340px;
    width: 340px !important;
    min-width: 340px;
    max-width: none !important;
}

#dashboard-widgets #postbox-container-2,
#dashboard-widgets #postbox-container-3{
    display: none;
}

#dashboard-widgets #postbox-container-1 .meta-box-sortables{
    margin: 0 !important;
    gap: 1em;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

#dashboard-widgets #postbox-container-1 .postbox{
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
}

#dashboard-widgets #postbox-container-4 .meta-box-sortables,
#dashboard-widgets #postbox-container-4 .postbox,
#dashboard-widgets .postbox-container,
#dashboard-widgets .postbox-container .meta-box-sortables,
#dashboard-widgets .postbox-container .postbox{
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

.modal-backdrop{
    z-index: 0;
    display: none;
}

#wtu-footer p{
    text-align: right;
    display: none;
}

#wtu-version{
    width: 300px;
    margin-right: 0.5em;
    margin-left: auto;
    text-align: right;
    color: #50575e;
    font-size: 12px;
    line-height: 1.4;
    position: fixed;
    bottom: 0 !important;
    right: 0 !important;
}

#wpbody-content{
    margin-top: calc(54px + 4em) !important;
    margin-top: calc(54px) !important; /* RELATED TO HIDE SECURITY */
    padding-left: 3em;
    padding-right: 3em;
    padding-bottom: 2em;
    max-width: calc(100vw - 4em) !important;
    transition: max-width 0.3s ease-in-out;
    float: none !important;
}

.wtu-ticket-transactions-page .wtu-ticket-transactions-table {
    margin-top: 1em;
}

.wtu-ticket-transactions-page .wtu-col-date {
    width: 160px;
}

.wtu-ticket-transactions-page .wtu-col-amount {
    width: 110px;
}

.wtu-ticket-transactions-page .wtu-col-status {
    width: 130px;
}

.wtu-ticket-transactions-page .wtu-col-actions {
    width: 20%;
    min-width: 160px;
}

.wtu-ticket-transactions-page .wtu-ticket-empty-cell {
    text-align: center;
    padding: 2em;
    color: #888;
}

.wtu-ticket-transactions-page .wtu-ticket-muted {
    color: #888;
}

.wtu-ticket-transactions-page .wtu-ticket-line-items {
    margin: 0.25em 0 0;
    padding-left: 1em;
    font-size: 12px;
    color: #555;
}

.wtu-ticket-transactions-page .wtu-ticket-refund-note {
    color: #d63638;
}

.wtu-ticket-transactions-page .wtu-ticket-status-badge {
    display: inline-block;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.wtu-ticket-transactions-page .wtu-ticket-status-badge.is-paid {
    background: #00a32a;
}

.wtu-ticket-transactions-page .wtu-ticket-status-badge.is-refunded {
    background: #d63638;
}

/* Request Ticket System: Detailansicht */
body.admin_page_request-view {
    --wtu-request-bg: #f4f7fc;
    --wtu-request-card: #ffffff;
    --wtu-request-border: #dbe4f2;
    --wtu-request-text: #16315d;
    --wtu-request-muted: #51607f;
}

body.admin_page_request-view #wpbody-content {
    margin-top: 54px !important;
    padding: 22px 34px 34px !important;
    max-width: none !important;
    background: linear-gradient(180deg, #f4f7fc 0%, #f8fbff 100%);
}

body.admin_page_request-view #wpbody-content > .wrap {
    max-width: 1600px;
    margin: 0 auto !important;
}

body.admin_page_request-view .rts-wrap {
    padding: 0;
}

body.admin_page_request-view .rts-top-actions {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

body.admin_page_request-view .rts-top-actions > a:first-child {
    color: #2b5fb1;
    text-decoration: none;
    font-weight: 600;
}

body.admin_page_request-view .rts-top-actions > a:first-child:hover {
    color: #1db8ff;
}

body.admin_page_request-view .rts-archive-button {
    color: #b32d2e !important;
    border-color: #b32d2e !important;
    background: #fff !important;
    border-radius: 8px !important;
}

body.admin_page_request-view .rts-archive-button:hover,
body.admin_page_request-view .rts-archive-button:focus {
    color: #fff !important;
    background: #b32d2e !important;
    border-color: #b32d2e !important;
}

body.admin_page_request-view #request-title {
    margin: 0 0 10px;
    color: var(--wtu-request-text);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

body.admin_page_request-view .rts-meta {
    margin: 0 0 18px;
    color: var(--wtu-request-muted);
    font-size: 13px;
}

body.admin_page_request-view .rts-body,
body.admin_page_request-view .rts-browser-info,
body.admin_page_request-view .rts-comments,
body.admin_page_request-view .rts-form {
    background: var(--wtu-request-card);
    border: 1px solid var(--wtu-request-border);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(32, 73, 130, 0.07);
}

body.admin_page_request-view .rts-body {
    padding: 24px 28px;
    line-height: 1.75;
    font-size: 14px;
    color: var(--wtu-request-text);
}

body.admin_page_request-view .rts-comments {
    margin-top: 24px;
    padding: 24px 28px;
}

body.admin_page_request-view .rts-section-title {
    margin: 0 0 18px;
    color: var(--wtu-request-text);
    font-size: 18px;
    font-weight: 700;
}

body.admin_page_request-view .rts-browser-info {
    margin-top: 24px;
    padding: 18px 20px;
}

body.admin_page_request-view .rts-browser-info-title {
    margin: 0 0 8px;
    color: var(--wtu-request-text);
    font-size: 15px;
    font-weight: 700;
}

body.admin_page_request-view .rts-browser-info-content {
    color: #3c434a;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

body.admin_page_request-view .rts-count,
body.admin_page_request-view .rts-empty,
body.admin_page_request-view .wtu-request-author-email {
    color: var(--wtu-request-muted);
}

body.admin_page_request-view .rts-comment {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

body.admin_page_request-view .rts-comment.is-foreign-for-owner {
    flex-direction: row-reverse;
}

body.admin_page_request-view .rts-avatar {
    flex-shrink: 0;
}

body.admin_page_request-view .rts-bubble {
    flex: 1;
    max-width: calc(100% - 190px);
    background: #f8fbff;
    border: 1px solid var(--wtu-request-border);
    border-radius: 14px;
    padding: 14px 18px;
}

body.admin_page_request-view .rts-bubble.is-author {
    background: #eef5ff;
    border-color: #84a6d9;
}

body.admin_page_request-view .rts-bubble-header {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: var(--wtu-request-muted);
    font-size: 12px;
}

body.admin_page_request-view .rts-bubble-author-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.admin_page_request-view .rts-reply-ref {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: #294a73;
    background: #e8f0fb;
    border: 1px solid #d4e2f4;
    border-radius: 999px;
    padding: 2px 8px;
    line-height: 1.4;
}

body.admin_page_request-view .rts-badge {
    background: #2b5fb1;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: .2px;
}

body.admin_page_request-view .rts-bubble-date {
    color: var(--wtu-request-muted);
}

body.admin_page_request-view .rts-bubble-body {
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    color: var(--wtu-request-text);
}

body.admin_page_request-view .rts-bubble-body .rts-comment-ref-link {
    color: #0a5ea8;
    text-decoration: underline;
    font-weight: 600;
}

body.admin_page_request-view .rts-bubble-body .rts-comment-ref-link:hover {
    color: #084a84;
}

body.admin_page_request-view .rts-reply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 8px !important;
    text-decoration: none;
}

body.admin_page_request-view .rts-reply-btn:hover {
    text-decoration: none;
}

body.admin_page_request-view .rts-form {
    margin-top: 24px;
    padding: 22px 28px 28px;
}

body.admin_page_request-view .rts-form-title {
    margin: 0 0 14px;
    color: var(--wtu-request-text);
    font-size: 18px;
    font-weight: 700;
}

body.admin_page_request-view .rts-form .wp-editor-wrap {
    border: 1px solid var(--wtu-request-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

body.admin_page_request-view .rts-form .wp-editor-container {
    border: 0;
    box-shadow: none;
}

body.admin_page_request-view .rts-form .mce-toolbar-grp,
body.admin_page_request-view .rts-form .quicktags-toolbar,
body.admin_page_request-view .rts-form .wp-editor-tools {
    background: #f8fbff;
    border-bottom: 1px solid var(--wtu-request-border);
}

body.admin_page_request-view .rts-form .mce-edit-area,
body.admin_page_request-view .rts-form .wp-editor-area {
    background: #fff;
}

body.admin_page_request-view .rts-form textarea {
    width: 100%;
    min-height: 120px;
    font-size: 14px;
    resize: vertical;
    border-radius: 10px;
    border-color: var(--wtu-request-border);
}

body.admin_page_request-view .rts-emoji-picker {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0 0;
    flex-wrap: wrap;
}

body.admin_page_request-view .rts-emoji-toggle {
    min-width: 140px;
    border-radius: 8px !important;
}

body.admin_page_request-view .rts-emoji-panel {
    position: static;
    width: min(100%, 720px);
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--wtu-request-border);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(32, 73, 130, 0.08);
}

body.admin_page_request-view .rts-emoji-panel[hidden] {
    display: none;
}

body.admin_page_request-view .rts-emoji-panel .rts-emoji-btn {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #f8fbff;
}

body.admin_page_request-view .rts-upload-field {
    margin-top: 18px;
}

body.admin_page_request-view .rts-upload-label {
    margin: 0 0 4px;
    color: var(--wtu-request-text);
    font-size: 15px;
    font-weight: 700;
}

body.admin_page_request-view .rts-upload-count {
    margin: 0 0 10px;
    color: var(--wtu-request-muted);
    font-size: 13px;
}

body.admin_page_request-view .rts-upload-dropzone {
    min-height: 180px;
    padding: 26px 20px;
    border: 2px dashed #cfd9e8;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
}

body.admin_page_request-view .rts-upload-dropzone.is-dragover {
    border-color: #2271b1;
    background: #e9f2fa;
}

body.admin_page_request-view .rts-upload-title {
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.15;
    color: #1d2327;
    font-weight: 600;
    max-width: 980px;
}

body.admin_page_request-view .rts-upload-or {
    font-size: 22px;
    line-height: 1;
    color: #1d2327;
}

body.admin_page_request-view .rts-upload-dropzone .button {
    font-size: 16px;
    padding: 10px 22px;
    height: auto;
    line-height: 1.2;
    min-width: 220px;
    border-radius: 8px !important;
}

body.admin_page_request-view .rts-file-preview {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

body.admin_page_request-view .rts-file-row {
    font-size: 13px;
    color: #2c3338;
    background: #fff;
    border: 1px solid var(--wtu-request-border);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

body.admin_page_request-view .rts-file-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

body.admin_page_request-view .rts-file-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    padding: 0;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.admin_page_request-view .rts-file-delete:hover {
    background: #c82333;
}

body.admin_page_request-view .rts-file-delete:active {
    background: #b91c1c;
}

body.admin_page_request-view .rts-file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 1px;
    height: 1px;
}

body.admin_page_request-view .rts-form input[type="submit"].button.button-primary {
    margin-top: 18px;
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    border-radius: 8px;
    min-height: 40px;
}

body.admin_page_request-view .rts-form input[type="submit"].button.button-primary:hover,
body.admin_page_request-view .rts-form input[type="submit"].button.button-primary:focus {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

body.admin_page_request-view .rts-form textarea,
body.admin_page_request-view .rts-form input[type="text"],
body.admin_page_request-view .rts-form input[type="email"] {
    border-radius: 10px;
    border-color: var(--wtu-request-border);
}

body.admin_page_request-view .rts-comment-files {
    margin-top: 12px;
    font-size: 13px;
}

body.admin_page_request-view .rts-comment-files ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

body.admin_page_request-view .rts-comment-file-item {
    margin: 0 0 10px !important;
}

body.admin_page_request-view .rts-comment-file-item > a:last-child {
    display: inline-block;
    margin-top: 4px;
}

body.admin_page_request-view .rts-media-container {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.admin_page_request-view .rts-media-link {
    display: inline-flex !important;
    text-decoration: none !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

@media (max-width: 782px) {
    body.admin_page_request-view #wpbody-content {
        padding: 16px !important;
    }

    body.admin_page_request-view .rts-body,
    body.admin_page_request-view .rts-browser-info,
    body.admin_page_request-view .rts-comments,
    body.admin_page_request-view .rts-form {
        border-radius: 12px;
    }

    body.admin_page_request-view #request-title {
        font-size: 30px;
    }

    body.admin_page_request-view .rts-comment {
        flex-direction: column;
    }

    body.admin_page_request-view .rts-comment.is-foreign-for-owner {
        flex-direction: column;
    }

    body.admin_page_request-view .rts-bubble {
        max-width: 100%;
    }
}

.rts-media-filename {
    display: inline-block !important;
    margin-top: 4px !important;
    text-decoration: underline !important;
    color: #0073aa !important;
}

.rts-media-filename:hover {
    color: #005a87 !important;
}

.rts-media-thumb {
    width: 160px !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    border: 1px solid #dcdcde !important;
    background: #fff !important;
    display: block !important;
    max-width: 160px !important;
    max-height: 100px !important;
    min-width: 160px !important;
    min-height: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.rts-media-thumb.is-image {
    cursor: zoom-in !important;
}

.rts-media-thumb.is-video {
    width: 160px !important;
    height: 100px !important;
}

/* Additional specificity for images */
.rts-comment-file-item .rts-media-container .rts-media-link.is-image img.rts-media-thumb.is-image {
    width: 160px !important;
    height: 100px !important;
    max-width: 160px !important;
    max-height: 100px !important;
    min-width: 160px !important;
    min-height: 100px !important;
}


.rts-file-preview {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.rts-file-row {
    font-size: 13px;
    margin: 0;
    color: #2c3338;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.rts-file-name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.rts-file-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    padding: 0;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rts-file-delete:hover {
    background: #c82333;
}

.rts-file-delete:active {
    background: #b91c1c;
}

.rts-upload-field {
    margin-top: 12px;
}

.rts-upload-label {
    margin: 0 0 2px;
    font-size: 15px;
    color: #2c3338;
}

.rts-upload-count {
    margin: 0 0 8px;
    color: #50575e;
    font-size: 15px;
}

.rts-upload-dropzone {
    border: 2px dashed #d2d3d6;
    background: #f3f4f6;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    cursor: pointer;
    padding: 22px;
    border-radius: 2px;
}

.rts-upload-dropzone.is-dragover {
    border-color: #2271b1;
    background: #e9f2fa;
}

.rts-upload-title {
    font-size: 44px;
    line-height: 1.15;
    color: #1d2327;
    font-weight: 500;
    max-width: 980px;
}

.rts-upload-or {
    font-size: 30px;
    line-height: 1;
    color: #1d2327;
}

.rts-upload-dropzone .button {
    font-size: 18px;
    padding: 12px 26px;
    height: auto;
    line-height: 1.2;
    min-width: 240px;
}

.rts-file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.rts-gallery-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.88) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    overflow: hidden !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.rts-gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.22s ease, visibility 0s linear 0s;
}

.rts-gallery-image {
    max-width: min(1600px, calc(100vw - 160px)) !important;
    max-height: calc(100vh - 180px) !important;
    object-fit: contain !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45) !important;
    transition: transform 0.22s ease, opacity 0.22s ease !important;
    will-change: transform, opacity;
    transform: translateX(0);
    opacity: 1;
}

.rts-gallery-image.is-slide-out-left {
    transform: translateX(-80px);
    opacity: 0;
}

.rts-gallery-image.is-slide-out-right {
    transform: translateX(80px);
    opacity: 0;
}

.rts-gallery-image.is-slide-in-left {
    transform: translateX(-80px);
    opacity: 0;
}

.rts-gallery-image.is-slide-in-right {
    transform: translateX(80px);
    opacity: 0;
}

.rts-gallery-close,
.rts-gallery-nav {
    position: absolute !important;
    border: none !important;
    background: rgba(0, 0, 0, 0.45) !important;
    color: #fff !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background 0.2s ease !important;
}

.rts-gallery-close:hover,
.rts-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.75) !important;
}

.rts-gallery-close {
    top: 20px !important;
    right: 24px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    font-size: 34px !important;
}

.rts-gallery-nav {
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 999px !important;
    font-size: 28px !important;
}

.rts-gallery-nav.is-prev {
    left: 24px !important;
}

.rts-gallery-nav.is-next {
    right: 24px !important;
}

.rts-gallery-caption {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: #fff !important;
    font-size: 14px !important;
    text-align: center !important;
    max-width: min(1600px, calc(100vw - 60px)) !important;
}

body.rts-gallery-open {
    overflow: hidden !important;
}

@media (max-width: 960px) {
    .rts-upload-dropzone {
        min-height: 180px;
        padding: 16px;
    }

    .rts-upload-title {
        font-size: 30px;
    }

    .rts-upload-or {
        font-size: 24px;
    }

    .rts-upload-dropzone .button {
        min-width: 180px;
        font-size: 16px;
    }
}

.rts-form {
    margin-top: 32px;
}

.rts-form.is-hidden {
    display: none;
}

.rts-form-title {
    font-size: 16px;
    margin-bottom: 12px;
}

.rts-form textarea {
    width: 100%;
    min-height: 120px;
    font-size: 14px;
    resize: vertical;
}

.rts-emoji-picker {
    position: relative;
    display: inline-block;
    margin: 10px 0 0;
}

.rts-emoji-toggle {
    min-width: 140px;
}

.rts-emoji-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 100;
    width: min(360px, calc(100vw - 80px));
    max-height: 220px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.rts-emoji-panel[hidden] {
    display: none;
}

.rts-emoji-panel .rts-emoji-btn {
    border: 1px solid #dcdcde;
    background: #fff;
    border-radius: 4px;
    padding: 5px 0;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.rts-emoji-panel .rts-emoji-btn:hover,
.rts-emoji-panel .rts-emoji-btn:focus {
    border-color: #2271b1;
    background: #f0f6fc;
}

.rts-divider {
    border: none;
    border-top: 1px solid #dcdcde;
    margin: 28px 0;
}

.rts-notice {
    border-left: 4px solid #00a32a;
    background: #f0faf0;
    padding: 10px 14px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 20px;
}

.rts-notice.error {
    border-color: #d63638;
    background: #fdf0f0;
}

.wtu-ticket-transactions-page .wtu-ticket-status-badge.is-partially-refunded,
.wtu-ticket-transactions-page .wtu-ticket-status-badge.is-pending {
    background: #dba617;
}

.wtu-ticket-transactions-page .wtu-ticket-status-badge.is-default {
    background: #aaa;
}

.wtu-ticket-transactions-page .wtu-ticket-actions-cell {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    padding-top: 1em;
}

.wtu-ticket-transactions-page .wtu-ticket-inline-form {
    margin: 0;
}

.wtu-ticket-transactions-page .wtu-ticket-actions-empty {
    color: #aaa;
    font-size: 12px;
}

.wtu-ticket-transactions-page .wtu-ticket-pagination {
    margin-top: 0.5em;
}

.wtu-refund-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.wtu-refund-modal.is-open {
    display: flex;
}

.wtu-refund-modal-dialog {
    background: #fff;
    border-radius: 6px;
    padding: 2em;
    width: 420px;
    max-width: 95vw;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.wtu-refund-title {
    margin-top: 0;
}

.wtu-refund-info {
    color: #555;
}

.wtu-refund-label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.wtu-refund-input-row {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 1.5em;
}

.wtu-refund-amount-input {
    width: 130px;
    font-size: 1rem;
}

.wtu-refund-currency {
    font-size: 1.2em;
}

.wtu-refund-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75em;
}

.wtu-refund-submit {
    background: #d63638 !important;
    border-color: #d63638 !important;
}

body.index-php.wp-admin #wpwrap,
body.edit-php.wp-admin #wpwrap {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

body.post-new-php #wpwrap{
    padding: 0 !important;
    background: #fff !important;
}

#dashboard-header{
    box-shadow: 0 0 25px rgba(0,0,0,.1);
    position: fixed;
    top: 0;
    left: 0 !important;
    width: 100%;
    z-index: 999;
    height: 54px;
    padding: 0 !important;
}

#dashboard-header a{
    margin: 0 0.5em !important;
}

#wtu-backend-header{
    display:flex;
    align-items:center;
    padding: 10px 16px;
    padding: 0; 
    background:#fff;
    box-shadow: 0 0 25px rgba(0,0,0,.15);
    align-items: center;
    height: 54px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

body #wtu-backend-header a:first-child:hover{
    background-color: #0f7ac2 !important;
}

body #wtu-backend-header a:first-child:focus{
    background-color: #1db8ff !important;
}

body.post-php #wtu-backend-header,
body.post-new-php #wtu-backend-header{
    max-width: 100vw; /* calc(100vw - 281px) !important; */
}

#dashboard-button,
a#add-new-button{
    float: left;
}

a#add-new-button{
    height: 55px;
    line-height: 55px;
    transition: 0.25s;
    padding: 0 20px;
    margin-right: 1px;
}

#wtu-backend-header a{
    height: 54px;
    line-height: 54px;
    transition: 0.25s;
}

#publish{
    display: none;
}

#wtu-backend-header a:first-child{
    text-align: center;
    background-color: #ecf3f9;
}

#wtu-backend-header a img{
    margin-left: 5px;
    margin-top: 5px;
    margin-right: 5px;    
}

#wtu-backend-header a span,
#wtu-backend-header a .jki,
#wtu-backend-header a .wtu-icon {
    vertical-align: middle;
}

#wtu-backend-header a [class*="wtu wtu-"],
#wtu-backend-header a .jki,
#wtu-backend-header a .wtu-icon {
    font-size: 1.75em;
}

a#add-new-button,
a#add-new-button:hover {
    color: #fff;
    background-color: #2271b1;
}


#wtu-backend-header > a:first-child img{
    height: 32px;
    margin: 10px;
    margin-left: 9px;
    width: auto;
    transition: 0.25s;
}

#wtu-backend-header a:first-child:hover{
    background: none !important;
    filter: brightness(1.1);
}

#wtu-backend-header a:not(:first-child),
#wtu-backend-header .wtu-header-right a{
    padding: 0 20px;
    background: #ecf3f9;
    border-left: 1px solid #e1e9ef;
    display: flex;
    align-items: center;
    gap: 0px;

    border-radius: 4px;
    margin: 4px;
    height: 40px;
    overflow: hidden;
}

#wtu-backend-header .wtu-header-right{
    padding-right: 4px;
}

#wtu-backend-header .wtu-header-right a:not(:first-child){
    margin: 4px;
}

#wtu-backend-header .wtu-header-right a {
    width: auto !important
}

#wtu-backend-header .wtu-header-right a .wtu-header-link-text {
    display: inline-block;
    line-height: 1.2;
    white-space: nowrap;
    text-indent: 0 !important;
}

#wtu-backend-header a:not(:first-child) [class*="wtu wtu-"],
#wtu-backend-header a:not(:first-child) .jki,
#wtu-backend-header .wtu-header-right a [class*="wtu wtu-"],
#wtu-backend-header .wtu-header-right a .jki,
#wtu-backend-header .wtu-header-right a .wtu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 54px;
    margin-left: -20px;
    margin-right: 10px;
    background: #e1eef8;
    transition: background .25s;
}

#wtu-backend-header a:not(:first-child):hover,
#wtu-backend-header .wtu-header-right a:hover,
#wtu-backend-header a.active {
    color: #fff;
    background-color: #2271b1;
}

a#add-new-button:hover [class*="wtu wtu-"],
a#add-new-button:hover .jki,
a#add-new-button:hover .wtu-icon,
#wtu-backend-header a:not(:first-child):hover [class*="wtu wtu-"],
#wtu-backend-header .wtu-header-right a:hover [class*="wtu wtu-"],
#wtu-backend-header .wtu-header-right a:hover .jki,
#wtu-backend-header .wtu-header-right a:hover .wtu-icon,
#wtu-backend-header a.active [class*="wtu wtu-"],
#wtu-backend-header a.active .jki,
#wtu-backend-header a.active .wtu-icon {
    background: rgba(255,255,255,.16);
}

#wtu-backend-header a:not(:first-child):focus,
#wtu-backend-header .wtu-header-right a:focus {
    color: #fff;
    background-color: #1db8ff;
    outline: none;
}

#wtu-backend-header a:not(:first-child):focus [class*="wtu wtu-"],
#wtu-backend-header a:not(:first-child):focus .jki,
#wtu-backend-header .wtu-header-right a:focus [class*="wtu wtu-"],
#wtu-backend-header .wtu-header-right a:focus .jki,
#wtu-backend-header .wtu-header-right a:focus .wtu-icon {
    background: rgba(255,255,255,.16);
}



#wtu-backend-header .wtu-header-cache-link {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
}

/* Right-side group */
.wtu-header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    height: 54px;
}

/* Ensure spacing between right-aligned links */
#wtu-backend-header a:nth-last-child(0) {
    margin-left: 20px;
}
#wtu-backend-header a:nth-last-child(1) {
    margin-left: 0px;
}

.menu-item-bar .menu-item-handle{
    max-width: 443px !important;
    cursor: pointer !important;
}

.item-title{
    cursor: pointer !important;
}

.add-to-menu,
.submit-add-to-menu {
    margin-top: 0.5em;
    float: left !important;
}

.open .accordion-section-content {
    background: #fff;
}

.wp-tab-active, ul.add-menu-item-tabs li.tabs, ul.category-tabs li.tabs{
    border-bottom: 2px solid #fff;
    z-index: 99;
}

#quick-search-posttype-page{
    width: 100%;
}

.quick-search-wrap .spinner{
    position: absolute;
    right: 27px;
    top: 22px;
    z-index: 99;
    opacity: 1 !important;
}

#tabs-panel-posttype-page-search{
    padding-top: 1em !important;
}

#menu-to-edit .menu-item-depth-1 > .menu-item-bar .menu-item-handle{
    max-width: 413px !important;
}

#menu-to-edit .menu-item-depth-2 > .menu-item-bar .menu-item-handle{
    max-width: 383px !important;
}

#menu-to-edit .menu-item-depth-3 > .menu-item-bar .menu-item-handle{
    max-width: 353px !important;
}

#menu-to-edit .menu-item-depth-4 > .menu-item-bar .menu-item-handle{
    max-width: 323px !important;
}

#menu-to-edit .menu-item-depth-5 > .menu-item-bar .menu-item-handle{
    max-width: 293px !important;
}

#menu-to-edit .menu-item-depth-6 > .menu-item-bar .menu-item-handle{
    max-width: 263px !important;
}

#wtu-backend-header a{
    text-decoration: none;
}

body #dashboard-widgets-wrap{
    overflow: visible !important;
}

#dashboard-widgets-wrap .postbox{
    border: none !important;
    min-width: 100%;
    overflow: hidden;
}

.postbox-header{
    border-top: none !important;
}

#dashboard-widgets-wrap .postbox .postbox-header{
    border-color: #eee !important;
}

body #dashboard-widgets-wrap .postbox-header{
    border: none;
}

body #dashboard_widget_wtu .postbox-header,
body #dashboard_widget_media .postbox-header,
body #dashboard-widgets-wrap #postbox-container-1 .postbox-header{
    border: none !important;
    background-color: transparent !important;
}

.block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    max-width: 100% !important;
    padding: 0 1.5em !important;
}
.wp-block-post-title{
    max-width: 100% !important;
    padding: 0 0.75em !important;
}

.block-editor-iframe__scale-container{
    overflow: hidden !important;
}

:root :where(.editor-styles-wrapper)::after{
    height: auto !important;
}

.components-resizable-box__container.edit-post-meta-boxes-main{
    height: calc(100% - 6.5em) !important;
    padding-top: 0 !important;
}

.components-popover.block-editor-block-list__block-popover{
    margin-left: -100vw !important;
}

.block-editor-block-toolbar__slot{
    opacity: 0.01 !important;
}

.components-popover.block-editor-block-list__block-popover .block-editor-block-toolbar .components-toolbar-group,
.components-popover.block-editor-block-list__block-popover .block-editor-block-contextual-toolbar{
    border: none !important;
}

.editor-visual-editor__post-title-wrapper.edit-post-visual-editor__post-title-wrapper{
    margin-top: 0 !important;
}

.css-1nuemzt[aria-orientation="horizontal"].is-overflowing-last{
    mask-image: none !important;
}

#major-publishing-actions{
    padding: 0 !important;
    margin-top: 1em !important;
}

#major-publishing-actions input, #minor-publishing-actions .preview, #minor-publishing-actions input,
.editor-header__settings .components-button.is-primary {
    background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) !important;
    color: var(--wp-components-color-accent-inverted, #fff) !important;
    outline: 1px solid #0000 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    height: 55px !important;
    width: 100% !important;
    max-width: 280px !important;
    padding: 0 4em !important;
    transition: 0.25s;
    position: fixed;
    top: 0;
    right: 0;
    border-radius: 0 !important;
    box-shadow: 0 0 25px rgba(0, 0, 0, .15);
}

#major-publishing-actions input:hover, 
#minor-publishing-actions .preview:hover, 
#minor-publishing-actions input:hover, 
.editor-header__settings .components-button.is-primary:hover{
    background: #00bfff !important;
}

#submitdiv,
#publishing-action{
    z-index: 99;
}

.postbox-header .handle-actions {
    flex-shrink: 0;
    margin-right: 0.5em;
}

/* Submit-Box muss auf Post-Edit/New einklappbar bleiben */
body.post-php #submitdiv .postbox-header,
body.post-new-php #submitdiv .postbox-header,
body.post-php #submitdiv .hndle,
body.post-new-php #submitdiv .hndle {
    cursor: pointer !important;
    pointer-events: auto !important;
}

body.post-php #submitdiv .handle-actions,
body.post-new-php #submitdiv .handle-actions {
    display: flex !important;
    pointer-events: auto !important;
}

body.post-php #submitdiv .handlediv,
body.post-new-php #submitdiv .handlediv {
    display: inline-flex !important;
    pointer-events: auto !important;
}

body.post-php #poststuff .postbox .postbox-header,
body.post-new-php #poststuff .postbox .postbox-header,
body.post-php #poststuff .postbox .hndle,
body.post-new-php #poststuff .postbox .hndle {
    cursor: pointer !important;
    pointer-events: auto !important;
}

#post-body.columns-2 #postbox-container-1{
    margin-top: -1px !important;
    border: none !important;
}

#post-body.columns-2 #postbox-container-1{
    height: auto;
    border-left: 1px solid #ddd !important;
}

#dashboard-widgets .postbox-container{
    float: none;
    width: auto !important;
    max-width: none !important;
}

#dashboard-widgets #postbox-container-4.postbox-container .meta-box-sortables{
    margin-left: 0 !important;
}

.postbox-header{
    border-top: 1px solid #ddd !important;
}

.postbox .ui-sortable-handle{
    cursor: pointer !important;
}

.settings-box .postbox-header,
.settings-box .hndle { 
    cursor: pointer !important; 
}

.postbox-header .screen-reader-text,
.hndle .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

/* Use explicit chevrons for all backend postbox toggles */
.postbox .handlediv .toggle-indicator::before,
.postbox .handle-actions .toggle-indicator::before,
.menu-item .item-edit .toggle-indicator::before {
    font-family: dashicons !important;
    content: "\f347" !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: inline-block !important;
    transform: rotate(0deg);
    transition: 0;
}

.accordion-trigger .dashicons-arrow-down::before {
    font-family: dashicons !important;
    content: "\f347" !important;
}

body .meta-box-sortables .postbox.open .handlediv .toggle-indicator::before,
.postbox.open .handlediv .toggle-indicator::before,
.postbox.open .handle-actions .toggle-indicator::before,
.menu-item.menu-item-edit-active .item-edit .toggle-indicator::before {
    transform: rotate(-180deg) translateX(1px) !important;
    transition: 0;
}

.postbox.closed:not(.open) .handlediv .toggle-indicator::before,
.postbox.closed:not(.open) .handle-actions .toggle-indicator::before,
.menu-item:not(.menu-item-edit-active) .item-edit .toggle-indicator::before {
    transform: rotate(0deg) translateX(0)  !important;
    transition: 0;
}

.postbox .inside{
    padding: 0 1em 1em 1em !important;
    border: none !important;
    margin-top: 0 !important;
}

.post-new-php .postbox .inside,
.post-php .postbox .inside{
    padding-top: 1em !important;
}

.wp-die-message, p{
    margin-top: 0em !important;
}

.custom-column-title{
    margin: 1em 1em 1em 0.5em !important;
}

#dashboard-widgets-wrap .custom-column-title{
    margin-top: 0 !important;
    margin-bottom: 0.75em !important;
}

#dashboard-widgets a.button{
    border-radius: 0 !important;
    background: #fff;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 3px !important;
    overflow: hidden;
}

#dashboard-widgets a.button-primary{
    border-radius: 3px !important;
    background: #2271b1;
    outline: none !important;
    box-shadow: none !important;
}

#dashboard-widgets #postbox-container-4.postbox-container .custom-column-title{
    padding-left: 0 !important;
}

#dashboard-widgets #postbox-container-4 .postbox{
    margin-bottom: 0 !important;
    max-height: 42px;
}

#dashboard-widgets .dash-widget-actions{
    z-index: 99;
    position: relative;
}

.wtu-edit-modal-content{
    max-width: 95vw;
}

.metform-modal-main{
    height: 100% !important;
}

.metform-templates-grid{
    grid-template-columns: repeat(2, 1fr) !important;
}

.metform-template-card{
    height: auto !important;
}

.metform-modal-sidebar{
    display: none !important;
}

.post-type-metform-entry .wrap .wp-heading-inline+.page-title-action{
    top: -7px;
}

/* Form-Elemente auf gleiche Höhe wie Buttons */
select,
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
    height: 32px !important;
    line-height: 1em !important;
}

.post-type-elementor_library select.wtu-status-filter-dropdown{
    min-width: 160px !important;
    max-width: 160px !important;
    bottom: -54px;
    margin-bottom: -62px;
}

textarea {
    height: auto !important;
    line-height: 1.5 !important;
}

/* Sidebar-offener Zustand: Content verschieben */
#wpwrap {
    transition: margin-left 0.3s ease-in-out;
}
body.wtu-sidebar-open #wpwrap {
    margin-left: 250px;
}
body.wtu-sidebar-open #wpbody-content {
    max-width: calc(100vw - 250px - 4em) !important;
}

.wp-list-table a.row-title:hover,
#postbox-container-4 h2:hover{
    color: #1db8ff !important;
}

.mf-entry-filter{
    margin-bottom: 0 !important;
    padding: 6px !important;
}

#elementor-import-template-trigger{
    float: right;
    margin-top: 10px;
}

#elementor-template-library-tabs-wrapper{
    transform: translateY(0px) translateX(-6px);
}

.nav-tab{
    background: #ecf3f9;
    color: #2271b1;
    border-color: #2271b1;
    border-bottom: 1px solid #2271b1 !important;
}

.nav-tab-wrapper{
    border: none;
}

.nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover{
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
    border: 1px solid #2271b1;
}

.nav-tab:focus, .nav-tab:hover,
.nav-tab-active:focus, .nav-tab-active:focus:active{
    background-color: #1db8ff;
    border-color: #1db8ff;
    color: #fff;
}

body.post-type-elementor_library #editor-one-top-bar{
    display: none;
}

.rwmb-settings-form p.submit{
    position: relative;
    margin-top: 5px !important;
    float: right;
}

/* #dashboard_widget_game::before{
    background: url(../images/widgets/game.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_page::before{
    background: url(../images/widgets/page.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_team::before{
    background: url(../images/widgets/team.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_sponsor::before{
    background: url(../images/widgets/sponsor.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_tournament::before{
    background: url(../images/widgets/tournament.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_member::before{
    background: url(../images/widgets/member.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_training::before{
    background: url(../images/widgets/training.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_post::before{
    background: url(../images/widgets/post.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_job::before{
    background: url(../images/widgets/job.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_announcement::before{
    background: url(../images/widgets/announcement.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_event::before{
    background: url(../images/widgets/event.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_club::before{
    background: url(../images/widgets/club.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_address::before{
    background: url(../images/widgets/address.png) right center no-repeat;
    background-size: contain;
}

#dashboard_widget_ticket::before{
    background: url(../images/widgets/ticket.png) right center no-repeat;
    background-size: contain;
} */

#dashboard-widgets-wrap #postbox-container-1 .postbox{
    /* background: url(../images/widgets/team.png) right center no-repeat !important;
    background-size: contain !important; */
    overflow: hidden;
    transition: 0.3s;
    transform: scale(1);
    padding: 0.5em !important;
    border-radius: 5px;
    transition: 0.15;
}

#dashboard-widgets-wrap #postbox-container-1 .postbox:hover{
    box-shadow: 0 0 15px #2371b155 !important;
}

#dashboard-widgets-wrap #postbox-container-1 .postbox .postbox-header,
#postbox-container-1 .postbox .inside{
    position: relative;
    z-index: 99;
}

#dashboard-widgets-wrap #postbox-container-1 .postbox::before{
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 5;
    transition: 0.5s;
    transform: scale(1);
    transform-origin: center right;
}

#dashboard-widgets-wrap #postbox-container-1 .postbox:hover::before{
    opacity: 1;
    transition: 0.5s;
    transition: 0.125;
}

#dashboard-widgets-wrap #postbox-container-1 .postbox::after{
    content: '';
    background: #ffffff;
    background: linear-gradient(90deg,rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    top: 40px;
    right: 0;
    display: block;
    width: 40px;
    height: 30px;
    margin-top: -50px;
    transform: rotate(205deg);
    z-index: 9;
    transition: 1.5s;
    opacity: 0;
}

#dashboard-widgets-wrap #postbox-container-1 .postbox:hover::after{
    opacity: 1;
    width: 410px;
    height: 370px;
    right: -120px;
    top: 30px;
}

.postbox-header{
    position: relative;
    z-index: 9;
}

.postbox h2{
    transition: 0.25s;
}

.wp-list-table a.row-title,
.postbox h2{
    color: #2271b1 !important;
    font-size: 30px;
}

#post-body .postbox-header{
    border-top: none !important;
}

.metabox-holder .postbox>h3, .metabox-holder .stuffbox>h3, .metabox-holder h2.hndle, .metabox-holder h3.hndle{
    font-size: 15px !important;
}

#update-nav-menu ul.menu{
    max-width: 500px;
}

body.nav-menus-php #menu-to-edit .menu-item-bar:first-child .menu-item-handle{
    border-radius: 4px;
    overflow: hidden;
}

#update-nav-menu .menu li{
    border-radius: 4px !important;
}

.nav-menus-php .item-edit:before{
    margin-top: 0;
    margin-right: 5px;
    margin-left: 0;
}

body.nav-menus-php #menu-to-edit .item-edit{
    width: 35px !important;
    position: relative;
    z-index: 999;
}

.menu-item-handle .item-title{
    min-width: 100% !important;
}

body.nav-menus-php #menu-to-edit .menu-item-handle .item-controls{
    gap: 0 !important;
}

.menu-item-handle{
    background-color: #2271b1;
}

.menu-item-handle *,
.menu-item-handle *::before{
    color: #fff;
}

.menu-item-handle:hover{
    background-color: #00bfff;
}

#menu-to-edit .menu-item-depth-1 > .menu-item-bar::before, 
#menu-to-edit .menu-item-depth-2 > .menu-item-bar::before, 
#menu-to-edit .menu-item-depth-3 > .menu-item-bar::before, 
#menu-to-edit .menu-item-depth-4 > .menu-item-bar::before, 
#menu-to-edit .menu-item-depth-5 > .menu-item-bar::before, 
#menu-to-edit .menu-item-depth-6 > .menu-item-bar::before, 
#menu-to-edit .menu-item-depth-7 > .menu-item-bar::before{
    content: '└→' !important;
    margin-top: -1px;
    margin-left: -8px;
}

.menu-item-handle:hover .menu-item-bar::before{
    color: #00bfff !important;
}

#menu-to-edit .menu-item-depth-1 > .menu-item-bar .menu-item-handle {
    background: #f3f3f3
}

#menu-to-edit .menu-item-depth-1 > .menu-item-bar .menu-item-handle *,
#menu-to-edit .menu-item-depth-1 > .menu-item-bar .menu-item-handle *::before,
#menu-to-edit .menu-item-depth-2 > .menu-item-bar .menu-item-handle *,
#menu-to-edit .menu-item-depth-2 > .menu-item-bar .menu-item-handle *::before,
#menu-to-edit .menu-item-depth-3 > .menu-item-bar .menu-item-handle *,
#menu-to-edit .menu-item-depth-3 > .menu-item-bar .menu-item-handle *::before,
#menu-to-edit .menu-item-depth-4 > .menu-item-bar .menu-item-handle *,
#menu-to-edit .menu-item-depth-4 > .menu-item-bar .menu-item-handle *::before,
#menu-to-edit .menu-item-depth-5 > .menu-item-bar .menu-item-handle *,
#menu-to-edit .menu-item-depth-5 > .menu-item-bar .menu-item-handle *::before,
#menu-to-edit .menu-item-depth-6 > .menu-item-bar .menu-item-handle *,
#menu-to-edit .menu-item-depth-6 > .menu-item-bar .menu-item-handle *::before,
#menu-to-edit .menu-item-depth-7 > .menu-item-bar .menu-item-handle *,
#menu-to-edit .menu-item-depth-7 > .menu-item-bar .menu-item-handle *::before{
    color: #222;
}

#menu-to-edit .menu-item-depth-2 > .menu-item-bar .menu-item-handle,
#menu-to-edit .menu-item-depth-3 > .menu-item-bar .menu-item-handle,
#menu-to-edit .menu-item-depth-4 > .menu-item-bar .menu-item-handle,
#menu-to-edit .menu-item-depth-5 > .menu-item-bar .menu-item-handle,
#menu-to-edit .menu-item-depth-6 > .menu-item-bar .menu-item-handle,
#menu-to-edit .menu-item-depth-7 > .menu-item-bar .menu-item-handle {
    background: #fff
}

.menu-item-handle:hover{
    background-color: #00bfff !important;
}

#menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle *,
#menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle *::before,
.menu-item-handle:hover *,
.menu-item-handle:hover *::before{
    color: #fff !important;
}

.menu-item-handle:hover .menu-item-bar::before{
    color: #00bfff !important;
}

.menu-item-settings{
    max-width: 100% !important;
}

.nav-menus-php #post-body{
    border: none !important;
}

.section-title:after,
#nav-menu-footer{
    display: none;
}

.nav-menus-php .wrap{
    max-width: 800px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

@media (max-width: 1500px){
    #dashboard-widgets #postbox-container-1 .meta-box-sortables{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px){
    #dashboard-widgets-wrap #dashboard-widgets{
        display: block;
    }

    #dashboard-widgets #postbox-container-1,
    #dashboard-widgets #postbox-container-4{
        width: 100%;
        min-width: 0;
    }

    #dashboard-widgets #postbox-container-1 .meta-box-sortables{
        grid-template-columns: 1fr;
    }

    #dashboard-widgets #postbox-container-4.postbox-container .meta-box-sortables,
    #dashboard-widgets #postbox-container-4.postbox-container .custom-column-title{
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

.dash-widget .dashicons,
.dash-widget [class*="wtu-"] {
    position: absolute;
    transform: scale(2.25);
    right: 1em;
    top: -0.5em;
    opacity: 0.25;
    color: #2271b1;
    transition: 0.3s;
}

.postbox:hover [class*="wtu-"]{
    opacity: 1;
}

.dash-widget .widget-inner{
    min-height: 60px;
}

.widefat thead td.check-column{
    max-width: 30px !important;
}

.post-php #elementor-editor,
.post-php-new #elementor-editor,
.metform-template-card .overlay-button.overlay-button-preview,
.metform-template-card:has(span.metform-template-badge),
.request_browser_info-label,
#wp-content-media-buttons,
#postcustom,
.post-type-page .column-featured_image,
.post-type-mb-post-type .column-featured_image,
#minor-publishing-actions{
    display: none !important;
}

.dash-widget .widget-inner *,
.dash-widget .widget-inner p,
#dashboard-widgets .postbox .inside .widget-inner,
#dashboard-widgets .postbox .inside .widget-inner *,
a.dash-widget,
a.dash-widget * {
    text-decoration: none !important;
    color: #222 !important;
}

#dashboard-widgets .postbox .widget-inner{
    max-width: 80%;
    width: 80% !important;
}

body.wp-admin{
    max-width: 1600px;
    margin: 0 auto;
    overflow-x: hidden;
    padding-top: 2em;
}

body.wp-admin #dashboard-widgets #postbox-container-4 .dash-widget [class*="wtu-"]{
    display: none;
}

body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_wtu,
body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_administration,
body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_request,
body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_media{
    margin-bottom: 1em !important;
    border-radius: 5px;
}

body #dashboard-widgets #postbox-container-4 .postbox.open,
body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_wtu,
body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_media{
    max-height: inherit !important;
}

body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_administration,
body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_request{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

body.wp-admin #dashboard-widgets #postbox-container-4 #dashboard_widget_wtu{
    margin-top: 1em !important;
}

.editor-header__settings .components-button.is-primary:hover {
    background: red !important;
}

#postdivrich{
    z-index: 1;
    position: relative;
}

.wp-core-ui .notice.is-dismissible,
.editor-header__settings{
    padding: 0 !important;
}

.components-modal__header-heading-container{
    opacity: 0;
}

#poststuff .inside{
    background-color: #f9f9f9;
}

#post-status-info{
    margin: 0 !important;
    max-width: 100% !important;
}
#wp-content-wrap{
    padding-left: 1em !important;
    padding-right: 1em !important;
    padding-left: 0em !important;
    padding-right: 0em !important;
}

#wp-content-editor-tools,
#wp-content-wrap{
    background-color: #fff !important;
}
#edit-slug-box{
    margin: 0 !important;
}
#edit-slug-box{
    padding: 0 0 1em 0 !important;
    border: 1px solid #ccc;
    padding: 0.5em !important;

}
#titlediv{
    margin-top: 0.5em !important;
}

#titlediv #title{
    border-radius: 2px !important;
}

#titlewrap{
    padding: 1em 0 !important;
}

.mic-settings-table-wrapper .wp-list-table select, .mic-settings-table-wrapper .wp-list-table input[type="text"]{
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

#elementor-switch-mode{
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: calc(100% - 280px);
    border-bottom: 1px solid #ddd !important;
    box-shadow: 0 0 25px rgba(0, 0, 0, .15);
    z-index: 101;
    background: #fff;
}

#dashboard-button{
    width: 54px;
    height: 54px;
    overflow: hidden;;
    text-align: center;
}

#dashboard-button img{
    max-height: 32px;
    padding: 10px;
}

#major-publishing-actions #delete-action{
    text-align: center;
    width: 100%;
    z-index: 999;
}

#publishing-action{
    position: absolute;
}

.edit-tags-php .tablenav{
    padding-top: 40px;
}

/* .MuiToolbar-root, */
body.post-new-php a.page-title-action,
body.post-php a.page-title-action,
body.edit-php a.page-title-action,
.rank-math-header,
.rank-math-breadcrumbs-wrap,
#rank-math-unlock-pro-notice,
#edit-slug-box:empty,
#edit-slug-box:not(:has(*)),
.rank-math-column-display.schema-type,
.eps-app .eps-app__header,
.mce-statusbar,
button.handle-order-higher,
button.handle-order-lower,
.is-root-container,
button[aria-controls="edit-post:document"],
[data-tab-id="edit-post/block"],
.block-editor-block-contextual-toolbar .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group:first-child,
.block-editor-block-contextual-toolbar .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group:first-child,
.block-editor-block-contextual-toolbar .block-editor-block-toolbar div:first-child,
.block-editor-block-contextual-toolbar .block-editor-block-toolbar > div.components-toolbar-group,
.components-h-stack.editor-post-panel__row:nth-child(4),
.editor-all-actions-button,
.components-dropdown.components-dropdown-menu,
.edit-post-meta-boxes-main__presenter,
.interface-pinned-items,
.editor-preview-dropdown__toggle,
.editor-header__center,
.editor-document-tools__left,
#loginpress-show-love{
    display: none !important;
}

.wp-editor-tabs{
    float: left !important;
}

body.post-php #wpwrap {
    padding: 0em !important;
    width: auto;
}

#post-body-content{
    margin-bottom: 1.5em !important;
    margin-bottom: 0 !important; /* Standard Post Edit Mask */
    margin-left: 0em !important;
    margin-right: 0em !important;
    width: 100% !important;
}

body{
    background: #fff;
}

#post-body.columns-2 #postbox-container-1{
    width: 299px !important;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    z-index: 999; */
}

#wp-content-editor-tools{
    padding-top: 0 !important;
}

#poststuff #post-body.columns-2 {
    margin-right: 280px;
}

#poststuff br.clear{
    display: none;
}

body.post-new-php #poststuff #post-body,
body.post-php #poststuff #post-body,
body.post-new-php #post-body.columns-2 #postbox-container-1,
body.post-php #post-body.columns-2 #postbox-container-1,
body.post-new-php #wpbody-content,
body.post-php #wpbody-content {
    overflow: visible !important;
    /* max-height: none !important;
    height: auto !important;
    min-height: calc(100vh - 54px); */
}

body.post-new-php #postbox-container-1,
body.post-php #postbox-container-1,
body.post-new-php #postbox-container-1 .meta-box-sortables,
body.post-php #postbox-container-1 .meta-box-sortables {
    overflow-y: visible !important;
    overflow-x: visible !important;
    max-height: none !important;
    height: auto !important;
    position: relative !important;
}

body.post-new-php #wpfooter,
body.post-php #wpfooter {
    clear: both;
    display: none;
}

/* Post-Editor: Float-Spalten sauber clearen, damit kein zweiter Scroll-Container entsteht */
body.post-new-php #poststuff::after,
body.post-php #poststuff::after {
    content: "";
    display: block;
    clear: both;
}

.notice, div.error, div.updated,
.media-upload-form .notice, .media-upload-form div.error, .wrap .notice, .wrap div.error, .wrap div.updated{
    margin: 0 !important;
    z-index: 9;
}

.wp-core-ui .notice.is-dismissible, .editor-header__settings,
.notice, div.error, div.updated{
    padding: 0.5em 3em 0.5em 1em !important;
}

.media-upload-form .notice, .media-upload-form div.error, .wrap .notice, .wrap div.error, .wrap div.updated,
.postbox, .stuffbox{
    margin-bottom: -1px;
    z-index: 98;
}

.comment-ays, .feature-filter, .popular-tags, .stuffbox, .widgets-holder-wrap, .wp-editor-container, p.popular-tags, table.widefat{
    background-color: #ffffff99;
}

.striped>tbody>:nth-child(even), ul.striped>:nth-child(even){
    background-color: #ffffff33;
}

.alternate, .striped>tbody>:nth-child(odd), ul.striped>:nth-child(odd){
    background-color: #ecf3f966;
}

.striped>tbody>:nth-child(even):hover, ul.striped>:nth-child(even):hover{
    background-color: #ffffff;
}

.alternate, .striped>tbody>:nth-child(odd):hover, ul.striped>:nth-child(odd):hover{
    background-color: #ecf3f9;
}

.litespeed_icon:before{
    display: none !important;
}

.profile-php .rank-math-metabox-frame,
#screen-options-link-wrap,
#adminmenumain,
#adminmenuwrap,
#adminmenu {
    display: none !important;
}

form#your-profile{
    padding: 2em;
    background-color: #fff;
}

#profile-page{
    max-width: 1000px;
}

#notice-wrapper{
    position: fixed;
    z-index: 999;
    left: auto;
    right: auto;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    width: calc(100vw - 2em); 
    padding: 1em;  
    left: 0;
    top: 0;
}

.notice-inner{
    max-width: 800px;
    margin: 0 auto;
    top: 25%;
    transform: translate(-50%);
    position: fixed;
    left: 50%;
    border-radius: 10px;
    overflow: hidden;
}

#menu-management .menu-edit, #menu-settings-column .accordion-container, .comment-ays, .feature-filter, .manage-menus, .menu-item-handle, .popular-tags, .stuffbox, .widget-inside, .widget-top, .widgets-holder-wrap, .wp-editor-container, p.popular-tags, table.widefat{
    border: none !important;
}

#wpcontent,
#wpfooter {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

html.wp-toolbar {
    padding-top: 0 !important;
}

body h1.wp-login-logo{
    width: auto !important;
    margin: 0 auto !important;
    left: 50%;
    transform: translateX(-50%);
    top: -1.5em !important;
    min-width: 84px !important;
}

.login .message, .login .success, .login .custom-message{
    position: fixed;
    top: 0 !important;
    bottom: auto !important;
    width: 100%;
    left: 0;
}

body.interim-login h1.wp-login-logo{
    top: -.5em !important;
}

body #wp-auth-check{
    border-radius: 15px !important;
    overflow: hidden !important;
}

body #wp-auth-check-wrap #wp-auth-check{
    padding-top: 0 !important;
}

body #wp-auth-check-wrap #wp-auth-check-form{
    overflow: hidden !important;
}

body #wp-auth-check button{
    display: block !important;
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    display: none !important;
}

.wp-core-ui .button-group.button-hero .button, .wp-core-ui .button.button-hero{
    border-radius: 0 !important;
    height: 54px !important;
}

body .error p,
body .login p,
body #login-error p,
body #login-message p{
    font-size: 15px !important;
    z-index: 99;
    position: relative;
}

body.interim-login.login{
    min-height: 520px !important;
}

body.interim-login.login #login{
    margin-bottom: 0 !important;
    padding-bottom: 10px !important;
}

body #login-message,
body .interim-login #login_error, .interim-login.login .message{
    margin: 0 !important;
    top: 0em !important;
    bottom: auto !important;
}

body #wp-auth-check-wrap #wp-auth-check-form iframe{
    overflow: hidden !important;
    height: 100% !important;
}

.edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__view-mode-toggle-icon img, 
.edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__view-mode-toggle-icon svg{
    background: #fff !important;
    margin: 10px !important;
}

.edit-post-fullscreen-mode-close-site-icon__image{
    background: #fff !important;
    object-fit: contain !important;
    margin: 5px !important;
    width: 75% !important;
    height: 75% !important;
}

#all-plugins-table .plugins a.delete, #delete-link a.delete, #media-items a.delete, #media-items a.delete-permanently, #nav-menu-footer .menu-delete, #search-plugins-table .plugins a.delete, .plugins a.delete, .privacy_requests .remove-personal-data .remove-personal-data-handle, .row-actions span.delete a, .row-actions span.spam a, .row-actions span.trash a, .submitbox .submitdelete, a#remove-post-thumbnail{
    color: rgb(188, 0, 144) !important;
}

ul.subsubsub{
    visibility: hidden;
}

.search-box{
    transform: translateY(48px);
}

.wtu-status-filter-dropdown{
    margin-left: 100%;
    transform: translateX(-100%) translateY(0px);
    float: none !important;
}

.wp-core-ui .button{
    border-radius: 0 !important;
}

.wp-core-ui .button.cancel{
    color: rgb(188, 0, 144) !important;
    border-color: rgb(188, 0, 144) !important;
    background-color: #fff;
    border-radius: 0 !important;
}

.wp-core-ui .button, .wp-core-ui .button{
    transition: 0.25s !important;
    font-size: 13px;
    padding: 1px 10px;
}

.wp-core-ui .button-secondary{
    border-radius: 0 !important;
    background: #fff;
    color: #2271b1 !important;
    border-color: #2271b1 !important;
}

.wp-core-ui .button-tertiary{
    border-radius: 0 !important;
    background: #2989d7 !important;
    border-color: #2989d7 !important;
    color: #fff !important;
}

.wp-core-ui .button:hover, .wp-core-ui .button-secondary:hover{
    border-radius: 0 !important;
    background: #1db8ff !important;
    border-color: #1db8ff !important;
    color: #fff !important;
}

.wp-core-ui .button.cancel:hover{
    background-color: rgb(188, 0, 144) !important;
    border-radius: 0 !important;
    color: #fff !important;
}

#mb-app{
    left: 0 !important;
}

.og.mb{
    margin-top: 2em !important;
}

#mb-app{
    left: 0 !important;
}

.og.mb{
    margin-top: 2em !important;
}

.wrap .add-new-h2, .wrap .add-new-h2:active, .wrap .page-title-action, .wrap .page-title-action:active,
.paging-input input{
    border-radius: 0 !important;
}

#wp-media-grid .page-title-action{
    display: none;
}

a.page-title-action::before {
    content: "+ ";
}

#posts-filter{
    margin-top: -40px;
}

.notice-inner { 
    min-width: 800px;
    border-radius: 8px;
}

/* FileBird specific */
body.filebird-upload-php #wpbody-content{
    padding: 0 !important;
    margin-top: 40px !important;
    background-color: #fff !important;
}

#team-category-adder,
.fb-toolbar [data-state="closed"],
.fb-tree-treenode[data-id="65"],
#wp-media-grid h1.wp-heading-inline,
#e-image-ai-media-library,
#filebird-root .fb-flex .fb-header{
    display: none !important;
}

#filebird-root{
    border-right: 1px solid #ddd;
    margin-left: var(--wtu-sidebar-width);
    margin-right: - var(--wtu-sidebar-width);
    transition: 0.3s;
}

#filebird-root .fb-flex div{
    background-color: #fff !important;
}

#filebird-root .fb-toolbar{
    margin-right: 0 !important;
}

#filebird-root{
    background-color: #fff !important;
    margin-top: 54px !important;
    z-index: 99 !important;
    height: 100vh !important;
}

#filebird-root .fb-cursor-col-resize{
    display: none;
    margin-left: -3px;
}

#filebird-root .fb-toolbar{
    border: none !important;
}

#filebird-root .fb-border-solid,
body.filebird-upload-php .media-toolbar{
    margin: 0 !important;
}

#filebird-root .fb-border-solid{
    width: 100% !important;
}

#filebird-root .fb-search-bar{
    margin-left: 1em !important;
    margin-bottom: 1em !important;
}

#wp-media-grid{
    margin-top: 0 !important;
}

#fbv-breadcrumb{
    margin-top: -6px;
}

body.filebird-upload-php .media-toolbar.wp-filter,
#fbv-breadcrumb ul{
    border-left: none !important;
    border-right: none !important;
}

body.filebird-upload-php [dir=ltr] .fb-m-\[8px_16px_8px_0\]{
    margin-right: 0 !important;
}

body.filebird-upload-php .attachments-wrapper{
    padding: 2em !important;
}

#wp-media-grid{
    max-width: 100% !important;
}

/* ─── Dashboard-Widgets ─── */
body.index-php .wrap { opacity: 0; transition: .15s; }
.dash-widget { display: flex; gap: 12px; }
.wtu-postbox-link { cursor: pointer; }
.wtu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    flex-shrink: 0;
}

.dash-widget .dashicons, .dash-widget [class*="wtu-"], .dash-widget .wtu-icon { font-size: 28px; }
.custom-column-title [class*="wtu-"], .custom-column-title .wtu-icon { font-size: 18px; vertical-align: middle; }
.dash-widget-title { font-weight: 600; margin-bottom: 4px; }
.dash-widget-actions { display: flex; gap: 6px; }
.dash-widget-actions .button,
.dash-widget-actions .button.button-primary {
    background: #ecf3f9 !important;
    color: #2271b1 !important;
    border: none !important; /* 1px solid #e1e9ef !important; */
    padding: 1px 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    overflow: hidden;
}
.dash-widget-actions .button:hover,
.dash-widget-actions .button.button-primary:hover {
    background: #2271b1 !important;
    color: #fff !important;
    border-color: #2271b1 !important;
}
.dash-widget-actions .button:focus,
.dash-widget-actions .button.button-primary:focus,
.dash-widget-actions .button:focus-visible,
.dash-widget-actions .button.button-primary:focus-visible {
    background: #1db8ff !important;
    color: #fff !important;
    border-color: #1db8ff !important;
    box-shadow: none !important;
    outline: none !important;
}
.dash-widget-actions .button .wtu-icon {
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    margin: -6px 4px -4px -10px;
    padding: 12px 9px 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e1eef8;
    color: #2271b1;
    transition: background .25s, color .25s;
    border: none !important;
    height: 25px;
    font-weight: 800;
    letter-spacing: -0.0125em;
}
.dash-widget-actions .button:hover .wtu-icon,
.dash-widget-actions .button:focus .wtu-icon,
.dash-widget-actions .button:focus-visible .wtu-icon {
    background: rgba(255,255,255,.16);
    color: #fff;
}
.dash-widget-actions .button .wtu-icon svg{
    margin-top: 4px;
}
.custom-column-title { font-size: 16px; font-weight: 500; margin: 0 0 10px; display: flex; gap: 6px; }

.settings-box .inside {
    display: block !important;
    max-height: 0;
    margin: 0 !important;
    padding: 0 1em !important;
    transition: max-height .3s ease, padding .3s ease;
}
.settings-box.open .inside {
    padding: 12px !important;
}

/* ─── Spalten-Breiten ─── */
.column-club_logo { width: 70px; }
.column-featured_image { width: 50px; }
.column-featured_image img { border-radius: 4px; display: inline-block; margin-right: 4px; }
.wtu-muted-dash { color: #999; }
.wtu-no-image { color: #ccc; font-size: 11px; }
.wtu-image-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}
.wtu-image-thumb-cover { object-fit: cover; }
.wtu-image-thumb-contain { object-fit: contain; }
.wtu-image-thumb-fallback { opacity: .4; }
.wtu-sticky-label { margin-left: 10px; }
.wtu-admin-overview-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
}
.wtu-admin-overview-icon-image {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

body.elementor-editor-active #elementor-switch-mode-button{
    height: 50px !important;
}

/* ─── Sidebar Toggle ─── */
#wtu-sidebar-toggle {
    height: 54px;
    line-height: 54px;
    padding: 0 20px;
    color: #2271b1;
    background: #ecf3f9;
    border: none;
    border-left: 1px solid #f9f9f9;
    border-radius: 0;
    cursor: pointer;
    transition: .25s;
    display: flex;
    align-items: center;
    gap: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;

    border-radius: 4px;
    margin: 10px 4px 10px 6px;
    height: 40px;
    overflow: hidden;
}

#wtu-sidebar-toggle > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 54px;
    margin-left: -20px;
    margin-right: 10px;
    margin-top: -2px;
    padding-bottom: 2px;
    background: #e1eef8;
    font-size: 24px;
    line-height: 1;
    /* transition: background .25s; */
}
#wtu-sidebar-toggle:hover {
    color: #fff;
    background-color: #2271b1;
}
#wtu-sidebar-toggle:hover > span:first-child {
    background: rgba(255,255,255,.16);
}

#wtu-sidebar-toggle:focus > span:first-child {
    background: rgba(255,255,255,.16);
}

#wtu-content-sidebar {
    position: fixed;
    top: 54px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 54px);
    background: #fff;
    border-right: 1px solid #ddd;
    box-shadow: 2px 0 5px rgba(0,0,0,.1);
    z-index: 999 !important;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
}

body #wpcontent::after{
    width: 0px;
    content: '';
    display: block;
    transition: 0.5s;
    top: 0; 
    left: 0;
    z-index: 999;
    position: fixed;
    
}

body.wtu-sidebar-open #wpcontent::after{
    background-color: #084a8466;
    width: 100vw;
    height: 100vw;
}

#wtu-content-sidebar.is-open {
    left: 0;
}
#wtu-content-sidebar .wtu-sidebar-row {
    display: flex;
    align-items: stretch;
}
#wtu-content-sidebar .wtu-sidebar-item,
#wtu-content-sidebar .wtu-sidebar-add {
    color: #222 !important;
    background: transparent !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    transition: all 0.25s ease !important;
    -webkit-font-smoothing: antialiased !important;
}
#wtu-content-sidebar .wtu-sidebar-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    text-decoration: none;
}
#wtu-content-sidebar .wtu-sidebar-add {
    width: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 28px !important;
    font-weight: 300 !important;
}

/* Post editor refresh: content area only (post.php / post-new.php) */
body.post-php,
body.post-new-php {
    --wtu-post-bg: #f4f7fc;
    --wtu-post-card: #ffffff;
    --wtu-post-border: #dbe4f2;
    --wtu-post-text: #16315d;
    --wtu-post-muted: #51607f;
}

body.post-php #wpbody-content,
body.post-new-php #wpbody-content {
    background: linear-gradient(180deg, #f4f7fc 0%, #f8fbff 100%);
    padding: 22px 34px 34px !important;
    margin-top: 0 !important;
    max-width: none !important;
}

body.post-php #wpbody-content > .wrap,
body.post-new-php #wpbody-content > .wrap {
    max-width: 1600px;
    margin: 0 auto !important;
}

body.post-php .wrap > h1.wp-heading-inline,
body.post-new-php .wrap > h1.wp-heading-inline {
    color: var(--wtu-post-text);
    font-size: 40px;
    font-weight: 700;
    margin: 6px 0 18px;
    line-height: 1.1;
}

body.post-php #poststuff,
body.post-new-php #poststuff {
    margin-top: 0 !important;
}

body.post-php #poststuff #post-body.columns-2,
body.post-new-php #poststuff #post-body.columns-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 20px;
    margin-right: 0 !important;
}

body.post-php #post-body-content,
body.post-new-php #post-body-content,
body.post-php #post-body.columns-2 #postbox-container-1,
body.post-new-php #post-body.columns-2 #postbox-container-1 {
    float: none;
    width: auto !important;
    margin: 0 !important;
    border: none !important;
}

body.post-php #titlediv,
body.post-new-php #titlediv {
    margin-bottom: 14px;
}

body.post-php #titlediv #title,
body.post-new-php #titlediv #title {
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--wtu-post-border);
    background: var(--wtu-post-card);
    color: var(--wtu-post-text);
    font-size: 28px;
    padding: 0 14px;
    box-shadow: none;
}

body.post-php #titlediv #title:focus,
body.post-new-php #titlediv #title:focus {
    border-color: #84a6d9;
    box-shadow: 0 0 0 2px rgba(20, 87, 185, 0.14);
}

body.post-php #elementor-switch-mode,
body.post-new-php #elementor-switch-mode {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    margin: 0 0 14px !important;
    border: 1px solid var(--wtu-post-border) !important;
    border-radius: 10px;
    box-shadow: none;
}

body.post-php #postdivrich,
body.post-new-php #postdivrich {
    border: 1px solid var(--wtu-post-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--wtu-post-card);
}

body.post-php #wp-content-wrap,
body.post-new-php #wp-content-wrap {
    padding-top: 0 !important;
}

body.post-php #wp-content-editor-tools,
body.post-new-php #wp-content-editor-tools {
    position: static !important;
    top: auto !important;
    width: auto !important;
    border-bottom: 1px solid var(--wtu-post-border);
    background: #f8fbff;
    padding: 8px 10px !important;
}

body.post-php #wp-content-editor-container,
body.post-new-php #wp-content-editor-container {
    border: 0 !important;
}

body.post-php #wp-content-editor-container textarea,
body.post-new-php #wp-content-editor-container textarea,
body.post-php #content_ifr,
body.post-new-php #content_ifr {
    min-height: 300px;
}

body.post-php #post-status-info,
body.post-new-php #post-status-info {
    border-top: 1px solid var(--wtu-post-border);
    background: #f8fbff;
    color: var(--wtu-post-muted);
}

body.post-php #poststuff .postbox,
body.post-new-php #poststuff .postbox {
    border: 1px solid var(--wtu-post-border) !important;
    border-radius: 10px;
    background: var(--wtu-post-card);
    box-shadow: 0 2px 8px rgba(22, 49, 93, 0.05);
    margin: 0 0 10px;
    overflow: hidden;
}

body.post-php #poststuff .postbox .postbox-header,
body.post-new-php #poststuff .postbox .postbox-header {
    border: 0 !important;
    border-bottom: 1px solid var(--wtu-post-border) !important;
    min-height: 50px;
    padding: 0 8px 0 12px;
    background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

body.post-php #poststuff .postbox .hndle,
body.post-new-php #poststuff .postbox .hndle {
    color: #245baf;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    padding: 10px 0;
}

body.post-php #poststuff .postbox .inside,
body.post-new-php #poststuff .postbox .inside {
    padding: 12px 14px 14px !important;
    color: var(--wtu-post-muted);
}

body.post-php #minor-publishing-actions,
body.post-new-php #minor-publishing-actions,
body.post-php #misc-publishing-actions,
body.post-new-php #misc-publishing-actions {
    border: 0;
}

body.post-php #submitdiv #publish,
body.post-new-php #submitdiv #publish {
    display: inline-block !important;
}

body.post-php #major-publishing-actions input,
body.post-new-php #major-publishing-actions input,
body.post-php #minor-publishing-actions .preview,
body.post-new-php #minor-publishing-actions .preview,
body.post-php #minor-publishing-actions input,
body.post-new-php #minor-publishing-actions input {
    position: static !important;
    top: auto !important;
    right: auto !important;
    height: 38px !important;
    width: auto !important;
    min-width: 132px;
    max-width: none !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    box-shadow: none !important;
}

body.post-php #major-publishing-actions #publishing-action input,
body.post-new-php #major-publishing-actions #publishing-action input {
    width: 100% !important;
}

body.post-php #publishing-action,
body.post-new-php #publishing-action {
    position: static;
    width: 100%;
}

body.post-php .categorydiv .tabs-panel,
body.post-new-php .categorydiv .tabs-panel {
    border: 1px solid var(--wtu-post-border);
    border-radius: 8px;
    background: #fbfdff;
    padding: 8px 10px;
}

body.post-php .categorydiv .category-tabs a,
body.post-new-php .categorydiv .category-tabs a {
    color: #2b5fb1;
}

body.post-php .rwmb-meta-box .rwmb-label label,
body.post-new-php .rwmb-meta-box .rwmb-label label {
    color: var(--wtu-post-text);
    font-weight: 600;
}

body.post-php .rwmb-input input[type="text"],
body.post-php .rwmb-input textarea,
body.post-new-php .rwmb-input input[type="text"],
body.post-new-php .rwmb-input textarea,
body.post-php #excerpt,
body.post-new-php #excerpt {
    border-radius: 8px;
    border-color: var(--wtu-post-border);
}

@media (max-width: 1080px) {
    body.post-php #wpbody-content,
    body.post-new-php #wpbody-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.post-php #poststuff #post-body.columns-2,
    body.post-new-php #poststuff #post-body.columns-2 {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 14px;
    }
}
#wtu-content-sidebar .wtu-sidebar-label {
    color: inherit;
}
#wtu-content-sidebar .wtu-sidebar-icon {
    flex-shrink: 0;
}
#wtu-content-sidebar .wtu-sidebar-row:nth-child(odd) .wtu-sidebar-item,
#wtu-content-sidebar .wtu-sidebar-row:nth-child(odd) .wtu-sidebar-add {
    background: #fff !important;
}
#wtu-content-sidebar .wtu-sidebar-row:nth-child(even) .wtu-sidebar-item,
#wtu-content-sidebar .wtu-sidebar-row:nth-child(even) .wtu-sidebar-add {
    background: #f3f8fc !important;
}
#wtu-content-sidebar .wtu-sidebar-item:hover {
    background: #2271b1 !important;
}
#wtu-content-sidebar .wtu-sidebar-add:hover {
    background: #deebf6 !important;
    color: #2271b1 !important;
}
#wtu-content-sidebar .wtu-sidebar-item:focus,
#wtu-content-sidebar .wtu-sidebar-add:focus {
    background: #1db8ff !important;
    color: #fff !important;
    outline: none;
}
#wtu-content-sidebar .wtu-sidebar-row.is-active .wtu-sidebar-item,
#wtu-content-sidebar .wtu-sidebar-item.wtu-sidebar-active {
    background: #fff !important;
    color: #2271b1 !important;
    font-weight: 600;
}
#wtu-content-sidebar .wtu-sidebar-row.is-active .wtu-sidebar-add {
    background: #e1eef8 !important;
    color: #2271b1 !important;
}
#wtu-backend-header .wtu-header-admin-link {
    padding: 0 20px;
}

/* Backend navigation shell: screenshot-aligned proportions. */
body.wp-admin {
    --wtu-sidebar-width-collapsed: 95px;
    --wtu-sidebar-width-expanded: 320px;
    --wtu-sidebar-width: var(--wtu-sidebar-width-collapsed);
    --wtu-header-height: 60px;
}

body.wp-admin.wtu-sidebar-open {
    --wtu-sidebar-width: var(--wtu-sidebar-width-expanded);
}

body.wp-admin #wtu-backend-header {
    left: var(--wtu-sidebar-width);
    width: calc(100% - var(--wtu-sidebar-width));
    height: var(--wtu-header-height);
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    transition: left 0.3s ease, width 0.3s ease;
}

body.wp-admin #wpbody-content {
    margin-top: 53px !important; 
    /* var(--wtu-header-height) !important; */
    margin-left: var(--wtu-sidebar-width);
    max-width: calc(100vw - var(--wtu-sidebar-width) - 6em) !important;
    transition: margin-left 0.3s ease, max-width 0.3s ease;
    max-width: calc(1600px - 4em) !important;
}

body.wp-admin.post-php #wpbody-content,
body.wp-admin.post-new-php #wpbody-content {
    margin-top: 0 !important;
}

body.wp-admin.post-type-attachment{
    padding-top: .5em !important;
}

body.wp-admin.post-type-attachment #wpbody-content {
    max-width: calc(1600px - 4em) !important;
    margin-left: 0 !important;
}

body.wp-admin.wtu-sidebar-open,
body.wp-admin.wtu-sidebar-open #wpwrap {
    margin-left: 0 !important;
}

body.wp-admin #wtu-backend-header #wtu-sidebar-toggle {
    display: none;
}

body.wp-admin #wtu-backend-header #wtu-sidebar-toggle-mobile {
    display: none;
    width: 38px;
    min-width: 38px;
    padding: 0;
    justify-content: center;
}

body.wp-admin #wtu-backend-header #wtu-sidebar-toggle-mobile > span:first-child {
    width: auto;
    height: auto;
    margin: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1;
}

body.wp-admin #wtu-backend-header a,
body.wp-admin #wtu-backend-header button {
    height: 38px;
    line-height: 38px;
    margin: 11px 5px;
    border-radius: 8px;
    border: 1px solid #cfdeef;
    background: #f2f7fd;
    color: #255fb8;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    font-weight: 500;
}

body.wp-admin #wtu-backend-header img {
    display: none !important;
}

body.wp-admin #wtu-backend-header > a:first-child {
    width: auto;
    text-align: left;
    background: #f7faff;
}

body.wp-admin #wtu-backend-header > a:first-child:hover,
body.wp-admin #wtu-backend-header > a:first-child:focus {
    filter: none;
}

body.wp-admin #wtu-backend-header a,
body.wp-admin #wtu-backend-header .wtu-header-right a,
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle {
    padding: 0 15px;
    gap: 8px;
}

body.wp-admin #wtu-backend-header a [class*="wtu wtu-"],
body.wp-admin #wtu-backend-header a .jki,
body.wp-admin #wtu-backend-header a .wtu-icon,
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle > span:first-child {
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
}

body.wp-admin #wtu-backend-header a:hover,
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle:hover,
body.wp-admin #wtu-backend-header a.active {
    background: #e8f1fc;
    border-color: #c2d4ea;
    color: #1d4f99;
}

body.wp-admin #wtu-backend-header a:hover [class*="wtu wtu-"],
body.wp-admin #wtu-backend-header a:hover .jki,
body.wp-admin #wtu-backend-header a:hover .wtu-icon,
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle:hover > span:first-child,
body.wp-admin #wtu-backend-header a.active [class*="wtu wtu-"] {
    background: transparent;
}

body.wp-admin #wtu-backend-header .wtu-header-right {
    height: var(--wtu-header-height);
    gap: 2px;
}

body.wp-admin #wtu-content-sidebar {
    top: 0;
    left: 0;
    width: var(--wtu-sidebar-width);
    height: 100vh;
    background: #f9fbff;
    border-right: 1px solid #e2e8f0;
    box-shadow: 4px 0 25px rgba(15, 23, 42, 0.09);
    overflow-x: hidden;
    z-index: 1000 !important;
    transition: width 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    transition: 0.25s;
}

body.wp-admin #wtu-content-sidebar.is_open {
    position: absolute;
    top: 0;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-item:hover .wtu-icon svg {
    transform-origin: center center;
    transform: scale(1.2) !important;
}

.wtu-sidebar-open #wpcontent #wtu-backend-header{
    left: 0 !important;
    width: 100% !important;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-brand {
    height: var(--wtu-header-height);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #f6faff;
    padding-left: 29px;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-brand-link {
    display: inline-flex;
    width: auto;
    height: 100%;
    border-radius: 0;
    align-items: center;
    justify-content: flex-start;
    transition: none;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-brand-link:hover,
body.wp-admin #wtu-content-sidebar .wtu-sidebar-brand-link:focus {
    background: transparent;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-brand-link img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    transition: 0.25s;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-brand-link:hover img{
    filter: brightness(1.1);
    transform: scale(1.1);
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-toggle-row {
    /* border-bottom: 1px solid #e8edf5; */
    justify-content: flex-start;
    align-items: center;
    min-height: 56px;
    left: 0 !important;
}

body.wp-admin #wtu-content-sidebar #wtu-sidebar-toggle {
    display: inline-flex;
    width: 95px;
    min-width: auto;
    height: 56px;
    margin: 0;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    background: transparent;
    border: none;
    border-radius: 0;
    line-height: 1;
    box-shadow: none;
}

body.wp-admin #wtu-content-sidebar #wtu-sidebar-toggle > span:first-child {
    width: 53px;
    height: auto;
    margin: 0 0 0 2px;
    padding: 0;
    background-color: transparent;
    font-size: 25px;
    line-height: 1;
    transform: scale(1.2);
    transition: 0.25s;
}

body.wp-admin #wtu-content-sidebar #wtu-sidebar-toggle:hover > span:first-child{
    transform: scale(1.5) translateY(-1px) !important;
}

body.wp-admin #wtu-content-sidebar #wtu-sidebar-toggle:hover {
    color: #1d4ed8;
    outline: none;
    justify-content: center !important;
}
body.wp-admin #wtu-content-sidebar .wtu-sidebar-row {
    display: block;
    min-height: 56px;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-item {
    width: 100%;
    min-height: 56px;
    justify-content: flex-start;
    gap: 0;
    padding: 0 0 0 36px;
    /* border-bottom: 1px solid #edf2f7; */
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-item .wtu-sidebar-label {
    display: inline-block;
    max-width: 0;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-6px);
    white-space: nowrap;
    transition: max-width 0.28s ease, margin-left 0.28s ease, opacity 0.2s ease, transform 0.28s ease;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-add {
    display: none;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar .wtu-sidebar-row {
    display: flex;
    align-items: stretch;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar .wtu-sidebar-item {
    justify-content: flex-start;
    gap: 12px;
    padding: 0 16px 0 36px;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar .wtu-sidebar-brand {
    justify-content: flex-start;
    padding-left: 29px;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar .wtu-sidebar-brand-link {
    justify-content: flex-start;
    width: auto;
    height: 100%;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar .wtu-sidebar-toggle-row {
    justify-content: flex-start;
    align-items: center;
    min-height: 56px !important;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar #wtu-sidebar-toggle {
    justify-content: flex-start;
    width: auto;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar .wtu-sidebar-item .wtu-sidebar-label {
    display: inline-block;
    max-width: 220px;
    margin-left: 8px;
    opacity: 1;
    transform: translateX(0);
    font-size: 15px;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar .wtu-sidebar-add {
    display: none;
    width: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

body.wp-admin.wtu-sidebar-open #wtu-content-sidebar .wtu-sidebar-icon {
    width: 24px;
    height: 24px;
    font-size: 22px;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-icon {
    width: 22px;
    height: 22px;
    margin: 0;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-icon svg,
body.wp-admin #wtu-content-sidebar .wtu-sidebar-item .wtu-icon svg {
    width: 1.825em !important;
    height: 1.825em !important;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-row.is-active .wtu-sidebar-item,
body.wp-admin #wtu-content-sidebar .wtu-sidebar-item.wtu-sidebar-active {
    background: #fff !important;
    color: #2563eb !important;
    transition: 0.15s;
}

body.wp-admin #wtu-content-sidebar .wtu-sidebar-item:hover,
body.wp-admin #wtu-content-sidebar .wtu-sidebar-item:focus {
    color: #1d4ed8 !important;
}

body.wp-admin #wtu-sidebar-toggle span{
    transition: 0.15s;
    transform: scale(1.3);
}

body.wp-admin .wtu-sidebar-toggle-row:hover #wtu-sidebar-toggle span,
body.wp-admin #wtu-content-sidebar .wtu-sidebar-item:hover:after{
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    /* box-shadow: 0 0 30px #1dcaff66; */
    /* background-color: #1dcaff22; */
    transition: 0.15s;
    left: 50%;
    transform: translateX(-50%);
}

body.wp-admin #wtu-sidebar-toggle:hover span,
body.wp-admin #wtu-content-sidebar #wtu-sidebar-toggle:hover span,body:before
body.wp-admin #wtu-content-sidebar .wtu-sidebar-item:hover span{
    transform-origin: center center;
    transform: scale(1.2);
}

/* Collapsed sidebar tooltip rendered via JS and appended to body. */
body.wp-admin #wtu-sidebar-hover-tooltip,
body.wp-admin #wtu-sidebar-hover-tooltip-arrow {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 10060;
    transition: opacity 0.12s ease;
}

body.wp-admin #wtu-sidebar-hover-tooltip {
    transform: translateY(-50%);
    white-space: nowrap;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    background: #255fb8;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
    margin-left: -30px;
}

body.wp-admin #wtu-sidebar-hover-tooltip-arrow {
    transform: translateY(-50%);
    width: 10px;
    height: 14px;
    background: #255fb8;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    margin-left: -30px;
}

body.wp-admin #wtu-sidebar-hover-tooltip.logo {
    margin-left: 0px !important;
}

body.wp-admin #wtu-sidebar-hover-tooltip-arrow.logo{
    margin-left: 0px !important;
}

body.wp-admin #wtu-sidebar-hover-tooltip.is-visible,
body.wp-admin #wtu-sidebar-hover-tooltip-arrow.is-visible {
    opacity: 1;
}

body.wp-admin.wtu-sidebar-open #wtu-sidebar-hover-tooltip,
body.wp-admin.wtu-sidebar-open #wtu-sidebar-hover-tooltip-arrow {
    opacity: 0 !important;
}

@media (max-width: 960px) {
    body.wp-admin #wtu-backend-header {
        left: 0;
        width: 100%;
    }

    body.wp-admin #wtu-backend-header #wtu-sidebar-toggle-mobile {
        display: inline-flex;
    }

    body.wp-admin #wpbody-content {
        margin-left: 0;
        max-width: calc(100vw - 2em) !important;
    }

    body.wp-admin #wtu-content-sidebar {
        left: calc(-1 * var(--wtu-sidebar-width));
    }

    body.wp-admin #wtu-content-sidebar #wtu-sidebar-toggle {
        display: none;
    }

    body.wp-admin #wtu-content-sidebar.is-open {
        left: 0;
    }
}

.wtu-post-slug-prefix-wrap {
    display: flex;
    align-items: center;
}

.wtu-post-slug-prefix {
    margin-right: 6px;
    white-space: nowrap;
}

.wp-person a:focus .gravatar, a:focus, a:focus .media-icon img, a:focus .plugin-icon{
    box-shadow: none !important;
}

/* LIST */
.wp-list-table thead th,
.wp-list-table thead td{
    border-left: 5px solid transparent;
}

.status-draft th{
    border-left: 5px solid #ffd754;
}

.status-publish th{
    border-left: 5px solid #54ff98;
}

#wtu-backend-header #wtu-color-mode-toggle{
    border-radius: 4px !important;
    margin: 4px !important;
    height: 40px !important;
    overflow: hidden !important;
}

#post-body .misc-pub-section.rank-math-lock-modified-date,
#post-body .misc-pub-section:before, 
#post-body .misc-pub-section *:before{
    display: none !important;
}

body.post-php .postbox .handle-order-higher:focus, 
body.post-php .postbox .handle-order-lower:focus, .postbox .handlediv:focus
body.post-php #submitdiv .handlediv:hocus, 
body.post-new-php #submitdiv .handlediv:focus,
body.post-php #submitdiv .handlediv:hover, 
body.post-new-php #submitdiv .handlediv:hover{
    background-color: transparent !important;
    border-color: transparent !important;
}

@media only screen and (max-width: 1399px){
    #wtu-backend-header #wtu-color-mode-toggle,
    #wtu-backend-header #wtu-color-mode-toggle > span:first-child,
    #wtu-backend-header a:not(:first-child) [class*="wtu wtu-"], #wtu-backend-header a:not(:first-child) .jki, #wtu-backend-header a:not(:first-child) .wtu-icon,
    #wtu-backend-header .wtu-header-right a [class*="wtu wtu-"], #wtu-backend-header .wtu-header-right a .jki, #wtu-backend-header .wtu-header-right a .wtu-icon{
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 1px !important;
        width: 52px !important;
    }
    #wtu-backend-header a:not(:first-child),
    #wtu-backend-header .wtu-header-right a,
    #wtu-backend-header button:last-child{
        min-width: 52px;
        width: 52px;
        max-width: 52px;
        margin: 0 !important;
    }
    #wtu-backend-header #wtu-color-mode-toggle > span:first-child,
    #wtu-backend-header  a:not(:first-child),
    #wtu-backend-header .wtu-header-right a{
        padding: 0 !important;
        margin: 0 !important;
    }
    #wtu-backend-header  a:not(:first-child),
    #wtu-backend-header .wtu-header-right a{
        text-indent: -100000px;
    }
    #wtu-backend-header  a:not(:first-child) span,
    #wtu-backend-header .wtu-header-right a span{
        text-indent: 0px;
    }
    #wtu-backend-header a:not(:first-child) [class*="wtu wtu-"], #wtu-backend-header a:not(:first-child) .jki, #wtu-backend-header a:not(:first-child) .wtu-icon,
    #wtu-backend-header .wtu-header-right a [class*="wtu wtu-"], #wtu-backend-header .wtu-header-right a .jki, #wtu-backend-header .wtu-header-right a .wtu-icon,
    #wtu-backend-header #wtu-color-mode-toggle > span:first-child{
        margin-right: 0 !important;
    }

    body.wp-admin #wtu-content-sidebar #wtu-sidebar-toggle,
    body.wp-admin #wtu-content-sidebar #wtu-sidebar-toggle > span:first-child {
        width: 100% !important; 
        min-width: 95px !important;
        max-width: 95px !important;
        border-radius: 0 !important;
        background-color: transparent !important;
    }
    
    #wtu-backend-header button span:last-child{
        display: none !important;
    }#wtu-sidebar-toggle:focus > span:first-child
    #wtu-backend-header .wtu-header-right a .wtu-header-link-text{
        display: none !important;
    }
    #wtu-backend-header a:not(:first-child),
    #wtu-backend-header .wtu-header-right a{
        gap: 0;
        margin-right: 1px !important;
    }
}

/* Row action icons */
#title.manage-column.column-title{
    width: 400px;
}
.row-actions{
    left: 0 !important;
    opacity: 0.35;
}
tr:hover .row-actions{
    opacity: 1;    
}
.row-actions span a .wtu-icon {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
}
.row-actions span a .wtu-action-label {
    display: none;
    font-size: 12px;
    margin-left: 3px;
    vertical-align: middle;
    transition: 0.25s;
}
.row-actions span a:hover .wtu-action-label,
.row-actions span a:focus .wtu-action-label {
    display: inline;
}
.wtu-megaphone-light::before     { content: "\fa40"; }
.wtu-contact-form-light::before  { content: "\f909"; }
.wtu-archive-line::before        { content: "\ef13"; }

table.fixed {
    table-layout: fixed;
    top: 3px;
    position: relative;
}

/* Standort-Liste: sichtbarer Sortier-Handle */
.wp-list-table .column-wtu_post_order {
    width: 28px;
    text-align: center;
}

.wp-list-table .wtu-post-order-handle {
    cursor: grab;
    color: #6c7781;
    opacity: 0.95;
}

.wp-list-table .wtu-post-order-handle:hover {
    color: #2271b1;
}

/* Settings page */
body.toplevel_page_wtu_administration,
body.wtu-system_page_wtu_administration,
body.admin_page_wtu_administration {
    --wtu-admin-card-bg: #ffffff;
    --wtu-admin-card-border: #dbe4f2;
    --wtu-admin-title: #16315d;
    --wtu-admin-muted: #5f6f8c;
    --wtu-admin-tab-bg: #eef4fc;
    --wtu-admin-tab-active: #2271b1;
}

body.admin_page_wtu-profile,
body.toplevel_page_wtu-profile,
body.wtu-system_page_wtu-profile,
body[class*="wtu-profile"] {
    --wtu-admin-card-bg: #ffffff;
    --wtu-admin-card-border: #dbe4f2;
    --wtu-admin-title: #16315d;
    --wtu-admin-muted: #5f6f8c;
    --wtu-admin-tab-bg: #eef4fc;
    --wtu-admin-tab-active: #2271b1;
}

body.toplevel_page_wtu_administration #wpbody-content,
body.wtu-system_page_wtu_administration #wpbody-content,
body.admin_page_wtu_administration #wpbody-content {
    margin-top: 54px !important;
    padding: 22px 34px 34px !important;
    max-width: none !important;
    background: linear-gradient(180deg, #f4f7fc 0%, #f8fbff 100%);
}

body.toplevel_page_wtu_administration .wrap.rwmb-settings-no-boxes,
body.wtu-system_page_wtu_administration .wrap.rwmb-settings-no-boxes,
body.admin_page_wtu_administration .wrap.rwmb-settings-no-boxes {
    max-width: 1600px;
    margin: 0 auto !important;
}

body.toplevel_page_wtu_administration .rwmb-settings-no-boxes > h1,
body.wtu-system_page_wtu_administration .rwmb-settings-no-boxes > h1,
body.admin_page_wtu_administration .rwmb-settings-no-boxes > h1 {
    margin: 0 0 18px;
    color: var(--wtu-admin-title);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

body.toplevel_page_wtu_administration .rwmb-settings-wrap,
body.wtu-system_page_wtu_administration .rwmb-settings-wrap,
body.admin_page_wtu_administration .rwmb-settings-wrap {
    background: var(--wtu-admin-card-bg);
    border: 1px solid var(--wtu-admin-card-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(32, 73, 130, 0.07);
    padding: 18px;
}

body.toplevel_page_wtu_administration #poststuff,
body.wtu-system_page_wtu_administration #poststuff,
body.admin_page_wtu_administration #poststuff {
    margin-top: 0;
}

body.toplevel_page_wtu_administration #post-body.metabox-holder,
body.wtu-system_page_wtu_administration #post-body.metabox-holder,
body.admin_page_wtu_administration #post-body.metabox-holder {
    min-width: 0;
}

body.toplevel_page_wtu_administration #postbox-container-2,
body.wtu-system_page_wtu_administration #postbox-container-2,
body.admin_page_wtu_administration #postbox-container-2 {
    float: none;
    width: 100%;
    margin: 0;
}

body.toplevel_page_wtu_administration .postbox,
body.wtu-system_page_wtu_administration .postbox,
body.admin_page_wtu_administration .postbox {
    margin: 0;
    border: 1px solid var(--wtu-admin-card-border) !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
}

body.toplevel_page_wtu_administration .postbox > .postbox-header,
body.wtu-system_page_wtu_administration .postbox > .postbox-header,
body.admin_page_wtu_administration .postbox > .postbox-header {
    min-height: 54px;
    padding: 0 10px 0 14px;
    border-bottom: 1px solid var(--wtu-admin-card-border) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

body.toplevel_page_wtu_administration .postbox > .postbox-header .hndle,
body.wtu-system_page_wtu_administration .postbox > .postbox-header .hndle,
body.admin_page_wtu_administration .postbox > .postbox-header .hndle {
    color: #245baf;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    padding: 10px 0;
}

body.toplevel_page_wtu_administration .rwmb-settings-wrap .inside,
body.wtu-system_page_wtu_administration .rwmb-settings-wrap .inside,
body.admin_page_wtu_administration .rwmb-settings-wrap .inside {
    margin: 0 !important;
    padding: 14px !important;
}

body.toplevel_page_wtu_administration .rwmb-tab-nav,
body.wtu-system_page_wtu_administration .rwmb-tab-nav,
body.admin_page_wtu_administration .rwmb-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

body.toplevel_page_wtu_administration .rwmb-tab-nav li,
body.wtu-system_page_wtu_administration .rwmb-tab-nav li,
body.admin_page_wtu_administration .rwmb-tab-nav li {
    margin: 0;
}

body.toplevel_page_wtu_administration .rwmb-tab-nav a,
body.wtu-system_page_wtu_administration .rwmb-tab-nav a,
body.admin_page_wtu_administration .rwmb-tab-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0px 14px;
    border-radius: 5px;
    border: 1px solid #d5e3f5;
    background: var(--wtu-admin-tab-bg);
    color: #2f6eb5;
    text-decoration: none;
    font-weight: 600;
}

body.toplevel_page_wtu_administration .rwmb-tab-nav{
    margin-left: 5px;
}

body.toplevel_page_wtu_administration .rwmb-tab-nav a:hover,
body.toplevel_page_wtu_administration .rwmb-tab-nav li.rwmb-tab-active a,
body.wtu-system_page_wtu_administration .rwmb-tab-nav li.rwmb-tab-active a,
body.admin_page_wtu_administration .rwmb-tab-nav li.rwmb-tab-active a {
    background: var(--wtu-admin-tab-active);
    border-color: var(--wtu-admin-tab-active);
    color: #fff;
}

body.toplevel_page_wtu_administration .rwmb-tab-panels,
body.wtu-system_page_wtu_administration .rwmb-tab-panels,
body.admin_page_wtu_administration .rwmb-tab-panels {
    border: 1px solid var(--wtu-admin-card-border);
    border-radius: 12px;
    padding: 16px;
    background: #fbfdff;
}

body.toplevel_page_wtu_administration .rwmb-tab-panel,
body.wtu-system_page_wtu_administration .rwmb-tab-panel,
body.admin_page_wtu_administration .rwmb-tab-panel {
    margin: 0;
}

body.toplevel_page_wtu_administration .rwmb-row,
body.wtu-system_page_wtu_administration .rwmb-row,
body.admin_page_wtu_administration .rwmb-row {
    margin-bottom: 12px;
}

body.toplevel_page_wtu_administration .rwmb-row:last-child,
body.wtu-system_page_wtu_administration .rwmb-row:last-child,
body.admin_page_wtu_administration .rwmb-row:last-child {
    margin-bottom: 0;
}

body.toplevel_page_wtu_administration .rwmb-label label,
body.wtu-system_page_wtu_administration .rwmb-label label,
body.admin_page_wtu_administration .rwmb-label label {
    color: var(--wtu-admin-title);
    font-weight: 600;
}

body.toplevel_page_wtu_administration .rwmb-input input[type="text"],
body.toplevel_page_wtu_administration .rwmb-input input[type="email"],
body.toplevel_page_wtu_administration .rwmb-input input[type="url"],
body.toplevel_page_wtu_administration .rwmb-input input[type="number"],
body.toplevel_page_wtu_administration .rwmb-input select,
body.wtu-system_page_wtu_administration .rwmb-input input[type="text"],
body.wtu-system_page_wtu_administration .rwmb-input input[type="email"],
body.wtu-system_page_wtu_administration .rwmb-input input[type="url"],
body.wtu-system_page_wtu_administration .rwmb-input input[type="number"],
body.wtu-system_page_wtu_administration .rwmb-input select,
body.admin_page_wtu_administration .rwmb-input input[type="text"],
body.admin_page_wtu_administration .rwmb-input input[type="email"],
body.admin_page_wtu_administration .rwmb-input input[type="url"],
body.admin_page_wtu_administration .rwmb-input input[type="number"],
body.admin_page_wtu_administration .rwmb-input select {
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid #d5e3f5;
    background: #fff;
    color: #294a73;
}

body.toplevel_page_wtu_administration .rwmb-input .description,
body.wtu-system_page_wtu_administration .rwmb-input .description,
body.admin_page_wtu_administration .rwmb-input .description,
body.toplevel_page_wtu_administration .text-limiter,
body.wtu-system_page_wtu_administration .text-limiter,
body.admin_page_wtu_administration .text-limiter {
    color: var(--wtu-admin-muted);
}

body.toplevel_page_wtu_administration .rwmb-input-list.rwmb-inline,
body.wtu-system_page_wtu_administration .rwmb-input-list.rwmb-inline,
body.admin_page_wtu_administration .rwmb-input-list.rwmb-inline {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.toplevel_page_wtu_administration .rwmb-input-list.rwmb-inline > label,
body.wtu-system_page_wtu_administration .rwmb-input-list.rwmb-inline > label,
body.admin_page_wtu_administration .rwmb-input-list.rwmb-inline > label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #d5e3f5;
    border-radius: 10px;
    background: #fff;
}

body.toplevel_page_wtu_administration .rwmb-settings-form p.submit,
body.wtu-system_page_wtu_administration .rwmb-settings-form p.submit,
body.admin_page_wtu_administration .rwmb-settings-form p.submit {
    float: none;
    margin: 18px 0 0 !important;
    padding: 0;
    text-align: right;
}

body.toplevel_page_wtu_administration .rwmb-settings-form p.submit .button-primary,
body.wtu-system_page_wtu_administration .rwmb-settings-form p.submit .button-primary,
body.admin_page_wtu_administration .rwmb-settings-form p.submit .button-primary {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 10px !important;
    border-color: #2271b1 !important;
    background: #2271b1 !important;
}

body.toplevel_page_wtu_administration .rwmb-settings-form p.submit .button-primary:hover,
body.wtu-system_page_wtu_administration .rwmb-settings-form p.submit .button-primary:hover,
body.admin_page_wtu_administration .rwmb-settings-form p.submit .button-primary:hover {
    border-color: #1d62a7 !important;
    background: #1d62a7 !important;
}

/* Profile page: Metabox/RWMB forms in new design */
body.admin_page_wtu-profile #wpbody-content,
body.toplevel_page_wtu-profile #wpbody-content,
body.wtu-system_page_wtu-profile #wpbody-content,
body[class*="wtu-profile"] #wpbody-content {
    margin-top: 54px !important;
    padding: 22px 34px 34px !important;
    max-width: none !important;
    background: linear-gradient(180deg, #f4f7fc 0%, #f8fbff 100%);
}

body.admin_page_wtu-profile .wrap.rwmb-settings-no-boxes,
body.toplevel_page_wtu-profile .wrap.rwmb-settings-no-boxes,
body.wtu-system_page_wtu-profile .wrap.rwmb-settings-no-boxes,
body[class*="wtu-profile"] .wrap.rwmb-settings-no-boxes {
    max-width: 1600px;
    margin: 0 auto !important;
}

body.admin_page_wtu-profile .rwmb-settings-no-boxes > h1,
body.toplevel_page_wtu-profile .rwmb-settings-no-boxes > h1,
body.wtu-system_page_wtu-profile .rwmb-settings-no-boxes > h1,
body[class*="wtu-profile"] .rwmb-settings-no-boxes > h1 {
    margin: 0 0 18px;
    color: var(--wtu-admin-title);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

body.admin_page_wtu-profile .rwmb-settings-wrap,
body.toplevel_page_wtu-profile .rwmb-settings-wrap,
body.wtu-system_page_wtu-profile .rwmb-settings-wrap,
body[class*="wtu-profile"] .rwmb-settings-wrap {
    background: var(--wtu-admin-card-bg);
    border: 1px solid var(--wtu-admin-card-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(32, 73, 130, 0.07);
    padding: 18px;
}

body.admin_page_wtu-profile .postbox,
body.toplevel_page_wtu-profile .postbox,
body.wtu-system_page_wtu-profile .postbox,
body[class*="wtu-profile"] .postbox {
    margin: 0;
    border: 1px solid var(--wtu-admin-card-border) !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
}

body.admin_page_wtu-profile .postbox > .postbox-header,
body.toplevel_page_wtu-profile .postbox > .postbox-header,
body.wtu-system_page_wtu-profile .postbox > .postbox-header,
body[class*="wtu-profile"] .postbox > .postbox-header {
    min-height: 54px;
    padding: 0 10px 0 14px;
    border-bottom: 1px solid var(--wtu-admin-card-border) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

body.admin_page_wtu-profile .postbox > .postbox-header .hndle,
body.toplevel_page_wtu-profile .postbox > .postbox-header .hndle,
body.wtu-system_page_wtu-profile .postbox > .postbox-header .hndle,
body[class*="wtu-profile"] .postbox > .postbox-header .hndle {
    color: #245baf;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    padding: 10px 0;
}

body.admin_page_wtu-profile .rwmb-settings-wrap .inside,
body.toplevel_page_wtu-profile .rwmb-settings-wrap .inside,
body.wtu-system_page_wtu-profile .rwmb-settings-wrap .inside,
body[class*="wtu-profile"] .rwmb-settings-wrap .inside {
    margin: 0 !important;
    padding: 14px !important;
}

body.admin_page_wtu-profile .rwmb-tab-nav,
body.toplevel_page_wtu-profile .rwmb-tab-nav,
body.wtu-system_page_wtu-profile .rwmb-tab-nav,
body[class*="wtu-profile"] .rwmb-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

body.admin_page_wtu-profile .rwmb-tab-nav a,
body.toplevel_page_wtu-profile .rwmb-tab-nav a,
body.wtu-system_page_wtu-profile .rwmb-tab-nav a,
body[class*="wtu-profile"] .rwmb-tab-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 5px;
    border: 1px solid #d5e3f5;
    background: var(--wtu-admin-tab-bg);
    color: #2f6eb5;
    text-decoration: none;
    font-weight: 600;
}

body.admin_page_wtu-profile .rwmb-tab-nav li.rwmb-tab-active a,
body.toplevel_page_wtu-profile .rwmb-tab-nav li.rwmb-tab-active a,
body.wtu-system_page_wtu-profile .rwmb-tab-nav li.rwmb-tab-active a,
body[class*="wtu-profile"] .rwmb-tab-nav li.rwmb-tab-active a {
    background: var(--wtu-admin-tab-active);
    border-color: var(--wtu-admin-tab-active);
    color: #fff;
}

body.admin_page_wtu-profile .rwmb-tab-panels,
body.toplevel_page_wtu-profile .rwmb-tab-panels,
body.wtu-system_page_wtu-profile .rwmb-tab-panels,
body[class*="wtu-profile"] .rwmb-tab-panels {
    border: 1px solid var(--wtu-admin-card-border);
    border-radius: 12px;
    padding: 16px;
    background: #fbfdff;
}

body.admin_page_wtu-profile .rwmb-label label,
body.toplevel_page_wtu-profile .rwmb-label label,
body.wtu-system_page_wtu-profile .rwmb-label label,
body[class*="wtu-profile"] .rwmb-label label {
    color: var(--wtu-admin-title);
    font-weight: 600;
}

body.admin_page_wtu-profile .rwmb-input input[type="text"],
body.admin_page_wtu-profile .rwmb-input input[type="email"],
body.admin_page_wtu-profile .rwmb-input input[type="url"],
body.admin_page_wtu-profile .rwmb-input input[type="number"],
body.admin_page_wtu-profile .rwmb-input input[type="password"],
body.admin_page_wtu-profile .rwmb-input select,
body.admin_page_wtu-profile .rwmb-input textarea,
body.toplevel_page_wtu-profile .rwmb-input input[type="text"],
body.toplevel_page_wtu-profile .rwmb-input input[type="email"],
body.toplevel_page_wtu-profile .rwmb-input input[type="url"],
body.toplevel_page_wtu-profile .rwmb-input input[type="number"],
body.toplevel_page_wtu-profile .rwmb-input input[type="password"],
body.toplevel_page_wtu-profile .rwmb-input select,
body.toplevel_page_wtu-profile .rwmb-input textarea,
body.wtu-system_page_wtu-profile .rwmb-input input[type="text"],
body.wtu-system_page_wtu-profile .rwmb-input input[type="email"],
body.wtu-system_page_wtu-profile .rwmb-input input[type="url"],
body.wtu-system_page_wtu-profile .rwmb-input input[type="number"],
body.wtu-system_page_wtu-profile .rwmb-input input[type="password"],
body.wtu-system_page_wtu-profile .rwmb-input select,
body.wtu-system_page_wtu-profile .rwmb-input textarea,
body[class*="wtu-profile"] .rwmb-input input[type="text"],
body[class*="wtu-profile"] .rwmb-input input[type="email"],
body[class*="wtu-profile"] .rwmb-input input[type="url"],
body[class*="wtu-profile"] .rwmb-input input[type="number"],
body[class*="wtu-profile"] .rwmb-input input[type="password"],
body[class*="wtu-profile"] .rwmb-input select,
body[class*="wtu-profile"] .rwmb-input textarea {
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid #d5e3f5;
    background: #fff;
    color: #294a73;
}

body.admin_page_wtu-profile .rwmb-settings-form p.submit,
body.toplevel_page_wtu-profile .rwmb-settings-form p.submit,
body.wtu-system_page_wtu-profile .rwmb-settings-form p.submit,
body[class*="wtu-profile"] .rwmb-settings-form p.submit {
    float: none;
    margin: 18px 0 0 !important;
    padding: 0;
    text-align: right;
}

body.admin_page_wtu-profile .rwmb-settings-form p.submit .button-primary,
body.toplevel_page_wtu-profile .rwmb-settings-form p.submit .button-primary,
body.wtu-system_page_wtu-profile .rwmb-settings-form p.submit .button-primary,
body[class*="wtu-profile"] .rwmb-settings-form p.submit .button-primary {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 10px !important;
    border-color: #2271b1 !important;
    background: #2271b1 !important;
}

body.admin_page_wtu-profile .rwmb-settings-form p.submit .button-primary:hover,
body.toplevel_page_wtu-profile .rwmb-settings-form p.submit .button-primary:hover,
body.wtu-system_page_wtu-profile .rwmb-settings-form p.submit .button-primary:hover,
body[class*="wtu-profile"] .rwmb-settings-form p.submit .button-primary:hover {
    border-color: #1d62a7 !important;
    background: #1d62a7 !important;
}

@media (max-width: 1100px) {
    body.toplevel_page_wtu_administration #wpbody-content,
    body.wtu-system_page_wtu_administration #wpbody-content,
    body.admin_page_wtu_administration #wpbody-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.admin_page_wtu-profile #wpbody-content,
    body.toplevel_page_wtu-profile #wpbody-content,
    body.wtu-system_page_wtu-profile #wpbody-content,
    body[class*="wtu-profile"] #wpbody-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.toplevel_page_wtu_administration .rwmb-settings-no-boxes > h1,
    body.wtu-system_page_wtu_administration .rwmb-settings-no-boxes > h1,
    body.admin_page_wtu_administration .rwmb-settings-no-boxes > h1 {
        font-size: 32px;
    }

    body.admin_page_wtu-profile .rwmb-settings-no-boxes > h1,
    body.toplevel_page_wtu-profile .rwmb-settings-no-boxes > h1,
    body.wtu-system_page_wtu-profile .rwmb-settings-no-boxes > h1,
    body[class*="wtu-profile"] .rwmb-settings-no-boxes > h1 {
        font-size: 32px;
    }

    body.toplevel_page_wtu_administration .rwmb-tab-panels,
    body.wtu-system_page_wtu_administration .rwmb-tab-panels,
    body.admin_page_wtu_administration .rwmb-tab-panels {
        padding: 12px;
    }

    body.admin_page_wtu-profile .rwmb-tab-panels,
    body.toplevel_page_wtu-profile .rwmb-tab-panels,
    body.wtu-system_page_wtu-profile .rwmb-tab-panels,
    body[class*="wtu-profile"] .rwmb-tab-panels {
        padding: 12px;
    }
}

/* Reorder-Handles in Listenansichten nicht ausblenden */
.wp-list-table .ui-sortable-handle,
.wp-list-table .handle-order-higher,
.wp-list-table .handle-order-lower,
.wp-list-table [class*="reorder"],
.wp-list-table [class*="order-handle"],
.wp-list-table .dashicons-menu,
.wp-list-table .dashicons-move {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.toplevel_page_complianz #wpbody-content{
    margin-top: calc(54px + 0em) !important;
    padding: 0 !important;
}

.cmplz button[data-disabled]{
    opacity: 0.25 !important;
}

.cmplz-banner-general,
.cmplz-wizard-help{
    margin-top: 1em !important;
}

.cmplz-documents .cmplz-field-wrap .cmplz-radio-group__item:first-child,
.cmplz-help-more-info a,
.cmplz-label-container .cmplz-premium a,
.cmplz-header-container,
.cmplz-tips_tricks,
.cmplz-other-plugins,
.cmplz-header-logo{
    display: none !important;
}

body.toplevel_page_complianz #wpcontent #wpbody-content{
    width: 100vw;
    min-width: 100vw;
}

.cmplz *,
body.toplevel_page_complianz #wpcontent #wpbody-content *{
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ELEMENTOR */
.elementor-component-tab[data-tab="global"]{
    display: none !important;
}

/* MForm */
.mf-response-msg:has(.mf-success-icon) {
    display: none !important;
}

/* Dashboard Design v2 */
body.index-php #wpbody-content {
    padding-top: 8px;
}

body.index-php .wrap > h1,
h1.wp-heading-inline {
    margin: 0 0 4px !important;
    color: #16315d;
    font-size: 44px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

h1.wp-heading-inline {
    font-size: 36px !important;
    margin-bottom: 0.5em !important;
    margin-left: 0.5em !important;
}

body.post-php h1.wp-heading-inline,
body.post-php-new h1.wp-heading-inline {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0.375em !important;
}

body.index-php .wrap > h1::after {
    display: block;
    margin-top: 10px;
    color: #5f6f8c;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0;
}

@media (max-width: 960px) {
    body.index-php .wrap > h1 {
        font-size: 36px;
    }

    body.index-php .wrap > h1::after {
        font-size: 15px;
        line-height: 1.45;
    }
}

body.index-php #dashboard-widgets-wrap,
body.index-php #dashboard-widgets {
    background: transparent;
}

body.index-php #dashboard-widgets #postbox-container-1 .postbox,
body.index-php #dashboard-widgets #postbox-container-4 .postbox {
    border: 1px solid #dbe5f2 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(32, 73, 130, 0.08) !important;
    overflow: hidden;
}

body.index-php #dashboard-widgets #postbox-container-1 .postbox:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(32, 73, 130, 0.13) !important;
}

body.index-php #dashboard-widgets #postbox-container-1 .inside,
body.index-php #dashboard-widgets #postbox-container-4 .inside {
    padding: 14px 16px 14px !important;
}

body.index-php #dashboard-widgets #postbox-container-1 .postbox-header {
    display: none !important;
}

body.index-php #dashboard-widgets #postbox-container-4 .inside {
    padding: 0 1em !important;
}

body.index-php #dashboard-widgets #postbox-container-4 #dashboard_widget_wtu .inside,
body.index-php #dashboard-widgets #postbox-container-4 #dashboard_widget_media .inside,
body.index-php #dashboard-widgets #postbox-container-4 .open .inside {
    padding: 0px 16px 14px !important;
}

body.index-php #dashboard-widgets #postbox-container-1 .dash-widget {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 88px;
}

body.index-php #dashboard-widgets #postbox-container-1 .dash-widget > .wtu-icon,
body.index-php #dashboard-widgets #postbox-container-1 .dash-widget > .dashicons,
body.index-php #dashboard-widgets #postbox-container-1 .dash-widget > [class*="wtu-"] {
    position: static !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    opacity: 1 !important;
    margin: 0 !important;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2f7fd5;
    font-size: 26px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#dashboard-widgets #postbox-container-1 .wtu-postbox-link span.wtu-icon{
    box-shadow: 0 0 0 0 #eafbfc !important;
    transition: 0.15s !important;
}

body #dashboard-widgets #postbox-container-1 .wtu-postbox-link::before{
    content: '';
    border-radius: 100%;
    display: block;
    background-color: rgb(227, 241, 252);
    width: 10px;
    height: 10px;
    opacity: 0;
    transition: 1.25s;
    transform-origin: center center;
}

body #dashboard-widgets #postbox-container-1 .wtu-postbox-link:hover::before{
    content: '';
    display: block;
    transition: 2.5s;
    opacity: 0.5;
    transform: scale(125);
}


body.index-php #dashboard-widgets #postbox-container-1 .dash-widget > .wtu-icon svg {
    width: 32px;
    height: 32px;
}

body.index-php #dashboard-widgets #postbox-container-1 .widget-inner,
body.index-php #dashboard-widgets #postbox-container-1 .widget-inner p {
    color: #4a5a72 !important;
    font-size: 15px !important;
    line-height: 1.4;
    margin: 4px 0 0 !important;
}

body.index-php #dashboard-widgets #postbox-container-1 .dash-widget > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

body.index-php #dashboard-widgets #postbox-container-1 .dash-widget-title {
    color: #2f7fd5 !important;
    font-size: 1.45em !important;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.012em;
    margin: 0 !important;
}

body.index-php #dashboard-widgets #postbox-container-1 .dash-widget-actions,
body.index-php #dashboard-widgets #postbox-container-4 .dash-widget-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 8px;
    margin-top: 10px;
}

body.index-php #dashboard-widgets #postbox-container-1 .dash-widget-actions{
    justify-content: flex-end !important;
}

body.index-php #dashboard-widgets .dash-widget-actions .button,
body.index-php #dashboard-widgets .dash-widget-actions .button.button-primary {
    float: none !important;
    height: 31px;
    border-radius: 8px;
    border: 1px solid #d9e6f6 !important;
    background: #f3f8ff !important;
    color: #2f7fd5 !important;
    font-size: 13px;
    font-weight: 600;
    padding: 0 11px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.index-php #dashboard-widgets .dash-widget-actions .button .wtu-icon {
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    height: auto;
    background: transparent !important;
    color: inherit !important;
    font-size: 14px;
}

body.index-php #dashboard-widgets .dash-widget-actions .button .wtu-icon svg {
    width: 14px;
    height: 14px;
    margin: 0;
}

body.index-php #dashboard-widgets .dash-widget-actions .button:hover,
body.index-php #dashboard-widgets .dash-widget-actions .button.button-primary:hover {
    background: #3f88da !important;
    border-color: #3f88da !important;
    color: #fff !important;
}

body.index-php #dashboard-widgets .dash-widget-actions .button:focus,
body.index-php #dashboard-widgets .dash-widget-actions .button:focus-visible,
body.index-php #dashboard-widgets .dash-widget-actions .button.button-primary:focus,
body.index-php #dashboard-widgets .dash-widget-actions .button.button-primary:focus-visible {
    background: #3f88da !important;
    border-color: #3f88da !important;
    color: #fff !important;
    outline: none;
}

body.index-php #dashboard-widgets .dash-widget-actions .button:hover .wtu-icon,
body.index-php #dashboard-widgets .dash-widget-actions .button:focus .wtu-icon,
body.index-php #dashboard-widgets .dash-widget-actions .button:focus-visible .wtu-icon,
body.index-php #dashboard-widgets .dash-widget-actions .button.button-primary:hover .wtu-icon,
body.index-php #dashboard-widgets .dash-widget-actions .button.button-primary:focus .wtu-icon,
body.index-php #dashboard-widgets .dash-widget-actions .button.button-primary:focus-visible .wtu-icon {
    background: transparent !important;
    color: #fff !important;
}

body.index-php #dashboard-widgets #postbox-container-4 .dash-widget {
    display: block;
    min-height: 0;
}

body.index-php #dashboard-widgets #postbox-container-4 .dash-widget > .wtu-icon,
body.index-php #dashboard-widgets #postbox-container-4 .dash-widget > .dashicons,
body.index-php #dashboard-widgets #postbox-container-4 .dash-widget > [class*="wtu-"] {
    display: none !important;
}

body.index-php #dashboard-widgets #postbox-container-4 .custom-column-title {
    margin: 0 0 10px !important;
    font-size: 21px;
    font-weight: 700;
    color: #233a59;
}

body.index-php #dashboard-widgets #postbox-container-4 .postbox .hndle {
    font-size: 31px;
    font-weight: 700;
    color: #2f7fd5;
}

/* Header Template Lock v2: Logo + Tab-Nav + Right Pills */

/* Keep any stray logo images hidden */
body.wp-admin #wtu-backend-header .wtu-header-logo-link {
    display: none !important;
}

body.wp-admin #wtu-backend-header img {
    display: none !important;
}

/* --- Tab Nav (left links) --- */
body.wp-admin #wtu-backend-header .wtu-header-nav {
    display: inline-flex !important;
    align-items: stretch !important;
    height: var(--wtu-header-height) !important;
    gap: 24px !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 0 0 30px !important;
}
body.wp-admin #wtu-backend-header .wtu-header-nav a {
    display: inline-flex !important;
    align-items: center !important;
    height: 100% !important;
    line-height: 1 !important;
    padding: 2px 8px 0 8px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #4a6080 !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    gap: 7px !important;
    top: -4px;
    position: relative;
}
body.wp-admin #wtu-backend-header .wtu-header-nav a:hover,
body.wp-admin #wtu-backend-header .wtu-header-nav a:focus {
    background: transparent !important;
    border-color: transparent !important;
    border-bottom-color: #3f88da !important;
    color: #3f88da !important;
    box-shadow: none !important;
}
body.wp-admin #wtu-backend-header .wtu-header-nav a.active {
    color: #1d4f99 !important;
    border-bottom-color: #3f88da !important;
    font-weight: 600 !important;
    background: transparent !important;
}
body.wp-admin #wtu-backend-header .wtu-header-nav a [class*="wtu wtu-"],
body.wp-admin #wtu-backend-header .wtu-header-nav a .wtu-icon,
body.wp-admin #wtu-backend-header .wtu-header-nav a .jki,
body.wp-admin #wtu-backend-header .wtu-header-nav a svg,
body.wp-admin #wtu-backend-header .wtu-header-nav button [class*="wtu wtu-"],
body.wp-admin #wtu-backend-header .wtu-header-nav button .wtu-icon,
body.wp-admin #wtu-backend-header .wtu-header-nav button .jki,
body.wp-admin #wtu-backend-header .wtu-header-nav button svg {
    display: none !important;
}

/* --- Right section (pills) --- */
body.wp-admin #wtu-backend-header .wtu-header-right {
    display: inline-flex !important;
    align-items: center !important;
    height: var(--wtu-header-height) !important;
    gap: 12px !important;
    padding: 0 12px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}
body.wp-admin #wtu-backend-header .wtu-header-right a,
body.wp-admin #wtu-backend-header .wtu-header-right button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    height: 42px !important;
    line-height: 1 !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: 5px !important;
    border: none !important;
    background: #EFF5FC !important;
    color: #255fb8 !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: 0.25s;
}

body.wp-admin #wtu-backend-header .wtu-header-right a#wtu-header-save-button.not-saved{
    background-color: #C21588 !important;
    color: #fff !important;
    transition: 0.15s;
}

body.wp-admin #wtu-backend-header .wtu-header-right a#wtu-header-page-title-action, 
body.wp-admin #wtu-backend-header .wtu-header-right button#wtu-header-page-title-action,
body.wp-admin #wtu-backend-header .wtu-header-right a#wtu-header-save-button.not-saved:hover,
body.wp-admin #wtu-backend-header .wtu-header-right a:hover,
body.wp-admin #wtu-backend-header .wtu-header-right a:focus,
body.wp-admin #wtu-backend-header .wtu-header-right button:hover,
body.wp-admin #wtu-backend-header .wtu-header-right button:focus {
    background: #2271b1 !important;
    border-color: #2271b1 !important;
    color: #fff !important;
}
body.wp-admin #wtu-backend-header .wtu-header-right a.active {
    background: #e8f1fc !important;
    border-color: #2271b1 !important;
    color: #1d4f99 !important;
}

body.wp-admin #wtu-backend-header .wtu-header-right a#wtu-header-page-title-action:hover,
body.wp-admin #wtu-backend-header .wtu-header-right a#wtu-header-save-button.not-saved:hover{
    background-color: #1db8ff !important;
    border-color: #1db8ff !important;
    color: #fff !important;
    transition: 0.15s;
}

body.wp-admin #wtu-backend-header .wtu-header-right a [class*="wtu wtu-"],
body.wp-admin #wtu-backend-header .wtu-header-right a .jki,
body.wp-admin #wtu-backend-header .wtu-header-right a .wtu-icon,
body.wp-admin #wtu-backend-header .wtu-header-right button > span {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

body.wp-admin #wtu-backend-header .wtu-header-right #wtu-header-view-post .wtu-header-eye-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent !important;
    border-radius: 0 !important;
}

body.wp-admin #wtu-backend-header .wtu-header-right #wtu-header-view-post .wtu-header-eye-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* --- Dark mode toggle: dual moon+sun icons --- */
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle {
    gap: 6px !important;
    min-width: 92px !important;
    justify-content: center !important;
    padding: 0 14px !important;
}
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle .wtu-cm-moon,
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle .wtu-cm-sun {
    font-size: 16px !important;
    line-height: 1 !important;
    opacity: 0.4 !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle[aria-pressed="false"] .wtu-cm-moon,
body.wp-admin #wtu-backend-header #wtu-color-mode-toggle[aria-pressed="true"] .wtu-cm-sun {
    opacity: 1 !important;
}

/* --- Mobile sidebar toggle --- */
body.wp-admin #wtu-backend-header #wtu-sidebar-toggle-mobile {
    background: transparent !important;
    border: none !important;
    color: #4a6080 !important;
    padding: 0 10px !important;
}

/* Post overview layout refresh (global for edit.php lists) */
body.edit-php #wpbody-content {
    padding-top: 10px;
}

body.edit-php .wrap {
    max-width: 1600px;
}

body.edit-php #posts-filter {
    margin-top: 0 !important;
    padding: 16px 16px 10px;
    border: 1px solid #dbe6f3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(32, 73, 130, 0.07);
}

body.edit-php .search-box {
    transform: none !important;
    margin: 0 0 10px !important;
}

body.edit-php .wtu-status-filter-dropdown {
    float: right !important;
    margin: 0 0 10px !important;
    transform: none !important;
    min-width: 220px;
    height: 36px;
    border: 1px solid #d8e4f4;
    border-radius: 10px;
    background: #f8fbff;
    color: #294a73;
}

body.edit-php ul.subsubsub {
    visibility: hidden;
    display: none;
}

body.edit-php #posts-filter .tablenav {
    margin: 8px 0 12px;
    padding: 10px 12px;
    border: 1px solid #e3ecf8;
    border-radius: 12px;
    background: #f8fbff;
}

body.edit-php #posts-filter .tablenav.top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

body.edit-php #posts-filter .tablenav.bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
}

body.edit-php #posts-filter .tablenav .alignleft,
body.edit-php #posts-filter .tablenav .tablenav-pages {
    float: none;
    margin: 0;
}

body.edit-php #posts-filter .tablenav .actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
}

body.edit-php #posts-filter .tablenav .actions select,
body.edit-php #posts-filter .tablenav .actions input[type="text"],
body.edit-php #posts-filter .tablenav .actions input[type="search"],
body.edit-php #posts-filter .tablenav .actions input[type="number"] {
    min-height: 34px;
    border: 1px solid #d8e4f4;
    border-radius: 10px;
    background: #ffffff;
    color: #294a73;
}

body.edit-php #posts-filter .tablenav .button,
body.edit-php #posts-filter .search-box .button {
    min-height: 34px;
    border-radius: 10px !important;
    border: 1px solid #d5e3f5 !important;
    background: #eef5ff !important;
    color: #2f6eb5 !important;
    font-weight: 600;
    padding: 0 12px !important;
}

body.edit-php #posts-filter .tablenav .button:hover,
body.edit-php #posts-filter .search-box .button:hover,
body.edit-php #posts-filter .tablenav .button:focus,
body.edit-php #posts-filter .search-box .button:focus {
    background: #3f88da !important;
    border-color: #3f88da !important;
    color: #ffffff !important;
}

body.edit-php #posts-filter .search-box input[type="search"] {
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid #d8e4f4;
    background: #ffffff;
}

body.edit-php #posts-filter .wp-list-table {
    border: 1px solid #dbe6f3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(32, 73, 130, 0.05);
}

body.edit-php #posts-filter .wp-list-table thead th,
body.edit-php #posts-filter .wp-list-table thead td,
body.edit-php #posts-filter .wp-list-table tfoot th,
body.edit-php #posts-filter .wp-list-table tfoot td {
    background: #f3f8ff;
    border-bottom: 1px solid #dbe6f3;
    color: #2d4d75;
    font-weight: 700;
}

body.edit-php #posts-filter .wp-list-table tbody td,
body.edit-php #posts-filter .wp-list-table tbody th {
    border-bottom: 1px solid #edf2f9;
    vertical-align: middle;
}

body.edit-php #posts-filter .wp-list-table tbody tr:hover td,
body.edit-php #posts-filter .wp-list-table tbody tr:hover th {
    background: #f9fbff;
}

body.edit-php #posts-filter .wp-list-table .row-actions {
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

body.edit-php #posts-filter .wp-list-table tr:hover .row-actions,
body.edit-php #posts-filter .wp-list-table tr:focus-within .row-actions {
    opacity: 1;
}

body.edit-php #posts-filter .wp-list-table .column-primary .toggle-row {
    border-radius: 8px;
}

body.edit-php #posts-filter #inline-edit .inline-edit-wrapper,
body.edit-php #posts-filter #bulk-edit .inline-edit-wrapper {
    border: 1px solid #dbe6f3;
    border-radius: 12px;
    background: #f8fbff;
    padding: 14px;
}

body.edit-php #posts-filter #inline-edit .inline-edit-wrapper input[type="text"],
body.edit-php #posts-filter #inline-edit .inline-edit-wrapper input[type="number"],
body.edit-php #posts-filter #inline-edit .inline-edit-wrapper select,
body.edit-php #posts-filter #inline-edit .inline-edit-wrapper textarea,
body.edit-php #posts-filter #bulk-edit .inline-edit-wrapper input[type="text"],
body.edit-php #posts-filter #bulk-edit .inline-edit-wrapper input[type="number"],
body.edit-php #posts-filter #bulk-edit .inline-edit-wrapper select,
body.edit-php #posts-filter #bulk-edit .inline-edit-wrapper textarea {
    border: 1px solid #d5e2f3;
    border-radius: 8px;
    background: #ffffff;
}

body.edit-php #posts-filter .tablenav .tablenav-pages {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1100px) {
    body.edit-php .search-box,
    body.edit-php .wtu-status-filter-dropdown {
        float: none !important;
        width: 100%;
        max-width: none;
    }

    body.edit-php #posts-filter .tablenav,
    body.edit-php #posts-filter .tablenav.top,
    body.edit-php #posts-filter .tablenav.bottom {
        display: block;
    }

    body.edit-php #posts-filter .tablenav .actions,
    body.edit-php #posts-filter .tablenav .tablenav-pages {
        margin: 8px 0 0;
    }

    body.edit-php #posts-filter .tablenav .actions select,
    body.edit-php #posts-filter .tablenav .actions input,
    body.edit-php #posts-filter .tablenav .actions .button,
    body.edit-php #posts-filter .search-box input[type="search"],
    body.edit-php #posts-filter .search-box .button {
        width: 100%;
    }
}

/* Users overview layout refresh (users.php) */
body.users-php #wpbody-content {
    padding-top: 10px;
}

body.users-php .wrap {
    max-width: 100%;
}

body.users-php .wrap > form[method="get"] {
    margin-top: 0 !important;
    padding: 16px 16px 10px;
    border: 1px solid #dbe6f3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(32, 73, 130, 0.07);
}

body.users-php .wrap > ul.subsubsub {
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid #e3ecf8;
    border-radius: 10px;
    background: #f8fbff;
}

body.users-php .wrap > form[method="get"] .search-box {
    float: right !important;
    margin: 0 0 10px !important;
}

body.users-php .wrap > form[method="get"] .search-box input[type="search"] {
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid #d8e4f4;
    background: #ffffff;
}

body.users-php .wrap > form[method="get"] .search-box .button,
body.users-php .wrap > form[method="get"] .tablenav .button {
    min-height: 34px;
    border-radius: 10px !important;
    border: 1px solid #d5e3f5 !important;
    background: #eef5ff !important;
    color: #2f6eb5 !important;
    font-weight: 600;
    padding: 0 12px !important;
}

body.users-php .wrap > form[method="get"] .search-box .button:hover,
body.users-php .wrap > form[method="get"] .tablenav .button:hover,
body.users-php .wrap > form[method="get"] .search-box .button:focus,
body.users-php .wrap > form[method="get"] .tablenav .button:focus {
    background: #3f88da !important;
    border-color: #3f88da !important;
    color: #ffffff !important;
}

body.users-php .wrap > form[method="get"] .tablenav {
    margin: 8px 0 12px;
    padding: 10px 12px;
    border: 1px solid #e3ecf8;
    border-radius: 12px;
    background: #f8fbff;
}

body.users-php .wrap > form[method="get"] .tablenav.top,
body.users-php .wrap > form[method="get"] .tablenav.bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
}

body.users-php .wrap > form[method="get"] .tablenav .alignleft,
body.users-php .wrap > form[method="get"] .tablenav .tablenav-pages {
    float: none;
    margin: 0;
}

body.users-php .wrap > form[method="get"] .tablenav .actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
}

body.users-php .wrap > form[method="get"] .tablenav .actions select,
body.users-php .wrap > form[method="get"] .tablenav .actions input[type="text"],
body.users-php .wrap > form[method="get"] .tablenav .actions input[type="search"] {
    min-height: 34px;
    border: 1px solid #d8e4f4;
    border-radius: 10px;
    background: #ffffff;
    color: #294a73;
}

body.users-php .wrap > form[method="get"] .wp-list-table {
    border: 1px solid #dbe6f3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(32, 73, 130, 0.05);
}

body.users-php .wrap > form[method="get"] .wp-list-table thead th,
body.users-php .wrap > form[method="get"] .wp-list-table thead td,
body.users-php .wrap > form[method="get"] .wp-list-table tfoot th,
body.users-php .wrap > form[method="get"] .wp-list-table tfoot td {
    background: #f3f8ff;
    border-bottom: 1px solid #dbe6f3;
    color: #2d4d75;
    font-weight: 700;
}

body.users-php .wrap > form[method="get"] .wp-list-table tbody td,
body.users-php .wrap > form[method="get"] .wp-list-table tbody th {
    border-bottom: 1px solid #edf2f9;
    vertical-align: middle;
}

body.users-php .wrap > form[method="get"] .wp-list-table tbody tr:hover td,
body.users-php .wrap > form[method="get"] .wp-list-table tbody tr:hover th {
    background: #f9fbff;
}

body.users-php .wrap > form[method="get"] .wp-list-table .row-actions {
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

body.users-php .wrap > form[method="get"] .wp-list-table tr:hover .row-actions,
body.users-php .wrap > form[method="get"] .wp-list-table tr:focus-within .row-actions {
    opacity: 1;
}

@media (max-width: 1100px) {
    body.users-php .wrap > form[method="get"] .search-box {
        float: none !important;
        width: 100%;
        max-width: none;
    }

    body.users-php .wrap > form[method="get"] .tablenav,
    body.users-php .wrap > form[method="get"] .tablenav.top,
    body.users-php .wrap > form[method="get"] .tablenav.bottom {
        display: block;
    }

    body.users-php .wrap > form[method="get"] .tablenav .actions,
    body.users-php .wrap > form[method="get"] .tablenav .tablenav-pages {
        margin: 8px 0 0;
    }

    body.users-php .wrap > form[method="get"] .tablenav .actions select,
    body.users-php .wrap > form[method="get"] .tablenav .actions input,
    body.users-php .wrap > form[method="get"] .tablenav .actions .button,
    body.users-php .wrap > form[method="get"] .search-box input[type="search"],
    body.users-php .wrap > form[method="get"] .search-box .button {
        width: 100%;
    }
}

/* Featured image upload link icon (post.php + post-new.php) */
body.post-php #set-post-thumbnail,
body.post-new-php #set-post-thumbnail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.post-php #set-post-thumbnail::before,
body.post-new-php #set-post-thumbnail::before {
    content: "\f317";
    font-family: dashicons;
    font-size: 16px;
    line-height: 1;
    color: #2f6eb5;
}

.post-php .qrcprowrapper,
.post-php-new .qrcprowrapper{
    text-align: center;
}

/* Team post type: metabox/tab layout refinement */
body.post-php.post-type-team #poststuff .postbox .inside,
body.post-new-php.post-type-team #poststuff .postbox .inside {
    padding: 16px 20px 18px !important;
}

body.post-php.post-type-team #poststuff .rwmb-tabs,
body.post-new-php.post-type-team #poststuff .rwmb-tabs {
    border: 1px solid #dbe6f3;
    background: #ffffff;
}

body.post-php.post-type-team #poststuff .rwmb-tab-nav,
body.post-new-php.post-type-team #poststuff .rwmb-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 10px 10px 0;
    border-bottom: 1px solid #dbe6f3;
    background: #f8fbff;
}

body.post-php.post-type-team #poststuff .rwmb-tab-nav li,
body.post-new-php.post-type-team #poststuff .rwmb-tab-nav li {
    margin: 0;
}

body.post-php.post-type-team #poststuff .rwmb-tab-nav a,
body.post-new-php.post-type-team #poststuff .rwmb-tab-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d5e3f5;
    border-bottom-color: #d5e3f5;
    border-radius: 7px 7px 0 0;
    background: #eef4fc;
    color: #2f6eb5;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none;
}

body.post-php.post-type-team #poststuff .rwmb-tab-nav .rwmb-tab-active a,
body.post-new-php.post-type-team #poststuff .rwmb-tab-nav .rwmb-tab-active a {
    border-color: #2271b1;
    border-bottom-color: #2271b1;
    background: #2271b1;
    color: #ffffff;
}

body.post-php.post-type-team #poststuff .rwmb-tab-panels,
body.post-new-php.post-type-team #poststuff .rwmb-tab-panels {
    padding: 14px 16px 16px;
    background: #ffffff;
}

body.post-php.post-type-team #poststuff .rwmb-row,
body.post-new-php.post-type-team #poststuff .rwmb-row {
    margin-bottom: 14px;
}

body.post-php.post-type-team #poststuff .rwmb-row:last-child,
body.post-new-php.post-type-team #poststuff .rwmb-row:last-child {
    margin-bottom: 0;
}

body.post-php.post-type-team #poststuff .rwmb-label,
body.post-new-php.post-type-team #poststuff .rwmb-label {
    margin-bottom: 4px;
}

body.post-php.post-type-team #poststuff .rwmb-label label,
body.post-new-php.post-type-team #poststuff .rwmb-label label {
    color: #1f3e69;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

body.post-php.post-type-team #poststuff .rwmb-input input[type="text"],
body.post-php.post-type-team #poststuff .rwmb-input input[type="url"],
body.post-php.post-type-team #poststuff .rwmb-input input[type="number"],
body.post-php.post-type-team #poststuff .rwmb-input select,
body.post-php.post-type-team #poststuff .rwmb-input textarea,
body.post-new-php.post-type-team #poststuff .rwmb-input input[type="text"],
body.post-new-php.post-type-team #poststuff .rwmb-input input[type="url"],
body.post-new-php.post-type-team #poststuff .rwmb-input input[type="number"],
body.post-new-php.post-type-team #poststuff .rwmb-input select,
body.post-new-php.post-type-team #poststuff .rwmb-input textarea {
    min-height: 38px;
    border: 1px solid #ccdaee;
    border-radius: 10px;
    background: #ffffff;
    color: #294a73;
    box-shadow: none;
}

body.post-php.post-type-team #poststuff .rwmb-input .description,
body.post-new-php.post-type-team #poststuff .rwmb-input .description {
    color: #5f6f8c;
    margin-top: 6px;
}

body.post-php.post-type-team #poststuff .rwmb-field .select2-container--default .select2-selection,
body.post-new-php.post-type-team #poststuff .rwmb-field .select2-container--default .select2-selection {
    min-height: 38px;
    border: 1px solid #ccdaee;
    border-radius: 10px;
    background: #ffffff;
}

/* Team/Profile width safety: avoid horizontal clipping, match full-width card layout */
body.admin_page_wtu-profile #wpbody-content,
body.toplevel_page_wtu-profile #wpbody-content,
body.wtu-system_page_wtu-profile #wpbody-content,
body[class*="wtu-profile"] #wpbody-content,
body.post-php.post-type-team #wpbody-content,
body.post-new-php.post-type-team #wpbody-content {
    max-width: 1600px !important;
    overflow-x: hidden;
    margin: 0 auto;
}

body.admin_page_wtu-profile .wrap.rwmb-settings-boxes,
body.toplevel_page_wtu-profile .wrap.rwmb-settings-boxes,
body.wtu-system_page_wtu-profile .wrap.rwmb-settings-boxes,
body[class*="wtu-profile"] .wrap.rwmb-settings-boxes {
    max-width: none;
    width: 100%;
    min-width: 0;
}

body.post-php.post-type-team #poststuff #post-body.columns-2,
body.post-new-php.post-type-team #poststuff #post-body.columns-2 {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
}

body.post-php.post-type-team #post-body.columns-2 #postbox-container-1,
body.post-new-php.post-type-team #post-body.columns-2 #postbox-container-1 {
    width: 100% !important;
    max-width: none !important;
}

/* PublishPress permissions metabox: align with new admin design */
body.post-php .postbox .inside .pp-tabbed-metabox,
body.post-new-php .postbox .inside .pp-tabbed-metabox,
body.admin_page_wtu-profile .postbox .inside .pp-tabbed-metabox,
body[class*="wtu-profile"] .postbox .inside .pp-tabbed-metabox {
    --pp-flat-bg: #ffffff;
    --pp-flat-soft: #f8fbff;
    --pp-flat-border: #dbe4f2;
    --pp-flat-border-2: #d5e3f5;
    --pp-flat-title: #16315d;
    --pp-flat-text: #294a73;
    --pp-flat-muted: #5f6f8c;
    --pp-flat-primary: #2271b1;
    --pp-flat-primary-soft: #eef4fc;
    --pp-flat-primary-strong: #1d62a7;

    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    border: 1px solid var(--pp-flat-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--pp-flat-bg);
}

body.post-php .postbox .inside .pp-tabbed-metabox *,
body.post-new-php .postbox .inside .pp-tabbed-metabox *,
body.admin_page_wtu-profile .postbox .inside .pp-tabbed-metabox *,
body[class*="wtu-profile"] .postbox .inside .pp-tabbed-metabox * {
    background-image: none;
}

body.post-php .pp-tabbed-sidebar,
body.post-new-php .pp-tabbed-sidebar,
body.admin_page_wtu-profile .pp-tabbed-sidebar,
body[class*="wtu-profile"] .pp-tabbed-sidebar {
    background: var(--pp-flat-soft);
    border-right: 1px solid var(--pp-flat-border);
}

body.post-php .pp-operation-tab,
body.post-new-php .pp-operation-tab,
body.admin_page_wtu-profile .pp-operation-tab,
body[class*="wtu-profile"] .pp-operation-tab {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 0;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--pp-flat-border);
    background: transparent;
    color: var(--pp-flat-muted);
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
}

body.post-php .pp-operation-tab .dashicons,
body.post-new-php .pp-operation-tab .dashicons,
body.admin_page_wtu-profile .pp-operation-tab .dashicons,
body[class*="wtu-profile"] .pp-operation-tab .dashicons {
    color: #6a7f9f;
}

body.post-php .pp-operation-tab.active,
body.post-new-php .pp-operation-tab.active,
body.admin_page_wtu-profile .pp-operation-tab.active,
body[class*="wtu-profile"] .pp-operation-tab.active {
    background: #ffffff;
    border-left-color: #3f88da;
    color: #2f6eb5;
}

body.post-php .pp-operation-tab.active .dashicons,
body.post-new-php .pp-operation-tab.active .dashicons,
body.admin_page_wtu-profile .pp-operation-tab.active .dashicons,
body[class*="wtu-profile"] .pp-operation-tab.active .dashicons {
    color: #2f6eb5;
}

body.post-php .pp-tabbed-main,
body.post-new-php .pp-tabbed-main,
body.admin_page_wtu-profile .pp-tabbed-main,
body[class*="wtu-profile"] .pp-tabbed-main {
    background: #ffffff;
}

body.post-php .pp-tabbed-content,
body.post-new-php .pp-tabbed-content,
body.admin_page_wtu-profile .pp-tabbed-content,
body[class*="wtu-profile"] .pp-tabbed-content {
    padding: 14px;
}

body.post-php .pp-agent-type-tabs,
body.post-new-php .pp-agent-type-tabs,
body.admin_page_wtu-profile .pp-agent-type-tabs,
body[class*="wtu-profile"] .pp-agent-type-tabs {
    display: inline-flex;
    padding: 4px;
    gap: 6px;
    border: 1px solid var(--pp-flat-border);
    border-radius: 10px;
    background: var(--pp-flat-soft);
    margin-bottom: 14px;
}

body.post-php .pp-agent-type-tab,
body.post-new-php .pp-agent-type-tab,
body.admin_page_wtu-profile .pp-agent-type-tab,
body[class*="wtu-profile"] .pp-agent-type-tab {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 7px 12px;
    background: transparent;
    color: #5e7393;
    font-weight: 600;
}

body.post-php .pp-agent-type-tab.active,
body.post-new-php .pp-agent-type-tab.active,
body.admin_page_wtu-profile .pp-agent-type-tab.active,
body[class*="wtu-profile"] .pp-agent-type-tab.active {
    background: #ffffff;
    border-color: var(--pp-flat-border-2);
    color: #2f6eb5;
}

body.post-php .pp-search-input,
body.post-new-php .pp-search-input,
body.admin_page_wtu-profile .pp-search-input,
body[class*="wtu-profile"] .pp-search-input,
body.post-php .pp-sort-select,
body.post-new-php .pp-sort-select,
body.admin_page_wtu-profile .pp-sort-select,
body[class*="wtu-profile"] .pp-sort-select,
body.post-php .pp-bulk-action-select,
body.post-new-php .pp-bulk-action-select,
body.admin_page_wtu-profile .pp-bulk-action-select,
body[class*="wtu-profile"] .pp-bulk-action-select,
body.post-php .pp-permission-select select,
body.post-new-php .pp-permission-select select,
body.admin_page_wtu-profile .pp-permission-select select,
body[class*="wtu-profile"] .pp-permission-select select {
    min-height: 36px;
    border: 1px solid var(--pp-flat-border-2);
    border-radius: 8px;
    background: #ffffff;
    color: var(--pp-flat-text);
    box-shadow: none;
}

body.post-php .pp-permission-filters,
body.post-new-php .pp-permission-filters,
body.admin_page_wtu-profile .pp-permission-filters,
body[class*="wtu-profile"] .pp-permission-filters,
body.post-php .pp-bulk-actions-toolbar,
body.post-new-php .pp-bulk-actions-toolbar,
body.admin_page_wtu-profile .pp-bulk-actions-toolbar,
body[class*="wtu-profile"] .pp-bulk-actions-toolbar {
    border: 1px solid var(--pp-flat-border);
    border-radius: 10px;
    background: var(--pp-flat-soft);
}

body.post-php .pp-filter-btn,
body.post-new-php .pp-filter-btn,
body.admin_page_wtu-profile .pp-filter-btn,
body[class*="wtu-profile"] .pp-filter-btn {
    border: 1px solid var(--pp-flat-border-2);
    border-radius: 999px;
    background: #ffffff;
    color: #2f6eb5;
    box-shadow: none;
}

body.post-php .pp-filter-btn.active,
body.post-new-php .pp-filter-btn.active,
body.admin_page_wtu-profile .pp-filter-btn.active,
body[class*="wtu-profile"] .pp-filter-btn.active {
    border-color: var(--pp-flat-primary);
    background: var(--pp-flat-primary);
    color: #ffffff;
}

body.post-php .pp-permission-card,
body.post-new-php .pp-permission-card,
body.admin_page_wtu-profile .pp-permission-card,
body[class*="wtu-profile"] .pp-permission-card {
    border: 1px solid var(--pp-flat-border);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

body.post-php .pp-permission-list-item,
body.post-new-php .pp-permission-list-item,
body.admin_page_wtu-profile .pp-permission-list-item,
body[class*="wtu-profile"] .pp-permission-list-item {
    border-bottom: 1px solid #e8eff8;
    background: #ffffff;
}

body.post-php .pp-permission-list-item:nth-child(2n),
body.post-new-php .pp-permission-list-item:nth-child(2n),
body.admin_page_wtu-profile .pp-permission-list-item:nth-child(2n),
body[class*="wtu-profile"] .pp-permission-list-item:nth-child(2n) {
    background: #fbfdff;
}

body.post-php .pp-type-badge,
body.post-new-php .pp-type-badge,
body.admin_page_wtu-profile .pp-type-badge,
body[class*="wtu-profile"] .pp-type-badge {
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid transparent;
}

body.post-php .pp-type-badge.pp-type-role,
body.post-new-php .pp-type-badge.pp-type-role,
body.admin_page_wtu-profile .pp-type-badge.pp-type-role,
body[class*="wtu-profile"] .pp-type-badge.pp-type-role {
    background: #f4e9ff;
    color: #7b3fb3;
    border-color: #e2cef5;
}

body.post-php .pp-type-badge.pp-type-login-state,
body.post-new-php .pp-type-badge.pp-type-login-state,
body.admin_page_wtu-profile .pp-type-badge.pp-type-login-state,
body[class*="wtu-profile"] .pp-type-badge.pp-type-login-state {
    background: #fff3e8;
    color: #af5f1e;
    border-color: #f4d5b8;
}

body.post-php .pp-bulk-apply.button,
body.post-new-php .pp-bulk-apply.button,
body.admin_page_wtu-profile .pp-bulk-apply.button,
body[class*="wtu-profile"] .pp-bulk-apply.button {
    min-height: 36px;
    border-radius: 8px !important;
    border: 1px solid var(--pp-flat-primary) !important;
    background: #eef5ff !important;
    color: var(--pp-flat-primary) !important;
    font-weight: 600;
}

body.post-php .pp-bulk-apply.button:hover,
body.post-new-php .pp-bulk-apply.button:hover,
body.admin_page_wtu-profile .pp-bulk-apply.button:hover,
body[class*="wtu-profile"] .pp-bulk-apply.button:hover {
    border-color: var(--pp-flat-primary-strong) !important;
    background: var(--pp-flat-primary) !important;
    color: #ffffff !important;
}

@media (max-width: 980px) {
    body.post-php .postbox .inside .pp-tabbed-metabox,
    body.post-new-php .postbox .inside .pp-tabbed-metabox,
    body.admin_page_wtu-profile .postbox .inside .pp-tabbed-metabox,
    body[class*="wtu-profile"] .postbox .inside .pp-tabbed-metabox {
        grid-template-columns: 1fr;
    }

    body.post-php .pp-tabbed-sidebar,
    body.post-new-php .pp-tabbed-sidebar,
    body.admin_page_wtu-profile .pp-tabbed-sidebar,
    body[class*="wtu-profile"] .pp-tabbed-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--pp-flat-border);
    }
}

/* ============================================================
   Revisions metabox (#revisionsdiv)
   ============================================================ */

body.post-php #revisionsdiv,
body.post-new-php #revisionsdiv {
    background: #ffffff;
    border: 1px solid #dbe4f2;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(34, 113, 177, 0.06);
    overflow: hidden;
}

body.post-php #revisionsdiv .postbox-header,
body.post-new-php #revisionsdiv .postbox-header {
    background: #f4f7fb;
    border-bottom: 1px solid #dbe4f2;
    padding: 12px 18px;
}

body.post-php #revisionsdiv .postbox-header h2,
body.post-new-php #revisionsdiv .postbox-header h2 {
    font-size: 14px;
    font-weight: 700;
    color: #16315d;
    letter-spacing: 0.02em;
    margin: 0;
}

body.post-php #revisionsdiv .inside,
body.post-new-php #revisionsdiv .inside {
    padding: 8px 0;
    margin: 0;
}

body.post-php #revisionsdiv ul.post-revisions,
body.post-new-php #revisionsdiv ul.post-revisions {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.post-php #revisionsdiv ul.post-revisions li,
body.post-new-php #revisionsdiv ul.post-revisions li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-bottom: 1px solid #eef2f8;
    font-size: 13px;
    color: #3c4a5e;
    transition: background 0.15s;
}

body.post-php #revisionsdiv ul.post-revisions li:last-child,
body.post-new-php #revisionsdiv ul.post-revisions li:last-child {
    border-bottom: none;
}

body.post-php #revisionsdiv ul.post-revisions li:hover,
body.post-new-php #revisionsdiv ul.post-revisions li:hover {
    background: #f4f7fb;
}

/* Avatar */
body.post-php #revisionsdiv ul.post-revisions li img.avatar,
body.post-new-php #revisionsdiv ul.post-revisions li img.avatar {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    opacity: 0.75;
}

/* Author name */
body.post-php #revisionsdiv ul.post-revisions li strong,
body.post-new-php #revisionsdiv ul.post-revisions li strong {
    font-weight: 600;
    color: #16315d;
}

/* Date link */
body.post-php #revisionsdiv ul.post-revisions li a,
body.post-new-php #revisionsdiv ul.post-revisions li a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

body.post-php #revisionsdiv ul.post-revisions li a:hover,
body.post-new-php #revisionsdiv ul.post-revisions li a:hover {
    color: #16315d;
    text-decoration: underline;
}

/* Current revision badge */
body.post-php #revisionsdiv ul.post-revisions li.current-revision,
body.post-new-php #revisionsdiv ul.post-revisions li.current-revision {
    background: #eef5ff;
    border-left: 3px solid #2271b1;
    padding-left: 15px;
}

body.post-php #revisionsdiv ul.post-revisions li .restore-revision.button,
body.post-new-php #revisionsdiv ul.post-revisions li .restore-revision.button {
    border-radius: 6px;
    border-color: #2271b1;
    color: #2271b1;
    font-size: 12px;
    height: 26px;
    line-height: 24px;
    padding: 0 10px;
}

body.post-php #revisionsdiv ul.post-revisions li .restore-revision.button:hover,
body.post-new-php #revisionsdiv ul.post-revisions li .restore-revision.button:hover {
    background: #2271b1;
    color: #fff;
}

/* ============================================================
   nav-menus.php (new design)
   ============================================================ */

body.nav-menus-php #wpbody-content {
    background: linear-gradient(180deg, #f4f7fc 0%, #f8fbff 100%);
    padding: 22px 34px 34px !important;
    max-width: none !important;
}

body.nav-menus-php .wrap {
    max-width: 1600px !important;
    width: auto !important;
    margin: 0 auto !important;
}

body.nav-menus-php #nav-menus-frame {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
}

body.nav-menus-php #menu-settings-column,
body.nav-menus-php #menu-management {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.nav-menus-php #menu-settings-column .accordion-container,
body.nav-menus-php #menu-management .menu-edit {
    border: 1px solid #dbe4f2;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(22, 49, 93, 0.06);
    overflow: hidden;
}

body.nav-menus-php #menu-settings-column .accordion-section-title,
body.nav-menus-php #menu-settings-column .accordion-section-content {
    border-color: #e6edf7 !important;
}

body.nav-menus-php #menu-to-edit .menu-item-handle {
    border-color: #dbe4f2 !important;
    border-radius: 10px;
    background: #ffffff;
}

body.nav-menus-php #menu-to-edit .menu-item {
    margin-bottom: 10px;
}

/* ============================================================
   edit-tags.php (all taxonomies, new design)
   ============================================================ */

body.edit-tags-php #wpbody-content {
    background: linear-gradient(180deg, #f4f7fc 0%, #f8fbff 100%);
    padding: 22px 34px 34px !important;
    max-width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.edit-tags-php .wrap {
    max-width: 1600px;
    margin: 0 auto !important;
}

body.edit-tags-php #col-container {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 20px;
}

body.edit-tags-php #col-left,
body.edit-tags-php #col-right {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.edit-tags-php #col-left{
    float: right !important;
}

body.edit-tags-php #col-right{
    float: left !important;
}

body.edit-tags-php #col-left .col-wrap,
body.edit-tags-php #col-right .col-wrap {
    border: 1px solid #dbe4f2;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(22, 49, 93, 0.06);
    padding: 16px;
}

body.edit-tags-php #col-left .form-wrap,
body.edit-tags-php #col-right .form-wrap {
    margin-top: 0;
}

body.edit-tags-php .wp-list-table {
    border: 1px solid #dbe4f2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(22, 49, 93, 0.05);
}

body.edit-tags-php .wp-list-table thead th,
body.edit-tags-php .wp-list-table tfoot th {
    background: #f3f8ff;
    border-bottom: 1px solid #dbe4f2;
    color: #294a73;
}

body.edit-tags-php .wp-list-table tbody td,
body.edit-tags-php .wp-list-table tbody th {
    border-bottom: 1px solid #edf2f9;
}

@media (max-width: 1080px) {
    body.nav-menus-php #nav-menus-frame,
    body.edit-tags-php #col-container {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Final override: keep nav-menus in stable side-by-side flex layout */
body.nav-menus-php .wrap {
    max-width: 1000px !important;
    width: auto !important;
    margin: 0 auto !important;
}

body.nav-menus-php #nav-menus-frame {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-left: 0 !important;
}

body.nav-menus-php #menu-management-liquid,
body.nav-menus-php #menu-management {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
}

body.nav-menus-php #menu-settings-column {
    order: 2;
    flex: 0 0 320px;
    width: 320px !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

body.nav-menus-php #menu-settings-column .accordion-container,
body.nav-menus-php #menu-management .menu-edit {
    border: 1px solid #dbe4f2 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(22, 49, 93, 0.06) !important;
    overflow: hidden !important;
}

body.nav-menus-php #menu-to-edit .menu-item-handle {
    background: #ffffff !important;
    border: 1px solid #dbe4f2 !important;
    border-radius: 10px !important;
}

body.nav-menus-php #menu-to-edit .menu-item-handle:hover {
    background: #f3f8ff !important;
}

body.nav-menus-php #menu-to-edit .menu-item-handle:hover *,
body.nav-menus-php #menu-to-edit .menu-item-handle:hover *::before {
    color: #16315d !important;
}

@media (max-width: 1080px) {
    body.nav-menus-php #nav-menus-frame {
        display: block !important;
    }

    body.nav-menus-php #menu-management-liquid,
    body.nav-menus-php #menu-settings-column {
        width: auto !important;
    }
}

/* Ensure main menu items (depth-0) stay visible and highlighted */
body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle {
    background: linear-gradient(180deg, #eef5ff 0%, #e8f1ff 100%) !important;
    border-color: #bdd4f3 !important;
}

body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle *,
body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle *::before {
    color: #16315d !important;
}

body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-title {
    font-weight: 700;
}

body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .item-type {
    color: #2f5f9d !important;
    opacity: 0.9;
}

body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle:hover,
body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle:hover *,
body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle:hover *::before {
    background: #dcecff !important;
    color: #16315d !important;
}

/* ============================================================
   Dark mode overrides: nav-menus.php + edit-tags.php
   ============================================================ */

html.wtu-color-mode-dark body.nav-menus-php #wpbody-content,
html.wtu-color-mode-dark body.edit-tags-php #wpbody-content {
    background: linear-gradient(180deg, #0f1724 0%, #111b2b 100%) !important;
}

html.wtu-color-mode-dark body.nav-menus-php .wrap,
html.wtu-color-mode-dark body.edit-tags-php .wrap {
    color: #d8e4f8;
}

html.wtu-color-mode-dark body.nav-menus-php #menu-settings-column .accordion-container,
html.wtu-color-mode-dark body.nav-menus-php #menu-management .menu-edit,
html.wtu-color-mode-dark body.edit-tags-php #col-left .col-wrap,
html.wtu-color-mode-dark body.edit-tags-php #col-right .col-wrap {
    background: #162235 !important;
    border-color: #2d415a !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
}

html.wtu-color-mode-dark body.nav-menus-php #menu-settings-column .accordion-section-title,
html.wtu-color-mode-dark body.nav-menus-php #menu-settings-column .accordion-section-content,
html.wtu-color-mode-dark body.edit-tags-php .form-field,
html.wtu-color-mode-dark body.edit-tags-php .form-wrap,
html.wtu-color-mode-dark body.edit-tags-php .form-table th,
html.wtu-color-mode-dark body.edit-tags-php .form-table td {
    background: #fff !important;
    border-color: #2b3e57 !important;
    color: #d8e4f8 !important;
}

html.wtu-color-mode-dark body.nav-menus-php #menu-to-edit .menu-item-handle {
    background: #1a2940 !important;
    border-color: #334a65 !important;
}
html.wtu-color-mode-dark body.nav-menus-php #menu-to-edit .menu-item-handle *,
html.wtu-color-mode-dark body.nav-menus-php #menu-to-edit .menu-item-handle *::before {
    color: #d8e4f8 !important;
}

html.wtu-color-mode-dark body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .menu-item-handle {
    background: linear-gradient(180deg, #21324a 0%, #1a2a42 100%) !important;
    border-color: #3b5676 !important;
}

html.wtu-color-mode-dark body.nav-menus-php #menu-to-edit .menu-item-depth-0 > .menu-item-bar .item-type {
    color: #9fc0ea !important;
}

html.wtu-color-mode-dark body.nav-menus-php #menu-to-edit .menu-item-handle:hover,
html.wtu-color-mode-dark body.nav-menus-php #menu-to-edit .menu-item-handle:hover *,
html.wtu-color-mode-dark body.nav-menus-php #menu-to-edit .menu-item-handle:hover *::before {
    background: #253a56 !important;
    color: #e4efff !important;
}

html.wtu-color-mode-dark body.nav-menus-php #menu-settings-column input,
html.wtu-color-mode-dark body.nav-menus-php #menu-settings-column select,
html.wtu-color-mode-dark body.nav-menus-php #menu-settings-column textarea,
html.wtu-color-mode-dark body.edit-tags-php input,
html.wtu-color-mode-dark body.edit-tags-php select,
html.wtu-color-mode-dark body.edit-tags-php textarea {
    background: #0f1b2b !important;
    border-color: #33485f !important;
    color: #d8e4f8 !important;
}

html.wtu-color-mode-dark body.edit-tags-php .wp-list-table,
html.wtu-color-mode-dark body.edit-tags-php .wp-list-table thead th,
html.wtu-color-mode-dark body.edit-tags-php .wp-list-table tfoot th,
html.wtu-color-mode-dark body.edit-tags-php .wp-list-table tbody td,
html.wtu-color-mode-dark body.edit-tags-php .wp-list-table tbody th {
    background: #162235 !important;
    border-color: #2f435d !important;
    color: #d8e4f8 !important;
}

html.wtu-color-mode-dark body.edit-tags-php .wp-list-table tbody tr:hover td,
html.wtu-color-mode-dark body.edit-tags-php .wp-list-table tbody tr:hover th {
    background: #1c2d45 !important;
}

html.wtu-color-mode-dark body.nav-menus-php a,
html.wtu-color-mode-dark body.edit-tags-php a {
    color: #9fc7ff;
}

html.wtu-color-mode-dark body.nav-menus-php .button,
html.wtu-color-mode-dark body.edit-tags-php .button,
html.wtu-color-mode-dark body.nav-menus-php .button-secondary,
html.wtu-color-mode-dark body.edit-tags-php .button-secondary {
    background: #21314a !important;
    border-color: #395375 !important;
    color: #dce8fb !important;
}

.accordion-section-title button.accordion-trigger{
    background-color: #fff !important;
    color: #222;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    color:#084a84;
    background-color: #f0f6fc !important;
}