@import "../../../styles/varibale.scss";

.dashboardContainer {
  background: #f5f5f5;
  position: static;
  right: 0vw;
  margin-right: 34.63px;
  width: 75vw;
  margin-top: 33px;
  margin-left: 36px;
  height: 100%;
  max-width: 100%;
  padding-left: 1rem;
}
.secondContainer{
  display: flex;
  flex-direction: row;
  margin-bottom: 2rem;
}
.graph{
  height: 40vh;
    width: 34vw;
    position: relative;
}
.graphDiv {
//   width: 100%;
  margin: 1rem 0.5rem;
//   float: left;
height: 368px;
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid #cfcfcf;
  padding: 1rem .5rem;
  
}
.graphTitle {
  font-weight: 600;
  font-size: 20px;
  line-height: 22px;
  text-align: center;
}
.orderTitle{
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    color: $primaryColor;
}
.iconOrder{
    color: $primaryColor;
    font-size: 30px;
}
.iconRightDisplay{
    color: #7E7E7E;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: -5px;
    top: calc(50% - 16px);
    font-size: 18px;
    background: #E8E8E8;
    &:hover {
      color:$primaryColor;
    }
  }
  .quoteHeader{
    box-sizing: border-box;
    background: #E6E9F4;
    padding: 2px 6px;
    
  }
  .quoteHeaderTitle{
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    color: $primaryColor;
    
  }
  .quoteHeaderTitleNumber{
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    color: $primaryColor;
    text-align: center;
  }
  .quotesValues{
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
  }
  .quotesValuesNumber{
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
  }
  .iconLeftDisplay{
    color: #7E7E7E;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    left: -5px;
    top: calc(50% - 16px);
    font-size: 18px;
    background: #E8E8E8;
      &:hover {
        color:$primaryColor;
      }
  }
  .sliderCard{
    background: #FFFFFF;
    border: 1px solid #D8D8D8;
    border-radius: 5px;
    padding: 0.5rem;
    margin:0 2px;
    width: 98% !important;
  }
  .labelOrder{
    font-weight: 400;
  font-size: 12px;
  line-height: 22px;
  color: #737373;
  width: 200px;
  }
  .valueOrder{
    font-weight: 700;
    font-size: 12px;
    line-height: 22px;
    color: #303030;
  }
  .spentDate{
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
  }
.dashhboardHeader {
  height: 22px;
  width: 132px;
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 30px;
  color: #5a5a5a;
}

.graphcontainer {
  // div {
  //     height: 150px;
  //     width: 320px;
  //     // color:blue;
  //     border: 1px solid #D5D9D9;
  //     padding: 20px;
  //     border-radius: 6px;
  // }

  --gap: 0.5em;
  --num-cols: 4;
  --row-height: 120px;
  box-sizing: border-box;
  padding: var(--gap);
  display: grid;
  grid-template-columns: repeat(var(--num-cols), 1fr);
  grid-auto-rows: var(--row-height);
  gap: var(--gap);
  margin-top: 1.5em;
  padding-left: 0;
}

.graphcontainer div {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-align: left;
  padding: 1.5em;
  cursor: pointer;
}

.graphcontainer div:hover {
  opacity: 0.9;
}

.activeOrder {
  background: #291c61;
  border-radius: 10px;
  color: #ffffff;
}

.pendingOrder {
  background: #f3465f;
  border-radius: 10px;
  color: #ffffff;
}

.cancelledOrder {
  background: #ffeeee;
  border: 1px solid #db3c3c;
  border-radius: 10px;
  color: #505050;
}
.orderyetDelivery {
  background: #ffffff;
  border-radius: 10px;
  margin: 0 0.5rem;
  padding: 0 0.5rem;
  height: 316px;
  max-height: 316px;
  overflow-y: auto;
}

.completedOrder {
  background: #ffffff;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  color: #373737;
}

.numbers {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.counts {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 22px;
}

.percent {
  font-size: 12px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.cardContainer {
  // display: flex;
  div {
    h3 {
      font-size: 15px;
      font-weight: 700;
      line-height: 22px;
      letter-spacing: 0px;
      // text-align: left;
    }

    span {
      // color:blue;

      font-size: 12px;
      font-weight: 400;
      line-height: 22px;
      letter-spacing: 0px;
      // text-align: left;
    }
  }

  // margin:20px;
  height: 102px;
  width: 320px;

  border: 1px solid #d5d9d9;
  border-radius: 10px;
  padding: 20px;
}

@media (max-width: 1024px) {
  .graphcontainer {
    --gap: 0.5em;
    --num-cols: 2;
  }
}

@media (max-width: 768px) {
  .graphcontainer {
    --gap: 0.5em;
    --num-cols: 2;
  }
  // .graph{
  //   height: auto;
  //        width: auto;
  // }
  .graphDiv1 {
    width: 100%;
    height: 100%;
  }
  .graphDiv {
    width: 100%;
    height: 100%;
    margin: 1rem 0rem;
    :global(canvas){
      width: 95% !important;
      height: auto;
    }
  }

  
  .dashboardContainer {
    background: #f5f5f5;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 0px;
    padding-bottom: 5rem;
    margin-bottom: 5rem;
    margin-top: 9rem;
    margin-left: 0;
    // padding-left: 0;
  }

  .graphcontainer div {
    padding: 1.25em;
    cursor: pointer;
  }

  .orderyetDelivery {
    background: #ffffff;
    border-radius: 10px;
    // margin: 0 0.5rem;
    // padding: 0 0.5rem;
    // height: 316px;
    // max-height: 316px;
    width: 100%;
    overflow-y: auto;
  }
  .secondContainer{
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
  }
}
