/* =============================================================
   RUNDOWN BUILDER v3 — %50/%50 Çift Veri Tablosu — Theme Aware
   ============================================================= */

:root {
    --hb-bg: #0d1117;
    --hb-panel-bg: #161b22;
    --hb-border: #30363d;
    --hb-border-light: #21262d;
    --hb-txt: #c9d1d9;
    --hb-txt-muted: #ffffff;
    --hb-txt-bright: #e6edf3;
    --hb-btn-sec-bg: #21262d;
    --hb-hover-bg: #1c2128;
    --hb-brand-blue: #1f6feb;
    --hb-brand-blue-dim: rgba(31, 111, 235, 0.12);
}

[data-bs-theme=light] {
    --hb-bg: #f1f5f9;
    --hb-panel-bg: #ffffff;
    --hb-border: #94a3b8;
    --hb-border-light: #cbd5e1;
    --hb-txt: #0f172a;
    --hb-txt-muted: #475569;
    --hb-txt-bright: #0f172a;
    --hb-btn-sec-bg: #e2e8f0;
    --hb-hover-bg: #e8eef6;
    --hb-brand-blue: #1d4ed8;
    --hb-brand-blue-dim: rgba(29, 78, 216, 0.10);
}

/* ── VIEW SHELL ─────────────────────────────────────────────── */
.hb-view {
    flex-direction: row !important;
    overflow: hidden;
    background: var(--hb-bg);
    color: var(--hb-txt);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
}

/* ── PANELS ─────────────────────────────────────────────────── */
.hb-panel {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
.hb-pool-panel {
    flex: 0 0 58%;
    width: 58%;
}
.hb-rd-panel {
    flex: 1;
    width: auto;
}

.hb-divider {
    width: 6px;
    background: var(--hb-border);
    flex-shrink: 0;
    cursor: col-resize;
    position: relative;
    z-index: 10;
    transition: background 0.15s;
}
.hb-divider:hover,
.hb-divider.dragging {
    background: var(--hb-brand-blue) !important;
}

/* ── PANEL TOP ROW ────────────────────────────────────────────── */
.hb-panel-top {
    background: var(--hb-panel-bg);
    border-bottom: 1px solid var(--hb-border);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-height: 42px;
}
.hb-panel-title {
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--hb-txt-muted);
    text-transform: uppercase;
    white-space: nowrap;
}
.hb-count-badge {
    background: var(--hb-brand-blue);
    color: #fff;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
    display: inline-block;
}
.hb-rd-create-bar { flex-wrap: nowrap; gap: 10px; }
.hb-create-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
}
.hb-colon { font-weight: 700; color: var(--hb-txt-muted); flex-shrink: 0; }

/* ── FILTER / TOOL BARS ──────────────────────────────────────── */
.hb-filter-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: var(--hb-bg);
    border-bottom: 1px solid var(--hb-border-light);
    flex-shrink: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.hb-sep-toolbar  { background: var(--hb-panel-bg); border-bottom: 2px solid var(--hb-border); }
.hb-rd-select-bar { background: var(--hb-bg); }
.hb-bar-divider {
    width: 1px; height: 20px;
    background: var(--hb-border);
    flex-shrink: 0;
    margin: 0 3px;
}

