/* Neon Admin Dashboard Theme */

:root{
    color-scheme: dark;
}

body.wp-admin,
body.login,
body.neon-admin-theme,
body.neon-admin-theme #wpwrap{
    background:
        radial-gradient(circle at top center, rgba(95,125,255,.12), transparent 32%),
        linear-gradient(180deg, #0a1120 0%, #0d1424 100%);
    color: var(--neon-text);
}

body.wp-admin,
body.wp-admin p,
body.wp-admin .description,
body.wp-admin .tablenav .displaying-num,
body.wp-admin .subsubsub,
body.wp-admin .postbox .inside,
body.wp-admin .notice p{
    color: var(--neon-text-soft);
}

body.wp-admin a{
    color: #c4d0ff;
}

body.wp-admin a:hover,
body.wp-admin a:focus{
    color: #ffffff;
}

#wpcontent,
#wpfooter{
    background: transparent;
}

#wpbody-content{
    padding-bottom: 40px;
}

#adminmenuwrap,
#adminmenuback,
#adminmenu{
    background: rgba(8, 12, 24, .82);
    backdrop-filter: blur(14px);
}

#adminmenuwrap{
    border-right: 1px solid var(--neon-line);
    box-shadow: inset -1px 0 0 rgba(255,255,255,.02);
}

#adminmenu .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu{
    background: rgba(10, 17, 32, .96);
    border: 1px solid var(--neon-line);
    border-radius: 14px;
    margin-top: 6px;
    margin-left: 8px;
    padding: 8px 0;
    box-shadow: var(--neon-shadow);
}

#adminmenu li.menu-top > a,
#adminmenu .wp-submenu a{
    color: var(--neon-text-soft);
}

#adminmenu li.menu-top:hover,
#adminmenu li.opensub > a.menu-top,
#adminmenu li > a.menu-top:focus{
    background: rgba(123,97,255,.10);
}

#adminmenu li.current a.menu-top,
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{
    background: linear-gradient(90deg, rgba(123,97,255,.24), rgba(95,125,255,.18));
    color: #fff;
    border-radius: 12px;
    margin: 4px 8px;
}

#adminmenu .awaiting-mod,
#adminmenu .update-plugins{
    background: var(--neon-accent);
    color: #fff;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    box-shadow: 0 0 18px rgba(123,97,255,.45);
}

#wpadminbar{
    background: rgba(10, 17, 32, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--neon-line);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

#wpadminbar .ab-item,
#wpadminbar a.ab-item,
#wpadminbar > #wp-toolbar span.ab-label,
#wpadminbar > #wp-toolbar span.noticon{
    color: #dce5ff;
}

#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item{
    background: rgba(123,97,255,.12);
    color: #fff;
}

.wrap h1,
.wrap h2,
.wrap h3,
.wrap h4,
.wrap .page-title-action,
.postbox .hndle,
.postbox .handlediv.button-link,
.dashboard-widget-title,
.components-card__header h2{
    color: var(--neon-text);
}

.wrap h1,
.wrap > h1.wp-heading-inline{
    font-weight: 800;
    letter-spacing: -.02em;
}

.postbox,
.notice,
.update-nag,
.card,
.components-card,
#dashboard-widgets .postbox,
.widefat,
.plugins .plugin-card,
.wp-filter,
.theme-browser .theme,
.media-frame,
.interface-interface-skeleton__content,
.edit-post-layout__metaboxes,
.editor-post-publish-panel,
.editor-sidebar{
    background: linear-gradient(180deg, rgba(18,27,46,.92), rgba(13,20,36,.92));
    border: 1px solid var(--neon-line) !important;
    border-radius: var(--neon-radius) !important;
    box-shadow: var(--neon-shadow);
    color: var(--neon-text-soft);
}

.notice,
.update-nag{
    padding: 14px 16px;
}

.postbox .hndle,
.postbox .handlediv{
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.postbox .inside{
    padding: 18px;
}

.dashboard-widget-control-form,
#dashboard-widgets-wrap,
#screen-meta{
    color: var(--neon-text-soft);
}

.widefat thead tr th,
.widefat tfoot tr th,
.widefat td,
.widefat th,
.plugins td,
.plugins th{
    border-color: rgba(255,255,255,.06);
    color: var(--neon-text-soft);
}

.striped > tbody > :nth-child(odd),
ul.striped > :nth-child(odd),
.alternate{
    background: rgba(255,255,255,.02);
}

.plugins .active td,
.plugins .active th,
tr.active td,
tr.active th{
    background: rgba(123,97,255,.06);
}

