/* the dash-stats bar */
.dash-percentage-bar {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    margin: 0px;
    flex-wrap: wrap;
    margin-bottom:20px;
    flex: 1;
    gap: 16px;
}

.dash-row {
   
    height: 58px;
    border-radius: 8px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex:1;
   
}

.dash-row-content {
    display: flex;
    flex: 1;
    /* height: 46px; */
    display: flex;
    justify-content: space-between;
    padding:0px 10px;
}

.dash-stats {
    width: 100%;
    /* height: 28px; */
   
    
}

.dash-stats-content {
    flex: 1;
    height: 28px;
    display: flex;
    align-items: center;
   
}

.dash-numbers{
    width: auto;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    color: #0F0F0F;
   
}
.dash-numbers h4{
    font-weight: 600;
    color: #0F0F0F;
}
.dash-numbers p{
    font-weight: 400;
    font-size: 12px;
}
.dash-percentages-loss {
    width: 70px;
   color: #FF0000;
    font-size: 12px;
    padding-left: 4px;
    font-weight: 400;
}

.dash-percentages-profit {
    width: 70px;
    color: #22B458;
    font-size: 12px;
    padding-left: 4px;
    font-weight: 400;
}

.dash-text {
    width: 164px;
    font-size: 12px;
    color: #898989;
    }
.dash-date{
    display: flex;
    justify-content: center;
    align-items: center;
    width:200px ;
    height: 40px;
    color: #ECECEC;
}
.dash-arrow {
    display: flex;
    align-items: center;
}
/* this is fir the headers with view more */
.dash-chart-header{
    font-size: 18px;
    font-weight: 600;
    color: #202020;
  }
  .dash-graph-link{
    font-size:14px ;
    font-weight: 600;
    padding: none;
    margin: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

  }
  .dash-graph-link a{
    color: #2869D4;
    text-decoration: underline;
    padding: none;
    margin: none;
  }
  .dash-chart-content{
        width:100%;
        height: 48px;
        padding:0px 10px;
        background-color: transparent;
        border-radius: 8px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 30px;
        padding-top: 30px;
    }
    /* .dash-chart-content div div{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
     
    } */
/* this is for the graph */

/* this is for the downlaod dash-services */
.dash-search-wrapper{

    width: 240px;
    background-color: #F4F4F4;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 4px;
}
.dash-search-wrapper img{
    padding: 5px 5px;
}
.status-active {
    background-color:#D7FFD9;
    color:#22B458; /* Text color for active status */
}

