/* p {
  font-family: Arial;
}
h1 {
  line-height: 1em;
  margin-bottom: 10px;
  margin-top: 10px;
}
.description-title {
  font-size: 40px;
  font-style: bold;
  display: inline-block;
  text-align: center;
}
.description-box {
  width: 515px;
  margin-left: 5px;
  height: auto;
  margin-right: 40px;
}
.description-box-holder {
  float: right;
}
@media screen and (max-width: 1300px) {
  html,
  body {
    min-width: 1300px;
  }
}
.description {
  font-size: larger;
  line-height: 30px;
  width: 520px;
  text-align: justify;
}
.investment-area {
  margin: 10px 20px 0px 10px;
  display: inline-block;
}
#stockGraph {
  background-color: white;
  border-style: solid;
  border-color: black;
  border-width: 4px;
  display: inline;
}
.priceTable {
  border-collapse: separate;
  text-align: left;
  float: left;
}
#canvasParent {
  display: flex;
}
.priceTabletd {
  display: block;
  margin-bottom: 44px;
  font-style: bold;
}
#priceTabletr {
  display: inline;
  float: left;
  width: 20px;
  margin-right: 5px;
}
#stockPanel {
  display: flex;
  width: 1270px;
  min-width: 555px;
  margin-right: 1px;
  flex-wrap: wrap;
  pointer-events: none;
}
.stockDiv {
  width: 160px;
  height: 85px;
  margin: 10px 10px 10px 10px;
  text-align: center;
  pointer-events: none;
}
.stockDescription {
  margin-top: 0px;
  margin-bottom: 5px;
  font-size: small;
}
.stockPanelButtonSell {
  width: 70px;
  height: 35px;
  border: red;
  color: red;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  background-color: white;
  cursor: pointer;
  pointer-events: auto;
}
.stockPanelButtonBuy {
  width: 70px;
  height: 35px;
  border: green;
  color: green;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  background-color: white;
  cursor: pointer;
  pointer-events: auto;
}
.stockDescriptionTitle {
  margin: 0px;
  display: inline-block;
}
.stockPanelButtonBuy:hover {
  background-color: green;
  color: white;
}
.stockPanelButtonSell:hover {
  background-color: red;
  color: white;
}
.stockPanelButtonSell:active {
  background-color: rgb(187, 0, 0);
  border: rgb(197, 0, 0);
  color: white;
}
.stockPanelButtonBuy:active {
  background-color: rgb(0, 82, 0);
  border: rgb(0, 92, 0);
  color: white;
}
.login {
  width: 48%;
  height: 46px;
  font-size: larger;
  border: rgb(0, 102, 0);
  background-color: rgb(6, 146, 6);
  color: white;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  cursor: pointer;
  margin-left: 1%;
  text-align: center;
}
.login:hover {
  background-color: rgb(0, 94, 0);
  color: white;
}
.login:active {
  background-color: rgb(0, 82, 0);
  border: rgb(0, 82, 0);
}
.leaderboard {
  width: 48%;
  height: 46px;
  font-size: larger;
  border: rgb(0, 8, 77);
  background-color: rgb(48, 64, 202);
  color: white;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  cursor: pointer;
  text-align: center;
}
.leaderboard:hover {
  background-color: rgb(30, 14, 136);
}
.leaderboard:active {
  background-color: rgb(20, 10, 95);
}
.logout {
  border: rgb(201, 0, 0);
  color: rgb(141, 141, 141);
  border-style: solid;
  background-color: red;
  cursor: pointer;
  pointer-events: auto;
  width: 48%;
  height: 46px;
  font-size: larger;
  color: white;
  border-radius: 5px;
  border-width: 3px;
  margin-left: 1%;
  text-align: center;
}
.logout:hover {
  background-color: rgb(180, 0, 0);
  border-color: rgb(180, 0, 0);
}
.logout:active {
  background-color: rgb(187, 0, 0);
  border: rgb(197, 0, 0);
  color: white;
}
#parent {
  display: flex;
  padding-right: 50px;
}
#cashDisplay {
  text-align: center;
  font-size: 40px;
  font-style: bold;
  margin: 0px;
  margin-bottom: 15px;
}
#profitDisplay {
  text-align: center;
  font-size: 40px;
  font-style: bold;
  margin: 0px;
  margin-bottom: 15px;
}
@media screen and (max-width: 1650px) {
  #stockSidePanel {
    margin-left: 85px;
  }
}
@media screen and (min-width: 1650px) {
  #stockSidePanel {
    margin-left: 0px;
  }
}

.stockSidePanelButtonBuy {
  width: 24%;
  height: 45px;
  border: green;
  border-style: solid;
  cursor: pointer;
  background-color: lightgreen;
  margin-bottom: 10px;
  border-radius: 22px;
}
.stockSidePanelButtonSell {
  width: 24%;
  height: 45px;
  border: red;
  border-style: solid;
  cursor: pointer;
  background-color: pink;
  border-radius: 22px;
  margin-bottom: 15px;
}
.stockSidePanelButtonBuy:hover {
  background-color: rgb(82, 192, 82);
}
.stockSidePanelButtonBuy:active {
  background-color: rgb(72, 189, 77);
}
.stockSidePanelButtonSell:hover {
  background-color: rgb(204, 104, 121);
}
.stockSidePanelButtonSell:active {
  background-color: rgb(194, 101, 116);
}
.sidePanelButtonLabel {
  font-size: large;
  display: block;
  text-align: center;
  margin-bottom: 5px;
  margin-top: 5px;
}
#bugReport {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  border-style: solid;
  border-color: black;
  cursor: pointer;
}
.toggleAll {
  width: 24%;
  margin:auto;
  height: 45px;
  border: rgb(184, 95, 184);
  border-style: solid;
  cursor: pointer;
  text-align: center;
  background-color: violet;
  margin-bottom: 10px;
  border-radius: 22px;
}
#toggleAllBox{
 display: flex;
}
#stockReport {
  width: 100%;
  height: 40px;
  margin-top: 8px;
  border-radius: 20px;
  border-style: solid;
  border-color: black;
  background-color: blueviolet;
  color: white;
  cursor: pointer;
}
.alert-box {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  max-width: 90%;
  width: auto;
  height: auto;
  padding: 15px;
  text-transform: capitalize;
  background: rgb(248, 62, 62);
  border-left: 10px;
  border-right: 10px;
  border-radius: 15px;
  color: white;
  font-family: "roboto", sans-serif;
  text-align: center;
  transition: 1s;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 16px;
  margin-left: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}


.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  pointer-events: auto;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: -5px;
  bottom: -2px;
  background-color: rgb(153, 153, 153);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  pointer-events: auto;
}

input:checked + .slider {
  background-color: rgb(74, 226, 74);
}

input:focus + .slider {
  box-shadow: 0 0 1px rgb(74, 226, 74);
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}


.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

body {
  transition: background-color 0.3s, color 0.3s;
  background-color: #ececec;
}

.dark-mode {
  background-color: #1c1c1c;
  color: #eaeaea;
}
body.dark-mode #stockReport:active {
  background-color: #1c1c1c;
}
body.dark-mode #stockGraph{
    background-color: #2b2a2a;
    border-color: #333;
}
.dark-mode .investment-area,
.dark-mode .description-box-holder,
.dark-mode .stockPanel,
.dark-mode .alert-box {
  background-color: #333;
  color: #eaeaea;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.investment-area,
.description-box-holder,
.stockPanel,
.alert-box {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(156, 138, 138, 0.3);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.dark-mode .stockPanelButtonSell {
  background-color: rgb(228, 113, 113);
  color: rgb(197, 0, 0);
  
}
.dark-mode .stockPanelButtonSell:hover {
  background-color: red;
 color: rgb(255, 255, 255);
}
.dark-mode .stockPanelButtonSell:active {
  background-color: rgb(187, 0, 0);
  border: rgb(197, 0, 0);
  color: rgb(255, 255, 255);
}
.dark-mode .stockPanelButtonBuy {
  background-color: rgb(26, 190, 26);
  color: rgb(0, 82, 0);
  
}
.dark-mode .stockPanelButtonBuy:hover {
  background-color: green;
  color: white;
}
.dark-mode .stockPanelButtonBuy:active {
  background-color: rgb(0, 82, 0);
  border: rgb(0, 92, 0);
  color: white;
}

.dark-mode th,
.dark-mode td {
  border-color: #555;
}

.toggle-mode {
  font-size: 18px; 
  padding: 12px 24px; 
  border-radius: 30px; 
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#toggle-mode{
  width: 860px;
  height: 46px;
  font-size: larger;
  border: rgb(0, 8, 77);
  background-color: rgb(48, 64, 202);
  color: white;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  cursor: pointer;
  text-align: center;
  margin-left: 50px;
}

.dark-mode #toggle-mode {
  background-color: #548bf3;
  color: #333333;
}

.dark-mode #toggle-mode:hover {
  background-color: #2a6deb;
}
#toggle-mode:hover {
  background-color: rgb(30, 14, 136);
}
#toggle-mode:active {
  background-color: rgb(20, 10, 95);
} */



 p {
  font-family: Arial;
}
body, button, input, textarea {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
h1 {
  line-height: 1em;
  margin-bottom: 10px;
  margin-top: 10px;
}
.description-title {
  font-size: 40px;
  font-style: bold;
  display: inline-block;
  text-align: center;
  color: #006d75; /* JJK teal */
}
.description-box {
  width: 515px;
  margin-left: 5px;
  height: auto;
  margin-right: 40px;
}
.description-box-holder {
  float: right;
}
@media screen and (max-width: 1300px) {
  html,
  body {
    min-width: 1300px;
  }
}
.description {
  font-size: larger;
  line-height: 30px;
  width: 520px;
  text-align: justify;
}
.investment-area {
  margin: 10px 20px 0px 10px;
  display: inline-block;
}
#stockGraph {
  background-color: white;
  border-style: solid;
  border-color: #006d75; /* JJK teal */
  border-width: 4px;
  display: inline;
}
.priceTable {
  border-collapse: separate;
  text-align: left;
  float: left;
}
#canvasParent {
  display: flex;
}
.priceTabletd {
  display: block;
  margin-bottom: 44px;
  font-style: bold;
}
#priceTabletr {
  display: inline;
  float: left;
  width: 20px;
  margin-right: 5px;
}
#stockPanel {
  display: flex;
  width: 1270px;
  min-width: 555px;
  margin-right: 1px;
  flex-wrap: wrap;
  pointer-events: none;
}
.stockDiv {
  width: 160px;
  height: 85px;
  margin: 10px 10px 10px 10px;
  text-align: center;
  pointer-events: none;
  background-color: #f0f9ff; /* Light teal tint */
  border-radius: 8px;
  border: 1px solid #13c2c2; /* JJK teal accent */
}
.stockDescription {
  margin-top: 0px;
  margin-bottom: 5px;
  font-size: small;
}
.stockPanelButtonSell {
  width: 70px;
  height: 35px;
  border: #722ed1; /* JJK purple */
  color: #722ed1;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  background-color: white;
  cursor: pointer;
  pointer-events: auto;
  font-weight: bold;
}
.stockPanelButtonBuy {
  width: 70px;
  height: 35px;
  border: #13c2c2; /* JJK teal */
  color: #13c2c2;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  background-color: white;
  cursor: pointer;
  pointer-events: auto;
  font-weight: bold;
}
.stockDescriptionTitle {
  margin: 0px;
  display: inline-block;
  color: #006d75; /* JJK teal */
}
.stockPanelButtonBuy:hover {
  background-color: #13c2c2;
  color: white;
}
.stockPanelButtonSell:hover {
  background-color: #722ed1;
  color: white;
}
.stockPanelButtonSell:active {
  background-color: #531dab;
  border: #531dab;
  color: white;
}
.stockPanelButtonBuy:active {
  background-color: #08979c;
  border: #08979c;
  color: white;
}
.login {
  width: 48%;
  height: 46px;
  font-size: larger;
  border: #13c2c2;
  background-color: #13c2c2;
  color: white;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  cursor: pointer;
  margin-left: 1%;
  text-align: center;
  font-weight: bold;
}
.login:hover {
  background-color: #08979c;
  color: white;
}
.login:active {
  background-color: #006d75;
  border: #006d75;
}
.leaderboard {
  width: 48%;
  height: 46px;
  font-size: larger;
  border: #722ed1;
  background-color: #722ed1;
  color: white;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
}
.leaderboard:hover {
  background-color: #531dab;
}
.leaderboard:active {
  background-color: #391085;
}
.logout {
  border: #f5222d;
  color: white;
  border-style: solid;
  background-color: #f5222d;
  cursor: pointer;
  pointer-events: auto;
  width: 48%;
  height: 46px;
  font-size: larger;
  color: white;
  border-radius: 5px;
  border-width: 3px;
  margin-left: 1%;
  text-align: center;
  font-weight: bold;
}
.logout:hover {
  background-color: #cf1322;
  border-color: #cf1322;
}
.logout:active {
  background-color: #a8071a;
  border: #a8071a;
}
#parent {
  display: flex;
  padding-right: 50px;
}
#cashDisplay {
  text-align: center;
  font-size: 40px;
  font-style: bold;
  margin: 0px;
  margin-bottom: 15px;
  color: #006d75; /* JJK teal */
}
#profitDisplay {
  text-align: center;
  font-size: 40px;
  font-style: bold;
  margin: 0px;
  margin-bottom: 15px;
  color: #722ed1; /* JJK purple */
}
@media screen and (max-width: 1650px) {
  #stockSidePanel {
    margin-left: 85px;
  }
}
@media screen and (min-width: 1650px) {
  #stockSidePanel {
    margin-left: 0px;
  }
}

