/* $$$$$ new dashboard CSS STARTS $$$$$*/

.overflowX {
    overflow-x: auto !important;
}

.overflowY {
    overflow-y: auto !important;
}


.row_Div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    gap: .3rem;

    /* margin: auto; */
}

.column_Div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    gap: .3rem;
}

.count_box {
    background: #ffffff;

    border-radius: .43rem;

    
    /* 1.7/1.36 */
    height: 1.36em;
    min-width: 1.7rem;

    font-size: .8rem;
    color: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 2px 0 1px;

    font-weight: 700;
    
}




/* scrollbar styled scrollbar starts */
.styled_scrollbar {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #0000004d #ffffff1a;
    /* scrollbar-color: #0000004d #ffffff1a; */

}

/* WebKit browsers */
.styled_scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.styled_scrollbar::-webkit-scrollbar-thumb {
    background-color: #00000033;
    border-radius: 4px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffffff4d;
    min-height: 1rem;
    max-height: 4rem;
    transition: background-color 0.2s ease-in-out;
}

.styled_scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #00000066;
}

.styled_scrollbar::-webkit-scrollbar-track {
    background-color: #ffffff1a;
    border-radius: 4px;
}

/* scrollbar styled scrollbar ends */


/* new dashboard main starts */
.newdashboard_main {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;

    top: 0px;
    left: 0px;

    margin-right: auto;
    margin-left: 3.5rem;
    /* margin-top: 2rem; */
    padding-bottom: 1rem;

    /* height: 92vh; */
    height: 99%;
    /* width: calc(100vw - 6rem); */
    width: 95%;

    font-family: 'Nunito Sans', sans-serif;

    overflow: hidden;

    gap: .6rem;


}

.newdashboard_second_left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding-right: .5rem;
    /* padding-bottom: 3rem; */
    
    /* margin-left: 2rem; */

    height: 100%;
    width: 71%;


    overflow: hidden;

}

.newdashboard_second_left_first {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    /* padding-right: 2rem; */
    /* padding-bottom: 3rem; */
    /* margin-left: 2rem; */
    margin-bottom: 1rem;

    /* min-height: 23vh; */
    height: fit-content;
    width: 100%;

    /* overflow: hidden; */

}



.newdashboard_second_left_next_rows {
    display: flex;
    flex-direction: row; /* Change from column to row */
    flex-wrap: wrap; /* Enable wrapping */
    justify-content: flex-start;
    align-items: flex-start;

    padding-bottom: 3rem;
    /* height: 100%; */
    height: fit-content;
    width: 100%;
    overflow: hidden;

    gap: .5rem;
}




.newdashboard_second_left_next_rows .card_content_main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;

    margin-left: .8rem;

    gap: .3rem;
    flex-wrap: wrap;
}

.newdashboard_second_left_next_rows .card_content_row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    background: #ededed;

    /* 2px(2px) 8px(.57) */
    /* padding: 2px .57rem; */
    padding: .2rem .3rem;

    /* 100%/50px(100%/3.6) */
    max-width: 50%;
    min-height: 3.6rem;

    /* br-16px(1.14) */
    border-radius: 1.14rem;

    /* 8px(.57) 8px(.57) */
    gap: .57rem;
}


/* dashboard card starts */
.card_column_div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    width: calc(100% - .5rem);

    margin-left: 1rem;
    /* margin-top: 1.3rem; */
    
    gap: .2rem;
}

.newdashboard_second_left_next_rows .card_column_div {
    width: fit-content;
    height: fit-content;

    
}


.title_row_main {
    background: #3F8CFF;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;


    width: 30rem;
    /* width: 41%; */
    height: 2.5rem;

    /* padding: 2px 8px; */

    border-radius: 1.36rem;
    
}

.flexWrap {
    flex-wrap: wrap !important;

}

.titleDiv {
    font-size: 1.43rem;

    font-weight: 700;

}




/* card content column starts */
.card_content_main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    margin-left: .8rem;

    gap: .3rem;
    flex-wrap: wrap;
}

.card_content_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    background: rgb(237, 237, 237);

    /* 2px(2px) 8px(.57) */
    /* padding: 2px .57rem; */
    padding: .3rem .5rem;

    /* 100%/50px(100%/3.6) */
    max-width: 100%;
    min-height: 3.6rem;

    /* br-16px(1.14) */
    border-radius: 1.14rem;

    /* 8px(.57) 8px(.57) */
    gap: .57rem;
}

.card_last_child {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* 133px/35px(9.5/2.5) */
    width: 8.25rem;
    height: 2.35rem;

    /* br-19px(1.36) */
    border-radius: 1.36rem;

    gap: .3rem;

    color: #fff;
    /* font-weight: 600; */
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;

}

