.two-charts {
}

.two-charts .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: fit-content;
  padding-bottom: 50px;
  position: relative;
}

.outer-title-chart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
}
.outer-title-chart h1 {
  color: #163029;
  margin-bottom: 0px;
}
.outer-title-chart p {
  margin-top: 0px;
  color: #163029;
  font-size: 18px;
}
.title-bar-chart {
  color: #7c8b9d;
  font-size: 14px;
  margin-top: 50px;
}
body[lang="en"] {
  .title-bar-chart {
    text-align: left;
    left: 25px;
  }
}
.right-chart-container {
  width: 49%;
}
.right-chart {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f2f2f2;
  width: 100%;
  padding: 65px 0px 0px 0px;
}
.left-chart-container {
  width: 49%;
}
.left-chart {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f2f2f2;
  width: 100%;
  padding: 65px 0px 0px 0px;
}

.chart {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* background-color: brown; */
}

.percentage-for-bars {
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -73px;
  left: 100%;
  transform: translateX(-48%);
  /* background-color: red; */
}
.percentage-for-bars p {
  position: relative;
  /* background-color: blue; */
  text-align: center;
  font-weight: 700;
  color: #31544b;
  font-size: 17px;
}
.percentage-for-bars p::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 110%;
  width: 25px;
  height: 1.5px;
  background-color: #fcb44a;
  text-align: center;
}
.percentage-for-bars p::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 110%;
  width: 25px;
  height: 1.5px;
  background-color: #fcb44a;
  text-align: center;
}

.progress-bar {
  width: 70px;
  height: 400px;
  /* border: 1px solid #ccc; */
  position: relative;
  margin: 27px 27px 0px 27px;
}

.progress {
  width: 100%;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: height 1.5s ease-in-out;
}
.progress-value {
  position: absolute;
  top: -35px;
  font-weight: 700;
  left: 50%;
  transform: translateX(-50%);
  color: #455954;
  font-size: 14px;
}
.progress-date {
  justify-content: center;
  display: flex;
  align-items: flex-start;
  text-align: center;
  color: #455954;
  font-weight: 700;
  min-width: 200px;
  position: absolute;
  bottom: -24%;
  left: 50%;
  transform: translateX(-50%);
  min-height: 50px;
  font-size: 16px;
  line-height: 20px;
  /* background-color: brown; */
}

.progress-date2 {
  display: flex;
  flex-direction: column; /* 👈 forces vertical stacking */
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #455954;
  font-weight: 700;
  min-width: 200px;
  position: absolute;
  bottom: -24%;
  left: 50%;
  transform: translateX(-50%);
  min-height: 50px;
  font-size: 16px;
  line-height: 20px;
}

.progress-date2 span {
  display: block; /* forces each <span> to take a full line */
}

.one-chart {
}

.one-chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: white;
  width: 100%;
  border-bottom: 10px solid #dddddd;
  padding: 5px 0px 0px 0px;
}

.full-width-one-chart {
  position: relative;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.full-width-one-chart .chart {
  margin: 70px 0px 0px 0px;
}
.full-width-one-chart .progress-bar {
  width: 45px;
  height: 350px;
  /* border: 1px solid #ccc; */
  position: relative;
  margin: 4px 4px 0px 4px;
}
.min-bar {
  position: absolute;
  top: -15px;
  left: -3px;
  width: 5px;
  height: 2px;
  min-height: 2px;
  max-height: 2px;
  background-color: black;
}

.one-chart-container-data {
  height: fit-content;
  width: 100%;
  margin-top: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#s-one-chart-container-data {
  flex-direction: column;
}
#s-one-chart-container-data > div {
  display: flex;
}
#s-title-bar-chart {
  margin-top: -8px;
  margin-left: 26px;
  cursor: #787878;
}

