#order-table td {/* cursor: pointer; */}
#order-table .order_don_hang {
    width: 85px;
    padding: 0;
}
#order-table .ten_khach .receiver_name {
    max-width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}
.table .cong_viec {
    text-align: left;
    position: relative;
}
.table .nguoi_lam {
    display: flex;
    flex-wrap: wrap;
    width: 100px;
    justify-content: center;
}
.table .nguoi_lam p {
    height: var(--gtt-avatar-sm);
    width: var(--gtt-avatar-sm);
    display: inline-block;
    overflow: hidden;
    display: none;
}
.table .nguoi_lam p:first-child,
.table .nguoi_lam p:last-child {
    display: block;
}
.table .nguoi_lam img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    overflow: hidden;
}

/* .table .cong_viec button {
    font-weight: 600;
    cursor: initial;
    text-align: left;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--gtt-primary-color);
} */
.table .order_index {
    width: 40px;
}
.table .order_ngay_dat_hang {width: 110px;padding: 0;}
.table .order_ngay_giao_hang {
    min-width: 105px;
}
.table .order_don_hang {
    /* text-align: left; */
    /* width: 160px; */
}
.table .order_don_hang .seller_info {
    display: flex;
    align-items: center;
}
.table .order_don_hang .seller_avatar {
}
.table .order_don_hang .seller_avatar img {
    /* height: 30px; */
}
.table .order_don_hang .seller_order {
    text-align: left;
    margin-left: 10px;
}
.table .order_don_hang .order_no {
    padding: 0;
}
.table .order_don_hang .order_no:hover {
    text-decoration: underline;
}
.table .order_don_hang .seller_name {
    font-size: 12px;
    font-weight: 700;
    max-width: 85px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.table .order_khach_hang {
    text-align: left;
    width: 180px;
}
.table .ten_khach {}
.table .ten_khach,
.table .ten_khach .customer_order_count {
    color: var(--gtt-primary-color);
    font-weight: 600;
    max-width: 260px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 25px;
}
.table .ten_khach .receiver_name {
    margin-right: 5px;
}
.table .ten_khach .customer_order_count {
    padding: 0;
    border: 0;
    font-size: inherit;
    border-radius: 0;
}
.table .ten_khach .customer_order_count .order_count {}
.table .dia_chi {
    font-size: 12px;
    font-weight: 700;
    max-width: 250px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.table .order_khu_vuc {
    display: block;
    max-width: 100px;
    min-width: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.table .order_status {min-width: 110px;/* font-size: 14px; */}
.table .order_status span {
    width: 135px;
    padding: 7px 5px;
    font-weight: initial;
    white-space: normal;
}
.table #orders .order_status span {/* width: 135px; *//* padding: 7px 5px; */}
.table .san_xuat_orders .order_status span {
    width: 105px;
}
.table .order_doanh_thu {
    width: 100px;
}
.table .order_da_thanh_toan {
    min-width: 100px;
}
.table .order_remain {
    width: 100px;
}
.table .order_loi_nhuan {
    width: 160px;
}
.table .order_phan_tram_loi_nhuan {
    width: 70px;
}

.table .order_item_name {
    text-align: left;
}
.table .order_item_unit {
    width: 50px;
}
.table .order_item_qty {
    width: 50px;
}

.table .order_item_price {}
.table .order_item_chiet_khau {}
.table .order_item_subtotal {}
.table .order_item_layout {}

/**** order_item_row ****/
.table .order_item_row {
    --margin: 5px;
}
.table .order_item_row td {padding: 5px 5px;border-top: var(--margin) solid #fff;border-bottom: var(--margin) solid #fff;}
.table .order_item_row .nguoi_lam {
    justify-content: right;
    padding-right: 24px;
}
.table .order_item_row .wrap_order_item {
    /* background: var(--gtt-light-bg); */
    /* border-top-left-radius: var(--gtt-border-radius-large); */
    /* border-bottom-left-radius: var(--gtt-border-radius-large); */
}
.table .order_item_row .wrap_order_item .order_item_name {
    /* width: 230px; */
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    padding-left: 45px;
    cursor: pointer;
}
.table .order_item_row .qty {
    /* background: var(--gtt-light-bg); */
}
.table .order_item_row .point {
    /* background: var(--gtt-light-bg); */
    /* border-top-right-radius: var(--gtt-border-radius-large); */
    /* border-bottom-right-radius: var(--gtt-border-radius-large); */
}



.list_order_foot_actions {text-align: center;margin-top: 15px;}
.list_order_foot_actions button {
    height: 40px;
    display: none;
}

/* filter popup */
#filter_channels li {}
#filter_channels li button {
    min-width: 100px;
}


/*********** sellers_progress ***********/
/* #tab-ban_hang */
#tab-ban_hang {
    --width-chart: 300px;
}
#tab-ban_hang .wrap_gtt_progress_bars {
    min-height: 270px;
}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones {}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones .sales_reward_milestone {
    position: absolute;
    bottom: 0;
    height: 100%;
    margin-left: -20px;
}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones .sales_reward_milestone .milestone_amount {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: var(--gtt-font-size);
     /* Chiều cao của phần tử chứa */
    position: absolute;
    bottom: 0;
    z-index: 1;
}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones .sales_reward_milestone:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 1px; /* Độ rộng của đường sọc */
    background-image: linear-gradient(to bottom, rgb(0 0 0 / 25%) 15px, #ffffff00 15px, #ffe70000 20px, transparent 20px);
    background-size: 100% 25px; /* Độ rộng và chiều cao của nét đứt */
    background-repeat: repeat-y; /* Lặp lại theo chiều dọc */
}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones .milestone_amount img {
    height: 45px;
    margin-right: 5px;
}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones .sales_reward_finished_line {
     /* Chiều cao của phần tử chứa */
     position: absolute;
     right: -10px;
     height: 100%;
     width: 35px;
     display: flex;
     align-items: center;
     white-space: nowrap;
}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones .sales_reward_finished_line p {
    transform: rotate(90deg);
    font-size: var(--gtt-font-size-xl);
    font-weight: 600;
}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones {
    position: absolute;
    left: 165px;
    bottom: 0;
    height: 100%;
    /* width: calc(100% - 230px); */
    width: calc(100% - 165px);
}
#tab-ban_hang .wrap_gtt_progress_bars .sales_reward_milestones .sales_reward_milestone_body {
    display: flex;
    height: 100%;
    position: relative;
    /* width: calc(100% - 60px); */
}
#tab-ban_hang .wrap_gtt_progress_bars #nguon_khach_chart {
    width: var(--width-chart);
    position: relative;
}
#tab-ban_hang .wrap_gtt_progress_bars #nguon_khach_chart .no_data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--gtt-font-size-xl);
    white-space: nowrap;
}
#tab-ban_hang .wrap_gtt_progress_bars .sellers_progress {
    width: calc(100% - var(--width-chart) - 60px);
    padding-bottom: 75px;
    position: relative;
    margin-right: auto;
}

