/* Partial CSS for small UI tweaks and indicator-designer scaffold */

/* reduce social badge padding and icon sizes if needed */
.social-badge svg { width: 18px !important; height: 18px !important; }
.social-badge { padding: 4px 6px !important; font-size: 12px; width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; }
.social-badge svg { vertical-align: middle; }

/* indicator-designer drawer (scaffold) */
.indicator-designer {
  position: fixed;
  right: 12px;
  bottom: 72px;
  width: 360px;
  max-width: calc(100% - 24px);
  background: var(--indicator-designer-bg);
  border: 1px solid var(--border-light);
  padding: 12px;
  box-shadow: var(--shadow-modal);
  color: var(--text-primary);
  z-index: 12000;
  display: none;
}
.indicator-designer textarea { width: 100%; height: 140px; background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-primary); padding: 8px; }
.indicator-designer .actions { display:flex; gap:8px; justify-content:flex-end; margin-top:8px; }

/* small helper for partials to not conflict */
#chart-container .chart-legend select { font-size: 12px; }

/* Close button styling extracted from inline <style> */
.sc-panel-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: rgba(30, 32, 40, 0.85);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.2em;
  padding: 4px 12px;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s;
}
.sc-panel-close:hover { background: #FF3366; color: #fff; }