.button,
.button-secondary,
.button-primary,
.components-button.is-primary,
.wp-core-ui .button,
.wp-core-ui .button-secondary,
.wp-core-ui .button-primary{
    min-height: 38px;
    border-radius: 12px !important;
    border: 1px solid rgba(123,97,255,.24) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: .18s ease;
}

.button,
.button-secondary,
.wp-core-ui .button,
.wp-core-ui .button-secondary{
    background: rgba(255,255,255,.03) !important;
    color: var(--neon-text) !important;
}

.button-primary,
.components-button.is-primary,
.wp-core-ui .button-primary{
    background: linear-gradient(135deg, var(--neon-accent), var(--neon-accent-2)) !important;
    color: #fff !important;
}

.button:hover,
.button-secondary:hover,
.button-primary:hover,
.components-button.is-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(95,125,255,.18), 0 0 18px rgba(123,97,255,.22) !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select{
    background: rgba(10,17,32,.72) !important;
    color: var(--neon-text) !important;
    border: 1px solid rgba(123,97,255,.18) !important;
    border-radius: 12px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

input:focus,
textarea:focus,
select:focus{
    border-color: rgba(123,97,255,.6) !important;
    box-shadow: 0 0 0 3px rgba(123,97,255,.16) !important;
    outline: none !important;
}

#dashboard-widgets .postbox-container .empty-container{
    border: 1px dashed rgba(123,97,255,.18);
    border-radius: var(--neon-radius);
}

#activity-widget #the-comment-list .comment-item,
#dashboard_recent_drafts ul li,
#dashboard_activity .inside{
    background: transparent;
}

#dashboard_right_now .inside,
#dashboard_quick_press .inside,
#dashboard_activity .inside,
#dashboard_site_health .inside{
    padding-top: 18px;
}

#screen-meta-links .show-settings{
    background: rgba(18,27,46,.95);
    color: var(--neon-text);
    border: 1px solid var(--neon-line);
    border-radius: 0 0 14px 14px;
}

#screen-meta{
    background: rgba(10,17,32,.96);
    border-color: var(--neon-line);
}

.nav-tab-wrapper,
.wrap .nav-tab-wrapper,
h1.nav-tab-wrapper,
.wp-filter{
    border-bottom-color: transparent;
}

.nav-tab{
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(123,97,255,.10);
    color: var(--neon-text-soft);
    border-radius: 12px 12px 0 0;
    margin-right: 6px;
}

.nav-tab-active,
.nav-tab-active:hover{
    background: linear-gradient(180deg, rgba(123,97,255,.22), rgba(95,125,255,.12));
    color: #fff;
    border-bottom-color: transparent;
}

.login{
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.login #login{
    width: 390px;
    padding: 0;
}

.login h1 a{
    width: 100% !important;
    height: 72px !important;
    background-image: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
    font-size: 26px;
    font-weight: 800;
    line-height: 72px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    letter-spacing: -.02em;
}

.login form{
    margin-top: 8px;
    background: linear-gradient(180deg, rgba(18,27,46,.92), rgba(13,20,36,.92));
    border: 1px solid var(--neon-line);
    border-radius: 22px;
    box-shadow: var(--neon-shadow);
}

.login label,
.login #backtoblog a,
.login #nav a,
.login .message,
.login .privacy-policy-page-link a{
    color: var(--neon-text-soft) !important;
}

.login .button-primary{
    width: 100%;
    justify-content: center;
}

.login .message,
.login #login_error{
    background: rgba(18,27,46,.92);
    border-left: 3px solid var(--neon-accent);
    color: var(--neon-text);
    border-radius: 14px;
    box-shadow: var(--neon-shadow);
}

@media screen and (max-width: 782px){
    #wpadminbar{
        position: fixed;
    }

    #adminmenuwrap{
        backdrop-filter: none;
    }

    .wrap h1{
        font-size: 26px;
    }
}



/* v2 fixes: post lists, tables, filters, pagination */

.wp-list-table,
.wp-list-table.widefat,
.edit-php .widefat,
.post-type-post .widefat,
.post-type-page .widefat,
.upload-php .widefat{
    background: linear-gradient(180deg, rgba(18,27,46,.98), rgba(13,20,36,.98)) !important;
    border: 1px solid var(--neon-line) !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: var(--neon-shadow);
}

