/* Opt-in utility pages. Existing widgets, field IDs and save handlers retain ownership. */
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh { padding-bottom:40px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .container { width:100%; max-width:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card { background:var(--wdt-color-surface); color:var(--wdt-color-text); border:0; border-radius:22px; box-shadow:0 10px 35px #23396912; overflow:visible; }
html[data-wdt-theme=dark] body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card { box-shadow:0 0 32px #5f78e015; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card-header { background:transparent; color:var(--wdt-color-text); border:0; padding:24px; border-radius:22px 22px 0 0; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-admin-card-header { display:flex; flex-wrap:wrap; align-items:center; gap:16px; min-height:0; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-admin-card-header #wpdt-inline-logo { display:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-admin-card-header h2 { flex:1; margin:0; padding:0; font:500 27px/1.25 'Space Grotesk',sans-serif; letter-spacing:-.7px; color:var(--wdt-color-text); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-admin-card-header .actions { position:static; display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; padding:0 !important; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-admin-card-header .actions li { padding:0; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card-body { padding:20px 24px 24px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(h3,h4,h5,.card-title) { font-family:'Space Grotesk',sans-serif; letter-spacing:-.25px; color:var(--wdt-color-text); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(p,label,.c-title-color,.card-text,.help-block) { color:var(--wdt-color-muted); font-family:Geist,sans-serif; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh p { line-height:1.65; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh a { color:var(--wdt-color-action); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(.btn,button.button) { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:36px; padding:8px 16px; font:500 13px/1.4 Geist,sans-serif; text-transform:none; border:0; border-radius:999px; background:var(--wdt-color-field); color:var(--wdt-color-action); box-shadow:none; transition:box-shadow .18s,background-color .18s,transform .12s; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .btn-primary { background:var(--wdt-color-action); color:var(--wdt-color-surface); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .btn:hover { box-shadow:0 0 0 3px #6d9df020; filter:brightness(1.06); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .btn:active { transform:scale(.98); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(button,a,input,select,textarea):focus-visible { outline:2px solid var(--wdt-color-action); outline-offset:3px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(.form-control,input[type=text],input[type=number],input[type=password],textarea,select) { color:var(--wdt-color-text); background-color:var(--wdt-color-field); border:1px solid var(--wdt-color-border); border-radius:9px; box-shadow:none; font-family:Geist,sans-serif; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .fg-line:after { display:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .bootstrap-select > .btn { border-radius:9px; width:100%; text-align:left; justify-content:space-between; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .dropdown-menu { background:var(--wdt-color-surface); color:var(--wdt-color-text); border:1px solid var(--wdt-color-border); border-radius:12px; padding:6px; box-shadow:0 12px 30px #0002; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .dropdown-menu > li > a { color:var(--wdt-color-text); border-radius:7px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .dropdown-menu > li > a:hover { background:var(--wdt-color-field); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .tab-nav { display:flex; flex-wrap:wrap; gap:6px; background:transparent; box-shadow:none; border:0; margin-bottom:22px; padding:0; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .tab-nav > li { float:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .tab-nav > li > a { padding:10px 14px; border:0; border-radius:10px; font:500 13px/1.4 Geist,sans-serif; text-transform:none; color:var(--wdt-color-muted); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .tab-nav > li.active > a { background:var(--wdt-color-field); color:var(--wdt-color-action); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .tab-nav > li > a:after { display:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(.alert-info,.notice-info) { background:rgba(103,145,218,.12); border:0; border-radius:14px; color:var(--wdt-color-text); padding:18px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(code,pre) { background:var(--wdt-color-field); color:var(--wdt-color-text); border-radius:5px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(table,.wp-list-table) { background:transparent; color:var(--wdt-color-text); border:0; box-shadow:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(td,th) { color:var(--wdt-color-text); border-color:var(--wdt-color-border); padding:12px 16px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-system-info-table { margin-bottom:24px; border-collapse:separate; border-spacing:0; border-radius:16px; overflow:hidden; width:100%; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-system-info-table th { background:var(--wdt-color-field); text-align:left; font:500 17px/1.5 'Space Grotesk',sans-serif; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-system-info-table td { background:transparent; border-bottom:0; overflow-wrap:anywhere; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-system-info-table tr:nth-child(2n) td { background:rgba(125,146,190,.06); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .striped > tbody > :nth-child(odd) { background:rgba(125,146,190,.07); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .modal-content { background:var(--wdt-color-surface); color:var(--wdt-color-text); border:0; border-radius:20px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh :is(.modal-header,.modal-footer) { border-color:var(--wdt-color-border); padding:20px 24px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .modal-body { padding:24px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .close { color:var(--wdt-color-text); opacity:.8; text-shadow:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-addons-intro { padding:16px 24px; max-width:1000px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wpdt-add-ons-card > .row { display:flex; flex-wrap:wrap; row-gap:24px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wpdt-add-ons-card > .row > .col-sm-4 { display:flex; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wpdt-add-ons-card .thumbnail { width:100%; background:linear-gradient(135deg,var(--wdt-color-field),var(--wdt-color-surface)); border:0; border-radius:18px; padding:22px; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wpdt-add-ons-card .caption { color:var(--wdt-color-text); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-support .card:not(.card-head) { background:linear-gradient(130deg,var(--wdt-color-surface),var(--wdt-color-field)); }
@media(max-width:900px) { body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-admin-card-header .actions { width:100%; } body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card-body { padding:16px; } }
@media(max-width:650px) { body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .col-sm-4,body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .col-sm-6 { width:100%; float:none; } body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card-header { padding:18px; } body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-system-info-table td { padding:10px 6px; } }
@media(prefers-reduced-motion:reduce) { body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .btn { transition:none; } }

body.wpdt-c .wdt-utility-refresh .wdt-admin-card-header h2 { display:block !important; position:static; width:auto; height:auto; }
body.wpdt-c .wdt-utility-refresh .wdt-addons-block { background:var(--wdt-color-field); border:0; border-radius:18px; padding:22px; height:100%; }
/* Legacy UI kit applies !important to these surfaces and text utilities. */
body.wpdt-c .wdt-utility-refresh :is(.card,.card-body,.panel,.panel-body,.wdt-activation-section) { background:var(--wdt-color-surface) !important; color:var(--wdt-color-text) !important; font-family:Geist,sans-serif; }
body.wpdt-c .wdt-utility-refresh :is(.c-title-color,h2,h3,h4,h5,label,.checkbox label,.toggle-switch label) { color:var(--wdt-color-text) !important; }
body.wpdt-c .wdt-utility-refresh :is(.form-control,.bootstrap-select,.bootstrap-select > .btn,.input-group-addon,.checkbox,.toggle-switch,.wpdt-addons-block) { background-color:var(--wdt-color-field) !important; color:var(--wdt-color-text) !important; border-color:var(--wdt-color-border) !important; }
body.wpdt-c .wdt-utility-refresh .btn-default { background:var(--wdt-color-field) !important; color:var(--wdt-color-action) !important; }
body.wpdt-c .wdt-utility-refresh .btn-primary { background:var(--wdt-color-action) !important; color:var(--wdt-color-surface) !important; }
body.wpdt-c .wdt-utility-refresh .bootstrap-select { border-radius:10px; }
body.wpdt-c .wdt-utility-refresh .tab-content { padding-top:10px; }
body.wpdt-c .wdt-utility-refresh .wpdt-addons-block { border:0 !important; border-radius:18px; padding:22px; height:100%; }
body.wpdt-c .wdt-utility-refresh .wpdt-addons-desc { background:transparent !important; }
body.wpdt-c .wdt-utility-refresh .wpdt-addons-desc img { max-width:100%; object-fit:contain; }
body.wpdt-c .wdt-utility-refresh .wp-list-table tbody :is(tr,td),
body.wpdt-c .wdt-utility-refresh .wdt-system-info-table :is(td,th) { background-color:var(--wdt-color-surface) !important; color:var(--wdt-color-text) !important; }
body.wpdt-c .wdt-utility-refresh :is(.checkbox,.radio,.toggle-switch) label { border-color:var(--wdt-color-border) !important; border-radius:10px; }
body.wpdt-c .wdt-utility-refresh .wdt-backend-close { background:var(--wdt-color-field) !important; color:var(--wdt-color-text) !important; }
body.wpdt-c .wdt-utility-refresh .modal-dialog { max-width:calc(100vw - 32px); }
body.wpdt-c .wdt-utility-refresh .card-body { border-radius:0 0 22px 22px; }
body.wpdt-c .wdt-utility-refresh .wdt-support > .row + .row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
body.wpdt-c .wdt-utility-refresh .wdt-support .card-columns { display:contents; }
body.wpdt-c .wdt-utility-refresh .wdt-support .card-columns .card { margin:0 !important; border-radius:22px !important; }
body.wpdt-c .wdt-utility-refresh .wdt-support .card-columns .card-body { height:auto !important; min-height:0 !important; padding:26px; border-radius:22px; background:linear-gradient(135deg,var(--wdt-color-surface),var(--wdt-color-field)) !important; }
@media(max-width:700px) { body.wpdt-c .wdt-utility-refresh .wdt-support > .row + .row { grid-template-columns:1fr; } }
body.wpdt-c .wdt-utility-refresh .wdt-permissions-list-table-wrap { overflow-x:auto; }
body.wpdt-c .wdt-utility-refresh .card-head { margin-bottom:20px !important; }
@media(max-width:700px) { body.wpdt-c .wdt-utility-refresh .tab-pane > .row { margin-left:0; margin-right:0; } }

/* Info callouts: one text colour and size, themed in both modes */
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .alert { background:color-mix(in srgb,var(--wdt-color-action) 9%,var(--wdt-color-field)) !important; border:0; border-radius:14px; padding:18px 44px 18px 18px; color:var(--wdt-color-text) !important; box-shadow:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .alert :is(.wdt-alert-title,.wdt-alert-subtitle,p,li,ul) { color:var(--wdt-color-text); font-size:13px; line-height:1.6; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .alert .wdt-alert-subtitle :is(p,li) { color:var(--wdt-color-muted); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .alert a { color:var(--wdt-color-action); text-decoration:underline; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .alert > .close { color:var(--wdt-color-muted); opacity:1; text-shadow:none; }

/* Colour and font accordion: muted dividers instead of the classic white / blue lines */
body.wpdt-c .wdt-utility-refresh .panel-collapse .panel-heading .panel-title > a { color:var(--wdt-color-text); }
body.wpdt-c .wdt-utility-refresh .panel-collapse .panel-heading .panel-title > a::before { height:1px; background:var(--wdt-color-border) !important; }
body.wpdt-c .wdt-utility-refresh .panel-group .panel-collapse .panel-heading.active .panel-title > a::after { height:1px; background:var(--wdt-color-action) !important; opacity:.55; }
body.wpdt-c .wdt-utility-refresh .panel-collapse .panel-heading::before,
body.wpdt-c .wdt-utility-refresh .panel-collapse .panel-heading::after { color:var(--wdt-color-muted); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh #reset-color-settings { background:var(--wdt-color-field) !important; color:var(--wdt-color-text) !important; border:1px solid var(--wdt-color-border) !important; }

/* License cards */
body.wpdt-c .wdt-utility-refresh .wdt-activation-section { border:1px solid var(--wdt-color-border); border-radius:16px; overflow:hidden; background:transparent; }
body.wpdt-c .wdt-utility-refresh .wdt-activation-section .wpdt-plugins-desc { background:var(--wdt-color-field); }
body.wpdt-c .wdt-utility-refresh .wdt-activation-section .wpdt-plugins-desc h4 { color:var(--wdt-color-text) !important; }

/* Footer row sits below the card body instead of on its shadow line */
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card > .card-body { box-shadow:none; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card > .card-body + .row { padding-top:8px; padding-bottom:20px; }

/* Permissions: no stray scrollbar, readable ID column, themed row actions */
body.wpdt-c .wdt-utility-refresh .wdt-permissions-list-table-wrap .row { margin-left:0; margin-right:0; }
body.wpdt-c .wdt-utility-refresh .wdt-permissions-list-table-wrap .row > [class*=col-] { padding-left:0; padding-right:0; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card.plugin-settings.wdt-browse-table .wdt-permissions-table :is(th,td).column-id { width:110px !important; overflow-wrap:anywhere; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-utility-refresh .card.plugin-settings .wdt-permissions-table tr .column-actions a i { color:var(--wdt-color-muted); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-utility-refresh .card.plugin-settings .wdt-permissions-table tr:hover > .column-actions a:hover { background:var(--wdt-color-field); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-utility-refresh .card.plugin-settings .wdt-permissions-table tr:hover > .column-actions a:hover i { color:var(--wdt-color-text); }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-utility-refresh .card.plugin-settings .wdt-permissions-table tr:hover > .column-actions a.wdt-delete-permission:hover i { color:#d63c3c; }
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .card > .card-body.card-padding:last-child { border-radius:0 0 22px 22px; }
/* Same box at rest and on hover */
body.wpdt-c .wdt-datatables-admin-wrap.wdt-browse-refresh.wdt-utility-refresh .wdt-documentation.btn { display:inline-flex; gap:8px; min-height:var(--wdt-control-height); line-height:1.4; }
