

.accountingpage{
  height: 100%;
  width:100%;
}



html{
  height: 100%;}

body{
  height: 100%;
  display: grid;
  margin: 0px;
  background-color: rgba(46, 42, 31, 0.83);
}

.LoginPage {
  margin: 0;
  height: 100vh;
  background: 
    linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0.75)), /* Faded white overlay */
    url('PICTURES/LoginPicture.png') no-repeat center center/cover;  
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  position: relative;}
main {
  background: rgba(255, 255, 255, 0.82); 
  padding: 10px 10px;
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.56);
  text-align: center;
  height: 35vh;
  min-height: 200px;
  width: 30vw;
  align-content: center;
  margin-top: 5vh; }
main img {
  width: 70%;
  height: auto;
  margin-bottom: 1vh;}
main input[type="text"],
main input[type="password"] {
    font-family: Arial Rounded MT;
    width: calc(100% - 40px);
    height: 3vh;
    min-height: 20px;
    padding: 3px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
    background: rgba(223, 223, 223, 0.8); /* Semi-transparent white background */
    opacity: 1;}
main button {
    height: 6vh; 
    min-height: 30px;
    width: 50%;
    padding: 10px;
    margin-top: 1vh;
    border: none;
    border-radius: 5px;
    background: #4CAF50;
    color: black;
    font-family: Arial Rounded MT;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    opacity: 1;}
main button:hover {
    background: #45a049;}



.PageWithHeader {
  width: 95%;
  margin: auto; }
.header {
  display: grid;
  grid-row: 1;
  width: 100%;
  height: auto;
  min-height: 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 4px;
}
.headerlogo {
  grid-column: 1;
  height: auto;
  max-width: 100%;
  max-height: 5vh;
  object-fit: contain; /* Ensure the image does not overflow */
  align-self: center;}
.navbox {
  grid-column: 2;
  display: grid;
  grid-template-rows: auto auto;
  align-items: flex-end;
  justify-items: flex-end;  
  padding-left: 2vw; /* Add spacing between the logo and nav */
  padding-right: 1vw;
  padding-bottom: 0.3vh;}
.nav-buttons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  z-index: 2;}
.NavButtons {
  color: black;
  font-size: 1em;
  text-decoration: none;
  padding: 0.5vw 1vw;
  margin: 0.3vw;
  background: linear-gradient(45deg, rgba(173, 135, 8, 1), rgba(148, 134, 58, 1));
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5); /* X-offset, Y-offset, blur, color */
  transition: all 0.3s ease;
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
  border-color: rgba(64, 65, 7, 1);
}
.NavButtons:hover {
  background: linear-gradient(45deg, rgba(80, 82, 2, 0.8), rgba(0, 0, 0, 0.8));
  color: rgb(206, 184, 41);
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
}
.dropdown-toggle {
  background: rgba(65, 64, 7, 0);
  border: 2px solid rgb(65, 61, 7);
  border-radius: 5px;
  padding: 15px;
  margin: 4px;
  cursor: pointer;
}
.dropdown-menu {
  display: none; /* Initially hidden */
  position: absolute; /* Position relative to the parent container */
  top: 100%; /* Position directly below the dropdown button */
  right: 20px;   /* Align left edge with parent container */
  background-color: rgba(54, 54, 25, 0.59);
  border: 1px solid rgb(65, 59, 7);
  border-radius: 5px;
  margin-top: 5px;
  z-index: 10; /* Ensure it appears above other elements */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add subtle shadow for visibility */
  min-width: 150px; /* Ensure the dropdown has a minimum width */
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: black;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.1); /* Highlight on hover */
}
.hidden {
  display: none;
}
.visible {
  display: block;
}
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; /* Width of the hamburger icon */
  height: 18px; /* Height of the hamburger icon */
  padding-left: 30px;
  padding-right: 30px;
}
.hamburger span {
  display: block;
  width: 100%; /* Full width of the parent */
  height: 4px; /* Thickness of each line */
  background-color: black; /* Line color */
  border-radius: 2px; /* Optional: rounded edges */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.TIMEuseDisplay {
  padding-top: 4px;
  justify-self: end;
  align-self: start;
  margin-right: 10px;
  color: rgba(27, 26, 0, 1);}

.errormessage{
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: end;}
  .success{
    color:green;}
  .error{
      color:red;}

/*Auto Trading Page*/
.AutoPageForm {
  width: 100%;}  
.AutoPageH1 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  align-content: stretch;
  justify-content: stretch;
  place-self: center;
  width: 95%;
  height: auto;
  margin:4px;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  border-width: 3px;
  font-size: 10px;}