.wp-list-table thead,
.wp-list-table tfoot,
.wp-list-table thead tr,
.wp-list-table tfoot tr,
.wp-list-table thead th,
.wp-list-table tfoot th,
.wp-list-table .manage-column,
.wp-list-table .column-primary{
    background: rgba(9,15,28,.96) !important;
    color: var(--neon-text) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

.wp-list-table tbody,
.wp-list-table tbody tr,
.wp-list-table tbody td,
.wp-list-table tbody th,
.wp-list-table .alternate,
.wp-list-table.striped > tbody > :nth-child(odd),
.wp-list-table tbody tr:nth-child(odd){
    background: transparent !important;
    color: var(--neon-text-soft) !important;
}

.wp-list-table tbody tr{
    border-bottom: 1px solid rgba(255,255,255,.04) !important;
}

.wp-list-table tbody tr:hover td,
.wp-list-table tbody tr:hover th{
    background: rgba(123,97,255,.08) !important;
}

.wp-list-table td,
.wp-list-table th,
.wp-list-table td p,
.wp-list-table td strong,
.wp-list-table td .row-title,
.wp-list-table td a,
.wp-list-table th a{
    color: var(--neon-text-soft) !important;
}

.wp-list-table .row-title,
.wp-list-table .column-title strong,
.wp-list-table .check-column + td a{
    color: #dce5ff !important;
    font-weight: 600;
}

.wp-list-table .row-title:hover,
.wp-list-table td a:hover,
.wp-list-table th a:hover{
    color: #ffffff !important;
}

.wp-list-table .column-date,
.wp-list-table .column-author,
.wp-list-table .column-categories,
.wp-list-table .column-tags,
.wp-list-table .column-format{
    color: #aab7e4 !important;
}

.tablenav,
.subsubsub,
.search-box,
.tablenav.top,
.tablenav.bottom{
    background: transparent !important;
    color: var(--neon-text-soft) !important;
}

.tablenav .actions,
.tablenav-pages,
.subsubsub{
    padding-top: 6px;
    padding-bottom: 6px;
}

.view-switch a,
.tablenav-pages .button,
.tablenav-pages-navspan{
    background: rgba(255,255,255,.03) !important;
    border: 1px solid rgba(123,97,255,.16) !important;
    color: var(--neon-text) !important;
    border-radius: 10px !important;
}

.tablenav .actions select,
.tablenav .actions input,
.search-box input[type="search"],
.search-box input[type="submit"],
#posts-filter .tablenav select,
#posts-filter .tablenav input{
    min-height: 36px;
}

#posts-filter .search-box{
    margin-bottom: 12px;
}

#posts-filter .subsubsub a,
#posts-filter .subsubsub .count{
    color: #b8c6f3 !important;
}

#posts-filter .subsubsub .current{
    color: #ffffff !important;
    font-weight: 700;
}

#posts-filter .tablenav .actions select,
#posts-filter .tablenav .actions .button,
#posts-filter .tablenav-pages .current-page{
    background: rgba(10,17,32,.82) !important;
    color: var(--neon-text) !important;
    border: 1px solid rgba(123,97,255,.16) !important;
    border-radius: 10px !important;
}

#posts-filter .tablenav .actions .button,
#posts-filter .tablenav .actions .button.action{
    padding-left: 14px;
    padding-right: 14px;
}

.wp-list-table input[type="checkbox"],
.check-column input[type="checkbox"]{
    border-radius: 6px !important;
    border-color: rgba(123,97,255,.28) !important;
    background: rgba(10,17,32,.9) !important;
}

.wp-list-table input[type="checkbox"]:checked::before{
    filter: brightness(1.2);
}

.inline-edit-row,
.inline-edit-row td,
.inline-editor{
    background: rgba(9,15,28,.98) !important;
    color: var(--neon-text) !important;
}

.column-comments .post-com-count,
.column-comments .post-com-count-approved,
.column-comments .comment-grey-bubble{
    background-color: rgba(123,97,255,.14) !important;
    border-color: rgba(123,97,255,.24) !important;
    color: #fff !important;
}

.plugins .plugin-title strong,
.wp-list-table .plugin-title strong{
    color: #fff !important;
}



/* v3 fixes: block editor, sidebars, publish panel, action buttons */

html :where(.editor-styles-wrapper),
html :where(.block-editor-writing-flow),
html :where(.editor-visual-editor),
html :where(.is-root-container),
html :where(.block-editor-block-list__layout),
html :where(.edit-post-visual-editor),
html :where(.interface-interface-skeleton__content),
html :where(.interface-navigable-region),
html :where(.editor-editor-interface),
html :where(.edit-post-layout),
html :where(.edit-post-layout__content),
html :where(.edit-post-layout__metaboxes),
html :where(.block-editor-block-canvas),
html :where(.block-editor-iframe__body),
html :where(.editor-post-title),
html :where(.editor-post-title__block),
html :where(.editor-post-title__input),
html :where(.wp-block-post-title),
html :where(.wp-block),
html :where(.components-popover__content){
    background: transparent !important;
    color: var(--neon-text) !important;
}