.status-inactive {
    background-color:#FFF8EB;
    color:#E36A17; /* Text color for inactive status */
}
.dash-search{
    background-color: transparent;
    border: none;
    width: 100%;
    
}
.dash-bulk-download {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}
.dash-bulk-download img{
    width: 44px;
    height: 40px;
    border: 1px solid #ECECEC;
    padding: 12px 12px;
    margin-right: 10px;
    border-radius: 4px;
}
.dash-services {
    padding: 0px 10px 10px 10px;
    /* font-family: "Public sans"; */
    width: 100%;
    height:auto;
    margin-bottom: 12px;
    margin-top: 12px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-box{
    height: 28px;
    padding: 10px 10px;
    border-radius: 68px;
    /* background-color: #FFF8EB;
    color: #E36A17; */
    align-items: center;
    display: flex;
    justify-content: center;
    width: auto;
}
.dash-list {
    width: 100%;
    /* height: 232px; */
    display: flex;
    flex-direction: column;
    background-color: #F4F4F4;
    padding: 10px 10px;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
}

.dash-list-content {
    width: 100%;
    /* height: 103px; */
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dash-list-item {
    padding: 30px 20px;
    border: 1px solid #ECECEC;
   flex: 1;
    display: flex;
    flex-direction:row;
    align-items: center;
    height: 84px;
    background-color: #FFFFFF;
    justify-content: space-between;
    border-radius: 8px;
    /* margin-right: 10px;
    margin-left: 10px; */
    font-weight: 500;
    color: #323232;

    font-size: 12px;
}

.dash-left-side {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.dash-list img {
    width: 24px;
    height: 24px;
}

.dash-pic-bg {
    height: 52px;
    width: 52px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F4F4F4;
    margin-right: 10px;
}

.dash-download {
    color: #2869D4;
}

.dash-download img {
    height: 18px;
}

/* this is for the table */
.flex-table-wrapper {
    width: 100%;
  height: auto;
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    /* font-family: "Public Sans"; */
}

.dash-services-content {
    width: 100%;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
 
 

}

.dash-link 
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
 
    padding: 0px 5px;
    border-radius: 8px;
    background-color: #EBF3FF;
}

.dash-link a {
    text-decoration: none;
    font-size: 11.5px;
    justify-content: space-evenly;
    display: flex;
    color: #2869D4;
    padding: 4px 4px;
    font-weight: 400;
    align-items: center;
}

.dash-link a img {
    height: 12px;
    padding-left: 8px;
}

.dash-heading {
    width: 100%;
    max-width: 600px;
    font-weight: 600;
}
.dash-heading h4{
    font-size: 20px;
    font-weight: 600;
    color: #202020;
    padding-bottom: opx;
    

   
}

.dash-heading p{
    padding-top: 0px;
    font-size: 14px;
    font-weight:500;
    color:#898989;
    padding-bottom: 40px;
   
}
.table {
    width: 100%;
    height:100%;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
}
/* styling the calender */
.dash-calendar{
    width:30px;
    font-size: 40px;
    border: 1px solid transparent;
    height: 40px;
    padding-top: 20px;
    margin-top: 5px;
}
.flex-table-row-header {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction:row;
    justify-content: space-between;
    background-color: #F4F4F4;
    color:#898989;
    font-weight: bold;
}

.flex-table-row {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #202020;
}

.flex-table-cell {
    flex: 1;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    padding: 0px 10px;
    
}
/* this is for the filter button */
.dash-table-filter{
    display: flex;
    justify-content: center;
    
    align-items: center;
}

/* This is for the charts form */
.dash-card-title{
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #202020;
    justify-items: space-between;
    align-items: center;
    display: flex;
    flex-direction: row;
}
.dash-num{
    padding-top: 20px;
}
/* cards for the dashboard */
.dash-card-title h4{
    color: #202020;
    display: flex;
    flex: 1;
    max-width: 200px;

}
.dash-card-title p{
    color: #898989;
    

}
.dash-card-title-wrapper{
    display: flex;
    justify-content:space-between;
    width: 100%;
    padding: 20px 20px;
    align-items: center;
    height:28px;

}
/* div to hold each row */
.dash-row-wrapper{
   gap: 1%;
    display: flex;
    flex-direction:row ;
    justify-content:space-between;
    flex-wrap: wrap;
    width: 100%;
    
}
/* the date content */
.dash-dropdown-content{
    background-color: #F4F4F4;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 4px;
    margin-left: 5px;
    padding: 10px 10px;
    text-align: center;
    display: flex;
    align-items: center;

}
.dash-dropdown-content div{
    width: 48px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* background colors for the table */
.dash-row-white{
    background-color: #FFFFFF;
}
.dash-row-grey{
    background-color: #F4F4F4;
}
.dash-dropdown-content div.active{
    background-color: #FFFFFF;
    box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1) ;
    color:#202020;
    border-radius: 4px;
    width: 48px;
    height:28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;

}
/* .dash-dropdown-content div:hover {
    background-color: #FFFFFF;
    width: 48px;
    border-radius: 4px;
    height:28px;
    padding: 2px 2px;
    display: flex;
    align-items: center;
    justify-items: center;
    text-align: center;
    
  } */
  .white-background {
    background-color: white;
}

.dash-card-body{
    flex:1;
    width:100%;
    min-height: 30px;
    max-height: 423px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}
/* Media queries for responsiveness */
@media (max-width: 1200px) {
    .dash-row {
        width: 100%;
    }

    .chart, .chart-content, .bar-chart, .curve-line {
        width: 100%;
    }

    .list-item {
        width: 100%;
    }
}
.dash-box{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.dash-card{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
    height:423px;
    background-color: #FFFFFF;
    border-radius: 8px;
}
.apexcharts-legend-series .apexcharts-legend-marker {
    border-radius: 100%; /* Make the markers circular */
    width: 12px; /* Adjust the size as needed */
    height: 12px; /* Adjust the size as needed */
}

@media (max-width: 768px) {
    .dash-percentage-bar, .graph, .dash-services, .list, .flex-table-wrapper, .table {
        flex-direction: column;
        height: auto;
    }

    .dash-row-content, .dash-services-content, .list-content {
        /* flex-direction: column;
        align-items: flex-start; */
    }

    .chart, .chart-content, .bar-chart, .curve-line {
        width: 100%;
    }
    .dash-stats-content{
        padding: 20px 0px;
    }

    .list-item {
        width: 100%;
    }

    .flex-table-dash-header, .flex-table-row {
        flex-direction: column;
        height: auto;
    }

    .flex-table-cell {
        width: 100%;
        height: auto;
        padding: 10px;
    }
    .dash-graph-card{
    width: 100% !important;
    }
    .container-fluid{
        padding-left: 0px;
        padding-right: 0px;
    }
    .flex-table-row-header{
       height: 8px;
    }
    .flex-table-row-header > div {
        display: none; /* Hides children, parent height stays */
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        height: 8px;
    }
    .dash-chart-content{
        margin-bottom: 8px;
    }.flex-table-row{
        background-color: white !important;
        margin-bottom: 8px !important;
        border-top: 8px solid #F4F4F4;
    }
   
}

@media screen and (min-width: 768px) { /* Adjust breakpoint as needed */
    .dash-list-item {
        flex: 0 0 calc(33% - 0.33rem); /* 3 per row with gap adjustment */
        max-width: calc(33% - 0.33rem); /* Ensure it respects the width */
  
    }
}

@media (max-width: 480px) {
    .dash-numbers {
        font-size: 16px;
    }

    .chart-header {
        font-size: 18px;
    }

    .graph-link {
        font-size: 14px;
    }

    .link {
        width: 100%;
    }

    .link a {
        font-size: 12px;
    }
}

.dash-graph-card{
    flex: 1;
    width: 49.5%;
}
.dash-card-more{
    font-weight: 500;
    color:#2869D4 ;  text-decoration: underline; font-size: 13px; display: flex; justify-content: right;
}
.dash-card-sub-title{
    color: #898989;
    font-weight: 400;
    font-size: 11px;
}

.odd-class {
    background-color: #f9f9f9; /* Light gray */
  }
  
  .even-class {
    background-color: #ffffff; /* White */
  }