.box-one-chart-container-data {
  width: fit-content;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 27px;
}
.box-one-chart-container-data p {
  font-weight: bold;
}
.color-box {
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

body[lang="en"] {
  .box-one-chart-container-data {
    justify-content: center;
    margin-left: 0px;
    margin-right: 27px;
  }
  .color-box {
    margin-left: 0px;
    margin-right: 10px;
  }
}

/* ALL charts beside each other */
@media screen and (max-width: 768px) {
  .container {
    overflow: hidden;
  }
  .left-chart-container {
    width: 100%;
  }
  .right-chart-container {
    width: 100%;
    margin-top: 50px;
  }
  .right-chart .chart .progress-bar {
    margin: 27px 10px 0px 10px;
  }
  .left-chart .chart .progress-bar {
    margin: 27px 10px 0px 10px;
  }
  .two-charts .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: fit-content;
    padding-bottom: 50px;
    position: relative;
    flex-direction: column;
  }
  .chart {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px 0px 0px 0px;
  }

  .progress-bar {
    width: 14px !important;  /* changedk */
    height: 400px;
    position: relative;
    margin: 27px 1px 0px 1px;
  }

  .progress {
    width: 100%;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: height 1.5s ease-in-out;
  }
  /* 
  .progress-value {
    position: absolute;
    top: -30px;  
   
    font-weight: 600;
    left: 50%;
    transform: translateX(-50%);
  
    color: #163029;
    font-size: 14px;
  } 
  */
  .progress-value {
    position: absolute;
    top: -45px;  /* changedk */
    font-weight: 600;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    color: #163029;
    font-size: 12px;
    white-space: nowrap;
  }

  .progress-date {
    min-width: 100%;
    justify-content: center;
    display: flex;
    align-items: flex-start;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;  /* changedk */
    min-height: 50px;
    line-height: 18px;  /* changedk */
    bottom: -25%;   /* changedk */
  }
  .progress-date2 {
 
  bottom: -27%;/* changedk */
  
  transform: translateX(-50%) rotate(-90deg);/* changedk */
  min-height: 50px; /* changedk */ 
  font-size: 12px; /* changedk */
  line-height: 20px; /* changedk */
}
  .one-chart-container-data {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 100%;
    margin-top: 40px;
  }
  .box-one-chart-container-data {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
  }
  .box-one-chart-container-data p {
    font-weight: bold;
    font-size: 13px;
  }
  .color-box {
    width: 15px;
    height: 15px;
    margin-left: 5px;
  }
  .percentage-for-bars {
  
  top: -83px;

 
}
.percentage-for-bars p {
  position: relative;
  /* background-color: blue; */
  text-align: center;
  font-weight: 700;
  color: #31544b;
  font-size: 17px;
}
.percentage-for-bars p::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 110%;
  width: 15px;
  height: 1.5px;
  background-color: #fcb44a;
  text-align: center;
}
.percentage-for-bars p::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 110%;
  width: 15px;
  height: 1.5px;
  background-color: #fcb44a;
  text-align: center;
}
}

/* @media screen and (max-width: 768px) {
  .container{
    overflow: hidden ;
  }
  .one-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f2f2f2;
    width: 100%;
    padding: 20px 0px 0px 0px;
  }
  .one-chart-container .title-bar-chart {
    color: #5e6863;
    text-align: right ;
    width: 100%;
    position: absolute;
    top: 40px;
    left: -20px;
    font-size: 13px;
  }

  .full-width-one-chart {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .full-width-one-chart .chart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 50px 30px 0px 30px;
  }
  .full-width-one-chart .progress-bar {
    width: 40px;
    height: 350px;
    margin: 15px 15px 0px 15px;
  }
  .tow-charts-two-col {
    flex-direction: column;
  }
  .one-chart {
    width: 100%;
  }
  .one-chart-two-col {
    width: 100%;
  }
  .two-charts .container {
    flex-direction: column;
  }
  .outer-title-chart {
    margin-right: 0px;
  }
  .right-chart-container {
    width: 100%;
  }
  .second-chart-for-mobile {
    margin-top: 100px;
  }
  .left-chart-container {
    width: 100%;
  }
  .progress-bar {
    width: 40px;
    height: 350px;
    margin: 15px 15px 0px 15px;
  }
} */

.spread-charts {
  display: flex;
  justify-content: space-between;
  flex-flow: wrap ;
}
.chart-div {
  width: 49%;
}
