/* Terminal page — the few rules the component stylesheet does not cover. */

html, body {
  height: 100%;
  margin: 0;
  background: var(--fxc-bg, #fff);
}

body.fx-mt5 {
  overflow: hidden;
}

.demo-chart .fxc-root {
  height: 100%;
}

/* the legend the engine feeds */
.fxc-legend-studies {
  gap: 4px 12px;
  font-size: 12px;
  color: var(--fxc-text-2);
}

.fxc-legend-indicator b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* menus built by terminal.js */
.fxc-menu-check {
  width: 14px;
  flex: none;
  color: var(--fxc-accent);
}

.fxc-menu-hint {
  margin-left: auto;
  color: var(--fxc-text-3);
  font-size: 12px;
}

.fxc-menu-item:hover,
.fxc-indicator-row:hover,
.fxc-symbol-row:hover {
  background: var(--fxc-hover);
}

.fxc-dialog-close {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--fxc-text-2);
}

.fxc-indicator-kind {
  margin-left: auto;
  color: var(--fxc-text-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fxc-search-field .fxc-input {
  flex: 1;
  border: 0;
  background: none;
  outline: none;
  font-size: 15px;
  color: var(--fxc-text);
}

.fxc-wl-row.is-active {
  background: var(--fxc-accent-soft);
}

.fxc-symbol-list {
  overflow-y: auto;
}

/* replay bar */
.fxc-replay-bar {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 40;
}
