* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  width: 100%;
  height: 100%;
}

.container {
  display: flex;
  height: 100%;
}

.management {
  display: flex;
  background-color: rgba(0, 255, 0, 0.33);
  width: 0;
}

.dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.slider {
  position: absolute;
  top: calc((100% + 20px) / 2);
  transform: translateY(-50%);
  font-size: 10px;
  border: none;
  background: none;
  color: #000000;
  cursor: pointer;
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.slider.left {
  top: calc((100% + 20px) / 2); /* adjusting for dashboard-control height */
}

.slider.right {
  top: 50%;
  left: calc(100% - 10px); /* Move button to the right */
}

.dashboard-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 20px;
  background-color: #eeeeee;
  position: relative;
  font-family: "Times New Roman", Times, serif;
  overflow: hidden;
  flex-shrink: 0;
  border-top: 1px solid #333380;
  border-bottom: 1px solid #333380;
}

.left-section, .right-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.left-section {
  overflow: hidden;
}

#searchStkSym {
  width: 120px;
  height: 20px;
  border-radius: 0px;
  outline: none;
}

.left-arrow, .right-arrow, .down-arrow  {
  display: flex;
  font-size: 10px;
  padding: 2px 5px;
  background-color: gray;
  color: white;
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}

.left-arrow {
  margin: 0 2px;
}

.right-arrow, .down-arrow  {
  margin: 0 0 0 2px;
}

.enableArrow {
  opacity: 1.0;
  cursor: pointer;
  pointer-events: auto;
  background-color: blue;
  transition: 0.3s;
}

.left-arrow.enableArrow:hover, .right-arrow.enableArrow:hover, .down-arrow.enableArrow:hover {
  background-color: black;
}

.open-stock-list {
  display: none;
  position: absolute;
  top: 20px;
  right: 0;
  background-color: #ffffff;
  min-width: 120px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.open-stock-list li {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  font-size: 12px;
  cursor: pointer;
}

.open-stock-list li:hover {
  background-color: #333380;
  color: white;
}

.open-stock-list li.active {
  background-color: #333380;
  color: white;
}

.open-stock-list li:last-child {
  border-bottom: none;
}

.login-btn {
  font-size: 14px;
  color: black;
  cursor: pointer;
  text-decoration: underline;
  margin: 0 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.stock-list {
  display: none;
  position: absolute;
  top: 20px;
  left: 0px;
  background-color: white;
  min-width: 120px; /* keep it same as that of symbol input width */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.stock-list li {
  padding: 8px;
  font-size: 12px;
  cursor: pointer;
}

.stock-list li:hover {
  background-color: #dddddd;
}

.tabs-container {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tab {
  height: 16px;
  background-color: #666680;
  padding: 0 5px;
  margin: 0 0 -2px 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  color: white;
  font-size: 12px;
  white-space: nowrap;
  user-select: none;
  border: none;
  cursor: pointer;
}

.tab.active {
  height: 20px;
  background-color: #333380;
  padding: 2px 5px;
  margin: 0;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.tab .close {
  padding-left: 5px;
  color: white;
  cursor: pointer;
}

.content {
  display: flex;
  flex-grow: 1;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #ffffff;
  font-size: 36px;
  text-align: center;
}

.content-pane {
  display: none;
}

.content-pane.active {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  position: relative;
}

.welcome-line-1 {
  font-size: 32px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svg-placeholder {
  height: 28px;
  width: auto;
  margin-left: 10px;
  margin-top: 8px;
}

.welcome-line-2 {
  font-size: 20px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.instructions {
  text-align: left; /* Align list text to the left */
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px; /* Limit the width of the list */
  background-color: #eeeeee;
  margin-left: auto;
  margin-right: auto;
}

.instructions li {
  list-style: number outside;
}

.instructions ul li {
  list-style: disc inside;
}

.data-section {
  position: absolute;
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
}

.data-ctrl-section {
  height: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.data-ctrl-section-left, .data-ctrl-section-right {
  display: flex;
}

.min-overlay-chkbox-container {
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  padding: 0px 2px 0px 2px;
  margin-left: 5px;
}

.min-default-overlay-chkbox {
  margin: 0px 1px 0px 0px;
  cursor: pointer;
}

.data-minmax-btn {
  height: 20px;
  width: 20px;
  border: none;
  pointer-events: none;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
}

.data-chart-section {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  margin: 0px 5px 5px 5px;
  background: #ffffff;
}

.data-chart-canvas {
}

.context-menu {
  position: absolute;
  text-align: center;
  background: lightgray;
  border: 1px solid black;
  border-radius: 5px;
}

.context-menu ul {
  padding: 0px;
  margin: 0px;
  min-width: 150px;
  list-style: none;
}

.context-menu ul li {
  padding: 7px 0px;
  border: 1px solid black;
}

.context-menu ul li:hover {
  background: darkgray;
  cursor: pointer;
}