#tab-ban_hang .wrap_gtt_progress_bars .sellers_progress #remain_reward_lucky_wheel_btn {
    border: 0;
    background: rgb(85 172 238 / 30%);
    position: absolute;
    top: -65px;
    padding-left: 53px;
    font-size: var(--gtt-font-size);
}
#tab-ban_hang .wrap_gtt_progress_bars .sellers_progress #remain_reward_lucky_wheel_btn img {
    height: 45px;
    position: absolute;
    left: 0;
    top: -13px;
}
#tab-ban_hang .wrap_gtt_progress_bars .sellers_progress #remain_reward_lucky_wheel_btn span {
    font-weight: 600;
}

#list_seller_sales .gtt_progress_bar_row .gtt_progress_row_label {
    border: 1px solid var(--gtt-border-color);
    border-radius: var(--gtt-border-radius-large);
    min-width: 165px;
    background: #fff;
}
#tab-ban_hang .wrap_gtt_progress_bars .gtt_progress_bars .gtt_progress_bar_row .gtt_progress_row_label p {
    background: transparent;
    width: calc(100% - 45px);
}
#tab-ban_hang .wrap_gtt_progress_bars .gtt_progress_bars .gtt_progress_bar_row .gtt_progress:before {
    left: -25px;
}



#orders_district_chart.no_data,
#product_cates_chart.no_data {
    position: relative;
    height: 270px;
}
#orders_district_chart.no_data p,
#product_cates_chart.no_data p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--gtt-font-size-xl);
    white-space: nowrap;
}