.AutoPageH1 .TradingActiveTime {
  place-self: center;
  grid-column: 2;
  grid-row: 1;}
.AutoPageH1 p{
  grid-column: 1;
  grid-row: 1;
  text-align: center;
  font-size: large;
  margin: 2px;
  color: black;}
.AutoPageH1 input {
  width: 40px;}


.AutoPageH2 {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr 2fr 2fr;
  grid-template-rows: 30px 1fr 1fr 1fr;
  width: 95%;
  height: auto;
  margin:4px;
  justify-items: center;
  align-items: center;
  place-self: center;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  border-width: 3px;
  font-size: 10px;}
.AutoPageH2 .header50ema{
  place-self: center;
  grid-column: 1;
  grid-row: 1;
  font-size: large;
  color: black;}
.AutoPageH2 .header50emaBUY{
  place-self: center;
  grid-column: 2;
  grid-row: 1;
  font-size: medium;
  color: black;}
.AutoPageH2 .header50emaSELL{
  place-self: center;
  grid-column: 3;
  grid-row: 1;
  font-size: medium;
  color: black;}
.AutoPageH2 .EURUSD{
  place-self: center;
  grid-column: 1;
  grid-row: 2;
  font-size:20px,
  color: black;}
.AutoPageH2 .GBPUSD{
  place-self: center;
  grid-column: 1;
  grid-row: 3;
  font-size:20px,
  color: black;}
.AutoPageH2 .USDJPY{
  place-self: center;
  grid-column: 1;
  grid-row: 4;
  font-size:20px,
  color: black;}
.switch50EURUSDbuy {
  place-self: center;
  grid-column: 2;
  grid-row: 2;  
  position: relative;
  width: 60px;
  height: 34px;}
.switch50EURUSDbuy input { 
  opacity: 0;
  width: 0;
  height: 0;}
.switch50EURUSDsell {
  place-self: center;
  grid-column: 3;
  grid-row: 2;  
  position: relative;
  width: 60px;
  height: 34px;}
.switch50EURUSDsell input { 
  opacity: 0;
  width: 0;
  height: 0;}
.switch50GBPUSDbuy {
  place-self: center;
  grid-column: 2;
  grid-row: 3;  
  position: relative;
  width: 60px;
  height: 34px;}
.switch50GBPUSDbuy input { 
  opacity: 0;
  width: 0;
  height: 0;}
.switch50GBPUSDsell {
  place-self: center;
  grid-column: 3;
  grid-row: 3;  
  position: relative;
  width: 60px;
  height: 34px;}
.switch50GBPUSDsell input { 
  opacity: 0;
  width: 0;
  height: 0;}
.switch50USDJPYbuy {
  place-self: center;
  grid-column: 2;
  grid-row: 4;  
  position: relative;
  width: 60px;
  height: 34px;}
.switch50USDJPYbuy input { 
  opacity: 0;
  width: 0;
  height: 0;}
.switch50USDJPYsell {
  place-self: center;
  grid-column: 3;
  grid-row: 4;  
  position: relative;
  width: 60px;
  height: 34px;}
.switch50USDJPYsell input { 
  opacity: 0;
  width: 0;
  height: 0;}
.AutoPageSubmitButton {
  position: fixed;
  bottom:4px;
  right:4px;
  background-color: rgba(217, 197, 9, 0.8);}