.stockSidePanelButtonBuy {
  width: 24%;
  height: 45px;
  border: #13c2c2;
  border-style: solid;
  cursor: pointer;
  background-color: #e6fffb;
  margin-bottom: 10px;
  border-radius: 22px;
  color: #006d75;
  font-weight: bold;
}
.stockSidePanelButtonSell {
  width: 24%;
  height: 45px;
  border: #722ed1;
  border-style: solid;
  cursor: pointer;
  background-color: #f9f0ff;
  border-radius: 22px;
  margin-bottom: 15px;
  color: #531dab;
  font-weight: bold;
}
.stockSidePanelButtonBuy:hover {
  background-color: #b5f5ec;
}
.stockSidePanelButtonBuy:active {
  background-color: #87e8de;
}
.stockSidePanelButtonSell:hover {
  background-color: #efdbff;
}
.stockSidePanelButtonSell:active {
  background-color: #d3adf7;
}
.sidePanelButtonLabel {
  font-size: large;
  display: block;
  text-align: center;
  margin-bottom: 5px;
  margin-top: 5px;
}
#bugReport {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  border-style: solid;
  border-color: #006d75;
  cursor: pointer;
  background-color: #e6fffb;
  color: #006d75;
  font-weight: bold;
}
.toggleAll {
  width: 24%;
  margin:auto;
  height: 60px;
  border: #722ed1;
  border-style: solid;
  cursor: pointer;
  text-align: center;
  background-color: #f9f0ff;
  margin-bottom: 10px;
  border-radius: 22px;
  color: #531dab;
  font-weight: bold;
}
#toggleAllBox{
 display: flex;
}
#stockReport {
  width: 100%;
  height: 40px;
  margin-top: 8px;
  border-radius: 20px;
  border-style: solid;
  border-color: #722ed1;
  background-color: #722ed1;
  color: white;
  cursor: pointer;
  font-weight: bold;
}
.alert-box {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  max-width: 90%;
  width: auto;
  height: auto;
  padding: 15px;
  text-transform: capitalize;
  background: #f5222d;
  border-left: 10px;
  border-right: 10px;
  border-radius: 15px;
  color: white;
  font-family: "roboto", sans-serif;
  text-align: center;
  transition: 1s;
  font-weight: bold;
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 16px;
  margin-left: 10px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  pointer-events: auto;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: -5px;
  bottom: -2px;
  background-color: rgb(153, 153, 153);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  pointer-events: auto;
}

