/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_MpRmaSystem
 * @author    Webkul Software Private Limited
 * @copyright Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */
 body .wk-mprma-container * {
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
}
body .wk-mprma-fieldset.fieldset {
    width: 100%;
}

body .wk-mp-rma-newrma > a {
    background: #f96f1d none repeat scroll 0 0;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 12px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    border-bottom: 5px solid #f28395;
}
@media only screen and (min-width: 768px) {
    body .wk-mp-rma-newrma {
        margin-bottom: 10px;
        width: fit-content;
        float: right;
    }
}

body .wk-mp-rma-newrma > a:hover {
    color: #ddd;
}
body .wk-loading-mask {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.62);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
body .wk-loader {
    background: url("../images/ajax-loader.gif") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 32px;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    position: absolute;
    top: 50%;
    width: 32px;
}
body .wk-display-none {
    display: none !important;
}
body .wk-preview-image {
    height: 120px;
    margin: 5px;
    vertical-align: top;
    width: 120px;
    display: inline-block;
    border: 2px solid #ccc;
    position: relative;
}
body .wk-mprma-container .fieldset > .field {
    margin-bottom: 25px;
}
body .wk-mprma-view .fieldset > .field > .label {
    border-bottom: 1px solid #ccc;
    display: inline-block;
    padding-bottom: 10px;
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
}
body .mprmasystem-customer-rma .page-title-wrapper {
    display: none;
}
body .mprmasystem-seller-rma .page-title-wrapper {
    display: none;
}
body .wk-mprma-view .field {
    display: inline-block;
    float: left;
    padding: 10px 50px 10px 10px;
    width: 50%;
}
body .wk-mprma-view .field.wk-lg {
    width: 100%;
}
body .wk-title {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    color: #333;
    font-size: 20px;
}
body .wk-date-info {
    display: inline-block;
    float: right;
    font-size: 14px;
    margin-top: 9px;
    margin-right: 20px;
}
body .wk-title.wk-close-title {
    margin-bottom: 4px;
}
body .wk-mprma-view .wk-close-filedset .field {
    width: 100%;
    padding: 10px;
}
body .wk-action-btn {
    float: right;
}
body .wk-close-filedset.fieldset .field .control {
    width: 100%;
    display: inline-block;
}
body .wk-action-content {
    display: inline-block;
    padding: 5px 0;
}
body .wk-send {
    margin-top: 10px;
}
body .wk-action-content span:after {
    color: #e02b27;
    content: "*";
    font-size: 1.2rem;
    margin: 0 0 0 5px;
}