.AutoPageResetButton {
  position: fixed;
  bottom:4px;
  left:4px;
  background-color: rgba(217, 197, 9, 0.8);}
/*Trade Page*/
.TradePageForm{
  /*make sure to add auto row for each new section*/
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
 
  justify-items: center; 
  align-items: center;
}
.TradePageRisk{
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  width: 95%;
  height: auto;
  justify-self: center;
  margin:4px;
  font-family: 'Arial';
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  font-size: 11px;
  border-width: 2px;}
.TradePagePasswordinput{
  grid-column: 1;
  grid-row: 1;
  box-sizing: border-box;
  width: 90%;
  margin: 6px;}
.TradePageRiskinput{ 
  text-align: center;
  vertical-align: middle;
  font-family: "Stencil";
  margin: 8px;
  font-size: 20px;
  border-radius:5px;
  height: 3vh;
  width: 90%;  }
.TradePageRiskinput::placeholder{ 
  font-family: "Arial";
  font-size: 14px; } 
.TradePageButton{
  font-size: 12px;
  font-family: 'Arial';
  margin: 2px;  
  place-self: center;
  border-radius:5px;
  border: 2px solid rgb(0, 0, 0);
  height: 4vh;
  width: 8vh;
  cursor: pointer; 
}
.TradePageButton:hover {
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(29, 31, 27, 0.8));
  color: rgb(255, 255, 255);
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(44, 83, 7, 0.3);
  transform: scale(1.1);
}
.TradePageEURUSD input, .TradePageGBPUSD input, .TradePageUSDJPY input{
  text-align: center;
  vertical-align: middle;
  font-family: "Stencil";
  margin: 2px;
  font-size: 20px;
  border-radius:5px;
  height: 3vh;
  width: 12vw;
}
.TradePageEURUSD input::placeholder, .TradePageGBPUSD input::placeholder, .TradePageUSDJPY input::placeholder{
  font-family: "Arial";
  font-size: 12px;
}

.SLinput{
  background: linear-gradient(to right,rgba(238, 178, 178, 0.15),rgba(233, 55, 55, 0.17));
  border-color: rgba(0, 0, 0, 0.62);
}
.TPinput{
  background: linear-gradient(to right,rgba(222, 248, 218, 0.18),rgba(211, 253, 172, 0.42));
  border-color: rgba(0, 0, 0, 0.55);
}
.PRICEinput{
  background: linear-gradient(to right,rgba(250, 241, 160, 0.16),rgba(228, 207, 15, 0.27));
  border-color: rgba(0, 0, 0, 0.63);
}



.TradePageEURUSD{
  display: grid;
  grid-template-columns: 4vw auto auto auto auto auto;
  grid-template-rows: 2vh 1fr 1fr 1fr 1fr;
  font-family: 'Arial';
  width: 95%;
  height: auto;
  margin:4px;
  place-items: center;
  place-self: center;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  border-width: 2px;}

.MarketOrderEURUSD{
  font-size: 12px;
  grid-column: 2 / 4;
  grid-row: 1;}
.PendingOrderEURUSD{
  font-size: 12px;
  grid-column: 4 / 6;
  grid-row: 1;}
.BUY_MARKETORDER_EURUSD{
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  background: linear-gradient(45deg,rgba(250, 171, 0, 0.92),rgb(201, 154, 2));}
.SELL_MARKETORDER_EURUSD{
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  background: linear-gradient(45deg,rgba(24, 35, 242, 0.64),rgba(0, 10, 206, 0.84));}
.SL_MARKETORDER_EURUSD{
  grid-column: 2 / 4;
  grid-row: 3;}
.TP_MARKETORDER_EURUSD{
  grid-column: 2 / 4;
  grid-row: 4;}
.BUY_PENDINGORDER_EURUSD{
  grid-column: 4;
  grid-row: 2;
  justify-self: end;
  background: linear-gradient(45deg,rgba(250, 171, 0, 0.92),rgb(201, 154, 2));}
