#table_history_custom {
    width: 100%;
}
#table_history_custom thead th {
    text-align: left;
    font-size: 16px !important;
    font-weight: bold !important;
    white-space: nowrap;
    color: #2aaae2 !important;
}

#table_history_custom tbody td {
    font-size: 16px !important;
    white-space: nowrap;
}

#table_history_custom a{
    font-size: 14px;
    color: #626262;
}

#table_history_custom a:hover{
    color: #2aaae2;
}

.order-amount {
    text-align: right;
}

.th-amount {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 30px !important;
}

.order-state {
    display: flex;
    justify-content: center;
    vertical-align: middle;
    padding: 20px !important;
}

.order-action {
    text-align: right !important;
    padding-left: 10px !important;
    padding-right: 25px !important;
}

.th-action {
    text-align: center !important;
    padding-left: 32px !important;
    padding-right: 20px !important;
}

.btn-state-done {
    text-align: center;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #4CAF50;
    color: white;
    width: 100%;
}

.btn-state-cancel {
    text-align: center;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #ec2227;
    color: white;
    width: 100%;
}

.btn-state-draft {
    text-align: center;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #E57C23;
    color: white;
    width: 100%;
}

.links_custom_history {
    display: inline-block;
    margin: 0 0;
}

.links_custom_history a {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    /*background-color: #ddd;*/
    text-align: center;
    line-height: 25px;
    color: #2aaae2;
    text-decoration: none;
}

.links_custom_history a.active {
    background-color: #2aaae2;
    color: #fff;
}

#prevBtn_history_custom,
#nextBtn_history_custom {
    color: #2aaae2;
    border: none;
    text-decoration: none;
    cursor: pointer;
    background-color: initial;
}
#prevBtn_history_custom {
    margin-right: 10px;
}

#nextBtn_history_custom {
    margin-left: 10px;
}
#prevBtn_history_custom:focus,
#nextBtn_history_custom:focus {
    outline: none;
}

#prevBtn_history_custom:disabled,
#nextBtn_history_custom:disabled {
    color: #b8c2cc;
    cursor: not-allowed;
}

#pagination_history{
    background-color: #F5F5F5;
    width: fit-content;
    border-radius: 20px;
    margin: 0 auto 10px auto;
    display: flex;
    justify-content: center;
    padding: 6px 10px;
}

#group_btn_pagination_history{
    width:80%;
    margin: 0 auto;
}
#searchInputDatime {
    width: auto;
    min-width: 10px;
    max-width: 100%;
    font-size: 14px !important;
}

#group_cart_info {
    height: fit-content !important;
}

#table_order_history{
    border: 1.5px solid #EEEEEE;
    padding: 0 25px !important;
}

#table_order_history thead tr th{
    color: black !important;
    font-weight: bold !important;
}

.table-equal-rows tr {
    height: auto;
}

tr.custom-border-color td, th{
    border-bottom: 1.5px solid #EEEEEE !important;
}
.des-product {
    font-size: 11px;
    margin-top: 20px;
    line-height: 1.5em;
}

#table_order_history table {
    margin-bottom: 0;
}

#link_to_history span{
    display: inline-block;
    vertical-align: middle;
}

.icon_arrow {
    margin: auto 15px 5px 15px;
    font-weight: 700;
    color: #0a0a0a;
}

#link_to_history span a h3{
    /*font-weight: 700;*/
    color: #000;
}

#header_status p {
    display: inline-block;
    width: 100px;
    margin: 0;
    padding: 2px 12px;
    border-radius: 5px;
    margin-right: 10px;
    text-align: center;
    color: #FFFFFF;
}

.btn_draft_undertone {
    background-color: #f8d6b3;
}

.btn_done_undertone {
    background-color: #CCEEBC;
}

.btn_cancel_undertone {
    background-color: #f8b4b3;
}

.breadcrumb {
    border-left: none;
    padding-top: 0 !important;
}

.breadcrumb .breadcrumb-item {
    font-size: 24px;
    color: #000 !important;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item:before {
    font-size: 24px;
    color: #000 !important;
    font-weight: bold;
}

.breadcrumb li a {
    font-size: 24px;
    color: #000;
    font-weight: bold;
}

.action-filter-history {
    margin-top: 10px;
}

.action-filter-history div, #btn_search_history {
    padding: 9px 8px 9px 8px !important;
    text-align: center;
    float:right !important;
    border-radius: 0;
    width: 92px;
}

.action-filter-history div {
    padding: 9px 6px 9px 6px !important;
}
#btn_search_history {
    padding: 9px 8px 9px 8px !important;
}

@media screen and (max-width: 750px) {
    .th-action {
        display: none !important;
    }
    .order-action {
        display: none !important;
    }
    #table_history_custom thead th {
        text-align: left;
        font-size: 12px !important;
        font-weight: bold !important;
        white-space: nowrap;
        padding: 10px 5px !important;
    }
    #table_history_custom tbody td {
        font-size: 12px !important;
        white-space: nowrap;
        padding: 10px 5px !important;
    }
    .card-history {
        padding: 0 10px !important;
    }

    .btn-state-done {
        padding: 3px 8px;
        font-size: 11px;
    }

    .btn-state-cancel {
        padding: 3px 8px;
        font-size: 11px;
    }
    .btn-state-draft {
        padding: 3px 8px;
        font-size: 11px;
    }

}

@media screen and (max-width: 650px) {
    #header_status {
        margin-bottom: 20px;
        padding: 0 0;
    }
    #header_status p {
        margin-right: 5px;
        font-size: 10px;
        padding: 0 0;
        width: 70px;
    }

    #link_to_history span a h3{
        font-size: 18px;
    }
    #link_detail_order {
        font-size: 13px !important;
        margin-bottom: 0;
        font-weight: normal !important;
    }

    .icon_arrow {
        margin: 0 3px;
    }

    #link_to_history {
        margin-bottom: 10px !important;
    }

    #detail_order_name {
        padding-left: 10px !important;
    }

    #detail_order_name span{
        font-size: 20px !important;
    }

    #group_cart_info {
        padding-left: 10px !important;
    }

    #table_order_history {
        padding: 0 0 !important;
        border: none !important;
    }

    #group_order_line {
        padding: 0 10px !important;
    }

    tr.custom-border-color th, td{
        font-size: 13px !important;
    }
}

@media screen and (max-width: 550px) {
    tr.custom-border-color th, td{
        font-size: 12px !important;
    }

    .des-product {
        font-size: 10px !important;
    }
    #group_cart_info {
        font-size: 12px !important;
    }

    #group_order_line {
        padding: 0 0 !important;
    }

    tr.custom-border-color th {
        border-top: none;
    }

    #detail_order_name span{
        font-size: 15px !important;
    }

    #btn_search_history span{
        display: none;
    }

    .breadcrumb .breadcrumb-item {
        font-size: 15px;
        color: #000 !important;
        font-weight: normal;
    }

    .breadcrumb li a {
        font-size: 18px;
    }

    .breadcrumb .breadcrumb-item + .breadcrumb-item:before {
        font-size: 20px;
        padding: 0 3px;
    }

    #btn_search_history {
        width: fit-content;
    }
}

#fromDateInput, #toDateInput {
    margin: 0 10px 0 5px;
    border-radius: 0;
}

#input_search_history {
    display: flex;
    align-items: center;
}
#input_search_history label {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