body.block-editor-page,
body.post-php.block-editor-page,
body.post-new-php.block-editor-page,
body .edit-post-layout__content,
body .editor-visual-editor,
body .block-editor-writing-flow,
body .is-root-container{
    background:
        radial-gradient(circle at top center, rgba(95,125,255,.12), transparent 32%),
        linear-gradient(180deg, #0a1120 0%, #0d1424 100%) !important;
}

.editor-post-title__input,
.wp-block-post-title,
.block-editor-rich-text__editable,
.editor-styles-wrapper,
.editor-styles-wrapper p,
.editor-styles-wrapper li,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4{
    color: var(--neon-text) !important;
}

.editor-post-title__input{
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(123,97,255,.18) !important;
    border-radius: 18px !important;
    padding: 18px 20px !important;
    box-shadow: var(--neon-shadow);
}

.block-editor-default-block-appender__content,
.wp-block-post-content,
.block-editor-block-list__block,
.editor-styles-wrapper .wp-block[data-type],
.editor-styles-wrapper .block-editor-block-list__block-edit{
    color: var(--neon-text-soft) !important;
}

.block-editor-block-list__layout > .block-editor-block-list__block > .block-editor-block-list__block-edit,
.block-editor-writing-flow .block-editor-block-list__block{
    background: transparent !important;
}

.edit-post-sidebar,
.interface-complementary-area,
.interface-interface-skeleton__sidebar,
.editor-sidebar,
.components-panel,
.components-panel__body,
.components-panel__header,
.components-panel__body-title,
.edit-post-post-status,
.edit-post-post-link,
.edit-post-post-template,
.edit-post-post-url,
.editor-post-featured-image,
.editor-post-excerpt,
.post-visibility,
.edit-post-post-schedule,
.components-dropdown-menu__menu,
.components-menu-group,
.components-popover__content,
.components-modal__content,
.components-card{
    background: linear-gradient(180deg, rgba(18,27,46,.96), rgba(13,20,36,.96)) !important;
    color: var(--neon-text-soft) !important;
    border-color: rgba(123,97,255,.14) !important;
}

.interface-interface-skeleton__sidebar,
.edit-post-sidebar{
    border-left: 1px solid var(--neon-line) !important;
}

.components-panel__body,
.components-panel__header,
.editor-post-publish-panel,
.editor-post-publish-panel__header,
.editor-post-publish-panel__toggle,
.editor-post-publish-button__button,
.components-button,
.components-toolbar,
.block-editor-block-toolbar{
    box-shadow: none !important;
}

.components-button.is-secondary,
.components-button.is-tertiary,
.components-button.editor-post-trash,
.components-button.editor-post-switch-to-draft,
.components-button.edit-post-post-saved-state,
.components-button.editor-post-preview,
.components-button.editor-post-publish-panel__toggle,
.edit-post-header__settings .components-button,
.edit-post-header-toolbar__inserter-toggle,
.block-editor-block-toolbar .components-button{
    background: rgba(255,255,255,.04) !important;
    color: var(--neon-text) !important;
    border: 1px solid rgba(123,97,255,.16) !important;
    border-radius: 10px !important;
}

.components-button.is-primary,
.editor-post-publish-button,
.editor-post-publish-button__button,
.editor-post-publish-panel__toggle.is-primary,
.is-primary.components-button{
    background: linear-gradient(135deg, var(--neon-accent), var(--neon-accent-2)) !important;
    color: #fff !important;
    border: 1px solid rgba(123,97,255,.28) !important;
    border-radius: 12px !important;
}

.components-button:hover,
.editor-post-publish-button__button:hover,
.edit-post-header__settings .components-button:hover{
    box-shadow: 0 10px 24px rgba(95,125,255,.18), 0 0 18px rgba(123,97,255,.22) !important;
}

.edit-post-header,
.editor-header,
.interface-interface-skeleton__header{
    background: rgba(10,17,32,.88) !important;
    border-bottom: 1px solid var(--neon-line) !important;
    backdrop-filter: blur(12px);
}

.edit-post-layout__metaboxes:not(:empty){
    margin-top: 20px !important;
}

.edit-post-layout__metaboxes .postbox,
#poststuff .postbox,
#poststuff .stuffbox,
#side-sortables .postbox,
#normal-sortables .postbox,
#advanced-sortables .postbox{
    background: linear-gradient(180deg, rgba(8,17,36,.98), rgba(7,14,29,.98)) !important;
    border: 1px solid rgba(53,92,197,.32) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.02) !important;
}