.SELL_PENDINGORDER_EURUSD{
  grid-column: 5;
  grid-row: 2;
  justify-self: start;
  background: linear-gradient(45deg,rgba(24, 35, 242, 0.64),rgba(0, 10, 206, 0.84));}
.SL_PENDINGORDER_EURUSD{
  grid-column: 4 / 6;
  grid-row: 3;}
.TP_PENDINGORDER_EURUSD{
  grid-column: 4 / 6;
  grid-row: 4;}
.PRICE_PENDINGORDER_EURUSD{
  grid-column: 4 / 6;
  grid-row: 5;}

.TradePageGBPUSD{
  display: grid;
  grid-template-columns: 4vw auto auto auto auto auto;
  grid-template-rows: 2vh 1fr 1fr 1fr 1fr;
  font-family: 'Arial';
  width: 95%;
  height: auto;
  margin:4px;
  place-items: center;
  place-self: center;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  border-width: 2px;}
.MarketOrderGBPUSD{
  font-size: 12px;
  grid-column: 2 / 4;
  grid-row: 1;}
.PendingOrderGBPUSD{
  font-size: 12px;
  grid-column: 4 / 6;
  grid-row: 1;}
.BUY_MARKETORDER_GBPUSD{
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  background: linear-gradient(45deg,rgba(250, 171, 0, 0.92),rgb(201, 154, 2));}
.SELL_MARKETORDER_GBPUSD{
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  background: linear-gradient(45deg,rgba(24, 35, 242, 0.64),rgba(0, 10, 206, 0.84));}
.SL_MARKETORDER_GBPUSD{
  grid-column: 2 / 4;
  grid-row: 3;}
.TP_MARKETORDER_GBPUSD{
  grid-column: 2 / 4;
  grid-row: 4;}
.BUY_PENDINGORDER_GBPUSD{
  grid-column: 4;
  grid-row: 2;
  justify-self: end;
  background: linear-gradient(45deg,rgba(250, 171, 0, 0.92),rgb(201, 154, 2));}
.SELL_PENDINGORDER_GBPUSD{
  grid-column: 5;
  grid-row: 2;
  justify-self: start;
  background: linear-gradient(45deg,rgba(24, 35, 242, 0.64),rgba(0, 10, 206, 0.84));}
.SL_PENDINGORDER_GBPUSD{
  grid-column: 4 / 6;
  grid-row: 3;}
.TP_PENDINGORDER_GBPUSD{
  grid-column: 4 / 6;
  grid-row: 4;}
.PRICE_PENDINGORDER_GBPUSD{
  grid-column: 4 / 6;
  grid-row: 5;}

.TradePageUSDJPY{
  display: grid;
  grid-template-columns: 4vw auto auto auto auto auto;
  grid-template-rows: 2vh 1fr 1fr 1fr 1fr;
  font-family: 'Arial';
  width: 95%;
  height: auto;
  margin:4px;
  place-items: center;
  place-self: center;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  border-width: 2px;}
.MarketOrderUSDJPY{
  font-size: 12px;
  grid-column: 2 / 4;
  grid-row: 1;}
.PendingOrderUSDJPY{
  font-size: 12px;
  grid-column: 4 / 6;
  grid-row: 1;}
.BUY_MARKETORDER_USDJPY{
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  background: linear-gradient(45deg,rgba(250, 171, 0, 0.92),rgb(201, 154, 2));}
.SELL_MARKETORDER_USDJPY{
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  background: linear-gradient(45deg,rgba(24, 35, 242, 0.64),rgba(0, 10, 206, 0.84));}
.SL_MARKETORDER_USDJPY{
  grid-column: 2 / 4;
  grid-row: 3;}
.TP_MARKETORDER_USDJPY{
  grid-column: 2 / 4;
  grid-row: 4;}
.BUY_PENDINGORDER_USDJPY{
  grid-column: 4;
  grid-row: 2;
  justify-self: end;
  background: linear-gradient(45deg,rgba(250, 171, 0, 0.92),rgb(201, 154, 2));}