/* #popup-order-items */
#popup-order-items .popup_body {
    max-height: 70vh;
    overflow: auto;
}
#popup-order-items .list_order_items li {
    display: flex;
    font-size: var(--gtt-font-size);
    line-height: 30px;
    align-items: center;
    margin-bottom: 7px;
}
#popup-order-items .list_order_items li .order_item_info {
    display: flex;
    border: 1px solid var(--gtt-border-color);
    border-top-right-radius: var(--gtt-border-radius-large);
    border-bottom-right-radius: var(--gtt-border-radius-large);
    min-width: 165px;
    z-index: 1;
    background: #fff;
}
#popup-order-items .list_order_items li .order_item_info img {
    height: 30px;
    width: 30px;
}
#popup-order-items .list_order_items li .order_item_info p {
    margin-left: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 118px;
}
#popup-order-items .list_order_items li .order_item_progress {
    position: relative;
    height: 32px;
    width: 100%;
}
#popup-order-items .list_order_items li .order_item_progress:before {
    content: "";
    position: absolute;
    background: var(--gtt-primary-color);
    height: 100%;
    width: 50px;
    left: -25px;
    border-radius: var(--gtt-border-radius-large);
}
#popup-order-items .list_order_items li .order_item_progress .order_item_progress_bar {
    border-radius: var(--gtt-border-radius-large);
    min-width: 25px;
    background: var(--gtt-primary-color);
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
    /* z-index: 1; */
}
#popup-order-items .list_order_items li .order_item_progress .order_item_progress_bar.estimation {
    z-index: 1;
    background: rgb(85 172 238 / 30%);
}
#popup-order-items .list_order_items li .order_item_progress .order_item_progress_bar.estimation .gtt_progress_bar_tool_tip {
    position: absolute;
    left: 100%;
    margin-left: 10px;
    color: #fff;
    background: rgb(131 131 131 / 60%);
    border-radius: var(--gtt-border-radius);
    padding: 1px 10px;
    z-index: 1;
    display: none;
}
#popup-order-items .list_order_items li .order_item_progress .order_item_progress_bar.estimation:hover .gtt_progress_bar_tool_tip {
    display: block;
}
#popup-order-items .list_order_items li .order_item_progress_amount  {
    color: #fff;
    z-index: 1;
    position: relative;
    margin-left: 10px;
    display: inline-block;
    line-height: 32px;
}
#popup-order-items .list_order_items li .order_item_reward  {
    position: absolute;
    display: none;
    top: 0;
    right: 12px;
}
#popup-order-items .list_order_items li .order_item_reward.active {
    display: block;
    z-index: 1;
}
#popup-order-items .list_order_items li .order_item_reward img {
    height: 30px;
}

/* list_orders */
.main_content_wrapper .list_orders {}
.main_content_wrapper .list_orders tr td:last-child {
    padding-right: 13px;
}
.main_content_wrapper .list_orders .cong_viec .wrap_cong_viec_actions {
    display: flex;
    align-items: flex-start;
}
.main_content_wrapper .list_orders .cong_viec .row_orders_action{
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translate(0, -50%);
}
.main_content_wrapper .list_orders .cong_viec .row_orders_action button,
.main_content_wrapper .list_orders .cong_viec .row_orders_action span[data-action="toggle-pin-order"] {
    border: 0;
    padding: 0;
    font-size: 18px;
}
.main_content_wrapper .list_orders .cong_viec .row_orders_action button.active i,
.main_content_wrapper .list_orders .cong_viec .row_orders_action span[data-action="toggle-pin-order"].active i {
    font-weight: 600;
}
.main_content_wrapper .list_orders .cong_viec .wrap_cong_viec_actions.include_sticker {
    padding-left: 60px;
}
.main_content_wrapper .list_orders .cong_viec .wrap_cong_viec_actions button {
    border: 0;
}
.main_content_wrapper .list_orders:not(.design_orders) .cong_viec .wrap_cong_viec_actions .open_order_popup {
    max-width: 260px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    border-radius: 0;
}

.main_content_wrapper .list_orders:not(.design_orders) .cong_viec .wrap_cong_viec_actions.has_customer_order_count .open_order_popup {
    max-width: 218px;
}