input:checked + .slider {
  background-color: #13c2c2;
}

input:focus + .slider {
  box-shadow: 0 0 1px #13c2c2;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

body {
  transition: background-color 0.3s, color 0.3s;
  background-color: #f5fffd; /* Very light teal tint */
}

.dark-mode {
  background-color: #0a0a0a; /* Deep black */
  color: #f0f0f0;
}
body.dark-mode #stockReport:active {
  background-color: #391085;
}
body.dark-mode #stockGraph{
    background-color: #1a1a1a;
    border-color: #722ed1;
}
.dark-mode .investment-area,
.dark-mode .description-box-holder,
.dark-mode .stockPanel,
.dark-mode .alert-box {
  background-color: #1a1a1a;
  color: #f0f0f0;
  box-shadow: 0 4px 8px rgba(114, 46, 209, 0.3);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  border: 1px solid #722ed1;
}

.investment-area,
.description-box-holder,
.stockPanel,
.alert-box {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 109, 117, 0.3);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  border: 1px solid #13c2c2;
}

.dark-mode .stockPanelButtonSell {
  background-color: #1a1a1a;
  color: #d3adf7;
  border-color: #d3adf7;
}
.dark-mode .stockPanelButtonSell:hover {
  background-color: #722ed1;
  color: white;
}
.dark-mode .stockPanelButtonSell:active {
  background-color: #531dab;
  border: #531dab;
  color: white;
}
.dark-mode .stockPanelButtonBuy {
  background-color: #1a1a1a;
  color: #87e8de;
  border-color: #87e8de;
}
.dark-mode .stockPanelButtonBuy:hover {
  background-color: #13c2c2;
  color: white;
}
.dark-mode .stockPanelButtonBuy:active {
  background-color: #08979c;
  border: #08979c;
  color: white;
}

