/* DASHBOARD */
/* 
.dashboard .module table th {
    width: 100%;
}

.dashboard .module table td {
    white-space: nowrap;
}

.dashboard .module table td a {
    display: block;
    padding-right: .6em;
} */

/* RECENT ACTIONS MODULE */

/* .module ul.actionlist {
    margin-left: 0;
}

ul.actionlist li {
    list-style-type: none;
    overflow: hidden;
    text-overflow: ellipsis;
} */



:root {
    --primary: #672676;
    --secondary: #3f37c9;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #f8961e;
    --info: #4895ef;
    --light: #f8f9fa;
    --dark: #212529;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
}

.flex-container {
display: flex;
gap: 10px;

}

.flex-container > div {
width: 100%;
}

.dashboard {
    /* display: grid; */
    min-height: 100vh;
}

.sidebar {
    background-color: var(--dark);
    color: white;
    padding: 20px 0;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    padding: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.menu-item:hover {
    color: var(--success);
}

.menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}



.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-bar input {
    border: none;
    outline: none;
    padding: 5px;
    width: 250px;
}

.user-profile {
    display: flex;
    align-items: center;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.cards-container {
    display: grid;
    margin-bottom: 30px;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    grid-auto-rows: minmax(100px, auto);
}



.card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: white
}


.card:nth-child(1){
    background: var(--web_color_var);
}


.card:nth-child(2){
    background: #954200;
}



.card:nth-child(3){
    background: #00aad8;
}



.card:nth-child(4){
    background:#6b6df5;
}


.card:nth-child(5){
    background: #4fdc58;
}


.card:nth-child(6){
    background: #fe4141;
}


.card:nth-child(7){
    background: #ffb729;
}

.card:nth-child(8){
    background: #e800ff;
}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.card-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


a.resync_btn {
    display: block;
    font-size: 14px;
    background: #26ad43;
    padding: 4px 7px;
    color: white !important;
    border-radius: 4px;
}

.lock_icon {
    width: 145px;
    height: 145px;
}

.lock_msg_txt {
    color: #ff7171;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.lock_msg_txt > div {
    color: #939393;
    font-size: 17px;
}


.lock_msg_container {
    background: #ffffff;
    padding: 15px 15px;
    border-radius: 11px;
    height: 377px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}



.card-footer {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
}

.card-footer i {
    margin-right: 5px;
}

.positive {
    color: white;
    /* color: var(--success); */
}

.negative {
    /* color: var(--danger); */
     color: white;
}

.flex-inner {
    background: #ffffff;
    padding: 15px 14px;
    border-radius: 10px;
}


.chart-container {
    background-color: white;
    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: 443px;
    overflow-y: scroll;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-title {
    font-size: 18px;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
}


tr:hover {
    background-color: #f8f9fa;
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: block;
    text-align: center;
    font-size: 13px;
    white-space: nowrap;
}

.progress {
    width: 110px;
    background: #eaeaea;
    height: 11px !important;
    border-radius: 71px;
}
.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.status-returned {
    background-color: #f8d7da;
    color: #721c24;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-incomplete {
    background-color: #e2e3e5;
    color: #383d41;
}

.status-same {
    background-color: #d1ecf1;
    color: #0c5460;
}

.overdue {
    background-color: #f8d7da;
    color: #721c24;
}

.progress-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 5px;
    margin: 10px 0;
}

.progress-bar {
    height: 10px;
    border-radius: 5px;
    background-color: #32b771;
}

.store-color-shopify {
    color: #5e8e3e;
}

.store-color-daraz {
    color: #f57224;
}

.store-color-wordpress {
    color: #21759b;
}

.courier-color-leopard {
    color: #ff6b00;
}

.courier-color-trax {
    color: #00a651;
}

.courier-color-postex {
    color: #e30613;
}

.courier-color-tcs {
    color: #ed1c24;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-primary {
    background-color: #cfe2ff;
    color: #084298;
}

.badge-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.badge-danger {
    background-color: #f8d7da;
    color: #842029;
}

.badge-warning {
    background-color: #fff3cd;
    color: #664d03;
}

.status-table {
    width: 100%;
}

.status-table th {
    background-color: #f8f9fa;
}

.status-table td {
    padding: 15px;
}

.status-count {
    font-weight: 600;
}




.flex_form {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 6px 0px;
    justify-content: end;
}

.date_inp_box > input {
    height: 38px;
    border: none;
    border-radius: 4px;
    padding: 0px 6px;
}

.date_submit_btn > button {
    background: #014122;
    border: none;
    color: white;
    height: 37px;
    border-radius: 3px;
    cursor: pointer;
    padding: 0px 14px;
}

