// /************************************************************************
//  * Copyright 2025 Adobe
//  * All Rights Reserved.
//  *
//  * ***********************************************************************
//  */

//
//  Variables
//  ---------------------------------------------

@edit-order-comment-notes__border-color: @color-gray65;
@edit-order-comment-notes__font-size: @font-size__s;

//
//  Table secondary for edit order
//  ---------------------------------------------

.abs-admin--table-secondary-edit-order {
    th {
        font-weight: @font-weight__regular;
        text-align: left;
        vertical-align: top;
    }
    td {
        text-align: right;
    }
    tr {
        &:last-child {
            td {
                border: none;
            }
        }
    }
}

//
//  Order information
//  ---------------------------------------------

.order-information-table {
    &:extend(.abs-admin--table-secondary-edit-order all);
}

//
//  Order account information
//  ---------------------------------------------

.order-account-information-table {
    &:extend(.abs-admin--table-secondary-edit-order all);
}

//
//  Edit order tables
//  ---------------------------------------------

.edit-order-table {
    &:extend(.abs-order-tables all);
    &:extend(.abs-order-tbody-border all);
    margin-bottom: 5rem;
    tfoot {
        &._hide {
            display: none;
        }
        td {
            padding-top: @order-create-sidebar__margin__m;
        }
        .col-total {
            text-align: right;
        }
    }
    .edit-total-price-block {
        padding-left: 3rem;
    }
}

.order-subtotal-table {
    tr {
        td {
            &:last-child {
                text-align: right;
            }
        }
    }
}

.order-history-block {
    margin: 0 0 5rem;
}

.order-history-comments-actions {
    margin-bottom: @order-create-sidebar__margin__reqular;
    margin-top: @order-create-sidebar__margin__reqular;
}
