.inter-text {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


html, body {
    margin: 0;
}

body {
    display: flex;
    height: 100vh;
    width: 100vw;

}

.SideBar {
    background-color: #121212;
    width: 260px;
    height: 100%;
    border-right: 1px solid #252525;

}

.SideBar_Title {
    color: white;
    font-size: 35px;
    font-weight: 700;


    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;

    padding-left: 30px;

    display: block;
    text-decoration: none;



}

.SideBar_Title:hover {
    cursor: pointer;
}

.SideBar_List {
    text-decoration: none;
    list-style: none;

    height: 60%;

    padding: 0;
    margin: 0;
}

.SideBar_List_ListItem {
    display: flex;
    align-items: center;
    padding-left: 30px;
    margin-bottom: 0;
    margin-top: 5px;

    margin-left: auto;
    margin-right: auto;

    border-radius: 9px;

    width: 160px;

    height: 40px;
    transition: 350ms;
}

.SideBar_List_ListItem:hover {
    background-color: #31363f;
    cursor: pointer;
}

.SideBar_List_ListItem:hover p {
    color: white;
}



.selected-item {
    background-color: #00ff99;
}

.selected-item p {

    color: black;
}

.SideBar_List_ListItem_Img {
    width: 12.5%;
    height: 60%;
    margin-right: 10px;
}

.align-center {
    align-content: center;
    justify-items: center;
}

.SideBar_List_ListItem_Text {
    color: rgb(177, 177, 177);
    font-size: 15px;
    font-weight: 500;
}

.anchor {
    text-decoration: none;
}

.MainFrame {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    scrollbar-color: rgb(14, 12, 12) transparent;
    background-color: #121212;
}

.MainFrame_HeadFrame {
    width: 100%;
    display: flex;
}

.MainFrame_Title {

    font-size: 2.5vw;
    font-weight: 700;
    color: white;

    width: 68%;
    padding-left: 2.3%;

    margin-top: 20px;
    margin-bottom: 2px;
}



.MainFrame_Frame {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 30px;

  width: 100%;
  height: 400px;

  margin-top: 10px;
}

.MainFrame_Frame2 {
    width: 100%;
    height: 400px;

    margin-top: 40px;
    padding-bottom: 140px;
}

.MainFrame_Frame_HalfFrame {
    border-radius: 10px;

    background-color: #181818;
    border: 1px solid #252525 ;


  /* no explicit width/height needed */
}



.StatsFrame_Title {
    color: white;
    font-size: 26px;
    font-weight: 600;
    margin-top: 15px;
    width: fit-content;
    height: fit-content;

    margin-left: 20px;
    margin-bottom: 0;
}

.StatsFrame_text {
    color: white;
    font-size: 15px;
    font-weight: 500;

    width: fit-content;
    height: fit-content;


    margin-left: 20px;
}

.StatsFrame_textTitle {
    text-decoration: underline;
}

.ChartFrame {
    margin-top: auto; 
    margin-bottom: auto; 

    height: 100%; 
    width: 20%;

    align-content: center;
}

.Doughnut_Chart {
    width: 100%; 
    height: 100%;

}

.flex-box {
    display: flex;
}

.stats_halfdiv {
    width: 50%;

}

.stats-title {
    padding-left: 20px;

    margin-bottom: 0;
    color: gray;
    font-size: 16px;
    font-weight: 500;
}

.stats-text {
    padding-left: 20px;

    color: white;
    margin-top: 10px;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 0;
}

#WLRChart {

    margin-bottom: -10px;
    margin-left: 10px;
    margin-top: 6px;
    width: fit-content;
    height: fit-content;
}

#PLChart {

    margin-bottom: -10px;
    margin-left: 10px;
    margin-top: 6px;
    width: fit-content;
    height: fit-content;
}



.bar {
    width: 95%;
    height: 10px;

    margin-left: auto;
    margin-right: auto;

    margin-top: 10px;
    background-color: #262626;
    border-radius: 10px;
}

.bar-fill {
    width: 50%;
    height: 100%;
    border-radius: 10px;
    background-color: #00ff99;
}

.bar-text {
    color: white;
    font-size: 13px;
    font-weight: 700;

    padding-right: 25px;

    float: right;
    margin-bottom: 0;
    margin-top: 5px;


}

.trades-div {
    height: 500px;
    width: 96%;

    border-radius: 10px;

    margin-top: 30px;

    background-color: #181818;
    border: 1px solid #252525 ;
    margin-left: auto;
    margin-right: auto;
}

.trade-frame {
    width: 97%;
    height: 60px;

    border-bottom: 1px solid #31363f;

    margin-left: auto;
    margin-right: auto;


    gap: 3px;
    
}

.trade-text {
    padding-left: 15px;
    width: 14.285714285714285714285714285714%;

    margin-top: 0;
    margin-bottom: 0;

    align-content: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.example-text {
    color: gray;
}

.green-text {
    color: #00ff99;
}

.red-text {
    color: #ff4747;
}

.truncate {
  overflow: hidden;          /* hides extra text */
  text-overflow: ellipsis;   /* adds "..." at the end */
  white-space: nowrap;       /* prevents text wrapping */
}