body .wk-mprma-conversation-wrapper {
    background: #ffff;
    box-shadow: 0px 1px 5px 1px #d1d9e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
body .wk-mprma-conversation {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
    align-items: flex-start;
    border: none;
    margin-left: 0;
    margin-right: 0;
}
body .wk-mprma-conversation-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #6c9bd1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 15px;
}
body .wk-mprma-conversation-avatar.admin-avatar {
    background: #6c9bd1;
}
body .wk-mprma-conversation-avatar.customer-avatar {
    background: #5a5a5a;
}
body .wk-mprma-conversation-avatar.seller-avatar {
    background: #96c986;
}
body .wk-mprma-conversation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
body .wk-mprma-conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
body .wk-mprma-conversation-sender {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
body .wk-mprma-conversation-time {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    margin-left: 10px;
}
body .wk-mprma-conversation-body {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    display: block;
    width: auto;
}
body .wk-mprma-conversation-body-field {
    padding: 5px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    display: block;
    width: auto;
}
body .wk-mprma-textarea {
    border-radius: 5px;
}
body .wk-mprma-send-button {
    margin-top: 10px;
}
body .wk-mprma-conversation-head {
    display: none !important;
}
body .wk-mprma-conversation-head-left,
body .wk-mprma-conversation-head-right {
    display: none !important;
}
body .wk-mprma-seller-section,
body .wk-mprma-customer-section,
body .wk-mprma-admin-section {
    background: transparent !important;
}
@media only screen and (max-width: 600px) {
    body .wk-mprma-conversation {
        flex-direction: row;
    }
    body .wk-mprma-conversation-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 10px;
    }
    body .wk-mprma-conversation-wrapper {
        padding: 15px;
    }
    body .wk-mprma-conversation-header {
        flex-direction: column;
        align-items: flex-start;
    }
    body .wk-mprma-conversation-time {
        margin-left: 0;
        margin-top: 4px;
    }
}
body .wk-row > span {
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    margin-right: 5px;
}
body .wk-refund {
    margin-top: 10px;
}
body .wk-partial-amount {
    margin-top: 10px;
    display: none;
}
body .fieldset.wk-guest-login {
    width: 300px;
}
body .wk-note {
    color: #306a03;
    font-size: 12px;
    padding: 5px 2px;
}
body .wk-preview-image > img {
    height: 100%;
    width: 100%;
}
body .wk-remove-img {
    background: #000 none repeat scroll 0 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    height: 20px;
    position: absolute;
    right: -6px;
    text-align: center;
    top: -6px;
    width: 20px;
    z-index: 99;
}
body #image {
    width: 100px;
    color: transparent;
}
body .wk-selected-img-info {
    display: inline-block;
}
body .wk-img-preview-loading-mask {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.62);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999;
}
body .wk-img-preview-loader {
    background: url("../images/ajax-loader.gif") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 32px;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    position: absolute;
    top: 50%;
    width: 32px;
}
body .wk-img-field {
    position: relative;
}
body #wk_new_rma_form .fieldset.wk-mprma-fieldset > .field> .label {
    display: inline-block;
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
    padding: 0px;
}
body #wk_new_rma_form .fieldset.wk-mprma-fieldset > .field> .control {
    display: inline-block;
    width: 100%;
}
body .wk-mprma-container #wk_new_rma_form .fieldset.wk-mprma-fieldset .actions-toolbar {
    margin: 0px;
}

.wk-showcase-container, .wk-showcase-container * {
    box-sizing: border-box;
}
.wk-showcase-container {
    display: inline-block;
    width: 100%;
}
.wk-showcase-block {
    width: 150px;
    height: 150px;
    margin: 10px;
    border: 1px solid #ccc;
    display: inline-block;
    position: relative;
    vertical-align: top;
    float: left;
    margin-left: 0px;
    margin-right: 20px;
    text-align: center;
}
.wk-delete-item {
    background: #222 none repeat scroll 0 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    height: 20px;
    line-height: 17px;
    position: absolute;
    right: -5px;
    text-align: center;
    top: -5px;
    width : 20px;
    z-index : 9;

}
.wk-showcase-block img {
    display: inline-block;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
}
.wk-no-display {
    display: none;
}
.wk-default-block {
    width: 148px;
    height: 148px;
    display: inline-block;
    float: left;
    line-height: 148px;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
}
button.wk-add-showcase-btn {
    background: #fa6f1d none repeat scroll 0 0;
    border: 1px solid #fa6f1d;
    border-radius: 2px;
    box-shadow: unset;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    padding: 8px 20px;
}
.wk-button-set {
    display: inline-block;
    width: 100%;
}
#orders-item-table thead tr {
    background: #f5f5f5 none repeat scroll 0 0;
}
#order_items > tr:nth-child(2n+2) {
    background: #f5f5f5 none repeat scroll 0 0;
}
.wk-mp-rma-img {
    display: inline-block;
    float: left;
}
.wk-mp-rma-name {
    display: inline-block;
    float: left;
    padding-left: 10px;
    width: calc(100% - 100px);
}
.wk-mprma-warning-content {
    padding: 20px 0;
}
#my-rma-table tbody tr:nth-child(2n+2) {
    background: #f5f5f5 none repeat scroll 0 0;
}

#my-rma-table thead tr {
    background: #f5f5f5 none repeat scroll 0 0;
}