/* ── CONTROLS ────────────────────────────────────────────────── */
.hb-ctrl {
    background: var(--hb-panel-bg);
    border: 1px solid var(--hb-border);
    color: var(--hb-txt);
    border-radius: 5px;
    padding: 4px 7px;
    font-size: 12px;
    height: 28px;
    min-width: 0;
    outline: none;
    transition: border-color 0.15s;
}
.hb-ctrl:focus { border-color: var(--hb-brand-blue); }
.hb-ctrl-xs   { width: 50px; padding: 4px 3px; text-align: center; }
.hb-ctrl-md   { width: 175px; }
.hb-ctrl-grow { flex: 1; min-width: 60px; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.hb-btn {
    border: none;
    border-radius: 5px;
    padding: 4px 11px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: filter 0.15s;
    flex-shrink: 0;
}
.hb-btn:hover  { filter: brightness(1.15); }
.hb-btn:active { filter: brightness(0.9);  }

.hb-btn-primary   { background: var(--hb-brand-blue); color: #fff; }
.hb-btn-secondary { background: var(--hb-btn-sec-bg); color: var(--hb-txt); border: 1px solid var(--hb-border); }
.hb-btn-danger    { background: #da3633; color: #fff; }
.hb-btn-teal      { background: #20b2aa; color: #fff; }
.hb-btn-ghost     { background: transparent; color: var(--hb-txt-muted); border: 1px solid var(--hb-border); }
.hb-btn-ghost:hover { color: var(--hb-txt); background: var(--hb-btn-sec-bg); filter: none; }
.hb-btn-lg        { padding: 7px 16px; height: auto; font-size: 13px; }

/* Row-level buttons */
.hb-row-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.15s;
}
.hb-row-btn:hover { filter: brightness(1.2); }
.hb-row-btn-upd   { background: #1a3a26; color: #56d364; border: 1px solid #2ea043; }
.hb-row-btn-del   { background: #3a0d0d; color: #f85149; border: 1px solid #da3633; }

.hb-tbl-wrap {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    min-height: 0;
}

/* ── TABLE ───────────────────────────────────────────────────── */
.hb-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 12.5px;
    color: var(--hb-txt);
    table-layout: fixed !important;
}
.hb-rd-table {
    min-width: 580px !important;
}
.hb-table thead tr {
    position: sticky;
    top: 0;
    z-index: 5;
}
.hb-table th {
    background: var(--hb-panel-bg);
    padding: 7px 9px;
    text-align: left;
    border-bottom: 2px solid var(--hb-border);
    color: var(--hb-txt-muted);
    font-weight: 700;
    white-space: nowrap;
    font-size: 10.5px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.hb-table th {
    font-weight: 900 !important;
    font-size: 11px !important;
}
.hb-table td {
    padding: 6px 9px;
    border-bottom: 1px solid var(--hb-border-light);
    vertical-align: middle;
}
.hb-table td,
.hb-table td * {
    font-weight: 700 !important;
}
.hb-table tbody tr:hover td { background: var(--hb-hover-bg); }

/* ── COLUMN FILTER ROW ───────────────────────────────────────── */
.hb-filter-row th {
    background: var(--hb-bg);
    padding: 4px 5px;
    border-bottom: 2px solid var(--hb-border);
}
.hb-fcol {
    width: 100%;
    box-sizing: border-box;
    background: var(--hb-panel-bg);
    border: 1px solid var(--hb-border);
    color: var(--hb-txt);
    border-radius: 4px;
    padding: 3px 5px;
    font-size: 11px;
    height: 24px;
    outline: none;
}
.hb-fcol:focus { border-color: var(--hb-brand-blue); }
.hb-fcol[type="date"],
.hb-fcol[type="datetime-local"] { height: 24px; font-size: 10px; padding: 2px 4px; }
.hb-fcol[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
    text-align: center;
    opacity: 0.75;
    transition: opacity 0.15s, border-color 0.15s;
}
.hb-fcol[type="number"]:focus,
.hb-fcol[type="number"][data-filled] { opacity: 1; }
.hb-fcol[type="number"]::-webkit-outer-spin-button,
.hb-fcol[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
.hb-fcol option { background: var(--hb-panel-bg); }

/* Sortable drag states */
.hb-drag-ghost   td { background: var(--hb-brand-blue-dim) !important; border: 1px dashed var(--hb-brand-blue) !important; }
.hb-drag-chosen  td { opacity: 0.75; }
.sortable-selected td { background: var(--hb-brand-blue-dim) !important; color: var(--hb-txt-bright) !important; }
.hb-table tbody tr.sel td {
    background: var(--hb-brand-blue-dim) !important;
    color: var(--hb-txt-bright) !important;
    box-shadow: inset 3px 0 0 var(--hb-brand-blue, #3b82f6);
}

/* ── COLUMN WIDTHS ───────────────────────────────────────────── */
.hc-chk  { 
    width: 30px !important; 
    min-width: 30px !important; 
    max-width: 30px !important; 
    text-align: center !important; 
    padding-left: 0 !important; 
    padding-right: 0 !important; 
}
.hb-pool-table .hc-num { 
    width: 24px !important; 
    min-width: 24px !important; 
    max-width: 24px !important; 
    text-align: center !important; 
    padding-left: 0 !important; 
    padding-right: 0 !important; 
}
.hb-pool-table .hc-num .form-check-input {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    margin: 0 auto !important;
    display: block !important;
    float: none !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    border-radius: 3px !important;
}
.hb-rd-table .hc-num { 
    width: 30px !important; 
    min-width: 30px !important; 
    max-width: 30px !important; 
    text-align: center !important; 
    padding-left: 0 !important; 
    padding-right: 0 !important; 
    cursor: grab; 
}
.hc-num svg { 
    display: inline-block; 
    vertical-align: middle; 
    color: var(--hb-txt) !important; 
    opacity: 0.7; 
    transition: opacity 0.15s ease, color 0.15s ease; 
}
.hc-num:hover svg { 
    opacity: 1; 
    color: var(--hb-brand-blue); 
}
.hc-noid { width: 42px;  font-family: ui-monospace, monospace; color: var(--hb-txt-bright); font-size: 11.5px; font-weight: 700; }
table.hb-rd-table th.hc-noid, table.hb-rd-table td.hc-noid { width: 36px !important; min-width: 36px !important; max-width: 36px !important; text-align: center !important; }
.hc-type { 
    width: 54px !important; 
    min-width: 54px !important; 
    max-width: 54px !important; 
    text-align: center !important; 
    padding-left: 2px !important;
    padding-right: 2px !important;
}
table.hb-rd-table th.hc-type, table.hb-rd-table td.hc-type {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    text-align: center !important;
}
.hc-type select,
.hc-type .select2-container,
.hc-type .select2-selection {
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
}
.hc-type .select2-selection__rendered {
    font-size: 11px !important;
    padding-left: 2px !important;
    padding-right: 12px !important;
    text-align: center !important;
}
.hc-title {
    width: 35% !important;
    min-width: 80px !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
}
table.hb-rd-table th.hc-title, table.hb-rd-table td.hc-title {
    width: auto !important;
}
.hb-table td.hc-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--hb-txt-bright) !important;
}
.hc-yay  { 
    width: 42px !important; 
    min-width: 42px !important; 
    max-width: 42px !important; 
    text-align: center !important; 
}
table.hb-rd-table th.hc-yay, table.hb-rd-table td.hc-yay {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    text-align: center !important;
}
[data-bs-theme="light"] td.hc-yay span,
[data-bs-theme="light"] td.hc-yay span:not(.nc-yay-zero-badge),
[data-bs-theme="dark"] td.hc-yay span,
td.hc-yay span {
    display: inline !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: inherit !important;
}
.hc-yay input,
.hc-yay .hb-fcol {
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
    font-size: 11px !important;
    padding: 3px 5px !important;
    text-align: center !important;
}
.hc-dur  { width: 48px !important; min-width: 48px !important; max-width: 48px !important; text-align: right; font-family: ui-monospace, monospace; white-space: nowrap; padding-left: 2px !important; padding-right: 2px !important; }
.hc-cum  { width: 48px !important; min-width: 48px !important; max-width: 48px !important; text-align: right; font-family: ui-monospace, monospace; font-weight: 700; color: var(--hb-brand-blue); white-space: nowrap; padding-left: 2px !important; padding-right: 2px !important; }
table.hb-rd-table th.hc-dur, table.hb-rd-table td.hc-dur { width: 46px !important; min-width: 46px !important; max-width: 46px !important; text-align: center !important; }
table.hb-rd-table th.hc-cum, table.hb-rd-table td.hc-cum { width: 52px !important; min-width: 52px !important; max-width: 52px !important; text-align: center !important; }
.hb-pool-table .hc-tar { width: 54px !important; min-width: 54px !important; max-width: 54px !important; }
table.hb-rd-table th.hc-tar, table.hb-rd-table td.hc-tar { width: 42px !important; min-width: 42px !important; max-width: 42px !important; text-align: center !important; }
.hc-tar  { white-space: nowrap; padding-left: 2px !important; padding-right: 2px !important; text-align: center !important; }
.hc-tar input { text-align: center !important; padding-left: 2px !important; padding-right: 2px !important; }
.hb-table td.hc-tar {
    font-size: 11.5px !important;
    font-weight: 900 !important;
    color: var(--hb-txt-bright);
}
.hc-aut  { width: 85px !important; min-width: 85px !important; max-width: 85px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-table td.hc-aut {
    font-size: 10.5px;
    color: var(--hb-txt-bright);
    font-weight: 900 !important;
}
.hc-mnt  { width: 85px !important; min-width: 85px !important; max-width: 85px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-table td.hc-mnt {
    font-size: 10.5px;
}
.hb-pool-table .hc-act {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    padding-right: 12px !important;
}
.hb-rd-table .hc-act {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    padding-right: 12px !important;
    padding-left: 6px !important;
}
.hc-act {
    text-align: center;
    white-space: nowrap;
}

.hc-aut .select2-selection__rendered,
.hc-mnt .select2-selection__rendered {
    font-size: 11px !important;
    padding-left: 4px !important;
    padding-right: 12px !important;
}

/* ── TYPE BADGES ─────────────────────────────────────────────── */
.hb-type-badge {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: var(--hb-btn-sec-bg);
    color: var(--hb-txt);
    border: 1px solid var(--hb-border);
}
.hbt-VTR   { background: #0c2d48; color: #58a6ff; border-color: #1f6feb; }
.hbt-CANLI, .hbt-STD, .hbt-CANLI { background: #3d0c0c; color: #f85149; border-color: #da3633; }
.hbt-STÜDYO { background: #3d2a0c; color: #e3b341; border-color: #d29922; }

/* ── STATUS BADGES ───────────────────────────────────────────── */
.hb-es-badge {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
}
.hb-es-ok    { background: #1a3a26; color: #56d364; }
.hb-es-wait  { background: #2a1f0a; color: #e3b341; }
.hb-es-draft { background: var(--hb-hover-bg); color: var(--hb-txt-muted); }

/* ── SEPARATOR ROW ───────────────────────────────────────────── */
.hb-sep-row { cursor: default; }
.hb-sep-row td {
    background: rgba(192, 36, 30, 0.15) !important;
    border-top: 2px solid var(--nc-red, #c0241e) !important;
    border-bottom: 2px solid var(--nc-red, #c0241e) !important;
    padding: 6px 9px !important;
    vertical-align: middle !important;
}
.hb-sep-drag { opacity: 0.5; }
.hb-sep-drag:hover { opacity: 1; }
.hb-sep-icon { margin-right: 8px; font-size: 11px; opacity: 0.6; }
.hb-sep-text {
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
}
/* hb-sep-cum-cell: hc-cum ile birlikte kullanılıyor — sadece span stili override */
.hb-sep-cum-cell {
    border-left: 1px solid rgba(192, 36, 30, 0.3) !important;
}
/* SÜRE sütunu */
.hb-sep-dur-cell {
    color: #e6edf3 !important;
    text-align: right;
    font-family: ui-monospace, monospace;
    font-size: 11px;
}
.hb-sep-cum-val {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(192, 36, 30, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
}
.hb-sep-del {
    background: transparent;
    border: none;
    color: #f85149;
    cursor: pointer;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 36px;
    display: inline-flex;
    align-items: center;
}
.hb-sep-del:hover { background: rgba(248,81,73,0.15); }

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.hb-table:has(.hb-empty-row) {
    height: 100%;
}
.hb-table:has(.hb-empty-row) tbody {
    height: 100%;
}
.hb-table:has(.hb-empty-row) tbody tr.hb-empty-row {
    height: 100%;
}
.hb-empty-cell {
    text-align: center;
    color: var(--hb-txt-muted);
    padding: 30px 20px !important;
    vertical-align: top !important;
    font-size: 13px;
}

/* Ensure the rundown table's drop zone fills the entire height when non-empty, without stretching rows */
.hb-rd-table:not(:has(.hb-empty-row)) {
    height: 100%;
}
.hb-rd-table:not(:has(.hb-empty-row)) tbody {
    height: 100%;
}
.hb-rd-table:not(:has(.hb-empty-row)) tbody::after {
    content: "";
    display: table-row;
    height: 100%;
    border: none !important;
    background: transparent !important;
}

/* ── POOL ROW: drag cursor ───────────────────────────────────── */
.pool-row { cursor: grab; }
.pool-row:active { cursor: grabbing; }

/* Zaten bültene eklenmiş havuz satırı — sürüklenemez, belirgin fakat renkli arka plan */
.pool-row-added {
    cursor: not-allowed !important;
    pointer-events: none;
}
.pool-row-added td {
    background: rgba(31, 111, 235, 0.06) !important;
}
[data-bs-theme="light"] .pool-row-added td {
    background: rgba(29, 78, 216, 0.07) !important;
}

/* ── DYNAMIC BULLETIN POOL: DRAG-AND-DROP ────────────────────── */
.hb-draggable { cursor: grab; }
.hb-draggable:active { cursor: grabbing; }
.hb-dragging { opacity: 0.75; background: var(--hb-brand-blue-dim) !important; }
.hb-dragging td { border-color: var(--hb-brand-blue) !important; }

/* Drop target — rundown tbody highlight when dragging over */
.hb-drop-over { outline: 2px dashed var(--hb-brand-blue); outline-offset: -2px; }
.hb-drop-over tr:last-child td { border-bottom: 3px solid var(--hb-brand-blue) !important; }

/* In-rundown row styling for bulletin pool table */
.hb-table tr.in-rd td { opacity: 0.75; color: var(--hb-txt-muted) !important; }

/* ✓ badge — num hücresine eklenir */
.hb-added-badge {
    display: inline-block;
    margin-left: 4px;
    color: #56d364;
    font-weight: 700;
    font-size: 12px;
    pointer-events: none;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.hb-footer {
    background: var(--hb-panel-bg);
    border-top: 2px solid var(--hb-border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.hb-gt-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hb-bg);
    border: 2px solid var(--nc-red, #c0241e);
    border-radius: 6px;
    padding: 6px 14px;
}
.hb-gt-lbl {
    font-size: 9px;
    font-weight: 700;
    color: var(--hb-txt-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hb-gt-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--hb-txt-bright);
    font-family: ui-monospace, monospace;
}
.hb-export-row {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* ── PAGINATION ───────────────────────────────────────────────── */
.hb-pool-pager-wrap {
    flex-shrink: 0;
    background: var(--hb-bg);
    border-top: 1px solid var(--hb-border-light);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    min-height: 36px;
}
.hb-pager {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}
.hb-pg-btn {
    background: var(--hb-panel-bg) !important;
    border: 1px solid var(--hb-border) !important;
    color: var(--hb-txt) !important;
    border-radius: 6px !important;
    padding: 4px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.15s ease-in-out !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
[data-bs-theme="light"] .hb-pg-btn {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}
.hb-pg-btn:hover:not(:disabled) {
    background: var(--hb-brand-blue) !important;
    border-color: var(--hb-brand-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 2px var(--hb-brand-blue-dim) !important;
}
[data-bs-theme="light"] .hb-pg-btn:hover:not(:disabled) {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}
.hb-pg-btn:disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    background: transparent !important;
    border-color: var(--hb-border-light) !important;
}
.hb-pg-info {
    font-size: 12px !important;
    color: var(--hb-txt) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    min-width: 90px;
    text-align: center;
    letter-spacing: 0.3px !important;
}
[data-bs-theme="light"] .hb-pg-info {
    color: #475569 !important;
}

/* ── SELECT2 DARK MODE (havuz-bülten scope) ─────────────────────── */
.hb-panel .select2-container,
.hb-filter-bar .select2-container,
.hb-rd-select-bar .select2-container,
.hb-sep-toolbar .select2-container { min-width: 80px; }

.hb-panel .select2-container--default .select2-selection--single {
    background: var(--hb-bg);
    border: 1px solid var(--hb-border);
    border-radius: 6px;
    height: 32px;
    display: flex;
    align-items: center;
    color: var(--hb-txt);
    font-size: 12.5px;
    transition: border-color 0.15s;
}
.hb-panel .select2-container--default.select2-container--open .select2-selection--single,
.hb-panel .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--hb-brand-blue);
    box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.18);
}
.hb-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--hb-txt); line-height: 30px; padding-left: 10px; padding-right: 28px; font-size: 12.5px;
}
.hb-panel .select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--hb-txt-muted); }
.hb-panel .select2-container--default .select2-selection--single .select2-selection__arrow { height: 30px; right: 4px; }
.hb-panel .select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--hb-txt-muted) transparent transparent transparent; }
.hb-panel .select2-container--default .select2-selection--single .select2-selection__clear { color: var(--hb-txt-muted); font-size: 14px; }

/* Dropdown */
.select2-dropdown {
    background: var(--hb-panel-bg) !important; border: 1px solid var(--hb-border) !important;
    border-radius: 6px !important; box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
    font-size: 12.5px; z-index: 99999 !important;
    width: auto !important;
    min-width: 100% !important;
}
.select2-search--dropdown { padding: 6px !important; border-bottom: 1px solid var(--hb-border-light) !important; background: var(--hb-panel-bg) !important; }
.select2-search--dropdown .select2-search__field {
    background: var(--hb-bg) !important; border: 1px solid var(--hb-border) !important;
    border-radius: 4px !important; color: var(--hb-txt) !important; padding: 4px 8px !important; font-size: 12px;
}
.select2-results__option { color: var(--hb-txt); padding: 6px 12px !important; font-size: 12.5px; white-space: nowrap !important; }
.select2-results__option--highlighted[aria-selected] { background: var(--hb-brand-blue) !important; color: #fff !important; }
.select2-results__option[aria-selected="true"] { background: var(--hb-btn-sec-bg) !important; color: var(--hb-brand-blue) !important; }
.select2-container--default .select2-results > .select2-results__options { max-height: 220px !important; }

/* ── BÜLTEN SEÇ: option tarih gösterimi ─────────────────────────── */
.hb-s2-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    padding-right: 28px; /* Select2 ✓ tik ikonu için boşluk */
}
.hb-s2-opt-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hb-s2-opt-date {
    flex-shrink: 0;
    font-family: ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 600;
    color: #c9614a;
    background: rgba(201,97,74,0.1);
    padding: 1px 6px;
    border-radius: 3px;
    letter-spacing: 0.2px;
    opacity: 0.85;
}
/* Seçili değerde tarih gösterimi */
.hb-s2-sel-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hb-s2-sel-date {
    font-family: ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 600;
    color: #c9614a;
    opacity: 0.8;
    white-space: nowrap;
}
/* Highlighted satırda tarih rengi */
.select2-results__option--highlighted .hb-s2-opt-date {
    color: #ffb3a0;
    background: rgba(255,179,160,0.15);
    opacity: 1;
}

/* ── Director ekranı bülten dropdown genişliği ───────────────────── */
.dr-s2-dropdown {
    min-width: 440px !important;
}
.dr-s2-dropdown .select2-results__option {
    white-space: nowrap;
}

/* ── Broadcast Accessibility Light Theme v1 — Faz 3A Overrides ── */
[data-bs-theme="light"] .hb-table th {
    background: var(--hb-bg) !important;
    color: var(--hb-txt-bright) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-bottom: 2px solid var(--hb-border) !important;
    padding: 6px 9px !important;
}
[data-bs-theme="light"] .hb-table th * {
    font-weight: 700 !important;
}

[data-bs-theme="light"] .hb-table th {
    font-size: 11px !important;
    font-weight: 900 !important;
}
[data-bs-theme="light"] .hb-table th * {
    font-weight: 900 !important;
}

[data-bs-theme="light"] .hb-table td {
    color: var(--hb-txt) !important;
    border-bottom: 1px solid var(--hb-border-light) !important;
    line-height: 1.45 !important;
    padding: 6px 9px !important;
}

[data-bs-theme="light"] .hb-table td {
    font-weight: 700 !important;
    font-size: 12px !important;
}
[data-bs-theme="light"] .hb-table td * {
    font-weight: 700 !important;
}
[data-bs-theme="light"] .hb-table td.hc-tar,
[data-bs-theme="light"] .hb-table td.hc-aut,
[data-bs-theme="light"] .hb-table td.hc-mnt {
    font-size: 10.5px !important;
    font-weight: 700 !important;
}

[data-bs-theme="light"] .hb-panel-title {
    font-weight: 700 !important;
    color: var(--hb-txt) !important;
}

/* Controls and Inputs readability */
[data-bs-theme="light"] .hb-ctrl {
    background: #ffffff !important;
    border: 1.5px solid #000000 !important;
    color: var(--hb-txt) !important;
    height: 34px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    padding: 0 8px !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
}
[data-bs-theme="light"] .hb-ctrl:focus {
    border-color: var(--hb-brand-blue) !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15) !important;
}

[data-bs-theme="light"] .hb-fcol {
    background: #ffffff !important;
    border: 1.5px solid #000000 !important;
    color: var(--hb-txt) !important;
    font-size: 12px !important;
    height: 28px !important;
    padding: 3px 6px !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
}
[data-bs-theme="light"] .hb-fcol:focus {
    border-color: var(--hb-brand-blue) !important;
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.12) !important;
}

/* Accessible Buttons */
[data-bs-theme="light"] .hb-btn {
    height: 34px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 4px 14px !important;
}
[data-bs-theme="light"] .hb-btn-primary {
    background: var(--hb-brand-blue) !important;
    color: #ffffff !important;
}
[data-bs-theme="light"] .hb-btn-secondary {
    background: var(--hb-btn-sec-bg) !important;
    border: 1.5px solid #000000 !important;
    color: var(--hb-txt) !important;
    font-weight: 600 !important;
}
[data-bs-theme="light"] .hb-btn-ghost {
    border: 1.5px solid #000000 !important;
    color: var(--hb-txt-muted) !important;
    font-weight: 600 !important;
}
[data-bs-theme="light"] .hb-btn-ghost:hover {
    color: var(--hb-txt-bright) !important;
    background: var(--hb-btn-sec-bg) !important;
}

/* Durations & Separators */
[data-bs-theme="light"] .hb-gt-box {
    background: var(--hb-bg) !important;
    border: 2px solid var(--nc-red, #dc2626) !important;
}
[data-bs-theme="light"] .hb-gt-lbl {
    color: var(--hb-txt-muted) !important;
}
[data-bs-theme="light"] .hb-gt-val {
    color: var(--hb-txt-bright) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}

[data-bs-theme="light"] .hb-sep-row td {
    background: rgba(220, 38, 38, 0.08) !important;
    border-top: 2px solid var(--nc-red, #dc2626) !important;
    border-bottom: 2px solid var(--nc-red, #dc2626) !important;
}
[data-bs-theme="light"] .hb-sep-text {
    color: var(--hb-txt) !important;
}
[data-bs-theme="light"] .hb-sep-dur-cell {
    color: var(--hb-txt-muted) !important;
}
[data-bs-theme="light"] .hb-sep-cum-val {
    color: #ffffff !important;
    background: #dc2626 !important;
}

/* Select2 Custom overrides */
[data-bs-theme="light"] .hb-panel .select2-container--default .select2-selection--single {
    background: #ffffff !important;
    border: 1px solid var(--hb-border-light) !important;
    height: 34px !important;
}
[data-bs-theme="light"] .hb-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--hb-txt) !important;
    line-height: 32px !important;
}
[data-bs-theme="light"] .hb-panel .select2-container--default.select2-container--open .select2-selection--single,
[data-bs-theme="light"] .hb-panel .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--hb-brand-blue) !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15) !important;
}
[data-bs-theme="light"] .hb-panel .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--hb-txt-muted) transparent transparent transparent !important;
}
[data-bs-theme="light"] .hb-panel .select2-container--default .select2-selection--single .select2-selection__clear {
    color: var(--hb-txt-muted) !important;
}
[data-bs-theme="light"] .select2-dropdown {
    background: var(--hb-panel-bg) !important;
    border: 1px solid var(--hb-border) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
[data-bs-theme="light"] .select2-search--dropdown .select2-search__field {
    background: var(--hb-bg) !important;
    border: 1px solid var(--hb-border-light) !important;
    color: var(--hb-txt) !important;
}
[data-bs-theme="light"] .select2-results__option {
    color: var(--hb-txt) !important;
}
[data-bs-theme="light"] .select2-results__option--highlighted[aria-selected] {
    background: var(--hb-brand-blue) !important;
    color: #ffffff !important;
}
[data-bs-theme="light"] .select2-results__option[aria-selected="true"] {
    background: var(--hb-btn-sec-bg) !important;
    color: var(--hb-brand-blue) !important;
}

/* Empty State readability */
[data-bs-theme="light"] .hb-empty-cell {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: var(--hb-txt-muted) !important;
}

[data-bs-theme="light"] .hb-rd-table td.hc-noid {
    color: var(--hb-txt-bright) !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
}

/* Custom compact date/time layout overrides to reduce row height */
[data-bs-theme="light"] .hb-table td .nc-date-cell,
[data-bs-theme="dark"] .hb-table td .nc-date-cell,
.hb-table td .nc-date-cell,
.hb-table .nc-date-cell {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    border: none !important;
    text-align: center !important;
}
[data-bs-theme="light"] .hb-table td .nc-date-time,
[data-bs-theme="dark"] .hb-table td .nc-date-time,
.hb-table td .nc-date-time,
.hb-table .nc-date-time {
    font-size: 11.5px !important;
    font-weight: 900 !important;
    color: var(--hb-txt-bright) !important;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
[data-bs-theme="light"] .hb-table td .nc-date-day,
[data-bs-theme="dark"] .hb-table td .nc-date-day,
.hb-table td .nc-date-day,
.hb-table .nc-date-day {
    font-size: 12px !important;
    font-weight: 900 !important;
    color: var(--hb-txt-bright) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Custom compact action button styling overrides */
[data-bs-theme="light"] .hb-pool-table td .nc-act-pill-edit,
[data-bs-theme="light"] .hb-rd-table td .nc-act-pill-edit,
[data-bs-theme="dark"] .hb-pool-table td .nc-act-pill-edit,
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-edit,
.hb-pool-table .nc-act-pill-edit,
.hb-rd-table .nc-act-pill-edit {
    width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    min-width: 26px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}
[data-bs-theme="light"] .hb-pool-table td .nc-act-pill-edit i,
[data-bs-theme="light"] .hb-rd-table td .nc-act-pill-edit i,
[data-bs-theme="dark"] .hb-pool-table td .nc-act-pill-edit i,
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-edit i,
.hb-pool-table .nc-act-pill-edit i,
.hb-rd-table .nc-act-pill-edit i {
    font-size: 11px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Red delete pill button styles for rundown with high specificity overrides */
[data-bs-theme="light"] .hb-rd-table td .nc-act-pill-delete,
[data-bs-theme="light"] .hb-rd-table .nc-act-pill-delete,
[data-bs-theme="light"] .hb-rd-table td .nc-act-pill:not(.nc-act-pill-edit).nc-act-pill-delete,
.hb-rd-table .nc-act-pill-delete {
    width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    min-width: 26px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: #ef4444 !important; /* Tailwind red-500 */
    border: 1.5px solid #dc2626 !important; /* red-600 */
    color: #ffffff !important;
    transition: background 0.15s ease, border-color 0.15s ease;
}
[data-bs-theme="light"] .hb-rd-table td .nc-act-pill-delete:hover,
[data-bs-theme="light"] .hb-rd-table .nc-act-pill-delete:hover,
[data-bs-theme="light"] .hb-rd-table td .nc-act-pill:not(.nc-act-pill-edit).nc-act-pill-delete:hover,
.hb-rd-table .nc-act-pill-delete:hover {
    background: #dc2626 !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}
[data-bs-theme="light"] .hb-rd-table td .nc-act-pill-delete i,
[data-bs-theme="light"] .hb-rd-table td .nc-act-pill-delete span,
.hb-rd-table .nc-act-pill-delete i,
.hb-rd-table .nc-act-pill-delete span {
    font-size: 11px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    color: #ffffff !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete,
[data-bs-theme="dark"] .hb-rd-table .nc-act-pill-delete {
    background: #3a0d0d !important;
    border: 1px solid #da3633 !important;
    color: #f85149 !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete:hover,
[data-bs-theme="dark"] .hb-rd-table .nc-act-pill-delete:hover {
    background: #da3633 !important;
    color: #ffffff !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete i,
[data-bs-theme="dark"] .hb-rd-table .nc-act-pill-delete i {
    color: inherit !important;
}

/* Make checkboxes more prominent with a defined border */
.hb-pool-table .form-check-input,
.hb-rd-table .form-check-input {
    border: 1.5px solid #475569 !important;
    background-color: transparent !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, border-color 0.15s ease !important;
}
[data-bs-theme="light"] .hb-pool-table .form-check-input,
[data-bs-theme="light"] .hb-rd-table .form-check-input {
    border-color: #334155 !important;
}
[data-bs-theme="dark"] .hb-pool-table .form-check-input,
[data-bs-theme="dark"] .hb-rd-table .form-check-input {
    border-color: #94a3b8 !important;
}
.hb-pool-table .form-check-input:checked,
.hb-rd-table .form-check-input:checked {
    background-color: var(--hb-brand-blue) !important;
    border-color: var(--hb-brand-blue) !important;
}
[data-bs-theme="light"] .hb-pool-table .form-check-input:checked,
[data-bs-theme="light"] .hb-rd-table .form-check-input:checked {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

/* ── POOL TABLES: REGISTRATION & UPDATE HEADERS + FILTER PLACEHOLDERS BOLD ── */
/* Scoped strictly to .hb-table on Havuz-Bülten screen only to keep styling uniform */

/* 1. Header Cells (th) resets and overrides */
.hb-table thead th,
.hb-table thead th.hc-tar,
.hb-table thead th.hc-sun,
.hb-table thead th.hc-aut,
.hb-table thead th.hc-mnt,
[data-bs-theme="light"] .hb-table thead th,
[data-bs-theme="light"] .hb-table thead th.hc-tar,
[data-bs-theme="light"] .hb-table thead th.hc-sun,
[data-bs-theme="light"] .hb-table thead th.hc-aut,
[data-bs-theme="light"] .hb-table thead th.hc-mnt {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
}

/* 2. Filter Inputs & select2 containers & inputs */
.hb-table thead tr.nc-filter-row th .nc-col-filter,
.hb-table thead tr.nc-filter-row th select,
.hb-table thead tr.nc-filter-row th input,
.hb-table thead tr.nc-filter-row th .select2-selection,
.hb-table thead tr.nc-filter-row th .select2-selection__rendered,
.hb-table thead tr.nc-filter-row th button,
.hb-table thead tr.nc-filter-row th .nc-duration-filter-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 28px !important;
    line-height: 28px !important;
}

[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th .nc-col-filter,
[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th select,
[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th input,
[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th .select2-selection,
[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th .select2-selection__rendered,
[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th button,
[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th .nc-duration-filter-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    height: 28px !important;
    line-height: 28px !important;
}

/* 3. Placeholders inside the filter row */
.hb-table thead tr.nc-filter-row th input::placeholder,
.hb-table thead tr.nc-filter-row th .nc-col-filter::placeholder,
.hb-table thead tr.nc-filter-row th .select2-selection__placeholder {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    opacity: 1 !important;
}

[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th input::placeholder,
[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th .nc-col-filter::placeholder,
[data-bs-theme="light"] .hb-table thead tr.nc-filter-row th .select2-selection__placeholder {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    color: #000000 !important;
    opacity: 1 !important;
}



/* ── DARK MODE TYPOGRAPHY & SIZE ALIGNMENTS WITH LIGHT MODE (1:1) ── */
[data-bs-theme="dark"] .hb-btn {
    height: 34px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 4px 14px !important;
}
[data-bs-theme="dark"] .hb-btn-ghost {
    font-weight: 600 !important;
}
[data-bs-theme="dark"] .hb-btn-secondary {
    font-weight: 600 !important;
}
[data-bs-theme="dark"] .hb-ctrl {
    height: 34px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 0 8px !important;
}
[data-bs-theme="dark"] .hb-empty-cell {
    font-size: 14.5px !important;
    font-weight: 600 !important;
}
[data-bs-theme="dark"] .hb-fcol {
    font-size: 12px !important;
    height: 28px !important;
    padding: 3px 6px !important;
}
[data-bs-theme="dark"] .hb-gt-val {
    font-size: 24px !important;
    font-weight: 800 !important;
}
[data-bs-theme="dark"] .hb-panel .select2-container--default .select2-selection--single {
    height: 34px !important;
}
[data-bs-theme="dark"] .hb-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
}
[data-bs-theme="dark"] .hb-panel-title {
    font-weight: 700 !important;
}
[data-bs-theme="dark"] .hb-rd-table .nc-act-pill-delete {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete i {
    font-size: 11px !important;
    padding: 0 !important;
    line-height: 1 !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete span {
    font-size: 11px !important;
    padding: 0 !important;
    line-height: 1 !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill:not(.nc-act-pill-edit).nc-act-pill-delete {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
}
[data-bs-theme="dark"] .hb-rd-table td.hc-noid {
    font-weight: 700 !important;
    font-size: 11.5px !important;
}
[data-bs-theme="dark"] .hb-table td {
    line-height: 1.45 !important;
    padding: 6px 9px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}
[data-bs-theme="dark"] .hb-table td * {
    font-weight: 700 !important;
}
[data-bs-theme="dark"] .hb-table td.hc-aut {
    font-size: 10.5px !important;
    font-weight: 700 !important;
}
[data-bs-theme="dark"] .hb-table td.hc-mnt {
    font-size: 10.5px !important;
    font-weight: 700 !important;
}
[data-bs-theme="dark"] .hb-table td.hc-tar {
    font-size: 10.5px !important;
    font-weight: 700 !important;
}
[data-bs-theme="dark"] .hb-table th {
    font-size: 11px !important;
    font-weight: 900 !important;
    padding: 6px 9px !important;
}
[data-bs-theme="dark"] .hb-table th * {
    font-weight: 900 !important;
}
[data-bs-theme="dark"] .hb-table thead th {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
}
[data-bs-theme="dark"] .hb-table thead th.hc-aut {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
}
[data-bs-theme="dark"] .hb-table thead th.hc-mnt {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
}
[data-bs-theme="dark"] .hb-table thead th.hc-sun {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
}
[data-bs-theme="dark"] .hb-table thead th.hc-tar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th .nc-col-filter {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 28px !important;
    line-height: 28px !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th .nc-col-filter::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    color: #ffffff !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th .nc-duration-filter-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 28px !important;
    line-height: 28px !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th .select2-selection {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 28px !important;
    line-height: 28px !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th .select2-selection__placeholder {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    color: #ffffff !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th .select2-selection__rendered {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 28px !important;
    line-height: 28px !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 28px !important;
    line-height: 28px !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th input {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 28px !important;
    line-height: 28px !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th input::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    color: #ffffff !important;
}
[data-bs-theme="dark"] .hb-table thead tr.nc-filter-row th select {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: 28px !important;
    line-height: 28px !important;
}
[data-bs-theme="dark"] td.hc-yay span:not(.nc-yay-zero-badge) {
    padding: 0 !important;
    height: auto !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}
[data-bs-theme="dark"] .hc-dur {
    color: #ffffff !important;
}


/* ── DARK MODE LAYOUT & ALIGNMENT ALIGNMENTS WITH LIGHT MODE (1:1) ── */
[data-bs-theme="dark"] .hb-rd-table .nc-act-pill-delete {
    width: 26px !important;
    min-width: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete {
    width: 26px !important;
    min-width: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete i {
    margin: 0 !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill-delete span {
    margin: 0 !important;
}
[data-bs-theme="dark"] .hb-rd-table td .nc-act-pill:not(.nc-act-pill-edit).nc-act-pill-delete {
    width: 26px !important;
    min-width: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
[data-bs-theme="dark"] td.hc-yay span:not(.nc-yay-zero-badge) {
    display: inline !important;
    min-width: 0 !important;
}

/* ── Havuz-Bülten Screen Specific Table Header Font Size Reduction ── */
#v-havuz-bulten .hb-table th,
#v-havuz-bulten .hb-table th * {
    font-size: 9.5px !important;
}

/* ── Rundown Row Drag & Drop Cursors ── */
.hb-rd-table tr.rd-slot,
.hb-rd-table tr.hb-sep-row {
    cursor: grab !important;
}
.hb-rd-table tr.rd-slot:active,
.hb-rd-table tr.hb-sep-row:active {
    cursor: grabbing !important;
}
.hb-rd-table tr.rd-slot button,
.hb-rd-table tr.rd-slot input,
.hb-rd-table tr.rd-slot select,
.hb-rd-table tr.rd-slot a,
.hb-rd-table tr.hb-sep-row button,
.hb-rd-table tr.hb-sep-row input {
    cursor: auto !important;
}
.hb-rd-table tr.rd-slot .form-check-input,
.hb-rd-table tr.hb-sep-row .form-check-input,
.hb-rd-table tr.rd-slot .nc-act-pill,
.hb-rd-table tr.hb-sep-row .nc-act-pill {
    cursor: pointer !important;
}

/* ── Light Mode Broadcast Column Colors ── */
[data-bs-theme="light"] td.hc-yay,
[data-bs-theme="light"] td.hc-yay span,
[data-bs-theme="light"] td.hc-yay * {
    color: #000000 !important;
    opacity: 1 !important;
}

/* ── Compact Column Spacing ── */
.hb-table th,
.hb-table td {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

/* ── Havuz-Bülten View Specific Type Column Compact Adjustments ── */
#v-havuz-bulten .hc-type .select2-container,
#v-havuz-bulten .hc-type .select2-selection,
#v-havuz-bulten .hc-type select {
    height: 22px !important;
    min-height: 22px !important;
    line-height: 20px !important;
    font-size: 10px !important;
}
#v-havuz-bulten .hc-type .select2-selection__rendered {
    height: 22px !important;
    line-height: 20px !important;
    font-size: 10px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    text-align: center !important;
}
#v-havuz-bulten .hc-type .select2-selection__arrow {
    display: none !important;
}
#v-havuz-bulten .hc-type .select2-selection__clear {
    display: none !important;
}

/* Compact Type Badges in Havuz and Rundown Tables */
#v-havuz-bulten td.hc-type .ncb,
#v-havuz-bulten td.hc-type .ncb-st,
#v-havuz-bulten td.hc-type span {
    font-size: 10px !important;
    padding: 2px 6px !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    line-height: normal !important;
    margin: 0 !important;
}

/* Centered Filter Row Inputs and Dropdowns */
/* Centered Filter Row Inputs and Dropdowns */
.hb-table thead tr.nc-filter-row th {
    text-align: center !important;
}
.hb-table thead tr.nc-filter-row th .select2-container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

/* ── HABER BÜLTENİ STANDALONE VIEW STYLES ── */
#v-haber-bulteni .hb-panel {
    padding: 0 !important;
    margin: 0 !important;
}

#v-haber-bulteni .hb-rd-table th,
#v-haber-bulteni .hb-rd-table td {
    padding: 4px 6px !important;
    font-size: 13px !important;
}

#v-haber-bulteni .hc-chk {
    width: 40px !important;
    text-align: center !important;
}
#v-haber-bulteni .hc-act-g,
#v-haber-bulteni .hc-act-s {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    text-align: center !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

/* Premium Glassmorphism Preview Modal Overlay */
.hb-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.hb-preview-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.hb-preview-modal {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-bs-theme="dark"] .hb-preview-modal {
    background: rgba(30, 41, 59, 0.9) !important;
    border: none !important;
    color: #f8fafc !important;
}
.hb-preview-overlay.active .hb-preview-modal {
    transform: scale(1);
}
.hb-preview-header {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
[data-bs-theme="dark"] .hb-preview-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.hb-preview-title {
    font-size: 18px;
    font-weight: 800;
}
.hb-preview-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--hb-txt-muted);
    transition: color 0.15s;
    line-height: 1;
}
.hb-preview-close:hover {
    color: #e53e3e;
}
.hb-preview-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hb-preview-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    padding: 16px;
}
[data-bs-theme="dark"] .hb-preview-item {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(15, 23, 42, 0.3) !important;
}

/* ── RUNDOWN BUILDER UI/UX IMPROVEMENTS (SCOPED) ── */

/* ── SPLIT PANEL LAYOUT ── */
#v-haber-bulteni.hb-view.on {
    display: flex !important;
    flex-direction: row !important;
    height: 100% !important;
    width: 100% !important;
    gap: 0 !important; /* Gap handled by resizer */
    overflow: hidden !important;
    padding: 15px !important;
    box-sizing: border-box !important;
}

#v-haber-bulteni .hb-rd-panel {
    flex: 0 0 52%;
    max-width: 90%;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    background: var(--hb-panel-bg) !important;
    border: 1px solid var(--hb-border) !important;
    border-radius: 8px !important;
}

#v-haber-bulteni .hb-details-panel {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow-y: auto !important;
    background: var(--hb-panel-bg) !important;
    border: 1px solid var(--hb-border) !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

.hb-resizer {
    width: 15px;
    cursor: col-resize;
    background: transparent;
    transition: background 0.2s;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.hb-resizer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--hb-border-light, rgba(0, 0, 0, 0.08));
    transition: background 0.2s, width 0.2s;
}

.hb-resizer:hover::after, .hb-resizer.resizing::after {
    background: #3b82f6;
    width: 3px;
}


/* ── BUTTON STANDARDIZATION ── */
#v-haber-bulteni .hb-btn {
    height: 30px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.15s ease-in-out !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    text-transform: none !important;
}

#v-haber-bulteni .hb-btn-primary {
    background: var(--hb-brand-blue) !important;
    color: #ffffff !important;
}
#v-haber-bulteni .hb-btn-primary:hover {
    background: #1d4ed8 !important;
    opacity: 0.95 !important;
}

#v-haber-bulteni .hb-btn-secondary {
    background: var(--hb-btn-sec-bg) !important;
    border: 1px solid var(--hb-border) !important;
    color: var(--hb-txt-bright) !important;
}
#v-haber-bulteni .hb-btn-secondary:hover {
    background: var(--hb-hover-bg) !important;
    border-color: var(--hb-brand-blue) !important;
}

#v-haber-bulteni .hb-btn-danger {
    background: #e53e3e !important;
    color: #ffffff !important;
}
#v-haber-bulteni .hb-btn-danger:hover {
    background: #c53030 !important;
}

#v-haber-bulteni .hb-btn-teal {
    background: #0f766e !important;
    color: #ffffff !important;
}
#v-haber-bulteni .hb-btn-teal:hover {
    background: #115e59 !important;
}

#v-haber-bulteni .hb-btn-ghost {
    background: transparent !important;
    border: 1px solid var(--hb-border) !important;
    color: var(--hb-txt-bright) !important;
}
#v-haber-bulteni .hb-btn-ghost:hover {
    background: var(--hb-hover-bg) !important;
}

#v-haber-bulteni .hb-refresh-btn {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    font-size: 14px !important;
}

#v-haber-bulteni .hb-btn-sm {
    height: 24px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
}

/* ── CONTROLS ── */
#v-haber-bulteni .hb-ctrl {
    height: 30px !important;
    border: 1px solid var(--hb-border-light) !important;
    background: var(--hb-bg) !important;
    color: var(--hb-txt-bright) !important;
    border-radius: 4px !important;
    padding: 0 10px !important;
    font-size: 12.5px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s ease-in-out !important;
}
#v-haber-bulteni .hb-ctrl:focus {
    border-color: var(--hb-brand-blue) !important;
}
#v-haber-bulteni .hb-ctrl-xs {
    width: 50px !important;
    text-align: center !important;
    padding: 0 !important;
}