#poststuff .postbox .inside,
#poststuff .stuffbox .inside,
#poststuff .inside,
.acf-fields,
.cmb2-wrap{
    background: transparent !important;
}

#poststuff label,
#poststuff .postbox p,
#poststuff .postbox span,
#poststuff .postbox h2,
#poststuff .postbox h3,
#poststuff .postbox .description,
#poststuff .postbox a,
#poststuff .stuffbox label,
#poststuff .stuffbox .description{
    color: var(--neon-text-soft) !important;
}

#poststuff .postbox input[type="text"],
#poststuff .postbox input[type="url"],
#poststuff .postbox input[type="number"],
#poststuff .postbox input[type="email"],
#poststuff .postbox textarea,
#poststuff .postbox select,
#side-sortables input[type="text"],
#side-sortables input[type="url"],
#side-sortables textarea,
#side-sortables select{
    background: rgba(255,255,255,.03) !important;
    color: var(--neon-text) !important;
    border: 1px solid rgba(123,97,255,.18) !important;
}

#screen-meta-links .show-settings,
.page-title-action,
.wrap .page-title-action,
.wrap .add-new-h2,
.wrap a.page-title-action,
.wrap a.add-new-h2,
.edit-php .page-title-action,
.post-type-post .page-title-action,
.post-type-page .page-title-action{
    background: linear-gradient(135deg, var(--neon-accent), var(--neon-accent-2)) !important;
    color: #fff !important;
    border: 1px solid rgba(123,97,255,.26) !important;
    border-radius: 10px !important;
    text-shadow: none !important;
    box-shadow: 0 8px 20px rgba(95,125,255,.16) !important;
}

.page-title-action:hover,
.wrap .page-title-action:hover,
.wrap a.page-title-action:hover,
.wrap .add-new-h2:hover{
    filter: brightness(1.06);
    color: #fff !important;
}

.postbox .handle-actions .handle-order-higher,
.postbox .handle-actions .handle-order-lower,
.postbox .handle-actions .handlediv,
.postbox .hndle button,
.postbox .handle-actions button{
    color: var(--neon-text) !important;
}

.notice .button,
.notice .button-primary,
.notice .button-secondary{
    margin-top: 6px;
}

.yoast-sidebar,
.yoast-sidebar__inner,
#wpseo_meta,
#wpseo_meta .inside,
#wpseo_meta .postbox,
#wpseo_meta .components-panel{
    background: linear-gradient(180deg, rgba(18,27,46,.96), rgba(13,20,36,.96)) !important;
    color: var(--neon-text-soft) !important;
}

.components-text-control__input,
.components-select-control__input,
.components-textarea-control__input,
.components-input-control__backdrop,
.components-input-control__container{
    background: rgba(255,255,255,.03) !important;
    color: var(--neon-text) !important;
    border-color: rgba(123,97,255,.16) !important;
}




/* v4 fixes: stubborn Gutenberg white canvas/title wrappers */