@media only screen and (max-width: 639px) {
    .wk-mprma-container .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr td:before, .wk-mprma-container .table-wrapper .table:not(.totals):not(.cart):not(.table-comparison) > tbody > tr th:before {
        content: attr(data-th);
    }
}
#order_items .item-options {
    font-size: 12px;
    margin: 5px 0 0 2px;
}
.wk-reason {
    max-width: 250px;
}

#my-rma-table {
    margin-bottom: 10px;
}
.wk-refund-note {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0;
    width: 100%;
}

.wk-guest-logout {
    display: inline-block;
    float: right;
    font-weight: bold;
}

.wk-table-head-action tr th {
    background: #dbdde3 none repeat scroll 0 0;
    border-right: 1px solid #fff;
    padding: 4px 3px 3px;
    text-align: center;
}

.wk-table-head-title tr th {
    padding: 5px;
}
.wk-date-filter-box {
    display: inline-block;
    float: left;
    width : 50%;
}

.wk-date-filter-box:last-child {
    float: right;
}
.wk-mprma-container tbody tr td:nth-child(4n) {
    min-width: 200px;
    max-width: 220px;
}
.wk-table-head-action .wk-date-filter-col {
    min-width: 200px;
    max-width: 220px;
}

button.wk-apply-filter-btn {
    background: #fa6f1d none repeat scroll 0 0;
    border: 1px solid #fa6f1d;
    border-radius: 2px;
    box-shadow: unset;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    padding: 8px 17px;
    white-space: nowrap;
}

.wk-selected-filter-col {
    background: #e5e5e5 none repeat scroll 0 0;
}
.wk-rma-asc-icon {
    background: rgba(0, 0, 0, 0) url("../images/grid_sort_asc.gif") no-repeat scroll 96% 50%;
}
.wk-rma-desc-icon {
    background: rgba(0, 0, 0, 0) url("../images/grid_sort_desc.gif") no-repeat scroll 96% 50%;
}
.wk-sorting-col {
    cursor : pointer;
}

.wk-buyer-rma-table .wk-filtered-rma-id tr th:nth-child(6n+1) {
    background-color: #e5e5e5;
}
.wk-buyer-rma-table .wk-filtered-rma-id.wk-asc-order tr th:nth-child(6n+1) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_desc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}
.wk-buyer-rma-table .wk-filtered-rma-id.wk-desc-order tr th:nth-child(6n+1) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_asc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}

.wk-buyer-rma-table .wk-filtered-order-ref tr th:nth-child(6n+2) {
    background-color: #e5e5e5;
}
.wk-buyer-rma-table .wk-filtered-order-ref.wk-asc-order tr th:nth-child(6n+2) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_desc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}
.wk-buyer-rma-table .wk-filtered-order-ref.wk-desc-order tr th:nth-child(6n+2) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_asc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}

.wk-buyer-rma-table .wk-filtered-date tr th:nth-child(6n+4) {
    background-color: #e5e5e5;
}
.wk-buyer-rma-table .wk-filtered-date.wk-asc-order tr th:nth-child(6n+4) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_desc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}
.wk-buyer-rma-table .wk-filtered-date.wk-desc-order tr th:nth-child(6n+4) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_asc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}







.wk-seller-rma-table .wk-filtered-rma-id tr th:nth-child(6n+1) {
    background-color: #e5e5e5;
}
.wk-seller-rma-table .wk-filtered-rma-id.wk-asc-order tr th:nth-child(6n+1) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_desc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}
.wk-seller-rma-table .wk-filtered-rma-id.wk-desc-order tr th:nth-child(6n+1) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_asc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}


.wk-seller-rma-table .wk-filtered-rma-customer tr th:nth-child(6n+2) {
    background-color: #e5e5e5;
}
.wk-seller-rma-table .wk-filtered-rma-customer.wk-asc-order tr th:nth-child(6n+2) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_desc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}
.wk-seller-rma-table .wk-filtered-rma-customer.wk-desc-order tr th:nth-child(6n+2) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_asc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}