/* ── BULTEN HEADER BLOCK ── */
.hb-bulten-header-block {
    padding: 6px 15px !important;
    background: var(--hb-panel-bg) !important;
    border-bottom: 1px solid var(--hb-border) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}
.hb-bulten-header-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}
.hb-bulten-header-block h2 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--hb-txt-bright) !important;
}
.hb-bulten-header-block h3 {
    margin: 0 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: var(--hb-txt-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* ── TOOLBARS ── */
#v-haber-bulteni .hb-rd-create-bar {
    padding: 6px 15px !important;
    background: var(--hb-panel-bg) !important;
    border-bottom: 1px solid var(--hb-border) !important;
    gap: 10px !important;
    display: flex !important;
    align-items: center !important;
}
#v-haber-bulteni .hb-sep-toolbar {
    padding: 6px 15px !important;
    background: var(--hb-panel-bg) !important;
    border-bottom: 1px solid var(--hb-border) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.hb-sep-toolbar-lbl {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--hb-txt-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
#v-haber-bulteni .hb-btn-group {
    display: flex !important;
    gap: 6px !important;
}

/* ── RUNDOWN STANDALONE TABLE ── */
#v-haber-bulteni .hb-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
#v-haber-bulteni .hb-table thead tr th {
    background: var(--hb-btn-sec-bg) !important;
    color: var(--hb-txt-muted) !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid var(--hb-border) !important;
    padding: 6px 8px !important;
    vertical-align: middle !important;
}
#v-haber-bulteni .hb-table tbody tr td {
    padding: 6px 8px !important;
    border-bottom: 1px solid var(--hb-border-light) !important;
    vertical-align: middle !important;
    font-size: 13px !important;
    background: transparent !important;
}
#v-haber-bulteni .hb-table tbody tr:hover td {
    background: var(--hb-hover-bg) !important;
    cursor: pointer !important;
}