.SELL_PENDINGORDER_USDJPY{
  grid-column: 5;
  grid-row: 2;
  justify-self: start;
  background: linear-gradient(45deg,rgba(24, 35, 242, 0.64),rgba(0, 10, 206, 0.84));}
.SL_PENDINGORDER_USDJPY{
  grid-column: 4 / 6;
  grid-row: 3;}
.TP_PENDINGORDER_USDJPY{
  grid-column: 4 / 6;
  grid-row: 4;}
.PRICE_PENDINGORDER_USDJPY{
  grid-column: 4 / 6;
  grid-row: 5;}  
.CurrentOpenPositionTable{
  place-self: center;
  width: 95%;
  height: auto;
  margin:4px;
  border-collapse: collapse;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  border-width: 2px;
  font-size: 12px;}
.CurrentOpenPositionTable td{
  text-align: center;
  vertical-align: middle;
  border: 1px solid black;
  font-size: 16px;}
.ExitTradebutton {
  background-color: rgba(248, 114, 114, 0.8);
  border-radius:5px;}
.TradePage_sym {
  transform: rotate(270deg) translate(0%, -100%);; 
  grid-column: 1;
  grid-row: 2 / span 4; 
  font-family: 'Arial bold';
  font-size: 24px;
  justify-self: start;
}


/*Config Page*/
.ConfigureTableBody {
  width: 100%;
  border-collapse: collapse;
  place-self: center;
  background-color: rgba(31, 55, 174, 0.5);}
.ConfigureTableBody td {
  text-align: center;
  vertical-align: middle;
  border: 2px solid black;}
.LogFileDisplay{
  border: black;
  margin: 10px;}
/*Market Page*/
.MarketPage{
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto auto auto auto;
  width: 100%;}
.TimeDisplay{
  grid-row: 1;
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: auto auto auto auto auto auto ;
  grid-template-rows: auto auto;
  width: 95%;
  margin-top:12px;
  margin-bottom: 10px;
  place-self: center;
  place-items: center;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  border-width: 2px;}
.TIMEuse_markettime{
  grid-column: 1;
  grid-row: 1;
  font-family: 'Algerian';
  font-size: 14px;
  margin: 0;}
.Label_markettime{
  margin: 0;
  font-family: 'Algerian';
  font-size: 16px;}
.TIMEuse_time{
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-family: 'Algerian';
  font-size: 14px;}
.Label_markettimevalue{
  margin: 0;
  font-size: 14px;}


.TableRow{
  grid-column: 1 / span 2;
  grid-row: 4;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
}  
.ChartofWeeksEvents{
  grid-row: 3;
  grid-column: 1 / span 2;
  height: 400px;
  width: 95%;
  place-self: center;
  display: grid;
  grid-template-columns: auto auto auto auto auto ;
  grid-template-rows: auto 20px;
  background-color: rgba(215, 184, 76, 0.8);
  border-style: solid;
  border-color: black;
  border-width: 2px;}
.chartbar{
  grid-column: 1 / 6;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(120,auto);
  grid-template-rows: auto;
  height: 95%;
  margin: 4px;
  align-items: end;
  border: 1px solid rgba(0, 0, 0, 0.67);
}






.NewsEventsTable{
  font-family: 'Arial';
  grid-column: 1;
  grid-row: 1;
  width: 95%;
  margin-top:8px;
  border-collapse: collapse;
  justify-self: center;
  background-color: rgba(240, 212, 137, 0.34);
  border-radius: 20px;}
.NewsEventsTable th{
  text-align: center;
  font-size: 16px;
  vertical-align: middle;
  background-color: rgba(116, 87, 7, 0.5);
  border-radius: 5px;}
.NewsEventsTable td{
  text-align: center;
  font-size: 12px;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.67);}
 
.high-impact-news {
  background-color: rgba(200, 0, 0, 0.67);}
.medium-impact-news {
  background-color: rgba(255, 148, 45, 0.76);}
.low-impact-news {
  background-color: rgba(0, 0, 0, 0);}