.wk-seller-rma-table .wk-filtered-order-ref tr th:nth-child(6n+3) {
    background-color: #e5e5e5;
}
.wk-seller-rma-table .wk-filtered-order-ref.wk-asc-order tr th:nth-child(6n+3) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_desc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}
.wk-seller-rma-table .wk-filtered-order-ref.wk-desc-order tr th:nth-child(6n+3) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_asc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}

.wk-seller-rma-table .wk-filtered-date tr th:nth-child(6n+5) {
    background-color: #e5e5e5;
}
.wk-seller-rma-table .wk-filtered-date.wk-asc-order tr th:nth-child(6n+5) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_desc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}
.wk-seller-rma-table .wk-filtered-date.wk-desc-order tr th:nth-child(6n+5) {
    background-color : #e5e5e5;
    background-image : url("../images/grid_sort_asc.gif");
    background-position: 96% 50%;
    background-repeat: no-repeat;
}

.wk-view:after {
    border-left: 1px solid #a6a6a6;
    content: '';
    display: inline-block;
    height: 12px;
    margin: 0 10px;
    vertical-align: -1px;
}
.wk-order-con-no {
    background: #fff;
    border: 1px solid #c2c2c2;
    height: auto;
    margin: 0;
    padding: 5px;
    width: 100%;
}
.order-products-toolbar.toolbar.bottom > .pager > .limiter {
    float: right;
}
.wk-refund-button {
    margin-right: 1%;
}
@media only screen and (max-width: 767px) {
    .account .page-main {
        padding-top:70px;
    }
}

/**** Media query *****/

@media only screen and (max-width: 600px) {
    .wk-mprma-container tbody tr td:nth-child(4n){
       min-width: 0px;
       max-width: 0px;
    }
    table#mprma-items-table{
        margin-left: -15px;
    }
  }

.mprma-risk-badge {
    border-radius: 4px;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    padding: 4px 10px;
    text-transform: capitalize;
}
.mprma-risk-low {
    background: #e5f7ed;
    color: #1e7e34;
}
.mprma-risk-medium {
    background: #fff3cd;
    color: #856404;
}
.mprma-risk-high {
    background: #f8d7da;
    color: #721c24;
}
/* HL-472: never scored. Deliberately colourless - it must not read as a verdict. */
.mprma-risk-unassessed {
    background: #f1f1f1;
    color: #6d6d6d;
    font-weight: 400;
}
.mprma-analytics-dashboard {
    position: relative;
}
.mprma-analytics-cards {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 24px;
}
.mprma-analytics-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 18px;
}
.mprma-analytics-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
}
.mprma-analytics-value {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}
.mprma-analytics-meta {
    color: #666;
    font-size: 12px;
    margin: 0;
}
.mprma-analytics-charts {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.mprma-analytics-chart-box {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    min-height: 280px;
    padding: 16px;
}
.mprma-analytics-chart-box h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
}
.mprma-analytics-chart-box canvas {
    max-height: 220px;
}
.mprma-analytics-loading {
    color: #666;
    font-size: 13px;
    margin-top: 12px;
}