/* Selected row highlight on left table */
#v-haber-bulteni .hb-table tbody tr.active-rundown-slot td {
    background: var(--hb-brand-blue-dim) !important;
}
#v-haber-bulteni .hb-table tbody tr.active-rundown-slot td:first-child {
    border-left: 3px solid var(--hb-brand-blue) !important;
}

/* Headline link styling */
#v-haber-bulteni .hb-table td.hc-title a {
    text-decoration: none !important;
    color: var(--hb-txt-bright) !important;
    font-weight: 700 !important;
    transition: color 0.15s ease-in-out !important;
    display: inline-block !important;
}
#v-haber-bulteni .hb-table td.hc-title a:hover {
    color: var(--hb-brand-blue) !important;
    text-decoration: underline !important;
}

/* Numeric alignment */
#v-haber-bulteni .hc-dur,
#v-haber-bulteni .hc-cum {
    font-variant-numeric: tabular-nums !important;
    font-weight: 700 !important;
    text-align: center !important;
}
#v-haber-bulteni .hc-cum {
    color: var(--hb-brand-blue) !important;
}

/* Checkbox alignment */
#v-haber-bulteni .hc-chk input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Action button icons in table row */
#v-haber-bulteni .hb-btn-action-g,
#v-haber-bulteni .hb-btn-action-s {
    width: 26px !important;
    height: 26px !important;
    border-radius: 4px !important;
    border: none !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.1s ease-in-out !important;
    color: #ffffff !important;
}
#v-haber-bulteni .hb-btn-action-g {
    background-color: #10b981 !important; /* clean green */
}
#v-haber-bulteni .hb-btn-action-g:hover {
    background-color: #059669 !important;
    transform: scale(1.05) !important;
}
#v-haber-bulteni .hb-btn-action-s {
    background-color: #ef4444 !important; /* clean red */
}
#v-haber-bulteni .hb-btn-action-s:hover {
    background-color: #dc2626 !important;
    transform: scale(1.05) !important;
}

