﻿.order_item {
    border: 1px solid #ee8d6e;
    border-radius: 5px;
    padding: 10px;
    background: #efecec;
    box-shadow: 0px 5px 15px 0px rgb(230 226 223);
}

    .order_item h5:first-child {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .order_item small {
        font-size: 12px;
    }

    .order_item h5:nth-child(2) {
        font-size: 14px;
        overflow: hidden;
        white-space: nowrap;
        max-width: 70%;
        width: 270px;
        text-overflow: ellipsis;
        padding-bottom: 4px;
    }

    .order_item h5:nth-child(3) {
        font-size: 14px;
    }

    .order_item h5:nth-child(5) {
        font-size: 14px;
        overflow: hidden;
        white-space: nowrap;
        max-width: 70%;
        width: 270px;
        text-overflow: ellipsis;
        padding-bottom: 4px;
        margin-top:5px;
    }


.order_wrapper {
    min-height: 500px;
    max-height: 83vh;
    overflow-y: scroll;
}


.order_item_wrapper {
    width: 33%;
    cursor: pointer;
    margin-top: 13px;
}

.noti_wrapper {
    width: 25%;
    cursor: pointer;
    margin-top: 13px;
}

    .noti_wrapper .order_item {
        background: #f4f4f4;
    }

#order_block, #receipt_block{
    border: 1px solid #ccc !important;
    height: 87vh;
}
#reports_block {
    /*border: 1px solid #ccc !important;*/
    width: 80vw;
    height: 90vh;
    /*border-bottom: unset !important;*/
}

    /*#order_block .tab, #receipt_block .tab {
        height: 70%;
    }*/
#reports_block .tab {
    width: 16%;
    height: 93vh;
}

.noti_block .container {
    max-height: calc(100% - 55px);
    /*overflow-y: scroll;*/
    width: 100% !important;
    margin: 0 !important;
}

.restaurant_container_box {
    box-shadow: none;
}

.order_count {
    background: #f65f01;
    border-radius: 15%;
    padding: 2px 5px;
    margin-left: 5px;
    color: white;
}

.calendar {
    position: relative;
    float: right;
    width: 100%;
}

.date_input {
    padding: 20px 10px;
    height: 35px;
    border: 2px solid #f65f01;
    border-radius: 5px;
    background-color: #f4f4f4;
}

    .date_input:active {
        border: 1px solid #f65f01;
    }

.open-button {
    position: absolute;
    top: 8px;
    right: 11px;
    width: 25px;
    height: 60%;
    background-color: #f4f4f4;
    font-size: 20px;
    pointer-events: none;
    color: #f65f01;
    border-left: 1px solid #f65f01;
    padding-left: 5px;
}
.calendar_btn {
    position: relative;
    top: 5px;
    right: 41px;
    width: 25px;
    height: 60%;
    background-color: #f4f4f4;
    font-size: 20px;
    pointer-events: none;
    color: #f65f01;
    border-left: 1px solid #f65f01;
    padding-left: 5px;
}
.filter_row{
    gap: 10px;
}
    .filter_row > div {
        display: inline;
        width: fit-content;
    }
.rest_drop_down {
    width: 150px;
    height: 33px;
    padding: 0px 10px;
    margin-top: 2px;
}

.open-button button {
    border: none;
    background: transparent;
}

.order_detail_wrapper {
    padding: 20px 10px;
}

    .order_detail_wrapper .order_no_wrapper {
        display: flex;
        width: 100%;
        align-items: center;
    }

        .order_detail_wrapper .order_no_wrapper .order_no {
            float: left;
            width: 50%;
            font-size: 14px;
        }

        .order_detail_wrapper .order_no_wrapper .print_btn {
            float: right;
            width: 50%;
            display: flex;
            justify-content: end;
        }

    .order_detail_wrapper .order_detail_list {
        margin-top: 20px;
    }

.text-bold {
    font-weight: 600;
}

.mt-25 {
    margin-bottom: 25px;
}

.order_detail_list .order_item_row, .order_detail_list .order_item_row_extra {
    display: flex;
    width: 100%;
    margin-bottom: 5px;
}

.order_detail_wrapper .order_detail_list .order_item_row_extra .name {
    font-size: 12px;
    font-weight: 500;
}

.order_item_row_extra {
    margin-bottom: 0px !important;
}

    .order_item_row h5, .order_item_row_extra h5 {
        margin-bottom: 0px;
    }

    .order_item_row_extra small {
        font-size: 12px;
    }

.order_detail_list .order_item_row {
    margin-top: 3px;
}

.qty {
    width: 30%;
}

.name {
    width: 50%;
}

.price {
    width: 20%;
    display: flex;
    justify-content: end;
}

.customer_info {
    margin-top: 7px;
}

    .order_item_row h5, .customer_info h5, .order_item_row_extra h5, .order_detail_list h5 {
        font-size: 14px;
    }

.order_btn {
    margin-top: 10px;
}

    .order_btn button:first-child {
        float: left;
    }

    .order_btn button:last-child {
        float: right;
    }

.order-count-btn {
    float: right;
    color: black;
    /*padding: 0px 3px;*/
}
.border_md {
    border: 1px solid #dee2e6 !important;
}
.estimated_time {
    background-color: white;
    border: 1px solid #ccc;
    color: #555;
    display: inline;
    align-items: center;
}
.estimated_time input {
    border: none;
    color: #555;
    text-align: center;
    width: 45px;
    height: 17px !important;
}
.order_detail_list ul{
    margin-bottom: 5px;
}
@media (max-width: 1000px) {
    .order_item_wrapper {
        width: 50%;
    }

    .noti_wrapper {
        width: 33%;
    }
}

@media (max-width: 700px) {
    .noti_wrapper {
        width: 50%;
    }
}

@media (max-width: 672px) {
    .order_item_wrapper {
        width: 100%;
    }

    .order-count-btn {
        padding: 0px 7px;
    }
    .order_details_page{
        max-height: 80vh;
        overflow-y: scroll;
    }
    .border_md{
        border: none !important;
    }
    #reports_block {
        width: 100%;
    }
}

@media (max-width: 450px) {
    .noti_wrapper {
        width: 100%;
    }
}
