/* public/css/global.css */
html {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  background: #161616;
  font-family: Arial;
  font-size: 16px;
  line-height: 1.4;
}

body {
  position: relative;
}

a {
  color: #fff;
}

canvas {
  display: block;
}

.positions-info {
  position: absolute;
  z-index: 100;
  font-size: 10px;
  line-height: 1;
  top: 2px;
  left: 12px;
}

.positions-info span {
  display: inline-block;
  margin: 0 0 0 10px;
}

.positions-info span.is-green {
  color: #04ff04;
}

.positions-info span.is-red {
  color: red;
}

.logs {
  position: absolute;
  z-index: 101;
  overflow: hidden auto;
  background: #161616;
  width: 280px;
  height: 100dvh;
  padding: 20px;
  transition: left .25s linear;
  font-size: 12px;
  top: 0;
  left: -300px;
}

.logs.is-active {
  left: 0;
}

.logs > div {
  margin: 0 0 20px;
}

.logs > div > p:nth-child(2) {
  color: #999;
}

.logs-trigger {
  position: absolute;
  z-index: 102;
  display: flex;
  cursor: pointer;
  background: #333;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  bottom: 10px;
  left: 10px;
}

.logs-trigger:hover {
  background: #555;
}

.chart-container {
  height: 100dvh;
}

.equity {
  position: absolute;
  z-index: 101;
  overflow: hidden auto;
  background: #161616;
  width: 100vw;
  height: 100dvh;
  top: 0;
  left: -100vw;
}

.equity.is-active {
  left: 0;
}

.equity-trigger {
  position: absolute;
  z-index: 102;
  display: flex;
  text-decoration: none;
  cursor: pointer;
  background: #333;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  bottom: 50px;
  left: 10px;
}

.equity-trigger:hover {
  background: #555;
}

.to-main-page {
  position: absolute;
  z-index: 102;
  display: flex;
  text-decoration: none;
  cursor: pointer;
  background: #333;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  bottom: 90px;
  left: 10px;
}

.to-main-page:hover {
  background: #555;
}