body.block-editor-page .interface-interface-skeleton__editor,
body.block-editor-page .interface-interface-skeleton__content,
body.block-editor-page .editor-visual-editor,
body.block-editor-page .edit-post-visual-editor,
body.block-editor-page .block-editor-block-canvas,
body.block-editor-page .block-editor-iframe__html,
body.block-editor-page .block-editor-iframe__body,
body.block-editor-page .block-editor-writing-flow,
body.block-editor-page .block-editor-block-list__layout,
body.block-editor-page .is-root-container,
body.block-editor-page .editor-styles-wrapper,
body.block-editor-page .editor-styles-wrapper__inner,
body.block-editor-page .block-editor-block-canvas iframe{
    background:
        radial-gradient(circle at top center, rgba(95,125,255,.10), transparent 32%),
        linear-gradient(180deg, #0a1120 0%, #0d1424 100%) !important;
}

body.block-editor-page .editor-post-title,
body.block-editor-page .editor-post-title__block,
body.block-editor-page .editor-post-title__input,
body.block-editor-page .wp-block-post-title,
body.block-editor-page .wp-block-post-title textarea,
body.block-editor-page .wp-block-post-title rich-text,
body.block-editor-page .editor-post-title__input,
body.block-editor-page textarea.editor-post-title__input{
    background: rgba(18,27,46,.94) !important;
    color: #eef2ff !important;
    border-color: rgba(123,97,255,.24) !important;
}

body.block-editor-page .editor-post-title,
body.block-editor-page .editor-post-title__block{
    border-radius: 20px !important;
    box-shadow: var(--neon-shadow) !important;
}

body.block-editor-page .editor-styles-wrapper,
body.block-editor-page .editor-styles-wrapper p,
body.block-editor-page .editor-styles-wrapper li,
body.block-editor-page .editor-styles-wrapper ul,
body.block-editor-page .editor-styles-wrapper ol,
body.block-editor-page .editor-styles-wrapper blockquote,
body.block-editor-page .editor-styles-wrapper pre,
body.block-editor-page .editor-styles-wrapper code,
body.block-editor-page .editor-styles-wrapper .wp-block,
body.block-editor-page .block-editor-default-block-appender__content{
    color: var(--neon-text-soft) !important;
}

body.block-editor-page .block-editor-rich-text__editable,
body.block-editor-page .block-editor-rich-text__editable p,
body.block-editor-page .block-editor-rich-text__editable span,
body.block-editor-page .block-editor-rich-text__editable div{
    color: inherit !important;
}

body.block-editor-page .editor-styles-wrapper .block-editor-block-list__block-edit,
body.block-editor-page .editor-styles-wrapper .wp-block[data-type="core/html"],
body.block-editor-page .editor-styles-wrapper .wp-block-code,
body.block-editor-page .editor-styles-wrapper pre,
body.block-editor-page .editor-styles-wrapper code{
    background: transparent !important;
}

body.block-editor-page .editor-styles-wrapper .wp-block[data-type="core/html"] .block-editor-block-list__block-edit,
body.block-editor-page .editor-styles-wrapper .wp-block[data-type="core/html"] textarea,
body.block-editor-page .editor-styles-wrapper .wp-block[data-type="core/html"] .components-textarea-control__input,
body.block-editor-page .editor-styles-wrapper .block-editor-plain-text,
body.block-editor-page .editor-styles-wrapper textarea.block-editor-plain-text,
body.block-editor-page textarea.components-textarea-control__input,
body.block-editor-page textarea.block-editor-rich-text__editable{
    background: #4f5668 !important;
    color: #f4f7ff !important;
    border: 1px solid rgba(123,97,255,.18) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

body.block-editor-page .wp-block[data-type="core/html"],
body.block-editor-page .wp-block[data-type="core/code"],
body.block-editor-page .wp-block[data-type="kevinbatdorf/code-block-pro/code-block-pro"]{
    background: #4f5668 !important;
    border: 1px solid rgba(123,97,255,.16) !important;
    border-radius: 16px !important;
    padding: 8px !important;
}

body.block-editor-page .components-button[aria-label="Exit code editor"],
body.block-editor-page .editor-post-preview,
body.block-editor-page .edit-post-fullscreen-mode-close,
body.block-editor-page .edit-post-header-toolbar__inserter-toggle,
body.block-editor-page .components-button.has-icon,
body.block-editor-page .components-dropdown-menu button{
    background: rgba(255,255,255,.04) !important;
    color: var(--neon-text) !important;
    border: 1px solid rgba(123,97,255,.16) !important;
    border-radius: 10px !important;
}

body.block-editor-page .components-button[aria-label="Exit code editor"]:hover,
body.block-editor-page .editor-post-preview:hover,
body.block-editor-page .edit-post-fullscreen-mode-close:hover{
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(95,125,255,.18), 0 0 18px rgba(123,97,255,.22) !important;
}

body.block-editor-page .components-popover__content,
body.block-editor-page .components-menu-group,
body.block-editor-page .components-dropdown-menu__menu,
body.block-editor-page .components-toolbar{
    background: linear-gradient(180deg, rgba(18,27,46,.96), rgba(13,20,36,.96)) !important;
    border-color: rgba(123,97,255,.16) !important;
    color: var(--neon-text-soft) !important;
}




/* v4.1 fix: form table headers */
.form-table th{
    color: var(--neon-text-soft) !important;
}


/* v1.0.6: stable, aligned neon admin bar
   Safer sizing: no vertical margins on top-level items, no transforms, fixed line-height sync. */
html.wp-toolbar{
    padding-top: 36px !important;
}

#wpadminbar{
    height: 36px !important;
    min-height: 36px !important;
    overflow: visible !important;
    background:
        radial-gradient(circle at 10% 0%, rgba(123,97,255,.24), transparent 34%),
        radial-gradient(circle at 86% 0%, rgba(95,125,255,.18), transparent 34%),
        linear-gradient(180deg, rgba(16,24,45,.98), rgba(7,11,23,.96)) !important;
    border-bottom: 1px solid rgba(148,163,255,.26) !important;
    box-shadow:
        0 10px 28px rgba(0,0,0,.34),
        0 1px 0 rgba(255,255,255,.05) inset,
        0 0 22px rgba(95,125,255,.10) !important;
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
}

#wpadminbar::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123,97,255,.68), rgba(95,125,255,.52), transparent);
    pointer-events: none;
}

