.accordion-button2::after {
	margin-left:20px !important;
}


/* Light mode */
:root {
  --readonly-bg: #f1f1f1;
  --readonly-text: #333;
  --readonly-border: #ccc;
}

/* Dark mode */
[data-theme="dark"] {
  --readonly-bg: #2a2a2a;
  --readonly-text: #ddd;
  --readonly-border: #444;
}

input[readonly],
textarea[readonly] {
  background-color: var(--readonly-bg);
  color: var(--readonly-text);
  border: 1px solid var(--readonly-border);
  cursor: not-allowed; /* optional for UX */
}

.text-secondary {
    color: #c7cace !important;
}


.sidebar-wrapper .metismenu a {

    padding: 2px 0px;
    color: #000;
 
}

/* Sidebar: icons in NeuroBridge blue */
.sidebar-wrapper .metismenu a .text-primary {
    color: #1d70b8 !important;
}

.sidebar-wrapper .metismenu a .parent-icon {
    color: #1d70b8;
}

/* Collapsed rail: client selector shows a search icon only; hover expands to the full search box */
@media screen and (min-width: 1025px) {
    .wrapper.toggled:not(.sidebar-hovered) #sidebar-client-selector > *:not(.rail-search-icon) {
        display: none;
    }
    .wrapper.toggled:not(.sidebar-hovered) #sidebar-client-selector .rail-search-icon {
        display: flex !important;
        justify-content: center;
        font-size: 22px;
        color: #1d70b8;
    }
}

.sidebar-wrapper .metismenu ul a {
    padding: 5px 0px 5px 14px;
    font-size: 15px;
    border: 0;
	line-height:17px;
}

.align-right{
	text-align:right !important;
}


.form-check-input[type=radio], .form-check-input[type=checkbox] {
    margin-right: 5px;
}



.form-check-input {
	border-color:#83888d;
}
.radio-label-ai{
	margin-left:30px;
	margin-top:-20px;
	margin-bottom:15px;
	display:flex;
	align-items:flex-start;
	gap:10px;
}

.checkbox-label-ai{
	margin-left:10px;
	margin-bottom:15px;
}

/* V2 personality version "actively editing" focus state (page.draft_blog.php) */
.nav-link.version-tab-dimmed { opacity: 0.5; }
.nav-link.version-tab-dimmed img { filter: grayscale(100%); }
.nav-link.version-tab-focused { border: 2px solid #ffc107; }
.nav-link.version-tab-focused img { box-shadow: 0 0 0 2px #ffc107; }
/* ── Media Coverage setup stepper (page.media_coverage.php) ──────────────────────────────────
   Left-to-right "is this client wired up yet" strip that replaced the stacked warning banners.
   State colours come from Bootstrap's *-subtle / *-emphasis tokens rather than hex, so the strip
   follows light/dark theme without a second [data-bs-theme] block (the analytics charts further
   down that page needed one precisely because they hardcode custom properties). */
.mc-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
}
.mc-step {
    /* Narrower minimums (2026-09): 140px forced the strip to wrap on ~1280px-wide screens;
       108px keeps more steps on one row before it wraps. */
    flex: 1 1 115px;
    min-width: 108px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--bs-border-color);
    border-right: 0;
    background: var(--bs-body-bg);
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.25;
    cursor: pointer;
}
.mc-step:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.mc-step:last-child  { border-right: 1px solid var(--bs-border-color);
                       border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
/* Once the row wraps, the "seam" borders would land mid-row, so re-round every edge. */
@media (max-width: 991.98px) {
    .mc-step { border-right: 1px solid var(--bs-border-color); border-radius: 8px; margin: 0 4px 4px 0; }
}
.mc-step:hover  { background: var(--bs-tertiary-bg); }
.mc-step:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: -2px; z-index: 1; }

/* The numbered/ticked disc. */
.mc-step-icon {
    flex: 0 0 22px;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 600;
}
.mc-step-label  { display: block; font-weight: 600; }
.mc-step-status { display: block; font-size: 0.7rem; opacity: 0.75; }