/* Seller RMA view page */
.mprma-seller-view {
    margin: 0 0 30px;
    max-width: 1200px;
}
.mprma-seller-view__header {
    align-items: flex-start;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 20px;
}
.mprma-seller-view__header-main {
    flex: 1;
    min-width: 240px;
}
.mprma-seller-view__back {
    color: #2563eb;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    text-decoration: none;
}
.mprma-seller-view__back:hover {
    text-decoration: underline;
}
.mprma-seller-view__title-group {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.mprma-seller-view__title {
    color: #111827;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}
.mprma-seller-view__date {
    color: #6b7280;
    font-size: 14px;
}
.mprma-seller-view__header-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mprma-seller-view__print {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    text-decoration: none;
}
.mprma-seller-view__print:hover {
    background: #f9fafb;
    color: #111827;
}
.mprma-status-badge {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 12px;
    text-transform: uppercase;
}
.mprma-status-badge--pending {
    background: #fef3c7;
    color: #92400e;
}
.mprma-status-badge--processing {
    background: #dbeafe;
    color: #1e40af;
}
.mprma-status-badge--solved {
    background: #d1fae5;
    color: #065f46;
}
.mprma-status-badge--declined {
    background: #fee2e2;
    color: #991b1b;
}
.mprma-status-badge--canceled {
    background: #f3f4f6;
    color: #4b5563;
}
.mprma-status-badge--default {
    background: #e5e7eb;
    color: #374151;
}
.mprma-seller-view__summary {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 20px;
}
.mprma-seller-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    margin-bottom: 20px;
    padding: 20px 22px;
}
.mprma-seller-card__title {
    border-bottom: 1px solid #f3f4f6;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 12px;
}
.mprma-seller-card__text {
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}
.mprma-seller-muted {
    color: #9ca3af;
    font-size: 13px;
}
.mprma-seller-dl__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}
.mprma-seller-dl__row:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.mprma-seller-dl__row dt,
.mprma-seller-dl__label {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    min-width: 120px;
}
.mprma-seller-dl__row dd {
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    text-align: right;
}
.mprma-seller-dl__row--inline {
    align-items: center;
}
.mprma-seller-amount {
    color: #111827;
    font-weight: 700;
}
.mprma-seller-refund-summary {
    border-top: 1px solid #f3f4f6;
    margin-top: 16px;
    padding-top: 14px;
}
.mprma-seller-images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.mprma-seller-images__item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: block;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.mprma-seller-images__item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.mprma-seller-images__item img {
    display: block;
    height: 100px;
    object-fit: cover;
    width: 100px;
}
.mprma-seller-table-wrap {
    overflow-x: auto;
}
.mprma-seller-table {
    margin: 0;
    width: 100%;
}
.mprma-seller-table thead th {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    text-transform: uppercase;
}
.mprma-seller-table tbody td {
    border-bottom: 1px solid #f3f4f6;
    color: #111827;
    font-size: 14px;
    padding: 14px;
    vertical-align: top;
}
.mprma-seller-product-name {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}
.mprma-seller-view__actions {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-bottom: 20px;
}
.mprma-seller-card--action {
    margin-bottom: 0;
}
.mprma-seller-form__field {
    margin-bottom: 16px;
}
.mprma-seller-form__field .label {
    color: #374151;
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.mprma-seller-form__field .control .select,
.mprma-seller-form__field .control .input-text {
    max-width: 100%;
    width: 100%;
}
.mprma-seller-form__partial {
    margin-top: 10px;
}
.mprma-seller-form__checkbox label {
    align-items: center;
    color: #374151;
    display: inline-flex;
    font-size: 14px;
    gap: 8px;
}
.mprma-seller-refund-note {
    background: #f9fafb;
    border-radius: 8px;
    margin: 12px 0;
    padding: 12px 14px;
}
.mprma-seller-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 16px;
}
.mprma-seller-form__actions--split .action {
    margin: 0;
}
.mprma-seller-card--chat .wk-mprma-conversation-wrapper {
    box-shadow: none;
    border: 1px solid #f3f4f6;
    margin-bottom: 0;
    padding: 16px;
}
.mprma-seller-chat__empty {
    margin: 0 0 16px;
    padding: 0 4px;
}
.mprma-seller-chat__composer .wk-mprma-textarea {
    min-height: 90px;
    resize: vertical;
    width: 100%;
}
body.mprmasystem-seller-rma .wk-mprma-view .field,
body.mprmasystem-seller-rma .wk-date-info,
body.mprmasystem-seller-rma .wk-title,
body.mprmasystem-customer-rma .wk-mprma-view .field,
body.mprmasystem-customer-rma .wk-date-info,
body.mprmasystem-customer-rma .wk-title {
    float: none;
    width: auto;
}
body.mprmasystem-seller-rma .wk-action-btn,
body.mprmasystem-customer-rma .wk-action-btn {
    float: none;
}
body.mprmasystem-seller-rma .wk-action-content span:after,
body.mprmasystem-customer-rma .wk-action-content span:after {
    content: none;
}
body.mprmasystem-customer-rma .mprma-customer-view {
    margin-top: 0;
}
body.mprmasystem-customer-rma .account .column.main {
    padding-bottom: 30px;
}