#wpadminbar #wp-toolbar,
#wpadminbar .quicklinks,
#wpadminbar .ab-top-menu,
#wpadminbar .ab-top-secondary,
#wpadminbar .ab-top-menu > li,
#wpadminbar .ab-top-secondary > li{
    height: 36px !important;
    min-height: 36px !important;
}

#wpadminbar .quicklinks > ul > li > .ab-item,
#wpadminbar .quicklinks > ul > li > a.ab-item,
#wpadminbar .ab-top-menu > li > .ab-item,
#wpadminbar .ab-top-secondary > li > .ab-item,
#wpadminbar .ab-empty-item,
#wpadminbar .ab-icon,
#wpadminbar .ab-label,
#wpadminbar .noticon{
    height: 36px !important;
    min-height: 36px !important;
    line-height: 36px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

#wpadminbar .quicklinks > ul > li > .ab-item,
#wpadminbar .quicklinks > ul > li > a.ab-item{
    padding-left: 11px !important;
    padding-right: 11px !important;
    color: #ecf2ff !important;
    font-weight: 700;
    letter-spacing: .01em;
    text-shadow: 0 0 12px rgba(123,97,255,.18);
    border-radius: 0 !important;
    transition: background .16s ease, box-shadow .16s ease, color .16s ease;
}

#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .ab-item::after{
    line-height: 36px !important;
    color: #b8c6ff !important;
}

#wpadminbar .quicklinks > ul > li:hover > .ab-item,
#wpadminbar .quicklinks > ul > li.hover > .ab-item,
#wpadminbar .menupop.hover > .ab-item,
#wpadminbar .menupop:hover > .ab-item{
    background: linear-gradient(135deg, rgba(123,97,255,.24), rgba(95,125,255,.16)) !important;
    color: #fff !important;
    box-shadow: 0 0 0 1px rgba(148,163,255,.16) inset, 0 0 18px rgba(123,97,255,.18);
}

#wpadminbar .quicklinks > ul > li:hover > .ab-item::before,
#wpadminbar .quicklinks > ul > li.hover > .ab-item::before{
    color: #fff !important;
}

#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon::before{
    color: #ffffff !important;
    text-shadow: 0 0 14px rgba(123,97,255,.48), 0 0 22px rgba(95,125,255,.30);
}

#wpadminbar .ab-sub-wrapper{
    top: 36px !important;
    background: linear-gradient(180deg, rgba(17,25,46,.98), rgba(9,14,29,.98)) !important;
    border: 1px solid rgba(123,97,255,.24) !important;
    border-radius: 14px !important;
    padding: 7px !important;
    margin-top: 0 !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.44), 0 0 24px rgba(95,125,255,.12) !important;
    overflow: hidden;
}

#wpadminbar ul.ab-submenu,
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary{
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a{
    min-height: 32px !important;
    height: auto !important;
    line-height: 1.35 !important;
    border-radius: 9px !important;
    padding: 7px 10px !important;
    color: #cbd7ff !important;
    font-weight: 600;
}

#wpadminbar .ab-submenu .ab-item:hover,
#wpadminbar .quicklinks .menupop ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:hover{
    background: rgba(123,97,255,.18) !important;
    color: #fff !important;
}

@media screen and (max-width: 782px){
    html.wp-toolbar{
        padding-top: 46px !important;
    }

    #wpadminbar{
        height: 46px !important;
        min-height: 46px !important;
    }

    #wpadminbar #wp-toolbar,
    #wpadminbar .quicklinks,
    #wpadminbar .ab-top-menu,
    #wpadminbar .ab-top-secondary,
    #wpadminbar .ab-top-menu > li,
    #wpadminbar .ab-top-secondary > li,
    #wpadminbar .quicklinks > ul > li > .ab-item,
    #wpadminbar .quicklinks > ul > li > a.ab-item,
    #wpadminbar .ab-empty-item,
    #wpadminbar .ab-icon,
    #wpadminbar .ab-label,
    #wpadminbar .noticon{
        height: 46px !important;
        min-height: 46px !important;
        line-height: 46px !important;
    }

    #wpadminbar .ab-icon::before,
    #wpadminbar .ab-item::before,
    #wpadminbar .ab-item::after{
        line-height: 46px !important;
    }

    #wpadminbar .ab-sub-wrapper{
        top: 46px !important;
    }
}

/* v1.0.7: precise admin-bar icon centering
   Fixes WordPress pseudo-icons such as the site/home icon after the taller bar resize. */
#wpadminbar .quicklinks > ul > li > .ab-item,
#wpadminbar .quicklinks > ul > li > a.ab-item{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

