/* CBQ Select (v4.12.1774) — styled dropdown that replaces the native <select> list on plugin admin pages. See assets/js/cbq-select.js. */
.cbq-sel{position:relative;display:inline-block;vertical-align:middle;min-width:0;max-width:100%;font-family:Inter,-apple-system,"Segoe UI",Roboto,sans-serif}
.cbq-sel.is-block{display:block;width:100%}
.cbq-sel-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:36px;min-height:36px;padding:0 10px 0 12px;margin:0;border:1px solid var(--saas-border,#e2e8f0);border-radius:8px;background:var(--saas-bg-card,#fff);color:var(--saas-text-main,#0f172a);font:inherit;font-size:13px;line-height:1.2;cursor:pointer;text-align:left;white-space:nowrap;box-shadow:none;transition:border-color .12s,box-shadow .12s}
.cbq-sel-btn:hover{border-color:#cbd5e1}
.cbq-sel-lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.cbq-sel-btn svg{flex:0 0 auto;color:var(--saas-text-muted,#64748b);transition:transform .15s}
.cbq-sel.is-open .cbq-sel-btn,.cbq-sel-btn:focus-visible{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px rgba(99,102,241,.14)}
.cbq-sel.is-open .cbq-sel-btn svg{transform:rotate(180deg)}
.cbq-sel.is-disabled .cbq-sel-btn{opacity:.55;cursor:not-allowed}
.cbq-sel-list{display:none;position:fixed;left:0;top:0;z-index:100010;max-height:280px;overflow:auto;box-sizing:border-box;margin:0;padding:6px;list-style:none;background:var(--saas-bg-card,#fff);border:1px solid var(--saas-border,#e2e8f0);border-radius:10px;box-shadow:0 8px 24px rgba(15,23,42,.12)}
.cbq-sel-list.is-open{display:block}
.cbq-sel-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:8px 10px;border-radius:7px;font-size:13px;line-height:1.3;color:var(--saas-text-main,#0f172a);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cbq-sel-list li:hover,.cbq-sel-list li.is-hi{background:rgba(99,102,241,.10);color:#4f46e5}
.cbq-sel-list li.is-sel{font-weight:700}
.cbq-sel-list li.is-sel:after{content:"";width:6px;height:10px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin:0 4px 2px 0;flex:0 0 auto}
.cbq-sel-list li.is-dis{opacity:.45;cursor:default}
.cbq-sel-list li.cbq-sel-grp{cursor:default;padding:8px 10px 3px;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--saas-text-muted,#64748b)}
.cbq-sel-list li.cbq-sel-grp:hover{background:none;color:var(--saas-text-muted,#64748b)}
select.cbq-sel-native{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;min-height:0!important;opacity:0;pointer-events:none;margin:0!important;padding:0!important;border:0!important}
html.cbq-dark-mode .cbq-sel-btn{background:#0f172a;border-color:#334155;color:#e2e8f0}
html.cbq-dark-mode .cbq-sel-list{background:#0f172a;border-color:#334155;box-shadow:0 8px 24px rgba(0,0,0,.45)}
html.cbq-dark-mode .cbq-sel-list li{color:#e2e8f0}
html.cbq-dark-mode .cbq-sel-list li:hover,html.cbq-dark-mode .cbq-sel-list li.is-hi{background:rgba(99,102,241,.22);color:#c7d2fe}

/* v4.12.1774 — text fields on plugin admin pages take the same light rounded style
   (border, radius, focus ring only — sizes and paddings are left to each page). */
#wpbody-content input[type="text"],#wpbody-content input[type="search"],#wpbody-content input[type="number"],#wpbody-content input[type="date"],#wpbody-content input[type="email"],#wpbody-content input[type="url"],#wpbody-content input[type="tel"],#wpbody-content input[type="password"],#wpbody-content textarea{border:1px solid var(--saas-border,#e2e8f0);border-radius:8px;box-shadow:none;background-color:var(--saas-bg-card,#fff);color:var(--saas-text-main,#0f172a)}
#wpbody-content input[type="text"]:focus,#wpbody-content input[type="search"]:focus,#wpbody-content input[type="number"]:focus,#wpbody-content input[type="date"]:focus,#wpbody-content input[type="email"]:focus,#wpbody-content input[type="url"]:focus,#wpbody-content input[type="tel"]:focus,#wpbody-content input[type="password"]:focus,#wpbody-content textarea:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px rgba(99,102,241,.14)}
#wpbody-content #screen-meta input,#wpbody-content .media-modal input,#wpbody-content .no-cbq-field,#wpbody-content .no-cbq-field input,#wpbody-content .wp-editor-wrap textarea,#wpbody-content .cbq-combobox-input{border-radius:inherit}
html.cbq-dark-mode #wpbody-content input[type="text"],html.cbq-dark-mode #wpbody-content input[type="search"],html.cbq-dark-mode #wpbody-content input[type="number"],html.cbq-dark-mode #wpbody-content input[type="date"],html.cbq-dark-mode #wpbody-content input[type="email"],html.cbq-dark-mode #wpbody-content textarea{background-color:#0f172a;border-color:#334155;color:#e2e8f0}