/* Separator Row styles scoped to Amber color */
#v-haber-bulteni .hb-table tbody tr.hb-sep-row td {
    background: var(--hb-sep-bg, rgba(245, 158, 11, 0.08)) !important;
    border-top: 1px solid var(--hb-sep-border, #f59e0b) !important;
    border-bottom: 1px solid var(--hb-sep-border, #f59e0b) !important;
    padding: 4px 8px !important;
}
#v-haber-bulteni .hb-table tbody tr.hb-sep-row .hb-sep-text {
    font-weight: 800 !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    color: var(--hb-sep-text, #b45309) !important;
}
#v-haber-bulteni .hb-table tbody tr.hb-sep-row .hb-sep-cum-val {
    background: var(--hb-sep-border, #f59e0b) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 1px 4px !important;
    border-radius: 4px !important;
    display: inline-block !important;
}

/* Selected row highlight on separator */
#v-haber-bulteni .hb-table tbody tr.hb-sep-row.active-rundown-slot td {
    background: rgba(245, 158, 11, 0.16) !important;
}
#v-haber-bulteni .hb-table tbody tr.hb-sep-row.active-rundown-slot td:first-child {
    border-left: 3px solid #f59e0b !important;
}

/* ── RIGHT DETAILS INSPECTOR PANEL ── */
#hb-details-placeholder-hb {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 300px !important;
    color: var(--hb-txt-muted) !important;
    font-style: italic !important;
    text-align: center !important;
}