#wpadminbar .ab-icon,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .ab-item::after{
    top: 0 !important;
    transform: none !important;
    vertical-align: middle !important;
}

#wpadminbar .ab-icon{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .ab-item::after{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    min-height: 36px !important;
    line-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

#wpadminbar #wp-admin-bar-site-name > .ab-item::before{
    width: 20px !important;
    margin-right: 2px !important;
    position: relative !important;
}

#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon{
    width: 22px !important;
}

#wpadminbar #wp-admin-bar-my-account.with-avatar > .ab-item{
    gap: 7px !important;
}

#wpadminbar #wp-admin-bar-my-account.with-avatar img{
    align-self: center !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

@media screen and (max-width: 782px){
    #wpadminbar .ab-icon,
    #wpadminbar .ab-icon::before,
    #wpadminbar .ab-item::before,
    #wpadminbar .ab-item::after{
        height: 46px !important;
        min-height: 46px !important;
        line-height: 46px !important;
    }
}

/* v1.0.9: generic widefat table polish for custom admin plugin pages
   Covers plain tables such as <table class="widefat fixed striped"> that are not wp-list-table. */
body.wp-admin table.widefat,
body.wp-admin table.widefat.fixed,
body.wp-admin table.widefat.striped{
    background: linear-gradient(180deg, rgba(18,27,46,.98), rgba(10,17,32,.98)) !important;
    border: 1px solid rgba(123,97,255,.26) !important;
    border-radius: 18px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 18px 46px rgba(0,0,0,.34), 0 0 0 1px rgba(123,97,255,.08), 0 0 28px rgba(95,125,255,.10) !important;
    color: var(--neon-text-soft) !important;
}

body.wp-admin table.widefat thead,
body.wp-admin table.widefat tfoot,
body.wp-admin table.widefat thead tr,
body.wp-admin table.widefat tfoot tr{
    background: linear-gradient(180deg, rgba(25,35,68,.98), rgba(13,20,38,.98)) !important;
}

body.wp-admin table.widefat thead th,
body.wp-admin table.widefat tfoot th{
    background: transparent !important;
    color: var(--neon-text) !important;
    font-weight: 800 !important;
    letter-spacing: .01em !important;
    border-bottom: 1px solid rgba(123,97,255,.22) !important;
    padding: 14px 16px !important;
    text-shadow: 0 0 14px rgba(123,97,255,.18);
}

body.wp-admin table.widefat tbody tr,
body.wp-admin table.widefat tbody tr.alternate,
body.wp-admin table.widefat.striped > tbody > tr,
body.wp-admin table.widefat.striped > tbody > tr:nth-child(odd),
body.wp-admin table.widefat.striped > tbody > tr:nth-child(even){
    background: rgba(10,17,32,.44) !important;
    color: var(--neon-text-soft) !important;
}

body.wp-admin table.widefat.striped > tbody > tr:nth-child(odd){
    background: rgba(123,97,255,.055) !important;
}

body.wp-admin table.widefat tbody tr:hover,
body.wp-admin table.widefat.striped > tbody > tr:hover{
    background: rgba(123,97,255,.12) !important;
}

body.wp-admin table.widefat td,
body.wp-admin table.widefat th,
body.wp-admin table.widefat td p,
body.wp-admin table.widefat td strong,
body.wp-admin table.widefat td span,
body.wp-admin table.widefat td a{
    color: var(--neon-text-soft) !important;
}

body.wp-admin table.widefat td{
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.055) !important;
    border-top: 0 !important;
    vertical-align: middle !important;
}

body.wp-admin table.widefat tbody tr:last-child td{
    border-bottom: 0 !important;
}

body.wp-admin table.widefat td:first-child,
body.wp-admin table.widefat td:first-child a,
body.wp-admin table.widefat td strong{
    color: #eef3ff !important;
}

body.wp-admin table.widefat .button,
body.wp-admin table.widefat .button-small,
body.wp-admin table.widefat a.button,
body.wp-admin table.widefat a.button-small{
    min-height: 32px !important;
    height: auto !important;
    line-height: 30px !important;
    padding: 0 13px !important;
    border-radius: 11px !important;
    border: 1px solid rgba(123,97,255,.42) !important;
    background: linear-gradient(135deg, rgba(123,97,255,.96), rgba(95,125,255,.86)) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 24px rgba(95,125,255,.18), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

body.wp-admin table.widefat .button:hover,
body.wp-admin table.widefat .button-small:hover,
body.wp-admin table.widefat a.button:hover,
body.wp-admin table.widefat a.button-small:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(95,125,255,.26), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