.Holiday {
  background-color: rgba(8, 4, 0, 0.77);}
 
.WeeksVolumeTable{
  font-family: 'Arial';
  grid-column: 2;
  grid-row: 1;
  width: 95%;
  margin-top:8px;
  border-collapse: collapse;
  justify-self: center;
  background-color: rgba(240, 212, 137, 0.34);}
.WeeksVolumeTable th{
  text-align: center;
  font-size: 16px;
  vertical-align: middle;
  background-color: rgba(116, 87, 7, 0.5);
  border-radius: 5px;}
.WeeksVolumeTable td{
  text-align: center;
  font-size: 12px;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.27);} 







/*Strategy Page*/
.StrategyPage{
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;}
.StrategyPage h3{
  font-size:24;
  margin:3px;
}
.StrategyChartDetails{
  display: grid;
  grid-template-columns: auto ;
  grid-template-rows: auto auto auto;
  width: 95%;
  height: auto;
  margin:4px;
  place-self: center;
  place-items: left;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  font-family: 'Century';
  font-size: 16px;
  border-width: 2px;}
.Strategy50ema{
  display: grid;
  grid-template-columns: auto ;
  grid-template-rows: auto auto auto;
  width: 95%;
  height: auto;
  margin:4px;
  font-family: 'Century';
  place-self: center;
  place-items: center;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  font-size: 11px;
  border-width: 2px;}
.StrategyPage .title{
  font-size: 20px;
  font-weight: bold;
  justify-self: left;
  background: linear-gradient(45deg, #e0a029, #d2aa5f);
  text-align: center;
  border-radius: 15%;
  width: auto;
  height: 30px;
  line-height: 30px;
  margin: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);}
.StrategyOutline50ema{
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: auto auto ;
  grid-template-rows: auto;
  width: 97%;
  height: auto;
  margin: 8px;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  font-size: 11px;
  border-width: 2px;}
#strategy50emaImage{
  width: 100%;
  height: 100%;
  align-self: center;
  justify-self: center;}
.image-container-50emaStrategy {
  grid-column: 1;
  grid-row: 3;
  width: 95%;
  height: auto;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;}
.hover-cover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  mix-blend-mode: multiply;
  pointer-events: none;
  clip-path: inset(0 0 0 100%); /* Initially hides the effect */
  transition: clip-path 0.1s ease;}



.StrategyOutline_Entry{
  grid-column: 1;
  grid-row: 1;
  border-style: solid;
  border-color: #72592b;
  font-size: 16px;
  border-width: 1px;
  margin: 6px;
  padding-left:4px;}
.StrategyOutline_Exit{
  grid-column: 2;
  grid-row: 1;
  border-style: solid;
  border-color: #72592b;
  font-size: 16px;
  border-width: 1px;
  margin: 6px;
  padding-left:4px;}
.StrategyRules{
  display: grid;
  grid-template-columns: auto ;
  grid-template-rows: auto auto auto;
  width: 95%;
  height: auto;
  margin:4px;
  place-self: center;
  place-items: left;
  border-style: solid;
  background-color: rgba(128, 128, 128, 0.326);
  border-color: black;
  font-family: 'Century';
  font-size: 16px;
  border-width: 2px;}


.StrategyInfoPage .title{
  font-size: 20px;
  font-weight: bold;
  justify-self: left;
  background: linear-gradient(45deg, #e0a029, #d2aa5f);
  text-align: center;
  border-radius: 15%;
  width: auto;
  height: 30px;
  line-height: 30px;
  margin: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);}
.MarketStatisticsItem h3{
  margin:5px;
}  
.OtherMarketStatistics {
  display: flex;
  margin-top:10px;
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: space-around; 
  align-items: flex-start;}
.MarketStatisticsItem {
  display: flex;
  flex-direction: column; 
  flex: 1 1 calc(30% - 20px); 
  min-width:400px;
  max-width: 600px; 
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  padding: 10px;
  font-family: 'Century';
  background-color: rgba(128, 128, 128, 0.326);
  border-style: solid;
  border-width: 1px;
  border-radius: 8px;}