/* Seller RMA view — layout2 marketplace panel */
body.mprmasystem-seller-rma .wk-mp-page-main .mprma-seller-view,
.wk-mp-page-main .mprma-seller-view.wk-mp-design {
    box-sizing: border-box;
    margin: 0 0 30px;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}
body.mprmasystem-seller-rma .wk-mp-page-header-hgroup .page-title-wrapper {
    display: none;
}
body.mprmasystem-seller-rma .wk-mp-column.wk-mp-main {
    max-width: 100%;
    overflow-x: hidden;
}
body.mprmasystem-seller-rma .mprma-seller-view__summary {
    grid-template-columns: 1fr;
}
body.mprmasystem-seller-rma .mprma-seller-view__actions {
    grid-template-columns: 1fr;
}
body.mprmasystem-seller-rma .mprma-seller-table-wrap {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    width: 100%;
}
body.mprmasystem-seller-rma .mprma-seller-table {
    min-width: 560px;
}

@media only screen and (min-width: 992px) {
    body.mprmasystem-seller-rma .mprma-seller-view__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.mprmasystem-seller-rma .mprma-seller-view__actions {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    .mprma-seller-view__header {
        flex-direction: column;
    }
    .mprma-seller-dl__row {
        flex-direction: column;
        gap: 4px;
    }
    .mprma-seller-dl__row dd {
        text-align: left;
    }
    .mprma-seller-table thead {
        display: none;
    }
    .mprma-seller-table tbody tr {
        border-bottom: 1px solid #e5e7eb;
        display: block;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .mprma-seller-table tbody td {
        border: 0;
        display: block;
        padding: 6px 0;
    }
    .mprma-seller-table tbody td::before {
        color: #6b7280;
        content: attr(data-th) ": ";
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
    }
}

/* Seller RMA configuration (workflow + fraud) */
body.mprmasystem-seller-configuration .mprma-seller-configuration,
.wk-mp-page-main .mprma-seller-configuration {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.mprmasystem-seller-configuration .wk-wf-config-wrapper[style*="display: flex"],
body.mprmasystem-seller-configuration #wk-seller-workflow-fields > .wk-wf-config-wrapper,
body.mprmasystem-seller-configuration #wk-seller-fraud-fields > .wk-wf-config-wrapper {
    display: block !important;
}

body.mprmasystem-seller-configuration .wk-wf-config-wrapper[style*="display: flex"] > div,
body.mprmasystem-seller-configuration #wk-seller-workflow-fields > .wk-wf-config-wrapper > div,
body.mprmasystem-seller-configuration #wk-seller-fraud-fields > .wk-wf-config-wrapper > div {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 20px;
}

body.mprmasystem-seller-configuration .wk-wf-row {
    flex-direction: column;
    gap: 8px;
}

body.mprmasystem-seller-configuration .wk-wf-label,
body.mprmasystem-seller-configuration .wk-wf-value {
    width: 100%;
    padding-right: 0;
}

body.mprmasystem-seller-configuration .wk-wf-input-text,
body.mprmasystem-seller-configuration .wk-wf-select,
body.mprmasystem-seller-configuration .wk-wf-multiselect,
body.mprmasystem-seller-configuration .wk-wf-note {
    max-width: 100%;
}

body.mprmasystem-seller-configuration .wk-wf-title-bar {
    flex-wrap: wrap;
    gap: 12px;
}

body.mprmasystem-seller-configuration .wk-config-tabs-nav {
    flex-wrap: wrap;
}

body.mprmasystem-seller-configuration .wk-wf-section {
    margin-bottom: 20px;
}