.dummy .card_last_child {
    box-shadow: none;
}

.newdashboard_second_left_next_rows .card_last_child {
    
    justify-content: flex-end;

    margin-left: auto;
    padding-right: .8rem;
    
}


/* card name color starts */
.onlineBooking_Div_child{
    background: #6BB7BF;
    color: #000;
}

.totalCount_Div_child{
    background: #FFFFFF;
    color: #000;
}
.followup_Div_child{
    background: #D9D9D9;
    color: #000;
}
.vsq_Div_child{
    background: #FF9B01;
    color: #000;
}
.canReq_Div_child{
    background: #FF2B0F;
    color: #000;
}
.workConfirm_Div_child{
    background: #1BF3F1;
    color: #000;
}
.onDay_Div_child{
    background: #00D802;
    color: #000;
}
.onGoing_Div_child{
    background: #FEFD04;
    color: #000;
}
.onProcess_Div_child{
    background: #FFC000;
    color: #000;
}
.newEnq_Div_child{
    background: #9747FF;
    color: #000;
}
.overdue_Div_child{
    background: #FF68D5;
    color: #000;
}
.jobEnq_Div_child{
    background: #3F8CFF;
    color: #000;
}
.credit_Div_child{
    background: #C32525;
    color: #000;
}
.workComplete_Div_child{
    background: #4A86E5;
    color: #000;
}
.cashReceive_Div_child{
    background: #90C67D;
    color: #000;
}
.complaint_Div_child{
    background: #E64E4E;
    color: #000;
}

/* card name color ends */
/* card content column ends */
/* dashboard card ends */

/* activity section main starts */

.newdashboard_second_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    gap: .5rem;

    /* width: 27%; */
    width: 24.8rem;

    height: 100%;
    overflow: hidden;

    padding: .5rem .5rem 0 .5rem;
}

.activity_section_title_main {
    margin-right: auto;
    margin-left: 1rem;
}

.activity_section_title {
    /* 16px(1.14rem) */
    font-size: 1.14rem;

    font-weight: 700;
}

/* activity_section_content starts */
/* .activity_section_content {

} */


/* activity card  starts*/
.activity_card_main {
    /* background: red; */
    border: 2px solid #D9D9D9;

    /* 333px/133px(23.8/11) */
    width: 23.8rem;
    min-height: fit-content;

    /* br-14px(1) */
    border-radius: 1rem;

    /* font-family: 'Inter', sans-serif; */

    padding: .4rem .8rem;

    margin-left: auto;
    margin-right: auto;

}


.job_name_activity_div {
    font-weight: 500;
}

.activity_card_first_row {
    line-height: 1rem;
}
.activity_card_second_row {
    line-height: 1.2rem;
}
.activity_card_second_row, .activity_status_time_div {
    font-size: .85rem;
    color: #757575;
}

.activity_card_third_row {
    gap: .2rem;
    justify-content: space-between;
    align-items: start;
}

.activity_card_third_right {
    margin-top: .8rem;
}

.activity_status_time_div {
    line-height: .9rem;
    font-size: .85rem;
}



@media (orientation: portrait) {
    .newdashboard_main {
        align-items: center;
        justify-content: flex-start;

        margin-left: 4rem;
        /* margin-right: 1rem; */



        width: 85%;
    }

    .newdashboard_second_left, .newdashboard_second_right {
        /* margin-left: auto;
        margin-right: auto; */

        width: 95%;

        overflow-x: auto;
    }

    .newdashboard_second_left {
        padding-bottom: .3rem;
    }

    .newdashboard_second_left_first .card_content_main {
        flex-direction: row;
        
    }
    .newdashboard_second_left_first .card_content_row {
        flex-direction: column;
    }

    .newdashboard_second_left_next_rows {
        gap: .5rem;
    }

    .activity_section_title_main  {
        
        max-width: 90%;

        margin-left: auto;
        margin-right: auto;
    }

    .activity_card_main {
        max-width: 80%;

        margin-left: auto;
        margin-right: auto;
    }

    .title_row_main {
        width: 95%;

        margin-left: auto;
        margin-right: auto;
    }

    .activity_section_content  {
        padding-right: .5rem;
    }

    .card_last_child {
    
        justify-content: flex-end;
    
        margin-left: auto;
        padding-right: .8rem;
        
    }
    
}


/* activity card  ends*/
/* activity_section_content ends */

/* activity section main ends */


/* new dashboard main starts */

/* $$$$$ new dashboard CSS ENDS $$$$$*/