#hb-details-preview-hb,
#hb-details-edit-hb {
    flex-direction: column !important;
    gap: 15px !important;
}
#hb-details-placeholder-hb i {
    font-size: 3rem !important;
    margin-bottom: 15px !important;
}

.hb-inspector-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid var(--hb-border) !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
    position: sticky !important;
    top: 0 !important;
    background: var(--hb-panel-bg) !important;
    z-index: 10 !important;
}

.hb-inspector-card {
    background: var(--hb-panel-bg) !important;
    border: 1px solid var(--hb-border-light) !important;
    border-radius: 8px !important;
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

/* Metadata grid inside cards */
.hb-metadata-grid {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    border-top: 1px solid var(--hb-border-light) !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
}
.hb-metadata-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}
.hb-metadata-label {
    font-weight: 800 !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    color: var(--hb-txt-muted) !important;
}
.hb-metadata-value {
    font-size: 13px !important;
    color: var(--hb-txt-bright) !important;
    font-weight: 700 !important;
}

/* Prompter & Video texts style */
.hb-text-block-title {
    font-weight: 800 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    color: var(--hb-txt-muted) !important;
    display: block !important;
    margin-bottom: 8px !important;
}
.hb-prompter-text {
    line-height: 1.7 !important;
    color: var(--hb-txt-bright) !important;
    white-space: pre-wrap !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}