.dark-mode th,
.dark-mode td {
  border-color: #555;
}

.dark-mode .stockDiv {
  background-color: #1a1a1a;
  border-color: #722ed1;
}

.dark-mode .stockDescriptionTitle {
  color: #d3adf7;
}

.dark-mode .description-title {
  color: #87e8de;
}

.dark-mode #cashDisplay {
  color: #87e8de;
}

.dark-mode #profitDisplay {
  color: #d3adf7;
}

.toggle-mode {
  font-size: 18px; 
  padding: 12px 24px; 
  border-radius: 30px; 
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#toggle-mode{
  width: 860px;
  height: 46px;
  font-size: larger;
  border: #722ed1;
  background-color: #722ed1;
  color: white;
  border-style: solid;
  border-radius: 5px;
  border-width: 3px;
  cursor: pointer;
  text-align: center;
  margin-left: 50px;
  font-weight: bold;
}

.dark-mode #toggle-mode {
  background-color: #531dab;
  color: white;
}

.dark-mode #toggle-mode:hover {
  background-color: #391085;
}
#toggle-mode:hover {
  background-color: #531dab;
}
#toggle-mode:active {
  background-color: #391085;
}

.dark-mode .stockSidePanelButtonBuy {
  background-color: #1a1a1a;
  border-color: #13c2c2;
  color: #87e8de;
}

.dark-mode .stockSidePanelButtonSell {
  background-color: #1a1a1a;
  border-color: #d3adf7;
  color: #d3adf7;
}

.dark-mode #bugReport {
  background-color: #1a1a1a;
  border-color: #d3adf7;
  color: #d3adf7;
}

.dark-mode .toggleAll {
  background-color: #1a1a1a;
  border-color: #d3adf7;
  color: #d3adf7;
}