.titel_row {

     margin: 10px 0px;
    padding: 5px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


a.report_btn {
    display: block;
    background: #555555;
    padding: 8px 14px;
    border-radius: 5px;
    color: #ffffff !important;
}

.titel_row > h1 {
      margin: 0px 0px;
    font-size: 20px;
    color: #4f4f4f;
    font-weight: 400;

}

a.dashbaord_status_view_all_btn {
    display: block;
    width: 100%;
    color: #006c24 !important;
}






  .table {
            width: 100%;
            margin-bottom: 1rem;
            color: #212529;
        }
        .table th, .table td {
            padding: 0.75rem;
            vertical-align: top;
            border-top: 1px solid #dee2e6;
            text-align: center;
        }
        .table thead th {
            vertical-align: bottom;
            border-bottom: 2px solid #dee2e6;
            background-color: var(--web_color_var);
            color: white;
            white-space: nowrap;
        }
        .table tbody + tbody {
            border-top: 2px solid #dee2e6;
        }
        .table-bordered {
            border: 1px solid #dee2e6;
        }
        .table-bordered th, .table-bordered td {
            border: 1px solid #dee2e6;
        }
        .table-striped tbody tr:nth-of-type(odd) {
            background-color: rgba(0, 0, 0, 0.05);
        }
        .table-dark {
            color: #fff;
            background-color: #343a40;
        }
        .font-weight-bold {
            font-weight: 700;
        }
        .table-info {
            background-color: #d1ecf1;
        }
    
    
        .days_9_color {
        color: #930000;
        background: #ffa6a6;
    }
    
    .days_7_color {
        color: #ba7000;
        background: #ffd7a6;
    }
    
    td.aging_table_td {
        font-size: 17px;
        font-weight: bold;
    }
    
    .aging_table_title > h4 {
        font-size: 16px;
        margin: 4px 0px;
    }


.store_summary_logo > img {

    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
    width: 60px;
    height: 60px;
     padding: 10px;
}

.summary_container {
    /* background: #ffffff; */
    /* border-radius: 13px; */
    margin: 14px 0px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.store_summary_container {
    background: #ffffff;
    border-radius: 13px;
    padding: 12px 17px;
    width: 100%;

}

.store_summary_list {
    overflow-y: scroll;
    height: 310px;
}

.summary_box_title > h4 {
    font-size: 18px;
    margin: 9px 0px;
}

.single_store_sammary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f4f3;
    padding: 7px 12px;
    border-radius: 13px;
    gap: 10px;
    margin: 7px 0px;
}

.store_title {
    font-size: 20px;
    font-weight: 500;
}

.store_orders_total {
    font-size: 15px;
    color: #00abab;
}

.store_total_sale {
    font-weight: 700;
    font-size: 19px;
    color: #42be83;
}

.store_left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.store_order_not_found_logo {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: anchor-center;
}

.store_order_not_found_logo > img {
    width: 85px;
    filter: hue-rotate(307deg) brightness(0.4);
}

.store_order_not_found {
    height: 100%;
}

.msg_text {
    font-size: 20px;
    color: #a9a9a9;
}

.customer_summary {
    background: #ffffff;
    padding: 12px 17px;
    border-radius: 16px;
    width: 100%;
}

.customer_outsandting_summary {
    height: 310px;
    overflow: scroll;
}

.cutomer_dashboard_balance {
    color: #42be83;
    font-weight: 500;
     text-align: end;
}

.customer_outsandting_summary > table td {
    font-size: 15px;
    vertical-align: middle;
    text-align: unset;
}

.customer_status_badge {
    text-align: center;
    padding: 5px 0px;
    border-radius: 25px;
}

.green-Active{
    background: #cdffe1;
    color: #008e20;

}


.green-Inactive{
    background: #ffcdcd;
    color: #8e0000;

}




.red_amt_badge {
    color: #fb0000;
}



a.cls_delivered {background: #c6ff87;padding: 2px 6px;border-radius: 14px;}

a.cls_rts {
    background: #bedcff;
    padding: 2px 6px;
    border-radius: 14px;
}

.flex-parcel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}


.customer_details {
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    background: #fbfffe;
    padding: 2px 7px;
    border-radius: 5px;
}


.customer_details_wrap {
    width: 100%;
}
.customer_name_box {
    white-space: nowrap;
    font-weight: 700;
}


.customer_phone_box > a {
    color: #049d9d !important;
}

.customer_return_ratio_badge {
    background: #c30000;
    width: 20px;
    height: 20px;
    text-align: center;
    display: flex;
    align-items: anchor-center;
    justify-content: center;
    color: #ffffff;
    border-radius: 26px;
}


.customer_order_ratio_badge {
    background: #4d83fc;
    width: 20px;
    height: 20px;
    text-align: center;
    display: flex;
    align-items: anchor-center;
    justify-content: center;
    color: #ffffff;
    border-radius: 26px;
}

.filter_form {
    display: flex;
    gap: 10px;
    align-items: center;
}



@media screen and (max-width:1450px){
   
   
    .main.shifted .flex-container{
        width: auto;
        flex-direction: column-reverse;
    }

   
}



@media screen and (max-width:1100px){
    .flex-container > div{
        width: auto;
       
    }
    .main.shifted .flex-container{
        flex-direction: column-reverse;
    }

    .flex-container{
        flex-direction: column-reverse;
    }

    .cards-container {

        grid-template-columns: repeat(3, 1fr);
    }

    .chart-container{
        overflow-x: scroll;
    }

    .summary_container{
        flex-direction: column;
        align-items:baseline;
    }
    .store_summary_container{
        width:-webkit-fill-available;
    }

    .customer_summary{
         width:-webkit-fill-available;
    }
}


@media screen and (max-width:650px){
     .cards-container {

        grid-template-columns: repeat(2, 1fr);
    }


    .titel_row {

    flex-direction: column;
    align-items: baseline;
    margin-top: 0px !important;
    }


    .filter_form {
        display: flex;
        gap: 10px;
        align-items: center;
        width: 100%;
    }

    a.report_btn {

        width: 100%;
        text-align: center;
    }

}




@media screen and (max-width:450px){
     .cards-container {

        grid-template-columns: repeat(1, 1fr);
    }
}