.hb-video-text {
    line-height: 1.65 !important;
    color: var(--hb-txt-bright) !important;
    white-space: pre-wrap !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* VTR scene labels formatted as badges */
.vtr-scene-tag {
    display: inline-block !important;
    background: var(--hb-btn-sec-bg) !important;
    color: var(--hb-brand-blue) !important;
    border: 1px solid var(--hb-border) !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    margin: 4px 0 !important;
    text-transform: uppercase !important;
}

/* ── NEW ACTION FOOTER ── */
.hb-footer-new {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 15px !important;
    background: var(--hb-panel-bg) !important;
    border-top: 1px solid var(--hb-border) !important;
    gap: 8px 15px !important;
    flex-shrink: 0 !important;
    flex-wrap: wrap !important;
}
.hb-export-group {
    display: flex !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
    min-width: 200px !important;
}
.hb-export-group .hb-btn {
    flex: 1 1 0% !important;
    min-width: 100px !important;
    height: 30px !important;
    font-size: 11.5px !important;
}
.hb-total-duration-box {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--hb-bg) !important;
    padding: 4px 12px !important;
    border: 1px solid var(--hb-border) !important;
    border-radius: 5px !important;
    height: 30px !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
}
.hb-total-duration-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--hb-txt-muted) !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
}
.hb-total-duration-val {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--hb-brand-blue) !important;
    line-height: 1 !important;
    min-width: 50px !important;
    text-align: right !important;
    font-variant-numeric: tabular-nums !important;
}





