/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Mageplaza.com license that is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_EditOrder
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */

#mpeditorder-shipping-address .field-vat-number .actions, #mpeditorder-billing-address .field-vat-number .actions {
    display: none;
}

#mpeditorder-select-customer-grid {
    width: 95%;
    margin: 0 auto;
}

#mpeditorder-items .discount-custom-block {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}
#mpeditorder-items .item-discount {
    width: 10rem;
}

#mpeditorder-items input.item-tax {
    min-width: 0;
    width: 5.4rem;
}

#mpeditorder-items .order-items .actions, #mpeditorder-items .mpeditorder-items .actions, #mpeditorder-items .actions {
    float: right;
}

.mp_collapsible_content {
    padding: 0 10px 20px 20px;
}

.mpeditorder-form .label {
    vertical-align: top;
    display: inline-block;
    width: 20%;
    text-align: right;
    margin-right: 15px;
}

.mpeditorder-form .control {
    margin-left: 10px;
    display: inline-block;
    width: 70%;
}

#mpeditorder-order-date,  #mpeditorder-order-status {
    width: 100%;
}

#mpeditorder-order-info p.note {
    color: #303030;
    font-size: 12px;
    margin: 5px 0;
}

#mpeditorder-order-info .mpeditorder-messages {
    margin-bottom: 20px;
}

.mpeditorder-order-info-popup {
    margin: 0 auto;
    max-width: 1000px;
}

.order-payment-method .admin__page-section-item-title {
    position: relative;
    z-index: 9;
}

#mpeditorder-quick-edit-button {
    display: block !important;
}

#edit_form .mpeditorder-edit-btn {
    display: none;
}

#mpeditorder-messages {
    margin: 0 0 2rem;
}

.actions.btn-add-product {
    float: right;
}

.mp_collapsible {
    border-bottom: none;
}

#mpeditorder-items-btn {
    margin: 4px;
    position: absolute;
}

#mpeditorder-payment-method .admin__control-radio, #mpeditorder-quick-edit #order-billing_method .admin__control-radio{
    position: inherit;
    opacity: 1;
    margin: 4px;
}
#ui-datepicker-div {
    position:absolute !important;
}
#order-billing_method_form .admin__field-option .admin__field-label {
    padding-left: unset !important;
}
#order-billing_method_form .admin__field-option .admin__field-label::after{
    content: none !important;
}
#order-billing_method_form .admin__field-option .admin__field-label::before{
    content: none !important;
}

.mp-editorder-action-form {
    display: none;
}

.mp-editorder-action-form .page-main-actions {
    margin: 0 0 3rem;
}

.mp-editorder-action-form .mp-load-tracking {
    position: relative;
}

.mp-editorder-action-form .mp-tracking-loader {
    display: none;
    position: absolute;
    top: 3px;
    width: 25px;
    left: 105%;
}

/** tracking table css */
#mp-editorder-addtrack {
    width: 100%;
}

#mp-editorder-addtrack th.mp-shipment-cols {
    background-color: #514943;
    color: #fff;
}

#mp-editorder-addtrack tr.mp-shipment-rows:hover {
    background-color: #e5f7fe;
}

#mp-editorder-addtrack td.mp-shipment-records, #mp-editorder-addtrack th.mp-shipment-cols {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

#mp-editorder-addtrack td.mp-shipment-records .message {
    text-align: left;
}

#mp-editorder-addtrack th.col-tracking {
    width: 60%;
}

#mp-editorder-addtrack th.col-id, #mp-editorder-addtrack th.col-total {
    width: 10%;
}

.mp-editorder-table {
    width: 95%;
    margin: 7px 7px 35px;
}

.mp-editorder-table th.col-action {
    width: 10%;
}

.mp-editorder-table th.col-carrier {
    width: 40%;
}

.mp-editorder-table th.col-title, .mp-editorder-table th.col-number {
    width: 25%;
}

.modal-content{
    height: 450px;
    overflow-y: auto;
    padding: 20px !important;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.update-data-items{
    display: flex;
    flex-direction: column;
    width: 30%;
    float: right;
}

.mpeditorder-popup label span:after {
    position: unset !important;
}

.mpeditorder-popup .modal-inner-wrap {
    overflow-y: hidden !important;
}


.mpeditorder-popup.modal-slide .action-close {
    padding: 2.1rem 2.6rem !important;
}

.mp-disable-click {
    pointer-events: none;
    opacity: 0.5;
}