.mc-step-done    .mc-step-icon { background: var(--bs-success);   color: #fff; }
.mc-step-blocked .mc-step-icon { background: var(--bs-danger);    color: #fff; }
.mc-step-waiting .mc-step-icon { background: var(--bs-secondary-bg); color: var(--bs-secondary-color);
                                 border: 1px solid var(--bs-border-color); }

.mc-step-done    { background: var(--bs-success-bg-subtle); }
.mc-step-blocked { background: var(--bs-danger-bg-subtle); }
.mc-step-done    .mc-step-label { color: var(--bs-success-text-emphasis); }
.mc-step-blocked .mc-step-label { color: var(--bs-danger-text-emphasis); }
.mc-step-waiting .mc-step-label { color: var(--bs-secondary-color); }

/* The step whose detail panel is currently open. */
.mc-step[aria-expanded="true"] { box-shadow: inset 0 -3px 0 var(--bs-primary); }

/* Readable prose for the step detail panels (both Audio and Video steppers).
   The base body font is a bare `sans-serif` (app.css), and the panel inherits Bootstrap's .small
   (~14px) with tight default line-height — fine for a status line, cramped for the explanatory
   paragraphs these panels actually carry. This scopes a friendlier system stack, a comfortable
   size/line-height, and a prose measure so the "How it works" text reads instead of sprawls. */
.mc-step-detail {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}
.mc-step-detail p { max-width: 65ch; }
.mc-step-detail p:last-child { margin-bottom: 0; }
.mc-step-detail code {
    font-size: 0.85em;
    word-wrap: break-word;
}
.mc-step-detail .progress { font-size: 0.7rem; }

/* Two-column step detail: LEFT = what the step is (label + explain), RIGHT = current
   status + instructions/controls. The grid itself is plain Bootstrap .row.g-3; this
   just adds a vertical divider on the right column and stacks the two on narrow
   screens, where the divider and the prose measure both relax. */
.mc-step-grid > .mc-step-right {
    border-left: 1px solid var(--bs-border-color);
    padding-left: 1rem;
}
@media (max-width: 991.98px) {
    .mc-step-grid > .mc-step-right {
        border-left: none;
        padding-left: 0;
        margin-top: .5rem;
    }
    .mc-step-grid > .mc-step-left p { max-width: none; }
}
/* Compact auto-publish pill in the setup card header (twin of the switch inside the
   Auto-publish step -- see $auto_pill in page.media_coverage.php). */
.mc-auto-pill {
    border: none; border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.72rem; font-weight: 600;
    line-height: 1.5;
    color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
}
.mc-auto-pill.on  { background: var(--bs-success); }
.mc-auto-pill.off { background: var(--bs-danger); }
.mc-auto-pill:hover:not(:disabled) { filter: brightness(0.9); }
.mc-auto-pill:disabled { opacity: 0.5; cursor: default; }

/* "Override" badge tucked next to the Audio/Video Setup card titles (replaces the big blue
   alert banners that used to sit under the cards). The full pilot/override explanation lives
   in its Bootstrap tooltip, so widen the default 200px ceiling or it wraps one word per line. */
.mc-override-badge { font-weight: 600; }
.mc-override-tip .tooltip-inner { max-width: 380px; text-align: left; }

/* ── Media Coverage title-row reveal triggers (page.media_coverage.php) ──────────────────────
   Mirrors .dpi-reveal on page.deep_planning_ingestion.php. Quiet text buttons in the header that
   reveal a full-width panel; closed, those panels render ZERO height, so the page opens on the
   stepper and the content list instead of on two always-expanded cards.
   The active state is pure CSS off [aria-expanded], which Bootstrap maintains — no JS needed. */
.mc-reveal {
    background: none; border: none; padding: 2px 6px;
    font-size: 0.76rem; color: var(--bs-secondary-color); cursor: pointer; border-radius: 4px;
    display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
}
.mc-reveal:hover                    { color: #0d6efd; background: var(--bs-tertiary-bg); }
.mc-reveal[aria-expanded="true"]    { color: #0d6efd; background: var(--bs-tertiary-bg); font-weight: 600; }
.mc-reveal:disabled                 { opacity: 0.5; cursor: default; }
.mc-reveal:focus-visible            { outline: 2px solid var(--bs-primary); outline-offset: 1px; }

/* Full-width reveal panels. Closed they take no space at all — that is the point. */
.mc-panel-body {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 1rem;
    background: var(--bs-body-bg);
}

/* Section toggles for the All Content and Media Analytics panels. Bootstrap's .btn-outline-*
   drew a hard dark rule right across the page under each heading; these are section headers, not
   buttons competing for attention, so the border goes and a hover tint carries the affordance. */
.mc-section-toggle {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    background: none; border: 0; border-radius: 6px;
    padding: 6px 8px;
    color: var(--bs-body-color); text-align: left;
}
.mc-section-toggle:hover        { background: var(--bs-tertiary-bg); }
.mc-section-toggle:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 1px; }
/* Chevron points up while the panel is open. */
.mc-section-toggle .bx-chevron-down { transition: transform 0.15s ease; }
.mc-section-toggle[aria-expanded="true"] .bx-chevron-down { transform: rotate(180deg); }
