/* ═══ Creative Films re-skin for the drag & drop builder ═══
   Re-themes the ALOYT SaaS builder chrome to this studio's dark + gold brand.
   The builder edits ONLY this theme; the footer's "Powered By CodeALO - ALOYT"
   line is locked everywhere (canvas + server) and can never be removed. */
:root{
  --primary:#C8A24A;
  --primary-dark:#A88433;
  --accent:#E8C97A;
  --canvas-bg:#EFEDE8;
}
.brand-icon{background:linear-gradient(135deg,#E8C97A,#C8A24A);color:#15151A}
.btn-primary{background:linear-gradient(135deg,#E8C97A,#C8A24A);color:#15151A}
.btn-primary:hover{background:linear-gradient(135deg,#d8b45f,#b8913c)}
.btn-dark{background:#15151A}
.block-thumb:hover{box-shadow:0 6px 20px rgba(200,162,74,.25)}
.block-thumb-img i{color:#C8A24A}
.layer-item.active{background:#FBF5E6;border-color:#C8A24A;color:#8a6d1f}
.drop-indicator{background:linear-gradient(90deg,#E8C97A,#C8A24A)}
.topbar{background:#15151A;border-bottom:1px solid #2A2A35}
.topbar .brand-name,.topbar .brand-sub{color:#fff}
.topbar .brand-sub{color:#B9B4A8}
.topbar .page-status{color:#E8E6E0}
.topbar .page-status .dot{background:#4ade80}
.topbar .icon-btn{background:#1A1A22;border-color:#2A2A35;color:#B9B4A8}
.topbar .icon-btn:hover{color:#fff;border-color:#C8A24A}
.topbar .btn-ghost{background:#1A1A22;border-color:#2A2A35;color:#E8E6E0}
.topbar .btn-ghost:hover{border-color:#C8A24A;color:#fff}
.topbar .zoom-control{background:#1A1A22;color:#E8E6E0}
.topbar .zoom-control button{background:#252532;color:#fff}
.topbar .device-switch{background:#1A1A22}
.topbar .device-btn{color:#B9B4A8}
.topbar .device-btn.active{background:#252532;color:#E8C97A;box-shadow:none}
.sidebar{background:#17171D;border-right-color:#2A2A35;color:#E8E6E0}
.sidebar .sidebar-head{color:#fff}
.sidebar .empty-note{background:#101014;border-color:#2A2A35;color:#8a877e}
.block-thumb{background:#101014;border-color:#2A2A35}
.block-thumb-body h4{color:#F2F0EA}
.block-thumb-body p{color:#8a877e}
.block-thumb-actions button{background:#17171D;border-color:#2A2A35;color:#E8E6E0}
.block-thumb-actions button.primary{background:linear-gradient(135deg,#E8C97A,#C8A24A);color:#15151A;border-color:transparent}
.layer-item{color:#D8D5CC}
.layer-item:hover{background:#1F1F26}
.layer-item.locked{opacity:.75}
.layer-item .eye-btn{color:#8a877e}
.layer-item .eye-btn.off{color:#C8A24A}
.canvas-area{background:var(--canvas-bg)}
.canvas-toolbar{background:#17171D;border-bottom-color:#2A2A35;color:#B9B4A8}
.sec-chip{position:absolute;top:8px;left:8px;z-index:40;display:flex;gap:4px;align-items:center;
  background:#15151A;color:#fff;border:1px solid #2A2A35;border-radius:10px;padding:4px 6px 4px 10px;
  font-size:11.5px;font-weight:700;box-shadow:0 6px 18px rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:opacity .15s}
.sec-outline{position:absolute;inset:0;border:2px dashed rgba(200,162,74,.55);border-radius:6px;
  pointer-events:none;opacity:0;transition:opacity .15s}
.sec-hover{opacity:1;pointer-events:auto}
.sec-chip .chip-name{padding-right:4px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sec-chip .chip-btn{width:24px;height:24px;border:none;background:#252532;color:#E8E6E0;border-radius:7px;
  cursor:pointer;display:grid;place-items:center;font-size:11px}
.sec-chip .chip-btn:hover{background:#C8A24A;color:#15151A}
.sec-chip .chip-btn.lock{background:#101014;color:#8a877e;cursor:default}
.sec-chip .chip-btn.lock:hover{background:#101014;color:#8a877e}
.sec-ghost{outline:3px dashed rgba(200,162,74,.8);outline-offset:-3px}
.ibar{position:absolute;z-index:60;display:flex;gap:4px;background:#15151A;border:1px solid #2A2A35;
  border-radius:10px;padding:4px;box-shadow:0 8px 22px rgba(0,0,0,.35)}
.ibar button{width:26px;height:26px;border:none;background:#252532;color:#fff;border-radius:7px;cursor:pointer;font-size:12px}
.ibar button:hover{background:#C8A24A;color:#15151A}
.dirty-dot{width:8px;height:8px;border-radius:50%;background:#f59e0b;display:inline-block}
.cfb-ghost{position:fixed;z-index:140;pointer-events:none;background:#15151A;color:#fff;border:1px solid #C8A24A;
  border-radius:10px;padding:6px 12px;font:700 12px Inter,system-ui,sans-serif;box-shadow:0 10px 26px rgba(0,0,0,.4);white-space:nowrap}
.cfb-overlay{background:transparent}
.cfb-hint{margin-left:auto;color:#8a877e!important;font-weight:600}
.builder-foot{padding:10px 14px;border-top:1px solid #2A2A35;font-size:10.5px;color:#8a877e;text-align:center}
.builder-foot a{color:#C8A24A;text-decoration:none;font-weight:700}
.builder-foot a:hover{text-decoration:underline}
.toast{background:rgba(15,15,20,.96)}

/* sidebar tabs + palette notes (builder chrome additions) */
.sidebar-tabs{background:#101014}
.sidebar-tabs button{flex:1;background:transparent;border:none;color:#8a877e;font:inherit;font-size:12.5px;font-weight:700;padding:12px 8px;cursor:pointer}
.sidebar-tabs button.on{color:#E8C97A;box-shadow:inset 0 -2px 0 #C8A24A}
.side-note{font-size:11.5px;line-height:1.55;color:#8a877e;background:#101014;border:1px dashed #2A2A35;border-radius:10px;padding:10px 12px;margin-bottom:12px}
.topbar .brand-icon{animation:none}
#canvasWrapper{height:calc(100vh - 190px)}
#canvasWrapper #siteFrame{width:100%;height:100%;border:0;display:block;background:#fff}