.MarketStatisticsItem img {
  max-width: 100%;
  height: auto;
  display: block; 
  border-radius: 4px;
  border-style: solid;
  border-width: 2px;}
.DataotherPicture {
  max-width: 100%;
  height: auto;
  cursor: pointer; /* Indicate the image is clickable */
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease; /* Smooth transition */
}

/* Fullscreen mode */
.DataotherPicture.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; 
  height: 100vh; 
  object-fit: contain; 
  z-index: 1000; 
  background-color: rgba(0, 0, 0, 0.8); 
  cursor: zoom-out;}

.StrategyPriorTradesPage .title{
  font-size: 20px;
  font-weight: bold;
  justify-self: left;
  background: linear-gradient(45deg, #e0a029, #d2aa5f);
  text-align: center;
  border-radius: 15%;
  width: auto;
  height: 30px;
  line-height: 30px;
  margin: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);}
.StrategyPriorTradesPage{
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;}
.StrategyPriorallTradesRow {
  display: grid;
  place-items: center; 
  width: 100%;}
#strategyAllPriorTradesImage {
  max-width: 100%;
  height: auto;
  border-style: solid;
  border-color: #8c6c31;
  border-width: 3px;}


/*candle charts*/
.chartIMAGE{
  width: 100%;
  max-height: 60vh;
  justify-self: center;
  margin-top: 2vh;
  border: 2px solid #555;
  border-radius: 10px;
  background-color: black;
}











/*other*/
.switch {
  position: relative;
  place-self: center;
  width: 60px;
  height: 34px;}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;}
.slider {
  border-radius: 34px;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: red;
  -webkit-transition: .4s;
  transition: .4s;}
.slider:before {
  border-radius: 50%;
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;}
input:checked + .slider {
  background-color: green;}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);}
.numberinput{
  text-align:center;}



.tradingview-widget-container{
  margin-top: 2vh !important;
  height: 80vh !important;
  width: 100% !important;
} 


















@media (min-width: 1400px) {

  main {
    height: 25vh;
    width: 20vw;
    margin-top: 5vh; 
  }

  main input[type="text"],
  main input[type="password"] {
      width: calc(100% - 40px);
      height: 2vh;
      font-size: 22px;
  }
  
  main button {
      height: 1vh;
      width: 50%;
  }



  
}







@media (max-width: 768px) {

  .header {
    grid-template-columns: 1fr; /* Stack content */
    text-align: center;
    height: auto; /* Allow header to grow naturally */
  }

  main {
    height: 30vh;
    width: 50vw;
    margin-top: 5vh; 
  }

  main input[type="text"],
  main input[type="password"] {
      width: calc(100% - 40px);
      height: 4vh;
      font-size: 26px;
  }
  
  main button {
      height: 4vh;
      width: 30vw;
  }

}


/* Mobile design */
@media (min-height: 1300px) {


  .header {
    grid-template-columns: 1fr; /* Stack content */
    height: auto; /* Allow header to grow naturally */ }

  main {
    height: 40vh;
    width: 80vw;
    margin-top: 5vh; 
  }

  main input[type="text"],
  main input[type="password"] {
      width: calc(100% - 40px);
      height: 30px;
      font-size: 1em;
  }
  
  main button {
      height: 4vh;
      width: 30vw;
  }



  .TradePagePasswordinput{
    }
  .TradePageRiskinput{ 
    font-size: 40px;
    height: 4vh;}
  .TradePageRiskinput::placeholder{ 
    font-size: 14px; } 
  .TradePageButton{
    font-size: 34px;
    height: 6vh;
    width: 10vh;}
  .TradePageEURUSD input, .TradePageGBPUSD input, .TradePageUSDJPY input{
    font-size: 40px;
    height: 6vh;
    width: 15vw;
  }
  .TradePageEURUSD input::placeholder, .TradePageGBPUSD input::placeholder, .TradePageUSDJPY input::placeholder{
    font-size: 16px;
  }


















}