/* customer_order_count */
.main_content_wrapper #orders.list_orders .customer_order_count {
    padding: 0 1px 0 0;
    margin-left: 0;
}
.main_content_wrapper .list_orders .customer_order_count {
    padding: 0;
    margin-left: 5px;
}
.main_content_wrapper .list_orders [data-action="open-customer-orders-popup"] .order_count {
    border: 1px solid var(--gtt-primary-color);
    color: var(--gtt-primary-color);
    background: #fff;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
    transition: var(--gtt-transition);
    position: relative;
    right: 1px;
}
.main_content_wrapper .list_orders [data-action="open-customer-orders-popup"] .order_count:hover {
    background: var(--gtt-primary-color);
    border-color: var(--gtt-primary-color);
    color: #fff;
}
.main_content_wrapper .list_orders .cong_viec {
    width: 405px;
    padding-left: 0;
    padding-right: 0;
}
.main_content_wrapper .list_orders .ngay_giao {
    min-width: 86px;
    padding: 0;
}
.main_content_wrapper .list_orders .tinh_thanh {}
.main_content_wrapper .list_orders .tinh_thanh .receiver_district {
    display: block;
    max-width: 100px;
    min-width: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main_content_wrapper .list_orders .point {
    width: 55px;
    width: 70px;
}
.main_content_wrapper .list_orders .point button {
    border: 0;
    padding: 7px 5px;
    position: relative;
}
.main_content_wrapper .list_orders .point button.active {
    background: var(--gtt-light-bg);
}
.main_content_wrapper .list_orders .point button.active:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--gtt-light-bg);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
}
.main_content_wrapper .list_orders .order_status {
    width: 110px;
}
.main_content_wrapper .list_orders .order_status .btn {}


/* order_sticker */
.table .order_sticker {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}
.table .order_sticker i {
    width: 28px;
    height: 28px;
}
.table .order_sticker i[class*="icon-shield"] {
    width: 36px;
    height: 36px;
}
.table .order_sticker .order_sticker_text {
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    margin-top: -5px;
}


/*********************** popup_detail ***********************/
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions li #order_print_btn {}
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions li #order_print_btn i {
    display: none;
}
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions li #order_print_btn.locked {
    pointer-events: none;
}
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions li #order_print_btn.locked i {
    display: inline-block;
}
.popup_content_left_right .popup_content_right_title_wrap_actions #confirm_payment_button,
.popup_content_left_right .popup_content_right_title_wrap_actions #admin-approve,
.popup_content_left_right .popup_content_right_title_wrap_actions #admin-approve-don-hang-si,
.popup_content_left_right .popup_content_right_title_wrap_actions #thiet-ke-action,
.popup_content_left_right .popup_content_right_title_wrap_actions #san-xuat-action {
    display: none;
}
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions.head_order_detail_actions li.cancel_action {}
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions.head_order_detail_actions li.cancel_action:before,
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions.head_order_detail_actions li.cancel_action:after {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    background: var(--bs-danger);
}
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions.head_order_detail_actions li.cancel_action:first-child:before,
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions.head_order_detail_actions li.d-none + li.cancel_action:before {
    display: none;
}
.popup_content_left_right .popup_content_right_title_wrap_actions .popup_content_right_title_actions.head_order_detail_actions li.cancel_action button {
    color: var(--bs-danger);
}

.popup_content_left_right .popup_content_right_title_wrap_actions #confirm_action {
    position: absolute;
    background: var(--gtt-primary-color);
    color: #fff;
    padding: 0 8px 0 11px;
    top: -13px;
    /* right: 350px; */
    /* right: 290px; */
    right: 100%;
    border-radius: 18px;
    font-size: var(--gtt-font-size);
    white-space: nowrap;
    line-height: 43px;
    display: flex;
}
.popup_content_left_right .popup_content_right_title_wrap_actions #confirm_action:after {
        content: "";
        width: 0;
        height: 0;
        border-left: 16px solid transparent;
        border-right: 16px solid transparent;
        border-bottom: 15px solid var(--gtt-primary-color);
        position: absolute;
        top: 50%;
        right: -18px;
        transform: translate(0, -50%) rotate(90deg);
}
.popup_content_left_right .popup_content_right_title_wrap_actions #confirm_action button {
    border: 2px solid var(--gtt-primary-color);
    color: var(--gtt-primary-color);
    padding: 5px 20px;
    background: #fff;
    font-weight: normal;
    margin: 0;
    height: 29px;
}
#popup-order-detail #order_nhan_them_tien {
    border: 0;
    background: transparent;
    /* color: #fff; */
    /* font-size: 13px; */
    position: absolute;
    top: 0px;
    left: 103px;
    /* border-radius: 100%; */
    padding: 0;
    /* height: 15px; */
    /* width: 15px; */
}
#popup-order-detail #order_nhan_them_tien i {
    width: 18px;
    height: 18px;
}
#popup-order-detail [data-action="order-update-invoice"],
#popup-order-detail [data-action="order-view-invoice"],
#popup-order-detail [data-action="order-download-invoice"] {
    display: none;
}
#popup-order-detail [data-action="order-download-invoice"] {
    position: absolute;
    top: 0;
}
#popup-order-detail [data-action="order-download-invoice"] i {
    width: 23px;
    height: 23px;
}