﻿#rma input[type=date] {
    height: 36px;
}
#rma .div-closing-reason[hidden] {
    display: none !important;
}

#rma input::placeholder,
#rma textarea::placeholder,
#searchModal input::placeholder,
#searchModal textarea::placeholder,
#netOpenItems input::placeholder,
#netSampleItems input::placeholder {
    color: var(--wex-color-gray1) !important;
    opacity: 1;
}
#rma .select2-selection__placeholder,
#searchModal .select2-selection__placeholder {
    color: var(--wex-color-gray1) !important;
}

#sterilizationList .hideOther .otherMethod,
#productlist .hideOptions .reasonOption + .btn-group,
.separateRma, #rma li.hideTab, .display-none, #rmahelp,
#searchModal #productForm, .div-closing-reason,
.checkbox input {
    display: none;
}

@media (min-width: 992px) {
    .responsive-table tbody#sterilizationList td {
        text-align: left;
    }
    #productsSterilization .radio-column .radio {
        padding-left: 30px;
        text-align: left;
    }
}
.panel-heading
{
    background-color:white!important;
}
#sterilizationList .checkbox, .radio {
    margin-top: 0;
    margin-bottom: 0;
}
#rmaConfirm .modal-header {
    padding: 0 15px 0 15px;
}
    #rmaConfirm .modal-header .close {
        margin-top: 10px;
    }
#rmaConfirm .modal-footer {
    padding: 15px;
    margin-bottom: 0;
}
#rma .productrow .input-group-btn,
.va-top {
    vertical-align: top;
}
input[type="number"].invoice::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].invoice {
    -moz-appearance: textfield;
}
#rma .productrow .input-group-btn .multiselect-native-select button {
    height: 36px;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#rma .has-error select.form-control.reason {
    border: 2px solid var(--wex-red);
}
#rma .form-v2.has-error .form-control,
#rma .form-group.has-error .form-control,
#rma .has-error .select2-selection,
#rma .form-control.error {
    border: 1px solid var(--wex-red) !important;
    box-shadow: inset 0 0 0 1px var(--wex-red) !important;
    -webkit-box-shadow: inset 0 0 0 1px var(--wex-red) !important;
}
#rma .productrow .has-error .multiselect-native-select .btn {
    border-color: var(--wex-red);
}

#rma .productrow .has-error .multiselect-native-select ul label.checkbox {
    color: initial
}
#rma .productrow .input-group, #rma .productrow .multiselect-native-select .btn-group, #rma .productrow .multiselect-native-select button {
    width: 100%;
}
#rma .red {
    color: red!important;
}
.blackText {
    color:#666!important
}

.div-save-later {
    display: none;
    width: 170px;
    margin-top:0px;
    float: left;
}

.savelater {
    color: #fff;
    background-color: #3276B1;
}

.tr-checked-netsearch {
    background-color: var(--wex-color-gray2);
}
#netOpenItems > .modal-lg,
#netSampleItems > .modal-lg {
    min-width: 1300px;
}

.d-flex-reason-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width:100%!important;
}
.rmaproducts__top-block {
    margin: 10px 10px 30px 10px;
    gap: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.rma-notes {
    min-width: 786px;
    width: 100%;
    height: 162px;
}

.rmaproducts__select {
    width: 300px;
    float: right;
}
@media (max-width: 1320px) {
    .netsuite-maincontent {
        min-width: 1000px;
    }
    #netOpenItems > .modal-lg,
    #netSampleItems > .modal-lg {
        min-width: auto;
    }
}

@media (max-width: 1550px) {

    .d-flex-reason-select {
        flex-direction: column;
    }
}

@media (max-width: 1200px) {
    .rmaproducts__top-block {
        flex-direction: column;
    }

    .rma-notes {
        min-width: auto;
    }
    .rmaproducts__select {
        /* Для WebKit-браузеров (Chrome, Safari) */
        width: -webkit-fill-available;
        /* Для Firefox */
        width: -moz-available;
        width: 100%;
    }
}

.d-flex {
    display: flex;
}

.report-button-div {
    margin: 10px;
    width: 100px;
    display: flex;
}

#addFromOpenTrial, #addFromSamples  {
    width: 100%;
    cursor: pointer;
}

.img-report-w {
    width: 100%;
}

.label-rma {
    text-align: left;
    float: left;
}
.netsuiteDataSearch tr,
.netsuiteDataSearch td,
.netsuiteDataSearch th {
    border: 1px solid #808080;
    padding: 5px;
}

.netsuiteDataSearch th {
    text-align: center !important;
    border: 1px solid #808080;
    border-top-left-radius: 0px !important;
}

.netsuite-maincontent tr {
    cursor: pointer;
}

.netsuiteDataSearch {
    overflow-x: auto;
    width: 100%;
}
.rma__qtyoutstanding, .quickadd__addmore-table-qasubmit,
.div-closing-reason .rmaproducts__select, .rma__addprod-wrapper {
    text-align: center;
}

#trialCheckbox {
    display: none;
    margin-top: 15px;
}

.fw-bold {
    font-weight: bold;
}

.rma__editor-section .panel-default,
.rma__panel-wrapper {
    margin-bottom: 0 !important;
}

.rma__panel-wrapper  .panel-body {
    min-height: 47vh;
}

.rma__editor-section .tab-content {
    overflow: inherit !important;
}

#rmahelp h6 {
    color: #CC0003 !important;
}

#rmacaptcha {
    display: none;
    min-width: 0;
    flex: 0 0 auto;
    float: none;
}
#rmacaptcha .g-recaptcha,
#rmacaptcha > div {
    float: none;
}

.rma__wizard-wrapper {
    width: 100%;
    float: left;
    display: block;
}

    .rma__wizard-wrapper #sendrma {
        text-align: right;
        display: none;
        float: right;
    }

.fl-r {
    float: right;
}

.modal .modal-content {
    border-radius: 15px !important;
}

.rma__validation-debug {
    margin: 18px 0 0;
    padding: 10px 14px;
    border: 1px solid #d9a0a0;
    border-radius: 6px;
    background: #fff5f5;
    color: #a12626;
    font-size: 13px;
    text-align: left;
}

body > #rmaConfirm,
body > #modalForm,
body > #searchModal,
body > #prodsadded,
body > #errorProdsModal,
body > #quickAddPendingModal,
body > #sitmodal,
body > #prodError,
body > #netOpenItems,
body > #netSampleItems {
    z-index: 2400 !important;
    overflow-x: hidden;
    overflow-y: auto;
}

body.rma-modal-open .modal-backdrop,
.modal-backdrop.in {
    z-index: 2390;
}

html.net-report-modal-open,
body.net-report-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

#prodsadded.in ~ .modal-backdrop,
#errorProdsModal.in ~ .modal-backdrop,
#quickAddPendingModal.in ~ .modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    opacity: .56;
}

/* Quick Add success confirmation */
#prodsadded.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}

#prodsadded .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(420px, 100%);
    margin: 0;
    transform: translate(-50%, -50%) !important;
}

#prodsadded .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 30px 26px;
    overflow: hidden;
    border: 0;
    border-radius: 18px !important;
    background: #fff;
    box-shadow: none;
    text-align: center;
}

.rma-success-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e8f7ee;
    color: #178447;
}

.rma-success-modal__icon .material-symbols-rounded {
    font-size: 32px;
    line-height: 1;
    font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 32;
}

#prodsadded h3 {
    margin: 0 0 8px;
    padding: 0;
    color: var(--wex-black);
    font-family: "Jost", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

#prodsadded p {
    margin: 0;
    color: var(--wex-color-666);
    font-size: 15px;
    line-height: 1.5;
}

/* Quick Add validation warning */
#rmaConfirm.in,
#errorProdsModal.in,
#quickAddValidationErrorModal.in,
#quickAddPendingModal.in,
#sitmodal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#rmaConfirm .modal-dialog,
#errorProdsModal .modal-dialog,
#quickAddValidationErrorModal .modal-dialog,
#quickAddPendingModal .modal-dialog,
#sitmodal .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(460px, 100%);
    margin: 0;
    transform: translate(-50%, -50%) !important;
}

#rmaConfirm .modal-content,
#errorProdsModal .modal-content,
#quickAddValidationErrorModal .modal-content,
#quickAddPendingModal .modal-content,
#sitmodal .modal-content {
    padding: 28px;
    border: 0;
    border-radius: 18px !important;
    background: #fff;
    box-shadow: none;
}

.rma-warning-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 18px;
}

#rmaConfirm .wex-auth-close,
#errorProdsModal .wex-auth-close,
#quickAddValidationErrorModal .wex-auth-close,
#quickAddPendingModal .wex-auth-close,
#sitmodal .wex-auth-close {
    position: absolute;
    top: 28px;
    right: 28px;
}

.rma-warning-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff3dc;
    color: #b86800;
}

.rma-warning-modal__icon .material-symbols-rounded {
    font-size: 30px;
    font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 30;
}

#rmaConfirm .wex-auth-close:focus-visible,
#errorProdsModal .wex-auth-close:focus-visible,
#quickAddValidationErrorModal .wex-auth-close:focus-visible,
#quickAddPendingModal .wex-auth-close:focus-visible,
#sitmodal .wex-auth-close:focus-visible,
.rma-warning-modal__button:focus-visible {
    outline: 2px solid var(--wex-blue);
    outline-offset: 2px;
}

.rma-warning-modal__body h3 {
    margin: 0 0 4px;
    padding: 0;
    color: var(--wex-black);
    font-family: "Jost", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.rma-warning-modal__body p {
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.rma-warning-modal__actions {
    display: flex;
    width: 100%;
    gap: 16px;
    margin-top: 28px;
}

.rma-warning-modal__button {
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 40px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.rma-warning-modal__button--secondary {
    border-color: var(--wex-color-gray2);
    background: var(--wex-white);
    color: var(--wex-blue);
}

.rma-warning-modal__button--secondary:hover {
    border-color: var(--wex-blue);
    background: var(--wex-white);
    color: var(--wex-blue);
}

.rma-warning-modal__button--primary {
    border-color: var(--wex-regular-btn);
    background: var(--wex-regular-btn);
    color: var(--wex-white);
}

.rma-warning-modal__button--primary:hover {
    border-color: var(--wex-regular-btn-hover);
    background: var(--wex-regular-btn-hover);
    color: var(--wex-white);
}

@media (max-width: 480px) {
    #rmaConfirm .modal-content,
    #errorProdsModal .modal-content,
    #quickAddValidationErrorModal .modal-content,
    #quickAddPendingModal .modal-content,
    #sitmodal .modal-content { padding: 22px; }
    #rmaConfirm .wex-auth-close,
    #errorProdsModal .wex-auth-close,
    #quickAddValidationErrorModal .wex-auth-close,
    #quickAddPendingModal .wex-auth-close,
    #sitmodal .wex-auth-close { top: 22px; right: 22px; }
    .rma-warning-modal__actions { flex-direction: column-reverse; }
    .rma-warning-modal__button { width: 100%; }
}

#quickAddValidationErrorModal { z-index: 3000 !important; }
body.quick-add-validation-modal-open > .modal-backdrop { z-index: 2990 !important; }
.quick-add-validation-progress { width: 100%; height: 4px; margin-top: 22px; overflow: hidden; border-radius: 999px; background: var(--wex-color-e5e5ea); }
.quick-add-validation-progress > span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--wex-blue); transition: width .2s ease; }
.quick-add-validation-actions[hidden] { display: none !important; }
#quickAddValidationErrorModal .rma-warning-modal__header { margin-bottom: 0; }
#quickAddValidationErrorModal .rma-warning-modal__header.has-status-icon { margin-bottom: 18px; }
#quickAddValidationErrorModal .quick-add-validation-error-icon[hidden] { display: none !important; }

/* Product search modal */
body:has(#searchModal) {
    width: 100vw;
    overflow-x: hidden;
}
@supports (overflow-x: clip) {
    body:has(#searchModal) {
        overflow-x: clip !important;
    }
}
html.rma-scroll-locked,
body.rma-scroll-locked,
body.modal-open.rma-scroll-locked { overflow-y: auto !important; overscroll-behavior: none; }
#searchModal { font-family: "Inter", Arial, sans-serif; color: var(--wex-black); }
#searchModal.in { display: flex !important; align-items: center; padding: 20px 0; }
#searchModal .modal-dialog { position: absolute; top: 50%; left: 50%; width: calc(100% - 40px); max-width: 768px; margin: 0; transform: translate(-50%, -50%) !important; }
#searchModal .modal-content { padding: 28px; border: 0; border-radius: 18px !important; background: var(--wex-white); box-shadow: none; color: var(--wex-black); }
.rma-product-search-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rma-product-search-modal__header h3 { margin: 0; color: var(--wex-black); font-family: "Jost", Arial, sans-serif; font-size: 22px; font-weight: 400; line-height: 1.2; }
#searchModal .wex-auth-close { position: static; display: inline-flex; width: 34px; height: 34px; flex: 0 0 34px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--wex-color-gray3); color: var(--wex-color-gray1); }
#searchModal .wex-auth-close:hover {  }
#searchModal .wex-auth-close:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: 2px; }
#searchModal .wex-auth-close .material-symbols-rounded { font-size: 22px; line-height: 1; }
.rma-product-search-modal__body { padding: 22px 0 0px; }
.rma-product-search-modal__body #productName { margin: 0 0 16px; color: var(--wex-color-gray1); font-size: 16px; font-weight: 400; line-height: 22px; }

#searchModal #productForm { position: relative; min-height: 315px; margin: 0; }
#searchModal #productSearchInput { height: 42px; padding: 9px 12px; border: 1px solid var(--wex-color-gray2); border-radius: 6px; box-shadow: none; }
#searchModal #productSearchInput:focus { border-color: var(--wex-blue); outline: 0; box-shadow: inset 0 0 0 1px var(--wex-blue); }
#searchModal #productSearchResults { height: 240px; margin-top: 12px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--wex-color-gray2); border-radius: 6px; }
#searchModal .rma-product-result { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px; border-bottom: 1px solid var(--wex-color-gray3); color: var(--wex-black); font-size: 16px; font-weight: 400; line-height: 22px; cursor: pointer; }
#searchModal .rma-product-result:last-child { border-bottom: 0; }
#searchModal .rma-product-result:hover { background: var(--wex-color-gray3); }
#searchModal .rma-product-result:has(input:checked) { background: var(--wex-color-gray3); color: var(--wex-blue); }
#searchModal .rma-product-result:focus-within { outline: 2px solid var(--wex-blue); outline-offset: -2px; }
#searchModal .rma-product-result input { flex: 0 0 auto; margin: 0; accent-color: var(--wex-blue); }
#searchModal .rma-product-result[hidden],
#searchModal #productSearchEmpty[hidden] { display: none; }
#searchModal #productSearchEmpty { margin: 8px 0 0; color: var(--wex-color-gray1); }
#searchModal .select2-selection--single { position: relative; height: 42px; padding: 9px 36px 9px 12px; border: 1px solid var(--wex-color-gray2); border-radius: 6px !important; background: var(--wex-white); box-shadow: none; }
#searchModal .select2-selection__rendered { padding: 0; line-height: 22px; }
#searchModal .select2-container--focus .select2-selection,
#searchModal .select2-container--open .select2-selection { border-color: var(--wex-blue); box-shadow: inset 0 0 0 1px var(--wex-blue); }
#searchModal .select2-selection__arrow { top: 0; right: 10px; bottom: 0; width: 20px; height: auto; }
#searchModal .select2-selection__arrow b { display: none; }
#searchModal .select2-selection__arrow::before { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-right: 2px solid var(--wex-color-gray1); border-bottom: 2px solid var(--wex-color-gray1); content: ""; transform: translate(-50%, -70%) rotate(45deg); }
#searchModal .select2-dropdown { margin-top: 6px; border: 1px solid var(--wex-color-gray2); border-radius: 6px !important; overflow: hidden; }
#searchModal .select2-dropdown--above { margin-top: -6px; }
#searchModal .select2-results__option { padding: 9px 12px; font-size: 16px; line-height: 22px; }
#searchModal #productForm .rma-product-picker-trigger { display: none !important; }
#searchModal #productForm > .select2-container--open:not(.rma-product-picker-trigger) { position: static !important; display: block; width: 100% !important; }
#searchModal #productForm .select2-dropdown { position: static; display: block; width: 100% !important; margin: 0; border: 0 !important; background: transparent; overflow: visible; }
#searchModal #productForm .select2-search--dropdown { display: block; padding: 0 0 12px; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent; }
#searchModal #productForm.rma-product-search--compact { min-height: 240px; }
#searchModal #productForm.rma-product-search--compact .select2-search--dropdown { display: none; }
#searchModal #productForm .select2-search__field {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--wex-color-gray2) !important;
    border-radius: 6px;
    background: var(--wex-white) !important;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: none !important;
}
#searchModal #productForm .select2-search__field:focus {
    border: 2px solid var(--wex-blue) !important;
    padding: 8px 11px;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: 0 !important;
}
#searchModal #productForm .select2-search__field::placeholder { color: var(--wex-color-gray1); opacity: 1; }
#searchModal #productForm .select2-results__options {
    height: 265px;
    max-height: 265px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--wex-white);
}
#searchModal #productForm .select2-results {
    border-top:1px solid var(--wex-color-gray2);
}
#searchModal #productForm .select2-results__option { display: flex; align-items: center; box-sizing: border-box; min-height: 64px; padding: 10px 12px; white-space: normal; border-bottom: 1px solid var(--wex-color-gray2); color: var(--wex-black); font-family: "Inter", Arial, sans-serif; font-size: 16px; line-height: 1.4; }
#searchModal #productForm .select2-results__option[aria-selected="true"],
#searchModal #productForm .select2-results__option--highlighted[aria-selected] { background: var(--wex-color-gray3) !important; color: var(--wex-black) !important; }
#searchModal .rma-search-result-row { display: flex; align-items: center; gap: 12px; min-width: 0; width: 100%; }
#searchModal .rma-search-result-radio { position: relative; flex: 0 0 22px; width: 22px; height: 22px; box-sizing: border-box; border: 2px solid var(--wex-color-gray2); border-radius: 50%; background: var(--wex-white); }
#searchModal .select2-results__option[aria-selected="true"] .rma-search-result-radio { border-color: var(--wex-color-43a047, #43a047); background: var(--wex-color-43a047, #43a047); }
#searchModal .select2-results__option[aria-selected="true"] .rma-search-result-radio::after { position: absolute; inset: 5px; border-radius: 50%; background: var(--wex-white); content: ""; }
#searchModal .rma-search-result { display: flex; flex-direction: column; min-width: 0; width: 100%; }
#searchModal .rma-search-result strong { font-size: 16px; font-weight: 400; }
#searchModal .rma-search-result small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 400; color: var(--wex-color-gray1); }
#searchModal #productForm > label { display: block; margin: 0 0 8px; color: var(--wex-black); font-size: 16px; font-weight: 500; }
#searchModal #productSelect { box-sizing: border-box; width: 100%; height: 42px; padding: 0 38px 0 12px; border: 1px solid var(--wex-color-gray2); border-radius: 6px; background: var(--wex-white); color: var(--wex-black); box-shadow: none; font-size: 16px; font-weight: 400; }
#searchModal #productSelect:focus { border-color: var(--wex-blue); outline: 0; box-shadow: none; }
#searchModal .fstdropdown { box-sizing: border-box; width: 100%; min-height: 42px; border: 1px solid var(--wex-color-gray2); border-radius: 6px; box-shadow: none; background: var(--wex-white); }
#searchModal .fstdropdown.open { border-color: var(--wex-blue); box-shadow: none; }
#searchModal .fstselected,
#searchModal .fstdropdown.open > .fstselected { box-sizing: border-box; min-height: 38px; padding: 8px 38px 8px 10px; border: 0 !important; border-radius: 4px; box-shadow: none; color: var(--wex-black); font-size: 16px; line-height: 22px; }
#searchModal .fstdropdown > .fstselected::after,
#searchModal .fstdropdown.open > .fstselected::after { position: absolute; z-index: 3; top: 50%; right: 10px; display: block; width: 8px; height: 8px; margin: 0; border: 0; border-right: 2px solid var(--wex-color-8f939b, #8f939b); border-bottom: 2px solid var(--wex-color-8f939b, #8f939b); content: ""; transform: translate(-50%, -70%) rotate(45deg); }
#searchModal .fstlist { max-height: 240px; border: 1px solid var(--wex-color-gray2); border-radius: 6px; background: var(--wex-white); box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
#searchModal .fstlist > div { padding: 8px 12px; color: var(--wex-black); font-size: 16px; line-height: 20px; }
#searchModal .fstlist > div:hover,
#searchModal .fstlist > div.hover { background: var(--wex-color-gray3); color: var(--wex-black); }
.rma-product-search-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: right;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
#searchModal #pConfirm { width: 100%; }
.rma-product-search-modal__button { min-width: 112px; height: 40px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font-family: "Jost", Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 38px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.rma-product-search-modal__button--secondary { border-color: var(--wex-color-gray2); background: var(--wex-white); color: var(--wex-blue); }
.rma-product-search-modal__button--secondary:hover { border-color: var(--wex-blue); background: var(--wex-white); }
.rma-product-search-modal__button--primary { background: var(--wex-regular-btn); color: var(--wex-white); }
.rma-product-search-modal__button--primary:hover { background: var(--wex-regular-btn-hover); }
.rma-product-search-modal__button--primary:disabled { background: var(--wex-color-gray2); color: var(--wex-white); cursor: not-allowed; }
.rma-product-search-modal__button:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: 2px; }

@media (max-width: 480px) {
    #searchModal .modal-content { padding: 22px; }
    .rma-product-search-modal__actions { flex-direction: column-reverse; }
    .rma-product-search-modal__button { width: 100%; height:44px; min-height:44px; font-size:16px!important; }
}
.rma__panel-wrapper .container-fluid .row,
.rma__panel-wrapper .container-fluid .row .text-center {
    margin-top: 5vh !important;
}

#netOpenItems #netModalOpenContent,
#netSampleItems #netModalSampleContent {
    max-height: 600px;
    overflow-y: auto;
    overflow-y: overlay;
    scrollbar-width: thin;
    scrollbar-color: var(--wex-color-gray1) transparent;
    margin: 10px 0px 10px 0px;
    scrollbar-gutter: stable!important;
}

#netOpenItems #netModalOpenContent::-webkit-scrollbar,
#netSampleItems #netModalSampleContent::-webkit-scrollbar {
    width: 8px;
}

#netOpenItems #netModalOpenContent::-webkit-scrollbar-track,
#netSampleItems #netModalSampleContent::-webkit-scrollbar-track {
    background: transparent;
}

#netOpenItems #netModalOpenContent::-webkit-scrollbar-thumb,
#netSampleItems #netModalSampleContent::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 6px;
    background: var(--wex-color-gray1);
    background-clip: padding-box;
}

#netOpenItems .loading-img,
#netSampleItems .loading-img {
    position: absolute;
    z-index: 20;
    inset: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: inherit;
    background: var(--wex-white);
}

#netOpenItems .loading-img::before,
#netSampleItems .loading-img::before {
    width: 30%;
    aspect-ratio: 78 / 38;
    flex: 0 0 auto;
    background: linear-gradient(100deg, var(--wex-color-f2f2f5) 25%, var(--wex-color-fcfcfd) 40%, var(--wex-color-f2f2f9) 55%);
    background-size: 200% 100%;
    content: "";
    -webkit-mask: url('../svg/wexler.svg') center / contain no-repeat;
    mask: url('../svg/wexler.svg') center / contain no-repeat;
    animation: wex-product-image-loading 1.2s ease-in-out infinite;
}

    #netOpenItems .loading-img img,
    #netSampleItems .loading-img img {
        display: none;
    }

@media (prefers-reduced-motion: reduce) {
    #netOpenItems .loading-img::before,
    #netSampleItems .loading-img::before { animation: none; }
}
#netOpenItems .margin-footer,
    #netSampleItems .margin-footer {
        margin: 0 auto !important;
    }

.reasonOption {
    visibility: hidden;
}

/* Open items / sample items report modals */
#netOpenItems,
#netSampleItems {
    font-family: "Inter", Arial, sans-serif;
    color: var(--wex-color-111);
}

#netOpenItems .modal-dialog,
#netSampleItems .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 36px);
    max-width: 1300px;
    margin: 0;
    transform: translate(-50%, -50%) !important;
}

#netOpenItems.in,
#netSampleItems.in {
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    padding: 20px 0;
}

#netOpenItems .modal-content,
#netSampleItems .modal-content {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 18px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
    overflow: hidden;
}

#netOpenItems .modal-header,
#netSampleItems .modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 0px;
    padding: 24px 24px 16px;
    border: 0;
}

#netOpenItems .wex-auth-close,
#netSampleItems .wex-auth-close { margin-left: auto; }
.net-report-heading { flex: 1; min-width: 0; }
.net-report-heading h3 { margin: 0 0 3px; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--wex-black); font-family: "Jost", sans-serif; font-size: 22px; font-weight: 400; line-height: 1.2; }
.net-report-warning { padding: 4px 9px; border-radius: 999px; background: #fff3cd; color: #856404; font-family: "Inter", Arial, sans-serif; font-size: 12px; font-weight: 500; line-height: 1.2; }
.net-report-heading p { margin: 0; color: var(--wex-color-gray1)!important; font-size: 14px; line-height: 1.4; }

#netOpenItems .modal-body,
#netSampleItems .modal-body { position: static; min-height: 0; padding: 14px 24px; flex: 1 1 auto; display: flex; flex-direction: column; overflow: hidden; }

#netOpenItems .netOpenbody,
#netSampleItems .netSamplebody { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; }

.filter-div {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 7px;
    background: var(--wex-color-gray3);
}
.net-report-mobile-filter { display: none; }
.net-report-mobile-filter-panel { display: contents; }
.net-report-mobile-filter-header { display: none; }
.net-report-fields { display: flex; flex: 1; gap: 16px; }
.net-report-field { flex: 1; min-width: 74px; }
.net-report-field > label:not(.net-report-switch),
.net-report-field .net-report-label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 400; }
.net-report-field .form-control { height: 38px; border: 2px solid var(--wex-transparent); border-radius: 6px; box-shadow: 0 0 0 1px var(--wex-color-gray2); font-size: 14px; }
.net-report-field .form-control:focus { border: 2px solid var(--wex-blue); box-shadow: none; }
.net-report-field .repFromDate,
.net-report-field .repToDate {
    padding-right: 38px;
    background-color: var(--wex-white);
    background-image: url('../svg/calendar-rma.svg');
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 15px 17px;
    cursor: pointer;
}
.net-report-direct { flex: 0 0 74px; }
.net-report-switch { position: relative; width: 100%; height: 38px; margin: 0; display: block; cursor: pointer; }
.net-report-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.net-report-switch-track { position: absolute; inset: 0; border-radius: 999px; background: var(--wex-color-gray2); transition: background-color .18s ease; }
.net-report-switch-track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--wex-white); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); transition: left .18s ease; }
.net-report-switch input:checked + .net-report-switch-track { background: var(--wex-color-219653); }
.net-report-switch input:checked + .net-report-switch-track::after { left: calc(100% - 34px); }
.net-report-switch input:focus-visible + .net-report-switch-track { outline: 2px solid var(--wex-blue); outline-offset: 2px; }

.net-report-selectbar { position: sticky; z-index: 3; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) 155px 125px; align-items: center; box-sizing: border-box; width: 100%; min-height: 48px; padding: 0; border-bottom: 1px solid var(--wex-color-gray2); background: var(--wex-white); font-size: 16px; font-weight: 500!important; font-family:"Jost";
}
.net-report-selectbar label { display: flex; align-items: center; gap: 18px; margin: 0;  cursor: pointer; }
    .net-report-selectbar > span {
        padding: 0;
        white-space: nowrap;
        margin-left: 12px;
    }
.net-report-selectbar input,
.netsuiteDataSearch .checkbox-select,
.netsuiteDataSearch .net-group-select { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--wex-blue); }
#netOpenItems input[type="checkbox"]:indeterminate,
#netSampleItems input[type="checkbox"]:indeterminate {
    border-color: var(--wex-transparent) !important;
    background: url('../svg/checkbox-mixed.svg') center / 18px 18px no-repeat var(--wex-transparent) !important;
}
.netsuiteDataSearch { width: 100%; border-collapse: collapse; table-layout: fixed; }
.netsuiteDataSearch .net-report-date-column { width: 155px; }
.netsuiteDataSearch .net-report-qty-column { width: 125px; }
.netsuiteDataSearch .netsuite-maincontent { min-width: 0; }
.netsuiteDataSearch tr,
.netsuiteDataSearch td,
.netsuiteDataSearch th { border: 0; }
.netsuiteDataSearch tbody tr { height: 64px; }
    .netsuiteDataSearch td {
        height: 64px;
        padding: 0 12px;
        border-bottom: 1px solid var(--wex-color-gray2);
        font-size: 16px;
        line-height: 1.4;
        font-family: "Inter";
        vertical-align: middle;
        white-space: nowrap;
    }
.netsuiteDataSearch .net-report-group {
    height:32px!important;
}
.netsuiteDataSearch td:nth-child(3) {
    text-align: left;
}
    .netsuiteDataSearch .net-report-group td {
        padding: 0 12px;
        background: #E5E5EA;
        height: 48px !important;
        font-size: 16px;
        overflow: hidden;
    }
.netsuiteDataSearch .net-report-group label { display: flex; align-items: center; gap: 18px; margin: 0; cursor: pointer; font-weight: 400; }
.netsuiteDataSearch .net-report-group label span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.netsuiteDataSearch .net-report-item { cursor: pointer; }
    .netsuiteDataSearch .net-report-item.tr-checked-netsearch {
        background: var(--wex-color-gray3);
    }
@media (hover: hover) and (pointer: fine) {
    .netsuiteDataSearch .net-report-item:hover {
        background: var(--wex-color-gray3);
    }
}
.netsuiteDataSearch .net-report-item td:first-child { display: flex; align-items: center; gap: 18px; }
    .netsuiteDataSearch .net-report-item td:first-child > span:not(.net-item-added) {
        display: flex;
        align-items: flex-start;
        gap: 0px;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        flex-direction: column;
    }
.netFilters__content
{display:none!important}
.netsuiteDataSearch .net-report-item strong {
    display: inline;
    flex: 0 0 auto;
    font-weight: 400;
}
.netsuiteDataSearch .net-report-item small { display: inline; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color:var(--wex-color-gray1) }
.net-report-mobile-meta { display: none; }
.netsuiteDataSearch .net-item-added { flex: 0 0 auto; margin-left: auto; border:1px solid green; padding: 5px 9px; display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; background: #e8f5ec; color: var(--wex-color-219653); font-size: 13px; font-weight: 500; line-height: 1; }
.netsuiteDataSearch .net-item-added[hidden] { display: none; }
.netsuiteDataSearch .net-item-added .material-symbols-rounded { font-size: 16px; line-height: 1; font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20; }
.netsuiteDataSearch .net-report-item-added { }
.net-report-item.net-filtered-out { display: none !important; }

.net-report-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 380px;
    min-width: 380px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 23px;
    background: var(--wex-white);
    overflow: hidden;
}
.net-report-pagination:empty { display: none; }
.net-report-pagination button {
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-left: 1px solid var(--wex-color-gray2);
    border-radius: 0;
    background: var(--wex-white);
    color: var(--wex-color-111);
    font-family: "Jost", "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}
.net-report-pagination button:first-child { border-left: 0; }
.net-report-pagination button:hover:not(:disabled):not(.is-active) { color: var(--wex-blue); }
.net-report-pagination button.is-active { position: relative; z-index: 1; background: var(--wex-color-gray3); color: var(--wex-color-gray1); cursor: default; pointer-events: none; }
.net-report-pagination button:disabled { color: var(--wex-color-gray1); cursor: default; }
.net-report-pagination .net-page-ellipsis { color: var(--wex-color-111); cursor: pointer; }
.net-report-pagination .net-page-arrow { display: inline-flex; align-items: center; justify-content: center; }
.net-report-pagination .net-page-arrow svg { fill: currentColor; }

#netOpenItems #netModalOpenContent,
#netSampleItems #netModalSampleContent { min-height: 0; max-height: 540px; flex: 1 1 auto; box-sizing: border-box; margin: 0; padding-bottom: 12px; overscroll-behavior: contain; }
#netOpenItems .alert-warning,
#netSampleItems .alert-warning { display: none; }
#netOpenItems .modal-footer,
#netSampleItems .modal-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px 22px; border: 0; background: var(--wex-white); }
#netOpenItems .modal-footer::before,
#netOpenItems .modal-footer::after,
#netSampleItems .modal-footer::before,
#netSampleItems .modal-footer::after { display: none; }
.net-report-add { min-width: 144px; height: 40px; border: 0; border-radius: 22px; font-weight:500!important; background: var(--wex-blue); color: var(--wex-white)!important; border-radius:999px!important; font-family:"Jost"; font-size: 14px; }
.net-report-add:hover,
.net-report-add:focus { background: var(--wex-regular-btn-hover); color: var(--wex-white)!important; }
.net-report-add[disabled] { background: var(--wex-color-e5e5ea); color: var(--wex-white); opacity: 1; }
.net-report-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; }
.net-report-add-secondary {
    border: 1px solid var(--wex-color-gray2) !important;
    background: var(--wex-white);
    color: var(--wex-blue) !important;
}
.net-report-add-secondary:hover:not(:disabled),
.net-report-add-secondary:focus:not(:disabled) { border-color: var(--wex-blue) !important; background: var(--wex-white); color: var(--wex-blue) !important; }
    .net-report-add-secondary[disabled] {
        border-color: var(--wex-color-gray2) !important;
        background: white;
        color: var(--wex-color-gray2) !important;
    }

@media (max-width: 900px) {

    #rma .pager.wizard {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin: 0;
        padding: 0;
        height: 40px;
    }
        #rma .pager.wizard > li
        {
            max-width:100%!important;
        }
        #rma .pager.wizard .previous {
            justify-self: start;
        }

        #rma .pager.wizard .next {
            justify-self: end;
        }

    .rma__completion-button {
        font-size: 16px !important;
        height: 44px !important;
    }
    #tab3 #addproduct {
        font-size: 16px !important;
    }
    #rma .pager.wizard > li > a,
    #rma #send {
        font-size: 16px !important;
    }
    .quickadd__addmore-table #clickable {
        font-size: 16px !important;
    }
    #tab5 .rma__steril-toggle {
        font-size: 18px !important;
    }
    #tab4 .rma__ack-card-copy > span {
        font-size: 16px !important;
    }
    #tab4 .rma__ack-card-copy strong {
        font-size: 18px !important;
    }
    .rma__quicktab-header h2,
    .rma-products-title,
    .rma__ack-title,
    .rma__complete-title,
    .rma__steril-title {
        display: none !important;
    }
    .productrow {
        border-bottom: 1px solid var(--wex-color-gray2) !important;
        margin-bottom: 28px !important;
    }
    .mobile-filters-spacer {
        position: relative;
        left: 50%;
        width: 100vw;
        height: 5px;
        background: var(--wex-color-gray3);
        margin-bottom: 24px;
        margin-top: 24px;
        margin-right: 0;
        margin-left: 0;
        transform: translateX(-50%);
    }
    #tab3 .rma-products-table td[data-title="Reason for return"] > .input-group {
        grid-template-rows: none !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-rows: auto;
        row-gap: 8px;
    }
    #tab3 .rma-products-table td[data-title="Reason for return"] > .input-group > .form-v2:has(> input[type="hidden"]):not(:has(> select)),
    #tab3 .rma-products-table .hideOptions td[data-title="Reason for return"] > .input-group > .form-v2:has(.reasonOption) {
        display: none !important;
        height: 0;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
    }
    #tab3 .rma-products-table .productrow:not(.hideOptions) td[data-title="Reason for return"] > .input-group > .form-v2:has(.reasonOption) {
        display: block !important;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
    }
    #tab3 .rma-products-table .productrow:not(.hideOptions) td[data-title="Reason for return"] .multiselect-native-select,
    #tab3 .rma-products-table .productrow:not(.hideOptions) td[data-title="Reason for return"] .multiselect-native-select > .btn-group,
    #tab3 .rma-products-table .productrow:not(.hideOptions) td[data-title="Reason for return"] .multiselect-native-select button.multiselect {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        height: auto;
        min-height: 42px;
    }
    .rma__quicktab-submit-message.rma__quicktab-submit-message {
        margin-top: 24px !important;
        font-size: 16px !important;
        margin-bottom: 22px !important;
        line-height:20px;
        text-align:left!important;
    }
    .netsuiteDataSearch .net-report-item td:first-child {
        align-items: start;
    }
    .checkbox-select {
        margin-top: 2px!important;
    }
    #netOpenItems .modal-dialog,
    #netSampleItems .modal-dialog {
        width: calc(100% - 16px);
    }
    .net-report-mobile-filter {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 0 12px;
        padding: 0 14px;
        border: 1px solid var(--wex-color-gray2);
        border-radius: 999px;
        background: var(--wex-white);
        color: var(--wex-color-111);
        font-family: "Inter", Arial, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1;

    }
    .netFilters {
        padding-left: 16px;
        padding-right: 16px;
    }
    .net-report-mobile-filter svg {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }
    .net-report-mobile-filter-panel { display: none; }
    #netOpenItems .modal-content.net-report-filter-open .modal-body,
    #netSampleItems .modal-content.net-report-filter-open .modal-body { overflow: visible; }
    .netFilters.is-mobile-open .net-report-mobile-filter-panel {
        position: absolute;
        z-index: 30;
        inset: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 7px;
        background: var(--wex-white);
    }
    .net-report-mobile-filter-header {
        min-height: 72px;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid var(--wex-color-gray2);
    }
    .net-report-mobile-filter-header h3 {
        margin: 0;
        color: var(--wex-color-111);
        font-family: "Jost", Arial, sans-serif;
        font-size: 22px;
        font-weight: 400;
        line-height: 1.25;
    }
    .net-report-mobile-filter-header .wex-auth-close { position: static; flex: 0 0 auto; }
    .netFilters .net-report-mobile-filter-panel .filter-div {
        display: flex;
        flex: 1 1 auto;
        align-items: stretch;
        flex-direction: column;
        margin: 0;
        padding: 20px;
        overflow-y: auto;
        border-radius: 0;
        background: var(--wex-white);
    }
    .net-report-mobile-filter-panel .net-report-fields {
        width: 100%;
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .net-report-mobile-filter-panel .net-report-field {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
        grid-column: 1 / -1;
    }
    .net-report-mobile-filter-panel .net-report-date-field { grid-column: auto; }
    .net-report-mobile-filter-panel .net-report-field .form-control {
        width: 100%;
        box-sizing: border-box;
    }
    .net-report-mobile-filter-panel .net-report-direct {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .net-report-mobile-filter-panel .net-report-direct .net-report-label {
        margin: 0;
    }
    .net-report-mobile-filter-panel .net-report-direct .net-report-switch {
        width: 52px;
        height: 27px;
        flex: 0 0 52px;
    }
    .net-report-mobile-filter-panel .net-report-switch-track::after {
        top: 3px;
        left: 3px;
        width: 21px;
        height: 21px;
    }
    .net-report-mobile-filter-panel .net-report-switch input:checked + .net-report-switch-track::after {
        left: calc(100% - 24px);
    }
    #netOpenItems .modal-footer,
    #netSampleItems .modal-footer { flex-wrap: wrap; }
    .net-report-pagination { width: 100%; min-width: 0; }
    #netOpenItems .net-report-actions,
    #netSampleItems .net-report-actions {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }
        #netOpenItems .net-report-actions .net-report-add,
        #netSampleItems .net-report-actions .net-report-add {
            min-width: 0;
            flex: 1 1 0;
            font-size: 16px;
        }
}
.rma__report-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.rma__quicktab-submit-message {
    font-weight: bold;
    padding-bottom: 20px;
    color: var(--wex-color-gray1);
    text-align: center;
    font-weight: 400;
    font-size: 14px!important;
    font-family: "Inter";
}
.rma__quickaddload-wrapper table{
    margin-bottom: 0 !important;
}
.quickadd__addmore-table #clickable {
    text-align: center;
    cursor: pointer;
}
.customCheckboxLabel {
    display: inline-block;
    position: relative;
}

.df-row {
    display: flex;
    flex-direction: row;
}

.df-column {
    display: flex;
    flex-direction: column;
}

.filter-div-1 {
    flex: 1;
}

.checkbox-directonly {
    gap: 10px;
    padding: 5px 12px;
    border-radius: 5px;
    background-color: #17d52e;
    align-items: center;
    flex: 0 0 130px;
    cursor: pointer;
}

    .checkbox-directonly > label {
        margin: 0;
        color: white;
        font-weight: 500;
        cursor: pointer;
    }

.repDirectOnly {
    margin: 0;
    cursor: pointer;
}

.padding-5 {
    padding: 5px;
}

.clearSelectedItems {
    border-radius: 5px;
    border: 1px solid;
    color: #000;
}

@media (max-width: 600px) {
    .filter-div, .rep-filter-but-filter {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .rep-filter-but-set {
        flex-direction: column;
    }

}

.netFilters .filter-div-1 {
    gap: 20px;
    justify-content: space-between;
}
.netFilters .rep-filter-but-filter,
.netFilters .rep-filter-but-set {
    gap: 20px;
    display: flex;
    justify-content: flex-end;
}
.rep-filter-but-filter button,
.rep-filter-but-set button {
    border-radius: 5px !important;
}
.netFilters__content {
    border: 1px solid;
    margin: 0px 0px;
}
.rma__tab2-container #accountinfo {
    display: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
    .rma__tab2-container #accountinfo .panel-title {
        padding-bottom: 10px;
    }

.rmaproducts__top-block-container {
    display: flex;
    flex-direction: column;
}
.quickadd__tr {
    white-space: nowrap;
}

@media (min-width: 1024px) and (hover: hover) {
    #quicktabRMA .rma__quickaddload-wrapper table {
        border-spacing: 0;
    }

    #quicktabRMA .rma__quickaddload-wrapper .help-block {
        display: none !important;
    }

    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:nth-of-type(odd) {
        background-color: transparent !important;
    }

    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:hover,
    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:focus-within {
        background: var(--wex-color-gray3) !important;
        border-radius: 8px;
    }

    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:hover > td,
    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:focus-within > td {
        background: var(--wex-color-gray3) !important;
    }

    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:hover > td:nth-child(2),
    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:focus-within > td:nth-child(2) {
        border-radius: 12px 0 0 12px;
    }

    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:hover > .quickadd__col-close,
    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr:focus-within > .quickadd__col-close {
        border-radius: 0 8px 8px 0;
    }
}
.quickadd__col-pos {
    max-width: 15px;
    padding-left: 5px;
}

.quickadd__col-qty { width: 120px; min-width: 120px; max-width: 120px; }

.quickadd__col-close {
    width: 5px;
    padding-left: 0;
    padding-right: 0 !important;
}

/* RMA redesign */
.rma__editor-section {
    min-height: 863px;
    box-sizing: border-box;
    padding: 48px 0 100px;
    background: #fff;
    font-family: "Jost", Arial, sans-serif;
    color: #111;
}

.rma__editor-section .contentpanel,
.rma__editor-section .mainpanel {
    margin: 0;
    padding: 0;
    background: transparent;
}

.rma__editor-section .rma__page-content {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding-left: var(--wex-desktop-gutter);
    padding-right: var(--wex-desktop-gutter);
}

#rma .rma__row { width: 100%; margin-bottom:32px;}
#rma .rma__grid { display: grid; width: 100%; gap: 20px; margin-bottom: 20px; }
#rma .rma__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#rma .rma__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#rma .rma__grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#rma .rma__col { position: relative; min-width: 0; padding: 0; }
#rma .rma__col--full { width: 100%; grid-column: 1 / -1; }
#rma .rma__ack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
#tab4 .rma__ack-title { margin: 50px 0 32px; font-size: 24px; font-family:"Jost"; line-height: 1.2; font-weight: 400; color: var(--wex-black); }
#tab4 #trialCheckbox,
#tab4 #trialCheckbox label,
#tab4 #trialCheckbox h6 { font-size: 16px; }
#tab4 .rma__col.rma__col--full.checkbox {
    position: relative;
    padding: 0;
    text-align: left;
}
#tab4 .rma__col.rma__col--full.checkbox input[type="checkbox"] {
    position: absolute;
    top: 2px;
    left: 0;
    z-index: 1;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
    #tab4 .rma__col.rma__col--full.checkbox label {
        position: relative;
        display: block;
        margin: 0;
        padding-left: 32px !important;
        color: #222;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;
        cursor: pointer;
        font-family:"Inter";
    }
.rma__completion-page {
    min-height: 863px;
}
#tab4 .rma__col.rma__col--full.checkbox label::before {
    content: "";
    position: absolute;
    top: 2px !important;
    left: 0;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    box-sizing: border-box;
    border: 1px solid #a8a8ae;
    border-radius: 4px;
    background: #fff;
}
#tab4 .rma__col.rma__col--full.checkbox label::after {
    content: "";
    position: absolute;
    top: 5px !important;
    left: 7px !important;
    display: none;
    width: 6px !important;
    height: 11px !important;
    margin: 0 !important;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    background: transparent;
    transform: rotate(45deg);
}
#tab4 .rma__col.rma__col--full.checkbox input[type="checkbox"]:checked + label::before {
    border-color: #3da348;
    background: #3da348;
    display:none;
}
#tab4 .rma__col.rma__col--full.checkbox input[type="checkbox"]:checked + label::after { display: block; }
#tab4 .rma__col.rma__col--full.checkbox input[type="checkbox"]:focus-visible + label::before {
    outline: 2px solid var(--wex-blue);
    outline-offset: 2px;
}
#tab4 .rma__ack-option { position: relative; margin: 0; min-width: 0; }
#tab4 .rma__ack-option input[type="radio"] { position: absolute; top: 29px; left: 18px; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
#tab4 .rma__ack-card { display: flex; align-items: center; gap: 18px; min-height: 84px; margin: 0; padding: 16px; border: 2px solid var(--wex-color-gray2); border-radius: 6px; background: #fff; color: #222; cursor: pointer; font-weight: 400; }
#tab4 .rma__ack-card::before { content: ""; position: static; display: block; flex: 0 0 24px; width: 24px; height: 24px; box-sizing: border-box; border: 2px solid #c9c9cf; border-radius: 50%; background: #fff; }
#tab4 .rma__ack-card::after { display: none; }
#tab4 .rma__ack-option input:checked + .rma__ack-card { border-color: #3da348; background: #f4f9f5; }
#tab4 .rma__ack-option input:checked + .rma__ack-card::before { border: 7px solid #3da348; }
#tab4 .rma__ack-option input:focus-visible + .rma__ack-card { outline: 2px solid var(--wex-blue); outline-offset: 3px; }
#tab4 .rma__ack-card-copy { display: flex; flex-direction: column; gap: 0px; }
#tab4 .rma__ack-card-copy strong { font-size: 16px; line-height: 24px; font-weight: 500; }
    #tab4 .rma__ack-card-copy > span {
        font-size: 14px;
        line-height: 22px;
        font-family: "Inter";
    }
#tab4 .rma__ack-po { display: none; }
#tab4 .rma__ack-po.is-enabled { display: block; }
#tab4 .control-label { display: block; margin: 0 0 10px; color: #222; font-size: 18px; line-height: 24px; font-weight: 400; }
#tab4 .form-control { height: 44px; padding: 10px 12px; border: 1px solid #c9c9cf; border-radius: 6px; box-shadow: none; font-size: 18px; }
#tab4 .rma__ack-notice { display: flex; align-items: flex-start; gap: 9px; margin: 34px 0 38px; padding-top: 30px; border-top: 2px solid var(--wex-color-gray2); color: var(--wex-black); }
#tab4 .rma__ack-info { flex: 0 0 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: #000; color: #fff; text-align: center; font-size: 14px; font-weight: 700; line-height: 20px; }
#tab4 .rma__ack-notice p { margin: 0; font-size: 15px; line-height: 27px; }
#tab4 .rma__ack-return { margin-top: 16px; color: #111; text-align: left; }
#tab4 .rma__ack-return > h3 { margin: 0 0 16px; font-size: 18px; font-weight: 500; line-height: 24px; font-family:"Jost"; text-align: left; }
#tab4 .rma__ack-return-warning {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    padding: 20px 22px;
    border-radius: 6px;
    text-align: left;
    background-color: var(--wex-warrning-fill-color);
}
#tab4 .rma__ack-return-icon { display: block; flex: 0 0 35px; width: 35px; height: 30px; margin-top: 3px; }
#tab4 .rma__ack-return-warning h4 {
    margin: 0 0 4px;
    color: #222;
    font-size: 18px;
    font-weight: 500;
    font-family: "Jost";
    line-height: 24px;
}
#tab4 .rma__ack-return-warning p { margin: 0; color: #111; font-size: 16px; line-height: 24px; }
#tab4 .rma__ack-return ul {
    margin: 32px 0 0;
    padding-left: 24px;
    font-size: 16px;
    font-family: "Inter";
    line-height: 24px;
}
#tab4 .rma__ack-return li { margin-bottom: 10px; padding-left: 2px; }
#rma .rma__ack-signatures { gap: 16px; margin-bottom: 18px; }
#tab4 .rma__ack-signatures .control-label,
#tab4 .rma__ack-po .control-label {
    margin-bottom: 8px;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}
#tab4 .rma__ack-signatures .form-control,
#tab4 .rma__ack-po .form-control {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background-color: var(--wex-white);
    box-shadow: none;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px !important;
    font-weight: 400;
}
@media (max-width: 1024px) {
    #tab4 .rma__ack-return-warning { gap: 14px; padding: 16px; }
}
#rma .rma__exchange-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; align-items: center; }
#rma .rma__table-wrap { width: 100%; overflow-x: auto; }

.rma__editor-section .panel {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.rma__editor-section .panel-heading {
    position: relative;
    border: 0;
    background: #fff;
}

    .rma__editor-section .panel-heading .panel-title {
        margin: 0 0 6px;
        color: var(--wex-color-111);
        font-size: 34px;
        font-weight: 400;
        line-height: 1.15;
    }
.btn-primary
{
    margin-bottom:32px!important;
    height:33px!important;
}
.rma__subtitle {

}

.rma__editor-section .panel-body-nopadding {  }

.select2-selection {
    display: flex!important;
    align-items: center;
}
#rma .nav-tabs {
    position: relative;
    display: flex;
    height: auto;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    margin: 5px 0 32px;
    padding-top: 5px;
    border: 0;
    background: #fff;
}

#rma .nav-tabs::after {
    display: none;
}

#rma .nav-tabs > li {
    position: relative;
    z-index: 1;
    float: none;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

    #rma .nav-tabs > li > a {
        position: relative;
        z-index: 1;
        display: flex;
        height: 44px;
        align-items: center;
        justify-content: center;
        margin: 0;
        width: 100%;
        padding: 11px 8px;
        border: 1px solid transparent;
        border-bottom-color: var(--wex-color-gray2);
        border-radius: 0;
        background: transparent;
        color: var(--wex-color-gray1);
        font-family: "Jost", Arial, sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.2;
        white-space: nowrap;
        pointer-events:none!important;
    }

#rma .nav-tabs > li.active > a {
    z-index: 2;
    border: 1px solid var(--wex-color-gray2);
    border-bottom-color: #fff;
    border-radius: 7px 7px 0 0;
    background: #fff;
    color: var(--wex-black);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: -1px;
}
#rmaValidationDebug,
.error {
    display: none !important;
}
.form-group
{
    margin-bottom:0px!important;
}

#tab2 label {
    color: var(--wex-black);
    font-size: 16px !important;
    font-weight: 400;
    font-family: "Inter";
    margin-bottom: 8px;
    display: block;
}

.form-control {
    color: var(--wex-black) !important;
    font-size: 16px !important;
}
#tab2 .form-control, #tab2 .select2-selection {
    border-color: var(--wex-color-gray2) !important;
}
.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    color: var(--wex-black) !important;
    font-size: 16px !important;
    font-weight: 400;
    font-family: "Inter";
}
.select2-container--bootstrap .select2-selection--single .select2-selection__placeholder {
    color: var(--wex-color-gray1) !important;
}
.select2-container--bootstrap .select2-results__option[aria-selected="true"] {
    background-color: var(--wex-white) !important;
    color: var(--wex-blue) !important;
}
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: var(--wex-color-gray3) !important;
    color: var(--wex-blue) !important;
}
.select2-container--bootstrap .select2-dropdown {
    box-sizing: border-box;
    border-color: var(--wex-color-gray2) !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
#rma .rma__col > .select2-container--open {
    width: 100% !important;
    left: 0 !important;
}
#rma .rma__col > .select2-container--open > .select2-dropdown {
    width: 100% !important;
}
#rma .select2-container--bootstrap.select2-container--open.select2-container--below .select2-selection {
    border-radius: 6px !important;
    border-bottom-color: var(--wex-blue) !important;
}
#rma .select2-container--bootstrap.select2-container--open.select2-container--above .select2-selection {
    border-radius: 6px !important;
    border-top-color: var(--wex-blue) !important;
}
#rma .select2-container--open .select2-dropdown--below {
    margin-top: 6px;
    border: 1px solid var(--wex-color-gray2) !important;
    border-radius: 6px !important;
}
#rma .select2-container--open .select2-dropdown--above {
    margin-top: 0;
    border: 1px solid var(--wex-color-gray2) !important;
    border-radius: 6px !important;
}
#rma .nav-tabs > li.active {
    z-index: 3;
}

#rma .nav-tabs > li.active > a::before {
    position: absolute;
    z-index: 3;
    bottom: -1px;
    left: -8px;
    width: 8px;
    height: 8px;
    box-sizing: border-box;
    border-right: 1px solid var(--wex-color-d7d8dc, #d7d8dc);
    border-bottom: 1px solid var(--wex-color-d7d8dc, #d7d8dc);
    border-bottom-right-radius: 8px;
    background: transparent;
    box-shadow: 2px 2px 0 #fff;
    content: "";
}

#rma .nav-tabs > li.active > a::after {
    position: absolute;
    z-index: 3;
    right: -8px;
    bottom: -1px;
    width: 8px;
    height: 8px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--wex-color-d7d8dc, #d7d8dc);
    border-left: 1px solid var(--wex-color-d7d8dc, #d7d8dc);
    border-bottom-left-radius: 8px;
    background: transparent;
    box-shadow: -2px 2px 0 #fff;
    content: "";
}

#rma .nav-tabs > li:first-child > a { padding-left: 8px; }
#rma .nav-tabs > li:first-child.active > a { border-left-color: transparent; border-top-left-radius: 0; }
#rma .nav-tabs > li:first-child.active > a::before { display: none; }
#rma .nav-tabs > li:last-child.active > a { border-right-color: transparent; border-top-right-radius: 0; }
#rma .nav-tabs > li:last-child.active > a::after { display: none; }

#rma .nav-tabs > li.completed > a > span:first-child:before {
    display: inline-block;
    width: 12px;
    height: 9px;
    margin-right: 9px;
    background: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.575 6.175L9.475 0.275C9.65833 0.0916667 9.89167 0 10.175 0C10.4583 0 10.6917 0.0916667 10.875 0.275C11.0583 0.458333 11.15 0.691667 11.15 0.975C11.15 1.25833 11.0583 1.49167 10.875 1.675L4.275 8.275C4.075 8.475 3.84167 8.575 3.575 8.575C3.30833 8.575 3.075 8.475 2.875 8.275L0.275 5.675C0.0916667 5.49167 0 5.25833 0 4.975C0 4.69167 0.0916667 4.45833 0.275 4.275C0.458333 4.09167 0.691667 4 0.975 4C1.25833 4 1.49167 4.09167 1.675 4.275L3.575 6.175Z' fill='%23248A3D'/%3E%3C/svg%3E") center / 12px 9px no-repeat;
    content: "";
}

#rma .nav-tabs .rma-product-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 5px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 999px;
    background: var(--wex-color-gray3, #e7e7ea);
    color: var(--wex-color-gray1, #636366);
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    vertical-align: middle;
    padding-bottom: 1px;
}

#rma .nav-tabs .rma-product-count[hidden] {
    display: none;
}

#rma .nav-tabs > li.active .rma-product-count {
    background: #e8f5e9;
    color: var(--wex-color-green, #248a3d);
}

#rma .tab-content { min-height: 545px; padding: 0; }

.rma__adverse-notice {
    margin: 0;
    padding: 48px 48px 48px;
    border-radius: 10px;
    background: #f1f1f4;
    text-align: center;
}

.rma__warning-icon { color: #d82c2c; font-size: 42px; }
.rma__adverse-notice h2 { margin: 9px 0 12px; font-size: 22px; font-weight: 400; fon.rma__adverse-noticet-family:"Jost" }
.rma__adverse-notice p { margin: 0; font-size: 16px; line-height: 1.4; }
.rma__call-link { display: inline-block; margin-top: 12px; color: #b72424!important; font-size: 16px; font-weight: 500; }
.rma__adverse-next {
    display: flex;
    min-width: 150px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin: 36px auto 0;
    padding: 0 28px;
    border-radius: 24px;
    background: var(--wex-regular-btn);
    color: #fff;
    font-size: 14px;
    font-family:"Jost";
    font-weight:500;
    border:none!important;

}
.rma__adverse-next:hover,
.rma__adverse-next:focus { background: var(--wex-regular-btn-hover); color: #fff; }
.rma-call-icon {
    width: 16px;
    height: 18px;
    transform: scaleX(-1);
    margin-bottom: -3px;
    margin-right: 6px;
}
#rma .rma__wizard-row {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding: 0;
}
#rma .rma__wizard-anchor { position: relative; top: 48px; width: 100%; height: 1px; pointer-events: none; }
#rma .rma__wizard-anchor.is-active { margin-bottom: 63px; }
#rma .rma__wizard-row.rma__wizard-row--fixed {
    position: fixed !important;
    z-index: 1080 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    min-height: 64px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px var(--wex-desktop-gutter) !important;
    background: #ffffff6e;
    border-top: 1px solid var(--wex-color-gray3);
    backdrop-filter: blur(10px);
}
body.rma-has-fixed-wizard > .sb-site-container {
    -webkit-transform: none !important;
    transform: none !important;
    z-index: auto !important;
}
body.rma-has-fixed-steril-filter > .sb-site-container {
    -webkit-transform: none !important;
    transform: none !important;
    z-index: auto !important;
}
#rma .rma__contact-save-slot {
    display: none;
    min-height: 40px;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}
#rma .rma__wizard-wrapper {
    flex: 0 0 356px;
    width: calc((100% - 60px) / 4);
    margin-left: auto;
    float: none;
}
#rma .pager.wizard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    height: 40px;
    justify-content: end;
    justify-items: end;
}
    #rma .pager.wizard::before,
    #rma .pager.wizard::after {
        display: none;
        content: none;
    }
    #rma .pager.wizard > li {
        display: block;
        grid-row: 1;
        width: 100%;
        height: 40px;
        margin: 0;
        max-width: 170px;
    }
    #rma .pager.wizard > li.previous { grid-column: 1; }
    #rma .pager.wizard > li.next,
    #rma .pager.wizard > li.submit { grid-column: 2; }
    #rma .pager.wizard > li.submit {
        pointer-events: none;
    }
    #rma .pager.wizard > li.submit,
    #rma .pager.wizard > li.submit #sendrma {
        height: 40px;
        margin: 0;
    }
    #rma .pager.wizard > li.submit #sendrma,
    #rma .pager.wizard > li.submit #send {
        pointer-events: auto;
    }
        #rma .pager.wizard > li > a,
        #rma #send {
            display: inline-flex;
            min-width: 150px;
            height: 40px;
            align-items: center;
            justify-content: center;
            padding: 0 28px;
            font-size: 14px !important;
            font-weight: 500;
            width: auto;
            max-width:100%;
            font-family: "Jost";
            border-radius: 999px !important;
            background: var(--wex-regular-btn);
            color: var(--wex-white);
            font-size: 14px;
        }
.btn .btn-ar .btn-success
{
    border:none!important;
}
#rma .pager.wizard > li > a {
    width: 100%;
    min-width: 0;
    float: none;
}
    #rma .pager.wizard > li.submit #sendrma,
    #rma .pager.wizard > li.submit #send {
        width: 100%;
        min-width: 0;
        float: none;
    }
    #rma .pager.wizard > li > a:hover,
    #rma #send:hover {
        background: var(--wex-regular-btn-hover);
    }
        #rma .pager.wizard > li.previous > a {
            background: var(--wex-white);
            color: var(--wex-blue);
        }

        #rma .pager.wizard > li.previous > a:hover {
            color: var(--wex-blue);
            border-color: var(--wex-blue);
        }
.pager li > a, .pager li > span {
    border: 1px solid var(--wex-color-gray2);
}
#rma .pager.wizard > li.disabled > a {
    border-color: #e1e2e7;
    background: #e1e2e7;
    color: #fff;
}
#rma .pager.wizard > li.next.disabled > a {
    cursor: not-allowed;
    pointer-events: none;
}
#rma .pager.wizard > li.next > a,
#rma .pager.wizard > li.next > a:hover,
#rma .pager.wizard > li.next > a:focus,
#rma .pager.wizard > li.next > a:active {
    border: 0 !important;
    outline: 0;
}
.table-hover > tbody > tr:hover,
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--wex-white) !important;
}
#rma .pager.wizard > li:first-child.disabled {
    display: none;
}

#basicWizard.rma__wizard--first-step .pager.wizard {
    display: none;
}

/* Customer information */
.rma__tab2-container { padding: 0 !important; }
#tab2 .rma__row,
#tab2 .rma__grid { width: 100%; }
#tab2 .rma__grid { display: grid; column-gap: 16px; margin-bottom: 18px; }
#tab2 .rma__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#tab2 .rma__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#tab2 .rma__grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#tab2 .rma__col { min-width: 0; padding: 0; }
#tab2 .rma__col--full { width: 100%; }
#tab2 .rma__customer-select-row { margin-bottom: 48px; }
#tab2 .form-control,
#tab2 .select2-selection {
    height: 40px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    box-shadow: none;
    color: var(--wex-black);
    font-family: "Inter"
}
#rma .form-control:focus,
#rma input:focus:not([type="checkbox"]):not([type="radio"]):not(.rma__select2-inline-search),
#rma textarea:focus,
#rma select:focus {
    border: 1px solid var(--wex-blue) !important;
    box-shadow: inset 0 0 0 1px var(--wex-blue) !important;
}
#rma .select2-container--bootstrap.select2-container--focus .select2-selection,
#rma .select2-container--bootstrap.select2-container--open .select2-selection {
    border: 1px solid var(--wex-blue) !important;
    box-shadow: inset 0 0 0 1px var(--wex-blue) !important;
    -webkit-box-shadow: inset 0 0 0 1px var(--wex-blue) !important;
}
#rma .form-v2.has-error .form-control:focus,
#rma .form-group.has-error .form-control:focus,
#rma .form-control.error:focus,
#rma .form-v2.has-error input.form-control:focus,
#rma .form-group.has-error input.form-control:focus,
#rma .rmaitem-invalid input.form-control:focus,
#rma input.form-control.error:focus,
#rma .has-error .select2-container--bootstrap.select2-container--focus .select2-selection,
#rma .has-error .select2-container--bootstrap.select2-container--open .select2-selection {
    border: 1px solid var(--wex-red) !important;
    box-shadow: inset 0 0 0 1px var(--wex-red) !important;
    -webkit-box-shadow: inset 0 0 0 1px var(--wex-red) !important;
}
#tab2 .select2-selection--single .select2-selection__arrow {
    width: 20px;
}
#searchModal .rma__select2-inline-selection,
#rma .rma__select2-inline-selection {
    position: relative;
}
#searchModal .rma__select2-inline-search,
#rma .rma__select2-inline-search {
    position: absolute;
    z-index: 2;
    top: 1px;
    right: 30px;
    bottom: 1px;
    left: 12px;
    display: none;
    width: calc(100% - 42px);
    padding: 0;
    border: 0 !important;
    outline: 0;
    background: #ffffff00!important;
    box-shadow: none !important;
    color: var(--wex-black);
    font-family: "Inter";
    font-size: 16px;
}
#searchModal .rma__select2-inline-search:focus,
#rma .rma__select2-inline-search:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
#searchModal .rma__select2-inline-search::placeholder,
#rma .rma__select2-inline-search::placeholder {
    color: var(--wex-color-gray1) !important;
    opacity: 1;
}
#searchModal .rma__select2-inline-selection--open .select2-selection__rendered,
#rma .rma__select2-inline-selection--open .select2-selection__rendered {
    visibility: hidden;
}
#searchModal .rma__select2-inline-selection--open .rma__select2-inline-search,
#rma .rma__select2-inline-selection--open .rma__select2-inline-search {
    display: block;
}
#searchModal .rma__select2-inline-dropdown .select2-search--dropdown,
#rma .rma__select2-inline-dropdown .select2-search--dropdown {
    display: none;
}
#customerload {
    display: none;
}
#tab2 .select2-selection--single .select2-selection__arrow b {
    display: none;
}
.select2-container--bootstrap.select2-container--disabled .select2-selection, .select2-container--bootstrap.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    background-color: var(--wex-color-gray3)!important;
}
#tab2 .select2-selection--single .select2-selection__arrow::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--wex-color-8f939b, #8f939b);
    border-bottom: 2px solid var(--wex-color-8f939b, #8f939b);
    content: "";
    transform: translate(-50%, -70%) rotate(45deg);
}

#tab2 .select2-container--open:not(.select2-container--disabled) .select2-selection--single .select2-selection__arrow::before {
    transform: translate(-50%, -70%) rotate(45deg);
}

#tab2 .select2-container--disabled .select2-selection--single .select2-selection__arrow b {
    display: none;
}

#tab2 .select2-container--disabled .select2-selection--single .select2-selection__arrow::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    border: 0;
    background-image: none;
    color: #8e9199;
    content: "lock";
    font-family: "Material Symbols Rounded";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    transform: translate(-50%, -50%);
}
#tab2 .select2-container.rma__select2-loading .select2-selection__arrow::before {
    width: 16px;
    height: 16px;
    border: 2px solid var(--wex-color-gray2);
    border-top-color: var(--wex-blue);
    border-radius: 50%;
    background: transparent;
    content: "";
    animation: rma-select2-loader .7s linear infinite;
    transform: translate(-50%, -50%);
}
#tab2 .select2-container.rma__select2-loading .select2-selection__arrow b {
    display: none;
}
@keyframes rma-select2-loader {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
#tab2 #fillInfo {
    padding-left:18px;
    padding-right:18px;
    height: 40px;
    border: 0;
    border-radius: 24px;
    background: var(--wex-regular-btn);
    font-size: 14px !important;
    font-weight: 500;
    font-family: "Jost";
    color:var(--wex-white);
}
#tab2 #fillInfo:hover {
    background: var(--wex-regular-btn-hover);
}
#tab2 .rma__contact-header {
    display: flex;
    align-items: center;
    margin: 0 0 18px;
    column-gap:24px;
    height:33px;
}
#tab2 .rma__contact-header::before {
    content: "Contact details";
    color: var(--wex-black);
    font-family: "Jost";
    font-size: 24px;
    font-weight: 400;
    line-height:1.2;
}
#tab2 .rma__contact-header #fillInfo {
    margin: 0 !important;
}
#tab2 .rma__contact-header-actions {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 20px;
}
#tab2 #customerinfo {
    position: relative;
}
#tab2 #customerinfo > .rma__grid,
#tab2 #customerinfo > .rma__row {
    transition: opacity .15s ease;
}
#tab2 .rma__customer-info-status {
    position: absolute;
    z-index: 5;
    top: 46px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--wex-color-gray1);
    font-size: 14px;
    pointer-events: none;
}
#tab2 #customerinfo.rma__customer-info--loading .rma__customer-info-status,
#tab2 #customerinfo.rma__customer-info--empty .rma__customer-info-status,
#tab2 #customerinfo.rma__customer-info--error .rma__customer-info-status {
    display: flex;
}
#tab2 #customerinfo.rma__customer-info--empty .rma__customer-info-status,
#tab2 #customerinfo.rma__customer-info--error .rma__customer-info-status {
    right: auto;
    bottom: auto;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 40px);
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--wex-white);
    transform: translateX(-50%);
    text-align: center;
}
#tab2 #customerinfo.rma__customer-info--loading .rma__customer-info-status::before {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid var(--wex-color-gray2);
    border-top-color: var(--wex-blue);
    border-radius: 50%;
    content: "";
    animation: rma-contact-loader .7s linear infinite;
}
#tab2 #customerinfo.rma__customer-info--loading > .rma__grid,
#tab2 #customerinfo.rma__customer-info--loading > .rma__row {
    pointer-events: none;
}
#tab2 #customerinfo.rma__customer-info--loading-long > .rma__grid,
#tab2 #customerinfo.rma__customer-info--loading-long > .rma__row {
    opacity: .7;
}
@keyframes rma-contact-loader {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    #tab2 #customerinfo > .rma__grid,
    #tab2 #customerinfo > .rma__row {
        transition: none;
    }
    #tab2 #customerinfo.rma__customer-info--loading .rma__customer-info-status::before {
        animation: none;
    }
}

#rma .rma__saveaddress {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}
    #rma .rma__saveaddress label {
        margin: 0;
        color: var(--wex-black);
        font-size: 16px;
        font-weight: 400;
        line-height: 18px;
        cursor: pointer;
        font-family: "Inter";
    }
#rma #contact_save #saveaddress {
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px;
    margin: 0 !important;
    clip: auto !important;
    border: 1.5px solid var(--wex-color-gray2) !important;
    border-radius: 2px !important;
    box-sizing: border-box;
    opacity: 1 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background: url('../svg/checkbox.svg') center / 0 0 no-repeat var(--wex-white) !important;
    transition: none !important;
    cursor: pointer;
}
#rma #contact_save #saveaddress:checked {
    border-color: var(--wex-transparent) !important;
    background: url('../svg/checkbox.svg') center / 18px 18px no-repeat var(--wex-transparent) !important;
}
#rma #contact_save label::before,
#rma #contact_save label::after {
    display: none !important;
    content: none !important;
}

#tab2 .rma__search-switch-row { margin-bottom: 32px; }

#tab2 #switchSearch {
    position: relative;
    display: flex;
    width: 100%;
    height: 42px;
    align-items: center;
    overflow: hidden;
    border-radius: 22px;
    background: #e3e4e9;
}

#tab2 #switchSearch .spanText {
    position: relative;
    z-index: 2;
    display: flex;
    width: 50%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}

#tab2 #switchSearch .categorySwitch {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    cursor: pointer;
}

#tab2 #switchSearch .changeSearch {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#tab2 #switchSearch .switchSlider {
    position: absolute;
    inset: 2px;
    background: transparent;
    cursor: pointer;
}
.select2-results__option {
    font-family: "Inter"!important;
    font-size:16px!important;
}
#tab2 #switchSearch .switchSlider::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    height: auto;
    /*    border: 1px solid #d9dbe1;*/
    border-radius: 20px;
    background: #fff;
    transition: none !important;
    animation: none !important;
    content: "";
}

#tab2 #switchSearch .changeSearch:checked + .switchSlider::before {
    transform: translateX(100%);
}

#tab2 #switchSearch .changeSearch:focus-visible + .switchSlider::before {
    box-shadow: 0 0 0 2px #1f4da5;
}

/* Quick add */
#quicktabRMA { position: relative; padding-top: 0; }
#quicktabRMA:before { display: none; }
.rma__quicktab-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 0 0 16px;
    padding: 24px 0 12px;
    background: #fff;
}
.rma__quicktab-header h2 { margin: 0; color: var(--wex-black); font-size: 24px; font-weight: 400; line-height: 1.2; font-family:"Jost"; }
.rma__report-wrapper { position: static; display: flex; margin: 0; }
.rma__report-wrapper > .d-flex { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.report-button-div { width: auto; margin: 0; }
#addFromOpenTrial,
#addFromSamples {
    display: inline-flex;
    height: 33px;
    align-items: center;
    color: var(--wex-link);
    font-weight: 400;
    font-size: 14px;
    font-family: "Inter";
    text-decoration: dotted underline var(--wex-link);
}
    #addFromOpenTrial:hover,
    #addFromSamples:hover {
        color: var(--wex-link-hover);
        text-decoration: dotted underline var(--wex-link-hover);
    }
#addFromOpenTrial:after,
#addFromSamples:after { content: attr(data-label); }
.img-report-w { display: none; }
.rma__quicktab-submit-message {
    padding: 0;
    color: var(--wex-color-gray1);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}
.rma__quickaddload-wrapper { margin-top: 0; }
.rma__quickaddload-wrapper .table { margin-bottom: 0; }
.rma__quickaddload-wrapper table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.rma__quickaddload-wrapper .table-striped { table-layout: fixed; }
.rma__quickaddload-wrapper .table-striped th:nth-child(2),
.rma__quickaddload-wrapper .table-striped th:nth-child(3),
.rma__quickaddload-wrapper .table-striped th:nth-child(4),
.rma__quickaddload-wrapper .table-striped td:nth-child(2),
.rma__quickaddload-wrapper .table-striped td:nth-child(3),
.rma__quickaddload-wrapper .table-striped td:nth-child(4) {
    width: calc((100% - 172px) / 3);
    box-sizing: border-box;
}
.rma__quickaddload-wrapper .table-striped th:nth-child(5),
.rma__quickaddload-wrapper .table-striped td:nth-child(5) {
    width: 132px;
    min-width: 132px;
    max-width: 132px;
    box-sizing: border-box;
}
.rma__quickaddload-wrapper .table-striped th:nth-child(6),
.rma__quickaddload-wrapper .table-striped td:nth-child(6) {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    box-sizing: border-box;
}
    .rma__quickaddload-wrapper thead th {
        border: 0 !important;
        color: var(--wex-black);
        font-size: 16px;
        font-weight: 400;
        font-family: "Inter";
    }
.rma__quickaddload-wrapper tbody td { border: 0 !important; background: transparent !important; vertical-align: top; }
    .rma__quickaddload-wrapper .form-control {
        height: 40px;
        border: 1px solid var(--wex-color-gray2);
        border-radius: 6px;
        box-shadow: none;
        font-family: "Inter";
        font-size:16px;
        font-weight:400;
    }
.rma__quickaddload-wrapper .rmadi {
    padding-right: 38px;
    background-color: var(--wex-white);
    background-image: url('../svg/calendar-rma.svg');
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 15px 17px;
}
.rma__quickaddload-wrapper .form-group { margin-bottom: 0 !important; }
.rma__quickaddload-wrapper .form-group .rmaitem {
    width: 100%;
    box-sizing: border-box;
    padding-right: 38px;
}
.rma__quickaddload-wrapper .help-block {
    display: block;
    height: 18px;
    margin: 3px 0 0 !important;
    overflow: hidden;
    font-size: 12px;
    line-height: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rma__quickaddload-wrapper .form-group.rmaitem-valid { position: relative; }
.rma__quickaddload-wrapper .form-group.rmaitem-valid::after {
    position: absolute;
    top: 20px;
    right: 12px;
    width: 12px;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.575 6.175L9.475 0.275C9.65833 0.0916667 9.89167 0 10.175 0C10.4583 0 10.6917 0.0916667 10.875 0.275C11.0583 0.458333 11.15 0.691667 11.15 0.975C11.15 1.25833 11.0583 1.49167 10.875 1.675L4.275 8.275C4.075 8.475 3.84167 8.575 3.575 8.575C3.30833 8.575 3.075 8.475 2.875 8.275L0.275 5.675C0.0916667 5.49167 0 5.25833 0 4.975C0 4.69167 0.0916667 4.45833 0.275 4.275C0.458333 4.09167 0.691667 4 0.975 4C1.25833 4 1.49167 4.09167 1.675 4.275L3.575 6.175Z' fill='%23248A3D'/%3E%3C/svg%3E") center / 12px 9px no-repeat;
    content: "";
    transform: translateY(-50%);
    pointer-events: none;
}
.rma__quickaddload-wrapper .form-group.rmaitem-invalid { position: relative; }
.rma__quickaddload-wrapper .form-group.rmaitem-invalid::after {
    display: none;
    position: absolute;
    top: 20px;
    right: 10px;
    color: var(--wex-red);
    content: "close";
    font-family: "Material Symbols Rounded";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    transform: translateY(-50%);
    pointer-events: none;
}
#quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > td,
#quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > th,
#quicktabRMA .rma__quickaddload-wrapper .table-striped > thead > tr > td,
#quicktabRMA .rma__quickaddload-wrapper .table-striped > thead > tr > th {
    padding: 0 8px !important;
    padding-bottom:6px!important;
    line-height: 1.4!important;
    vertical-align: top!important;
}
.quickadd__col-close.quickadd__col-close.quickadd__col-close {
    padding-right: 0px !important;
}
#quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > :first-child,
#quicktabRMA .rma__quickaddload-wrapper .table-striped > thead > tr > :first-child {
    padding-left: 0 !important;
}
#quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > :nth-child(2),
#quicktabRMA .rma__quickaddload-wrapper .table-striped > thead > tr > :nth-child(2) { padding-left: 0px !important; }
#quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > :last-child,
#quicktabRMA .rma__quickaddload-wrapper .table-striped > thead > tr > :last-child { padding-right: 0 !important; }
#quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > .quickadd__col-close,
#quicktabRMA .rma__quickaddload-wrapper .table-striped > thead > tr > .quickadd__col-close {
    padding-right: 0 !important;
    vertical-align: middle !important;
}
@media (min-width: 769px) and (hover: hover) {
    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > td {
        box-sizing: border-box;
        height: 56px;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > td:nth-child(2) {
        padding-left: 12px !important;
    }

    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > .quickadd__col-close {
        padding-right: 12px !important;
    }

    #quicktabRMA .quickadd__col-close .removeQuickLine.close-button {
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0;
    }

}
.quickadd__col-pos
{
    display:none!important;
}
.quickadd__addmore-table #clickable {
    height: 40px;
    font-size: 14px !important;
    font-weight: 500;
    font-family: "Jost";
}
.quickadd__addmore-table-qasubmit .qasubmit {
    height: 40px !important;
    font-size: 14px !important;
    font-weight: 500;
    font-family: "Jost";
    padding: 0 18px;
    color:var(--wex-white);
}
.rma__quicktab-submit-message
{
    display:block;
}
.rma-qty-stepper {
    display: flex;
    width: 116px;
    height: 40px;
    box-sizing: border-box;
    align-items: center;
    padding: 3px;
    border: 1px solid var(--wex-color-d4d5da);
    border-radius: 999px;
    background: var(--wex-white);
}
.rma-qty-stepper .rma-qty-step { flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; background: var(--wex-color-gray3); color: var(--wex-color-111); text-align: center; cursor: pointer; transition: background .1s ease-in-out; }
.rma-qty-stepper .wex-quantity-change-left { border-radius: 30px 4px 4px 30px; }
.rma-qty-stepper .wex-quantity-change-right { border-radius: 4px 30px 30px 4px; }
.rma-qty-stepper .rma-qty-step .material-symbols-rounded { display: block; font-size: 21px; line-height: 32px; font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; }
.rma-qty-stepper .rma-qty-step:not(:disabled):hover { background: var(--wex-color-e5e5ea); }
.rma-qty-stepper .rma-qty-step:disabled { color: var(--wex-color-gray1); cursor: default; }
.rma-qty-stepper.is-disabled { background: var(--wex-color-gray3); opacity: 1; }
.rma__quickaddload-wrapper .rma-qty-stepper .rmaqty { flex: 0 0 44px; width: 44px; height: 32px; padding: 0; border: 0; border-radius: 0; background: var(--wex-white); color: var(--wex-color-111) !important; font-size: 16px !important; font-weight: 400; line-height: 32px; text-align: center; -moz-appearance: textfield; }
.rma__quickaddload-wrapper .rma-qty-stepper.is-disabled .rmaqty { background: var(--wex-color-gray3); color: var(--wex-color-gray1) !important; }
#rma #quicktabRMA .rma-qty-stepper .rmaqty:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.rma-qty-stepper .rmaqty::-webkit-inner-spin-button,
.rma-qty-stepper .rmaqty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }

/* Modern RMA datepicker */
.datepicker.dropdown-menu {
    width: 292px;
    padding: 12px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 12px;
    background: var(--wex-white);
    box-shadow: 0 8px 20px rgba(17, 17, 17, .11);
    color: var(--wex-color-111);
    font-family: "Inter", Arial, sans-serif;
}
.datepicker.dropdown-menu table { width: 100%; border-collapse: separate; border-spacing: 2px; }
.datepicker.dropdown-menu table tr th,
.datepicker.dropdown-menu table tr td { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10%; font-size: 14px; line-height: 36px; }
.datepicker.dropdown-menu thead th.prev,
.datepicker.dropdown-menu thead th.datepicker-switch,
.datepicker.dropdown-menu thead th.next { height: 40px; padding: 0; font-family: "Jost", Arial, sans-serif; font-weight: 500; line-height: 40px !important; text-align: center; vertical-align: middle !important; }
.datepicker.dropdown-menu thead th.datepicker-switch { width: auto; border-radius: 0; color: var(--wex-color-111); font-size: 16px; }
.datepicker.dropdown-menu thead th.prev,
.datepicker.dropdown-menu thead th.next { border-radius: 2%; color: var(--wex-color-gray2); font-size: 0; font-weight: 400; transition: color .15s ease, background-color .15s ease; }
.datepicker.dropdown-menu thead th.prev .material-symbols-rounded,
.datepicker.dropdown-menu thead th.next .material-symbols-rounded {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 24px;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    vertical-align: middle;
}
.datepicker.dropdown-menu thead th.prev:hover,
.datepicker.dropdown-menu thead th.next:hover,
.datepicker.dropdown-menu .datepicker-switch:hover { background: var(--wex-color-gray3); }
.datepicker.dropdown-menu thead th.prev:hover,
.datepicker.dropdown-menu thead th.next:hover { color: var(--wex-black); }
.datepicker.dropdown-menu .datepicker-switch:hover { border-radius: 0; }
.datepicker.dropdown-menu thead th.prev:hover,
.datepicker.dropdown-menu thead th.next:hover { border-radius: 2%; }
.datepicker.dropdown-menu .datepicker-days thead tr:last-child th { height: 30px; color: var(--wex-color-gray1); font-size: 12px; font-weight: 500; line-height: 30px; text-transform: uppercase; }
.datepicker.dropdown-menu table tr td.day { color: var(--wex-color-111); transition: color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.datepicker.dropdown-menu table tr td.old,
.datepicker.dropdown-menu table tr td.new { color: var(--wex-color-gray2); }
.datepicker.dropdown-menu table tr td.day:hover,
.datepicker.dropdown-menu table tr td.focused { background: var(--wex-color-gray3); color: var(--wex-color-111); }
.datepicker.dropdown-menu table tr td.today,
.datepicker.dropdown-menu table tr td.today:hover { background: var(--wex-white) !important; color: var(--wex-blue) !important; box-shadow: inset 0 0 0 1px var(--wex-blue); }
.datepicker.dropdown-menu table tr td.active,
.datepicker.dropdown-menu table tr td.active:hover,
.datepicker.dropdown-menu table tr td.active:focus,
.datepicker.dropdown-menu table tr td.active.highlighted,
.datepicker.dropdown-menu table tr td.active.highlighted:hover { background: var(--wex-blue) !important; background-image: none !important; color: var(--wex-white) !important; text-shadow: none; box-shadow: none; }
.datepicker.dropdown-menu table tr td.disabled,
.datepicker.dropdown-menu table tr td.disabled:hover { background: transparent; color: var(--wex-color-gray2); opacity: .6; }
.datepicker-dropdown::before,
.datepicker-dropdown::after { display: none !important; content: none !important; }
.datepicker.dropdown-menu td.day:focus-visible,
.datepicker.dropdown-menu th:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: -2px; }

.datepicker.dropdown-menu,
.datepicker.dropdown-menu table,
.datepicker.dropdown-menu th,
.datepicker.dropdown-menu td,
.datepicker.dropdown-menu span:not(.material-symbols-rounded) {
    font-family: "Inter", Arial, sans-serif !important;
    font-weight: 400 !important;
}

.datepicker.dropdown-menu thead th.prev:hover,
.datepicker.dropdown-menu thead th.next:hover,
.datepicker.dropdown-menu .datepicker-switch:hover,
.datepicker.dropdown-menu table tr td.day:hover,
.datepicker.dropdown-menu table tr td span.month:hover,
.datepicker.dropdown-menu table tr td span.year:hover,
.datepicker.dropdown-menu table tr td span.decade:hover,
.datepicker.dropdown-menu table tr td span.century:hover {
    border-radius: 6px !important;
}

#netOpenItems .repFromDate,
#netOpenItems .repToDate,
#netSampleItems .repFromDate,
#netSampleItems .repToDate {
    font-family: "Inter", Arial, sans-serif;
    font-weight: 400;
}

.quickadd__col-pos { display: none; }
.quickadd__col-close .close-button,
#tab3 .rma-products-table .panel-close.close-button {
    display: flex;
    width: auto;
    height: 44px;
    border: 0;
    color: var(--wex-color-gray2);
    padding-bottom: 11px;
    padding-left: 6px;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease !important;
}
#tab3 .rma-products-table .panel-close.close-button {
    color: var(--wex-color-gray1);
}
#tab3 .rma-products-table .panel-close.close-button {
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 0px;
}
.modal-footer
{
    border:none!important;
}
.quickadd__col-close .close-button:hover {
    color: var(--wex-color-gray1);
}
.quickadd__col-close .removeQuickLine.is-hidden {
    display: none !important;
}
    #tab3 .rma-products-table .panel-close.close-button:hover {
        color: var(--wex-color-gray5);
    }
    .quickadd__col-close .close-button .material-symbols-rounded,
    #tab3 .rma-products-table .panel-close.close-button .material-symbols-rounded {
        font-size: 24px;
        line-height: 1;
        font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
    }
.quickadd__addmore-table { width: 100% !important; margin: 32px 0 0 auto !important; border-spacing: 0 !important; }
.quickadd__addmore-table td { vertical-align: middle !important; }
    .quickadd__addmore-table #clickable {
        padding: 8px 16px;
        border-radius: 999px;
        background: #E8F5E9 !important;
        color: var(--wex-color-green);
        transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease
    }
        .quickadd__addmore-table #clickable:hover {
            background: var(--wex-color-green-hover)!important;
        }
#rma .rma__wizard-row .quickadd__addmore-table-qasubmit { display: none; flex-direction: row; align-items: center; gap: 24px; }
#rma .rma__wizard-row > .rma__quicktab-submit-message { display: none; flex: 0 1 auto; }
.quickadd__addmore-table-qasubmit .qasubmit { order: 1; flex: 0 0 auto; }
.quickadd__addmore-table-qasubmit .qasubmit {
    border: 0;
    border-radius: 20px !important;
    background: #248a3d;
}
    .quickadd__addmore-table-qasubmit .qasubmit:hover {
        background: #279b43!important;
    }
.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
    font-family: "Inter"!important;
    color:var(--wex-black)!important;
}
@media (max-width: 1024px) {
    .rma__editor-section { padding: 24px 0 100px; }
    .rma__editor-section .rma__page-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .rma__quicktab-header {
        padding: 0px 0 0 0;
        margin: 0 0 0 0;
    }
    .rma__editor-section .panel-body-nopadding { padding: 0 18px 20px !important; }
    #rma .nav-tabs { overflow-x: auto; justify-content: flex-start; }
    #rma .nav-tabs > li { flex: 0 0 145px; }
    .rma__quicktab-header { align-items: flex-start; }
    .rma__report-wrapper { width: 100%; margin: 0; }
    .rma__report-wrapper > .d-flex { justify-content: flex-start; }
    #quicktabRMA { padding-top: 0; }
    .rma__quickaddload-wrapper { margin-top: 0; overflow-x: auto; }
    #rma .pager.wizard > li > a, #rma #send { min-width: 0; }
    #rma .rma__wizard-row { gap: 16px; }
    #rma .rma__wizard-row.rma__wizard-row--fixed { padding-right: 20px !important; padding-left: 20px !important; }
    #rma .rma__contact-save-slot { flex-shrink: 1; }
    #rma .rma__wizard-wrapper { width: auto; flex: 1 1 0; }
    #rma .pager.wizard { gap: 16px; }
    #rma .pager.wizard > li.previous { grid-column: 1; }
    #rma .pager.wizard > li.next,
    #rma .pager.wizard > li.submit { grid-column: 2; }
    #tab2 .rma__grid--two,
    #tab2 .rma__grid--three,
    #tab2 .rma__grid--four { grid-template-columns: 1fr; }
    #rma .rma__grid--two,
    #rma .rma__grid--three,
    #rma .rma__grid--four,
    #rma .rma__ack-grid,
    #rma .rma__exchange-grid { grid-template-columns: 1fr; }
}

/* Products tab */
#tab3 { padding-top: 16px; font-family: "Inter", Arial, sans-serif; }
#tab3 .rma-products-title { margin: 0 0 0px; color: var(--wex-black); font-family: "Jost", Arial, sans-serif; font-size: 24px; font-weight: 400; line-height: 1.2; }
#tab3 .rmaproducts__top-block { display: block; margin: 0 0 26px; }
#tab3 .rmaproducts__top-block-container { width: 100%; }
#tab3 .rmaproducts__top-block-container .form-label { margin: 0 0 9px; color: var(--wex-black); font-size: 16px; font-weight: 400; }
#tab3 .rma-notes { width: 100%; min-width: 0; height: 64px; min-height: 64px; padding: 10px 12px; resize: vertical; border: 1px solid var(--wex-color-gray2); border-radius: 6px; box-shadow: none; color: var(--wex-black); font-size: 16px; font-weight: 400; line-height: 22px; }
#tab3 .rma-notes:focus { border-color: var(--wex-blue); outline: 0; box-shadow: 0 0 0 1px var(--wex-blue); }
#tab3 .d-flex-reason-select { width: 500px; max-width: 100%; margin-top: 16px; gap: 16px; }
#tab3 .d-flex-reason-select > div { width: 100%; min-width: 0; }
#tab3 .d-flex-reason-select .rma__row { margin-bottom: 0; }
#tab3 .d-flex-reason-select .label-rma { display: block; float: none; margin: 0 0 8px; color: var(--wex-black); font-size: 16px; font-weight: 400; line-height: 22px; }
#tab3 .d-flex-reason-select .rmaproducts__select { width: 100%; float: none; margin: 0; text-align: left; }
#tab3 .d-flex-reason-select .rma__col { min-width: 0; }
#tab3 .rma-reason-field .select2-selection--single,
#tab3 .d-flex-reason-select .select2-selection--single {
    position: relative;
    box-sizing: border-box;
    height: 42px;
    padding: 9px 36px 9px 12px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background: var(--wex-white);
    box-shadow: none;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    transition: none;
}
#tab3 .rma-reason-field .select2-selection--single .select2-selection__rendered,
#tab3 .d-flex-reason-select .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 22px; }
#tab3 .rma-reason-field .select2-selection--single .select2-selection__arrow,
#tab3 .d-flex-reason-select .select2-selection--single .select2-selection__arrow { top: 0; right: 10px; bottom: 0; height: auto; }
#tab3 .rma-reason-field .select2-dropdown,
#tab3 .d-flex-reason-select .select2-dropdown { overflow: hidden; background: var(--wex-white); font-family: "Inter", Arial, sans-serif; font-size: 16px; font-weight: 400; }
    #tab3 .rma-reason-field .select2-results__option,
    #tab3 .d-flex-reason-select .select2-results__option {
        padding: 9px 12px;
        line-height: 22px;
        text-align: start;
    }
#tab3 .rma-reason-field .select2-container--disabled .select2-selection--single,
#tab3 .d-flex-reason-select .select2-container--disabled .select2-selection--single { background: var(--wex-color-gray3); cursor: not-allowed; }
#tab3 .d-flex-reason-select .select2-container--disabled .select2-selection__rendered { color: var(--wex-color-gray1) !important; }
#tab3 .d-flex-reason-select .select2-container--disabled .select2-selection--single .select2-selection__arrow::before {
    width: auto;
    height: auto;
    border: 0;
    color: var(--wex-color-gray1);
    content: "lock";
    font-family: "Material Symbols Rounded";
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transform: translate(-50%, -50%);
}
#tab3 .rma-products-table-wrap { width: 100%; overflow: visible; }
#tab3 .rma-products-table { width: 100%; min-width: 1080px; margin: 0; border-collapse: collapse; table-layout: fixed; }
    #tab3 .rma-products-table th {
        padding: 12px 16px 12px 0px;
        border: 0;
        border-bottom: 0;
        color: var(--wex-black);
        font-size: 16px;
        font-weight: 500;
        font-family: 'Jost';
        line-height: 20px;
        text-align: left;
        white-space: nowrap;
    }
#tab3 .rma-products-table th:first-child { width: 0; padding: 0; }
#tab3 .rma-products-table th:nth-child(2) { width: 14%; }
#tab3 .rma-products-table th:nth-child(3) { width: 23%; }
#tab3 .rma-products-table th:nth-child(4) { width: 14%; }
#tab3 .rma-products-table th:nth-child(5) { width: 13%; }
#tab3 .rma-products-table th:nth-child(6) { width: 132px; padding-right: 16px; }
#tab3 .rma-products-table th:nth-child(7) { width: 21%; }
#tab3 .rma-products-table th:last-child { width: 46px; }
#tab3 .rma-products-table tbody td { padding: 12px 16px 4px 0px; border: 0; border-bottom: 1px solid var(--wex-color-d4d5da); background: var(--wex-color-gray3) !important; vertical-align: top; }
#tab3 .rma-products-table tbody td:first-child { width: 0; padding: 0; }
#tab3 .rma-products-table tbody td:nth-child(6) { width: 132px; padding-right: 16px; }
#tab3 .rma-products-table thead[hidden] { display: none !important; }
#tab3 .rma-products-table thead,
#tab3 .rma-products-table tbody { display: block; width: 100%; }
#tab3 .rma-products-table thead > tr,
#tab3 .rma-products-table tbody > tr {
    display: grid;
    box-sizing: border-box;
    width: 100%;
    grid-template-columns: 0 minmax(420px, 1fr) 0 190px 190px 132px 21px;

}
#tab3 .rma-products-table thead > tr > th,
#tab3 .rma-products-table tbody > tr > td { box-sizing: border-box; width: auto !important; min-width: 0; }
#tab3 .rma-products-table thead > tr > th:nth-child(1),
#tab3 .rma-products-table tbody > tr > td:nth-child(1) { grid-column: 1; }
#tab3 .rma-products-table thead > tr > th:nth-child(2),
#tab3 .rma-products-table tbody > tr > td:nth-child(2) { grid-column: 2; }
#tab3 .rma-products-table thead > tr > th:nth-child(3),
#tab3 .rma-products-table tbody > tr > td:nth-child(3) { display: none; }
#tab3 .rma-products-table thead > tr > th:nth-child(4),
#tab3 .rma-products-table tbody > tr > td:nth-child(4) { grid-column: 4; }
#tab3 .rma-products-table thead > tr > th:nth-child(5),
#tab3 .rma-products-table tbody > tr > td:nth-child(5) { grid-column: 5; }
#tab3 .rma-products-table thead > tr > th:nth-child(6),
#tab3 .rma-products-table tbody > tr > td:nth-child(6) { grid-column: 6; }
#tab3 .rma-products-table thead > tr > th:nth-child(7) { display: none; }
#tab3 .rma-products-table tbody > tr > td:nth-child(7) {
    grid-column: 2 / -1;
    grid-row: 2;
    width: auto;
    padding: 12px 0 0;
}
#tab3 .rma-products-table thead > tr > th:nth-child(8),
#tab3 .rma-products-table tbody > tr > td:nth-child(8) { grid-column: 7; grid-row: 1; padding-right: 0; }
    #tab3 .rma-products-table tbody > tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--wex-color-gray3);
        border-radius: 10px;
    }
#tab3 .rma-products-table thead > tr { padding: 0 17px; }
#tab3 .rma-products-table tbody > tr { background: var(--wex-color-gray3) !important; }
#tab3 .rma-products-table tbody > tr > td { padding-top: 0; padding-bottom: 0; border-bottom: 0; }
#tab3 .rma-products-table .form-v2 { margin: 0; }
#tab3 .rma-products-table .form-control,
#tab3 .rma-products-table .input-group-btn .btn { height: 42px; border: 1px solid var(--wex-color-gray2); border-radius: 6px; box-shadow: none; color: var(--wex-black); font-size: 16px; font-weight: 400; }
#tab3 .rma-products-table .form-control:focus { border-color: var(--wex-blue); box-shadow: 0 0 0 1px var(--wex-blue); }
#tab3 select.globalreason,
#tab3 select.closing-reason {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding-right: 36px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background-color: var(--wex-white);
    background-image: none;
    box-shadow: none;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    appearance: none;
    -webkit-appearance: none;
}
#tab3 .d-flex-reason-select .rma-top-dropdown { position: relative; display: block; width: 100%; }
#tab3 .d-flex-reason-select .globalreason:has(option[value="0"]:checked) + .select2-container .select2-selection__rendered,
#tab3 .d-flex-reason-select .select2-selection__placeholder {
    color: var(--wex-color-gray1) !important;
}
#tab3 .d-flex-reason-select .rma-top-dropdown::after {
    position: absolute;
    z-index: 2;
    top: 21px;
    right: 11px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--wex-color-8f939b, #8f939b);
    border-bottom: 2px solid var(--wex-color-8f939b, #8f939b);
    content: "";
    transform: translate(-50%, -70%) rotate(45deg);
    pointer-events: none;
}
#tab3 .d-flex-reason-select .rma-top-dropdown:has(.select2-container)::after { display: none; }
#tab3 .rma-reason-field .select2-selection--single .select2-selection__arrow,
#tab3 .d-flex-reason-select .select2-selection--single .select2-selection__arrow { width: 20px; }
#tab3 .rma-reason-field .select2-selection--single .select2-selection__arrow b,
#tab3 .d-flex-reason-select .select2-selection--single .select2-selection__arrow b { display: none; }
#tab3 .rma-reason-field .select2-selection--single .select2-selection__arrow::before,
#tab3 .d-flex-reason-select .select2-selection--single .select2-selection__arrow::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--wex-color-8f939b, #8f939b);
    border-bottom: 2px solid var(--wex-color-8f939b, #8f939b);
    content: "";
    transform: translate(-50%, -70%) rotate(45deg);
}
#tab3 .d-flex-reason-select .select2-container--open .select2-selection--single .select2-selection__arrow::before {
    transform: translate(-50%, -70%) rotate(45deg);
}
#tab3 .rma-products-table select.reason:focus,
#tab3 select.globalreason:focus,
#tab3 select.closing-reason:focus { border-color: var(--wex-blue); outline: 0; box-shadow: none; }
#tab3 .rma-products-table select.reason + .rma-dropdown-lock { display: none; }
#tab3 .rma-products-table .rma-reason-field { position: relative; z-index: 30; }
#tab3 .rma-products-table .rma-reason-field:has(.select2-container--open) { z-index: 31; }
#tab3 .rma-products-table select.reason {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding-right: 36px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background: var(--wex-white);
    box-shadow: none;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    appearance: none;
    -webkit-appearance: none;
}
#tab3 .rma-products-table .rma-reason-field select.reason:has(option[value=""]:checked) {
    color: var(--wex-color-gray1) !important;
}
#tab3 .rma-products-table .rma-reason-field select.reason option:not([value=""]) {
    color: var(--wex-black);
}
#tab3 .rma-products-table .rma-reason-field::after {
    position: absolute;
    z-index: 4;
    top: 21px;
    right: 11px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--wex-color-8f939b, #8f939b);
    border-bottom: 2px solid var(--wex-color-8f939b, #8f939b);
    content: "";
    transform: translate(-50%, -70%) rotate(45deg);
    pointer-events: none;
}
#tab3 .rma-products-table select.reason:disabled {
    border-color: var(--wex-color-d4d5da);
    background-color: var(--wex-color-gray3);
    background-image: none;
    box-shadow: none;
    color: var(--wex-color-gray1);
    cursor: not-allowed;
    opacity: 1;
}
#tab3 .rma-products-table select.reason:disabled + .rma-dropdown-lock {
    position: absolute;
    z-index: 5;
    top: 9px;
    right: 8px;
    display: block;
    width: 24px;
    height: 24px;
    background: var(--wex-color-gray3);
    color: var(--wex-color-gray1);
    font-size: 18px;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20;
    line-height: 24px;
    text-align: center;
    pointer-events: none;
}
#tab3 .rma-products-table .date {
    padding-right: 38px;
    background-color: var(--wex-white);
    background-image: url('../svg/calendar-rma.svg');
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 15px 17px;
    cursor: pointer;
}
#tab3 .rma-products-table .input-group { position: relative; display: block; width: 100%; }
#tab3 .rma-products-table .input-group .model { width: 100%; padding-right: 42px; border-radius: 6px; }
#tab3 .rma-products-table .input-group-btn { position: absolute; z-index: 3; top: 1px; right: 1px; display: block; width: 40px; height: 40px; }
#tab3 .rma-products-table .input-group-btn .searchProduct { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 0 5px 5px 0; background: transparent; color: var(--wex-black); }
#tab3 .rma-products-table .input-group-btn .searchProduct:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: -3px; }
#tab3 .rma-products-table .searchProduct svg { display: block; width: 16px; height: 16px; }
#tab3 .rma-products-table .item-desc { max-height: 84px; overflow: hidden; color: var(--wex-black); font-size: 16px; font-weight: 400; line-height: 20px; text-align:left; }
#tab3 .rma-products-table .rma-item-field {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 42px;
    padding-right: 42px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background: var(--wex-white);
}
#tab3 .rma-products-table .rma-item-field:focus-within { border-color: var(--wex-blue); box-shadow: inset 0 0 0 1px var(--wex-blue); }
#rma #tab3 .rma-products-table .rma-item-field .model,
#rma #tab3 .rma-products-table .rma-item-field .model:focus {
    flex: 0 0 160px;
    width: 160px;
    min-width: 0;
    height: 40px;
    padding: 9px 12px;
    border: 0 !important;
    background: transparent;
    box-shadow: none !important;
    outline: 0;
}
#rma #tab3 .rma-products-table .rma-item-field .model:-webkit-autofill {
    clip-path: inset(2px round 5px);
    -webkit-box-shadow: inset 0 0 0 1000px var(--wex-white, #fff) !important;
    box-shadow: inset 0 0 0 1000px var(--wex-white, #fff) !important;
    -webkit-text-fill-color: var(--wex-black, #111);
    caret-color: var(--wex-black, #111);
}
#rma #tab3 .rma-products-table .rma-item-field .model:autofill {
    clip-path: inset(2px round 5px);
    box-shadow: inset 0 0 0 1000px var(--wex-white, #fff) !important;
    color: var(--wex-black, #111);
}
#tab3 .rma-products-table .rma-item-field .item-desc {
    flex: 1;
    min-width: 0;
    color: var(--wex-color-gray1);
    white-space: nowrap;
    margin-top: 0px;
    text-overflow: ellipsis;
}
    #tab3 .rma-products-table .rma-item-field .item-desc::before {
        content: "";
        display: inline-block;
        width: 1px;
        height: 24px;
        margin-right: 12px;
        background: var(--wex-color-gray2);
        vertical-align: middle;
        margin-bottom: 2px;
    }
#tab3 .rma-products-table .rma-item-field .item-desc:empty::after { content: "Description"; color: var(--wex-color-gray1); }
#tab3 .rma-products-table .rma-item-control { display: flex; align-items: center; gap: 16px; }
#tab3 .rma-products-table .rma-item-control > .input-group-btn { position: static; flex: 0 0 42px; width: 42px; height: 42px; }
#tab3 .rma-products-table .rma-item-control > .input-group-btn .searchProduct { width: 42px; height: 42px; border-radius: 6px; background: var(--wex-color-green); }
#tab3 .rma-products-table .rma-item-control > .input-group-btn .searchProduct:hover { background: var(--wex-color-green-hover2); }
#tab3 .rma-products-table .rma-item-control > .rma-item-field { flex: 1; min-width: 0; padding-right: 12px; }
#tab3 .rma-products-table .has-error .rma-item-field { border-color: var(--wex-red); box-shadow: inset 0 0 0 1px var(--wex-red); }
#rma #tab3 .rma-products-table .rma-item-control { gap: 0; }
#rma #tab3 .rma-products-table .rma-item-field { padding-right: 0; }
#rma #tab3 .rma-products-table .rma-item-field .item-desc:empty::after { content: ""; }
#rma #tab3 .rma-item-field .item-desc { padding-right: 12px; cursor: default; -webkit-user-select: none; user-select: none; }
#rma #tab3 .rma-item-field:has(.rma-code-options:not(:disabled)) .item-desc { cursor: pointer; }
#rma #tab3 .rma-inline-lookup {
    position: static;
    z-index: auto;
    display: flex;
    width: 140px;
    max-width: 140px;
    height: 32px;
    flex: 0 0 140px;
    align-items: center;
    padding: 0 !important;
    border: 0;
    border-radius: 4px;
    background: var(--wex-white);
    color: var(--wex-link);
    font: 400 16px/20px "Inter", Arial, sans-serif;
    margin-right: 4px;
    text-align: left;
    white-space: nowrap;
}
#rma #tab3 .rma-inline-lookup svg { width: 14px; height: 14px; margin-right: 8px; }
#rma #tab3 .rma-inline-lookup:hover { background: var(--wex-white); color: var(--wex-link-hover); }
#rma #tab3 .rma-inline-lookup:hover svg path { fill: var(--wex-link-hover); }
#rma #tab3 .rma-inline-lookup[hidden] { display: none !important; }
#rma #tab3 .rma-inline-lookup:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: -3px; }
#rma #tab3 .rma-item-field:has(.model:placeholder-shown) .item-desc { display: block; flex: 0 0 13px; width: 13px; padding-right: 0; cursor: text; }
#rma #tab3 .rma-item-field:has(.model:placeholder-shown) .item-desc::before { display: inline-block; }
#rma #tab3 .rma-item-field:has(.model:not(:placeholder-shown)) .item-desc:empty::before { display: none; }
#rma #tab3 .rma-item-field:has(.model:not(:placeholder-shown)) .rma-inline-lookup { display: none !important; }
#rma #tab3 .rma-item-field .rma-row-product-link-slot { display: flex; flex: 0 0 32px; width: 32px; height: 28px; align-items: center; justify-content: flex-start; }
#rma #tab3 .rma-item-field .rma-row-product-link { display: inline-flex; width: 24px; height: 28px; align-items: center; justify-content: center; margin-right: 8px; border-radius: 4px; color: var(--wex-color-gray1); text-decoration: none; }
#rma #tab3 .rma-row-product-link .material-symbols-rounded { font-size: 20px; transition: color .15s ease; }
#rma #tab3 .rma-row-product-link:hover .material-symbols-rounded,
#rma #tab3 .rma-row-product-link:focus-visible .material-symbols-rounded { color: var(--wex-black); }
#rma #tab3 .rma-row-product-link:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: 2px; }
#rma #tab3 .rma-code-options { display: inline-block; flex: 0 0 32px; width: 32px; height: 32px; margin-left: 8px; padding: 0; border: 1px solid var(--wex-color-gray2); border-radius: 6px; background: var(--wex-white); color: var(--wex-black); font-size: 0; cursor: pointer; vertical-align: middle; }
#rma #tab3 .rma-code-options option { font-size: 14px; }
#rma #tab3 .rma-code-options:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: 2px; }
#rma #tab3 .rma-code-trigger { flex: 0 0 36px; width: 36px !important; margin: 0 4px 0 8px; }
#rma #tab3 .rma-code-trigger,
#rma #tab3 .rma-code-trigger:hover,
#rma #tab3 .rma-code-trigger.select2-container--focus,
#rma #tab3 .rma-code-trigger.select2-container--open { border: 0 !important; background: transparent !important; box-shadow: none !important; }
#rma #tab3 .rma-code-trigger.select2-container--disabled .select2-selection,
#rma #tab3 .rma-code-trigger.select2-container--disabled .select2-selection__arrow { background: transparent !important; box-shadow: none !important; }
#rma #tab3 .rma-code-trigger .select2-selection { height: 32px; min-height: 32px; padding: 0; border: 0 !important; border-radius: 0 4px 4px 0; background: transparent !important; box-shadow: none !important; }
#rma #tab3 .rma-code-trigger .select2-selection__rendered { padding: 0; }
#rma #tab3 .rma-code-trigger .select2-selection__arrow { top: 0; right: 8px; bottom: 0; width: 20px; height: auto; background: transparent !important; }
#rma #tab3 .rma-code-trigger .select2-selection__arrow b { display: none; }
#rma #tab3 .rma-code-trigger .select2-selection__arrow::before { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-right: 2px solid var(--wex-color-gray1); border-bottom: 2px solid var(--wex-color-gray1); content: ""; transform: translate(-50%, -70%) rotate(45deg); }
.rma-code-dropdown { box-sizing: border-box; width: var(--rma-code-width, 100%) !important; margin-top: 0 !important; border: 1px solid var(--wex-color-gray2) !important; border-radius: 6px !important; background: var(--wex-white); box-shadow: none !important; transform: translate(var(--rma-code-offset, 0px), var(--rma-code-gap, 8px)); overflow: hidden; }
.rma-code-dropdown .select2-results__options { max-height: 280px; overflow-y: auto; }
.rma-code-dropdown .select2-results__option { height: 40px; box-sizing: border-box; padding: 8px 12px !important; color: var(--wex-black); font-size: 16px; line-height: 22px; }
.rma-code-dropdown .rma-code-result { position: relative; display: grid; min-height: 24px; grid-template-columns: minmax(0, calc(var(--rma-code-column, 136px) - 42px)) 24px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; font: 400 16px/22px "Inter", Arial, sans-serif; white-space: nowrap; }
.rma-code-dropdown .rma-code-result::after { position: absolute; top: 50%; left: calc(var(--rma-code-column, 136px) - 2px); width: 1px; height: 24px; background: var(--wex-color-gray2); content: ""; transform: translateY(-50%); pointer-events: none; }
.rma-code-dropdown .rma-code-result strong { min-width: 0; overflow: hidden; color: inherit; font-weight: 400; text-overflow: ellipsis; }
.rma-code-dropdown .rma-code-result > span { min-width: 0; margin-left: 5px; overflow: hidden; color: var(--wex-color-gray1); text-overflow: ellipsis; }
.rma-code-dropdown .rma-code-link { display: flex; width: 24px; height: 24px; min-width: 0; align-items: center; justify-content: center; padding-right: 9px; overflow: hidden; color: var(--wex-blue); text-decoration: none; text-overflow: ellipsis; }
.rma-code-dropdown .rma-code-link .material-symbols-rounded { flex: 0 0 auto; color: var(--wex-color-gray1); font-size: 20px; text-decoration: none !important; transition: color .15s ease; }
.rma-code-dropdown .rma-code-link:hover .material-symbols-rounded,
.rma-code-dropdown .rma-code-link:focus-visible .material-symbols-rounded { color: var(--wex-black); }
.rma-code-dropdown .rma-code-link:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: 2px; }
.rma-code-dropdown .select2-results__option[aria-selected=true] { background: var(--wex-white) !important; color: var(--wex-blue) !important; }
.rma-code-dropdown .select2-results__option--highlighted[aria-selected] { background: var(--wex-color-gray3) !important; color: var(--wex-blue) !important; }
.rma-code-dropdown .select2-search--dropdown { display: none; }
#rma #tab3 .rma-item-field .rma-code-spinner { display: block; flex: 0 0 18px; width: 18px; height: 18px; margin: 0 6px 0 0; box-sizing: border-box; border: 2px solid var(--wex-color-gray2); border-top-color: var(--wex-blue); border-radius: 50%; animation: rma-code-spin .7s linear infinite; }
#rma #tab3 .rma-code-loading .rma-row-product-link { display: none; }
#rma #tab3 .rma-code-loading .rma-item-field { position: relative; }
#rma #tab3 .rma-code-loading .rma-code-trigger { visibility: hidden; }
#rma #tab3 .rma-code-loading .rma-code-spinner { position: absolute; top: 11px; right: 11px; margin: 0; }
@keyframes rma-code-spin { to { transform: rotate(360deg); } }
#tab3 .rma-products-table .multiselect-native-select { position: relative; z-index: 1; display: block; margin-top: 4px; }
    #tab3 .rma-products-table .multiselect-native-select > .btn-group {
        position: relative;
        z-index: 1;
        margin-top: 8px;
    }
    #tab3 .rma-products-table .otherReason {
        margin-top: 8px;
    }
#tab3 .rma-products-table td[data-title="Reason for return"] > .input-group {
    display: grid;
    box-sizing: border-box;
    padding: 0px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: flex-start;
    column-gap: 16px;
}
#tab3 .rma-products-table .rma-reason-field:has(select.reason:disabled)::after { display: none; }
#tab3 .rma-products-table td[data-title="Reason for return"] > .input-group > .form-v2 {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}
#tab3 .rma-products-table .hideOptions td[data-title="Reason for return"] > .input-group > .form-v2:has(.reasonOption),
#tab3 .rma-products-table td[data-title="Reason for return"] > .input-group > .form-v2:has(> .otherReason[type="hidden"]),
#tab3 .rma-products-table td[data-title="Reason for return"] > .input-group > .form-v2:has(> .exchangeNotes[type="hidden"]) {
    display: none;
}
#tab3 .rma-products-table td[data-title="Reason for return"] .multiselect-native-select,
#tab3 .rma-products-table td[data-title="Reason for return"] .multiselect-native-select > .btn-group,
#tab3 .rma-products-table td[data-title="Reason for return"] .otherReason {
    margin-top: 0;
}
#tab3 .rma-products-table .multiselect-native-select:has(> .btn-group.open) {
    z-index: 1200;
}
#tab3 .rma-products-table .multiselect-native-select > .btn-group.open { z-index: 1200; }
#tab3 .rma-products-table .multiselect-native-select .multiselect {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 38px 0 5px;
    overflow: hidden;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background: var(--wex-white);
    box-shadow: none;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 40px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#tab3 .rma-products-table .multiselect-native-select:focus-within .multiselect,
#tab3 .rma-products-table .multiselect-native-select > .btn-group.open > .multiselect,
#tab3 .rma-products-table .multiselect-native-select .multiselect:focus { border:1px solid var(--wex-blue); outline: 0; box-shadow: inset 0 0 0 1px var(--wex-blue)!important; }
#tab3 .rma-products-table .multiselect-native-select:not(:has(option:checked)) .multiselect-selected-text {
    color: var(--wex-color-gray1);
}
#tab3 .rma-products-table .multiselect-selected-text {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-left: 7px;
}
#tab3 .rma-products-table .multiselect-selected-text:has(.rma-option-chip:not([style*="display: none"])) {
    margin-left: 0;
}
#tab3 .rma-products-table .rma-option-chip { display: inline-flex; flex: 0 1 auto; min-width: 0; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; height: 30px; padding: 0 10px; border: 1px solid var(--wex-color-d6d8dd); border-radius: 4px; background: var(--wex-color-gray3); color: var(--wex-color-111); font-size: 14px; font-weight: 400; line-height: 1; white-space: nowrap; cursor: pointer; }
#tab3 .rma-products-table .rma-option-chip > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tab3 .rma-products-table .rma-option-chip:hover { background: var(--wex-color-gray3); color: var(--wex-navy); }
#tab3 .rma-products-table .rma-option-chip__remove { color: var(--wex-color-gray1); font-size: 18px; }
#tab3 .rma-products-table .rma-option-more { flex: 0 0 auto; color: var(--wex-color-gray1); font-size: 18px; line-height: 1; }
#tab3 .rma-products-table .multiselect-native-select .multiselect .caret { display: none; }
#tab3 .rma-products-table .multiselect-native-select .multiselect::after {
    position: absolute;
    top: 50%;
    right: 11px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--wex-color-8f939b, #8f939b);
    border-bottom: 2px solid var(--wex-color-8f939b, #8f939b);
    content: "";
    transform: translate(-50%, -70%) rotate(45deg);
    pointer-events: none;
}
#tab3 .rma-products-table .multiselect-native-select .dropdown-menu {
    z-index: 1210;
    top: calc(100% + 4px);
    right: 0;
    left: auto;
    width: 100%;
    min-width: 220px;
    max-height: 240px;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background: var(--wex-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
#tab3 .rma-products-table .multiselect-container.dropdown-menu.pull-right > li {
    min-height: 40px;
}
#tab3 .rma-products-table .multiselect-container.dropdown-menu.pull-right > li > a {
    display: block;
    min-height: 40px;
}
#tab3 .rma-products-table .multiselect-container > li > a {
    color: var(--wex-black);
    text-decoration: none;
    padding:0px; 

}
#tab3 .rma-products-table .multiselect-container > li > a:hover,
#tab3 .rma-products-table .multiselect-container > li > a:focus { background: var(--wex-color-f2f2f5); color: var(--wex-black); outline: 0; }
#tab3 .rma-products-table .multiselect-container > li > a > label.checkbox {
    position: relative;
    display: flex;
    min-height: 36px;
    align-items: center;
    margin: 0;
    padding: 8px 12px 8px 40px;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    white-space: normal;
}
.separateRma {
    font-family: "Inter";
    font-weight: 400;
    line-height: 20px;
    font-size: 16px;
    color: var(--wex-color-gray1);
    text-align: left;
    padding-top: 22px;
}
@media (min-width: 1024px) {
    #rma .rma__wizard-row > .separateRma {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
}
#tab3 .rma-products-table .multiselect-container > li > a > label.checkbox::before {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border: 1.5px solid var(--wex-color-gray2);
    border-radius: 2px;
    background: var(--wex-white);
    content: "";
    transform: translateY(-50%);
}
#tab3 .rma-products-table .multiselect-container > li > a > label.checkbox:has(input:checked)::before {
    border-color: var(--wex-transparent);
    background: url('../svg/checkbox.svg') center / 18px 18px no-repeat;
}
#tab3 .rma-products-table .multiselect-container input[type="checkbox"] { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
#tab3 .rma-products-table .productrow { position: relative; }
#tab3 .rma-products-table .productrow:has(.multiselect-native-select > .btn-group.open) { z-index: 1100; }
#tab3 .wex-quantity { display: flex; width: 116px; height: 42px; align-items: center; padding: 4px; border: 1px solid var(--wex-color-d4d5da); border-radius: 999px; background: var(--wex-white); }
#tab3 .wex-quantity .wex-quantity-change { flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 5px; background: var(--wex-color-gray3); color: var(--wex-black); cursor: pointer; }
#tab3 .wex-quantity .wex-quantity-change-left { border-radius: 30px 5px 5px 30px; }
#tab3 .wex-quantity .wex-quantity-change-right { border-radius: 5px 30px 30px 5px; }
#tab3 .wex-quantity .wex-quantity-change:hover { background: var(--wex-color-e5e5ea); }
#tab3 .wex-quantity .wex-quantity-change:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: 1px; }
#tab3 .wex-quantity .wex-quantity-change .material-symbols-rounded { display: block; font-size: 21px; line-height: 32px; }
#tab3 .wex-quantity .qty { width: 42px; height: 32px; padding: 0; border: 0; background: transparent; text-align: center; -moz-appearance: textfield; }
#rma #tab3 .wex-quantity .qty:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
#tab3 .wex-quantity .qty::-webkit-inner-spin-button,
#tab3 .wex-quantity .qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
#tab3 .rma-products-table td:last-child .close-button:focus-visible { outline: 2px solid var(--wex-blue); outline-offset: 2px; }
#tab3 .rma__addprod-wrapper {
    margin-top: 16px;
    margin-bottom: 32px;
}
#tab3 #addproduct { display: flex; width: 100%; height: 42px; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 999px; background: #E8F5E9; color: var(--wex-color-green); font-family: "Jost", Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 40px; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
#tab3 #addproduct:hover { background: var(--wex-color-green-hover)!important; color: var(--wex-color-green); }
#tab3 #addproduct:focus-visible { outline: 2px solid var(--wex-color-green); outline-offset: 2px; }
#tab3 #addproduct > span { margin-right: 4px; font-size: 18px; }

@media (max-width: 1024px) {
    #tab3 .rmaproducts__top-block { margin-bottom: 24px; }
    #tab3 .d-flex-reason-select { align-items: stretch; }
    #tab3 .rma-products-table-wrap { overflow-x: auto; overflow-y: visible; }
    #tab3 #addproduct > span {
        margin-right: 0px;
    }
    #agreement .agreement__quickadd-cell-item input {
        min-height: 42px;
    }
}

/* Sterilization and decontamination */
#tab5 { color: #111; font-family: "Inter", Arial, sans-serif; }
#tab5 .rma__steril-title { margin: 50px 0 10px; color: #222; font-family: "Jost", Arial, sans-serif; font-size: 24px; font-weight: 400; line-height: 1.2; }
#tab5 .rma__steril-intro { margin: 0 0 34px; font-size: 16px; line-height: 24px; }
#tab5 .rma__steril-section-title { margin: 0 0 16px; font-family: "Jost", Arial, sans-serif; font-size: 18px; font-weight: 500; line-height: 24px; }
    #tab5 .rma__steril-warning {
        display: flex;
        align-items: flex-start;
        gap: 26px;
        padding: 20px 22px;
        border-radius: 6px;
        background-color: var(--wex-warrning-fill-color);
    }
#tab5 .rma__steril-warning-icon { display: block; flex: 0 0 35px; width: 35px; height: 30px; margin-top: 3px; }
#tab5 .rma__steril-warning h3 { margin: 0 0 4px; color: #222; font-family: "Jost", Arial, sans-serif; font-size: 18px; font-weight: 500; line-height: 24px; }
#tab5 .rma__steril-warning p { margin: 0; color: #111; font-size: 16px; line-height: 24px; }
#tab5 .rma__steril-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); align-items: end; gap: 32px; margin: 32px 0 24px; }
#tab5 .rma__steril-tools:has(.rma__steril-filter[hidden]) { grid-template-columns: 1fr; }
    #tab5 .rma__steril-instructions-column,
    #tab5 .rma__steril-filter-column {
        min-width: 0;
        margin-left: -7px;
    }
.wex-ul-list-shift {
    margin-left: -7px!important;
}
#tab5 .rma__steril-instructions {
    margin: 0;
    padding-left: 24px;
    font-size: 16px;
    line-height: 24px;
}

#tab5 .rma__steril-instructions li {
    margin-bottom: 10px;
}
#tab5 .rma__steril-filter-anchor { width: 100%; height: 0; }
#tab5 .rma__steril-filter { position: relative; z-index: 20; display: flex; width: 100%; min-height: 40px; box-sizing: border-box; align-items: center; justify-content: flex-end; gap: 12px; margin: 0; padding: 8px 0; background: transparent; }
#tab5 .rma__steril-filter.rma__steril-filter--fixed { position: fixed; z-index: 1081; top: 74px; right: var(--wex-desktop-gutter); left: auto; width: auto; margin: 0; padding: 8px 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; pointer-events: none; }
#tab5 .rma__steril-filter.rma__steril-filter--fixed .rma__steril-filter-control { pointer-events: auto; }
#tab5 .rma__steril-filter[hidden] { display: none; }
#tab5 .rma__steril-filter-control { position: relative; width: 320px; max-width: 100%; }
#tab5 .rma__steril-filter-search-icon { position: absolute; top: 12px; left: 12px; display: block; width: 16px; height: 16px; pointer-events: none; }
#tab5 #sterilizationItemFilter { width: 100%; height: 40px; padding: 8px 40px; border: 1px solid var(--wex-color-gray2); border-radius: 6px; background: var(--wex-white); color: var(--wex-black); font-family: "Inter", Arial, sans-serif; font-size: 16px; box-shadow: none; }
#tab5 #sterilizationItemFilter:focus { border-color: var(--wex-blue); outline: 0; box-shadow: inset 0 0 0 1px var(--wex-blue); }
#tab5 #clearSterilizationItemFilter { position: absolute; top: 6px; right: 6px; display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--wex-color-gray1); }
#tab5 #clearSterilizationItemFilter[hidden] { display: none; }
#tab5 #clearSterilizationItemFilter .material-symbols-rounded { font-size: 18px; }
#tab5 .rma__steril-filter-empty { margin: 20px 0; color: var(--wex-color-gray1); font-size: 16px; text-align: center; }
#tab5 .rma__steril-table { width: 100%; min-width: 760px; margin: 0; border: 0; border-collapse: collapse; font-size: 16px; }
#tab5 .rma__steril-table th { padding: 12px 0 16px; border: 0; border-bottom: 2px solid var(--wex-color-gray2); font-size:16px; background: #fff; color: var(--wex-black); font-family:"Jost"; text-align: left; font-weight: 500; }
    #tab5 .rma__steril-table td {
        padding: 12px 16px 12px 0;
        height: 68px;
        border: 0;
        border-bottom: 1px solid #d3d3d8;
        background: #fff;
        color: #111;
        text-align: left;
        vertical-align: top;
    }
#tab5 .rma__steril-table tbody tr:last-child td { border-bottom: 0; }
#tab5 .rma__steril-table th:nth-child(1) { width: 11%; }
#tab5 .rma__steril-table th:nth-child(2) { width: 5.5%; }
#tab5 .rma__steril-table th:nth-child(3) { width: 61%; }
#tab5 #sterilizationList .rma__steril-cell-content {
    min-height: 40px;
    align-items: center;
}
#tab5 #sterilizationList .item-container.rma__steril-cell-content,
#tab5 #sterilizationList .reason-column.rma__steril-cell-content,
#tab5 #sterilizationList td[data-title="Qty"] .rma__steril-cell-content {
    display: flex;
}
    #tab5 .rma__steril-status {
        display: flex;
        align-items: flex-start!important;
        flex-wrap: wrap;
        gap: 14px 40px;
    }
    #tab5 .rma__steril-toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        color: #111;
        font-size: 16px;
        font-weight: 400;
        cursor: pointer;
        height:40px;
    }
#tab5 .rma__steril-toggle::before, #tab5 .rma__steril-toggle::after { display: none; }
#tab5 .rma__steril-toggle input { position: absolute; width: 48px; height: 28px; margin: 0; opacity: 0; cursor: pointer; }
#tab5 .rma__steril-track { position: relative; display: block; flex: 0 0 48px; width: 48px; height: 28px; border-radius: 20px; background: #c9c9cf; transition: background .15s; }
#tab5 .rma__steril-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
#tab5 .rma__steril-toggle input:checked + .rma__steril-track { background: #3da348; }
#tab5 .rma__steril-toggle input:checked + .rma__steril-track::after { transform: translateX(20px); }
#tab5 .rma__steril-toggle input:focus-visible + .rma__steril-track { outline: 2px solid var(--wex-blue); outline-offset: 3px; }
#tab5 .rma__steril-method { position: relative; display: none; width: 300px; max-width: 100%; margin: 0; }
#tab5 .is-sterilized .rma__steril-method { display: block; }
#tab5 .form-control { height: 44px; padding: 10px 12px; border: 1px solid #c9c9cf; border-radius: 6px; background-color: #fff; box-shadow: none; font-size: 18px; }
#tab5 .rma__steril-method .sterilizationForm {
    width: 100%;
    height: 40px;
    padding: 8px 38px 8px 12px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background-color: var(--wex-white);
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 22px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
#tab5 .rma__steril-method::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--wex-color-gray1);
    border-bottom: 1.5px solid var(--wex-color-gray1);
    transform: rotate(45deg);
    pointer-events: none;
}
#tab5 .rma__steril-method .sterilizationForm option { color: var(--wex-black); }
#tab5 .rma__steril-method .sterilizationForm option[value=""] { color: var(--wex-color-gray1); }
#tab5 .rma__steril-method .sterilizationForm:has(option[value=""]:checked) { color: var(--wex-color-gray1) !important; }
#tab5 .rma__steril-method label.error { display: block; margin: 6px 0 0; font-size: 14px; line-height: 18px; }
#tab5 .otherMethod { margin-top: 8px; }
#tab5 .rma__steril-notice { display: flex; align-items: flex-start; gap: 9px; margin: 34px 0 38px; padding-top: 30px; border-top: 2px solid var(--wex-color-gray2); color: var(--wex-black); }
#tab5 .rma__steril-info { flex: 0 0 20px; height: 20px; margin-top: 0px; border-radius: 50%; background: #000; color: #fff; text-align: center; font-size: 14px; font-weight: 700; line-height: 20px; }
#tab5 .rma__steril-notice p { margin: 0; font-size: 15px;}
#tab5 .control-label { display: block; margin: 0 0 10px; color: #222; font-size: 18px; line-height: 24px; font-weight: 400; }
#rma .rma__steril-signatures { gap: 16px; margin-bottom: 18px; }
#tab5 .rma__steril-signatures .control-label {
    margin-bottom: 8px;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}
#tab5 .rma__steril-signatures .form-control {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 6px;
    background-color: var(--wex-white);
    box-shadow: none;
    color: var(--wex-black);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px !important;
    font-weight: 400;
}
@media (max-width: 1024px) {
    #tab5 .rma__steril-warning { gap: 14px; padding: 16px; }
    #tab5 .rma__steril-title { font-size: 24px; }
    #tab5 .rma__steril-tools { grid-template-columns: 1fr; gap: 18px; }
    #tab5 .rma__steril-filter { align-items: flex-start; flex-wrap: wrap; }
}

/* Sign and complete */
#tab6 { color: var(--wex-black); font-family: "Inter", Arial, sans-serif; }
#rma .tab-content:has(> #tab6.active) { min-height: 100px; }
#tab6 .rma__complete-title { margin: 0 0 36px; color: var(--wex-black); font-family: "Jost", Arial, sans-serif; font-size: 24px; font-weight: 400; line-height: 1.2; }
#tab6 .rma__complete-panel { padding: 24px 22px; border-radius: 6px; background: #f4f4f6; }
#tab6 .rma__complete-message { margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--wex-color-gray2); font-size: 16px; font-weight: 400; line-height: 24px; }
#tab6 .rma__complete-warning { display: flex; align-items: center; gap: 12px; padding-top: 18px; }
#tab6 .rma__complete-warning-icon { display: block; flex: 0 0 20px; width: 20px; height: 18px; }
#tab6 .rma__complete-warning strong { color: #222; font-family: "Jost", Arial, sans-serif; font-size: 16px; font-weight: 500; line-height: 22px; }
#tab6 .rma__complete-summary {
    display: grid;
    grid-template-columns: 140px minmax(240px, 320px);
    gap: 28px;
    margin-top: 28px;
    padding-bottom: 26px;
    border-bottom: 2px solid var(--wex-blue);
}
#tab6 .rma__complete-summary-item { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
#tab6 .rma__complete-summary-label { min-height: 20px; color: var(--wex-black); font-size: 14px; font-weight: 400; line-height: 20px; }
#tab6 #rmaCompleteSignerTitle { color: var(--wex-color-gray1); }
#tab6 .rma__complete-summary-item strong { overflow: hidden; color: #222; font-family: "Jost", Arial, sans-serif; font-size: 20px; font-weight: 500; line-height: 26px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1024px) {
    #tab6 .rma__complete-title { margin-bottom: 24px; font-size: 24px; }
    #tab6 .rma__complete-panel { padding: 18px 16px; }

    #tab6 .rma__complete-summary { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* Mobile RMA flow --------------------------------------------------------- */
@media (max-width: 1024px) {
    #rma table.table.table-striped.table-hover > thead {
        display: none !important;
    }

    .rma__editor-section {
        padding: 16px 0 calc(84px + env(safe-area-inset-bottom));
        overflow-x: hidden;
    }
    .rma__editor-section .rma__page-content {
        width: 100%;
        box-sizing: border-box;
        padding: 0 16px;
    }
    .rma__editor-section .panel-heading {
        padding: 0;
    }
    .rma__editor-section .panel-heading .panel-title {
        margin-bottom: 8px;
        font-size: 28px;
        line-height: 1.2;
        margin-top:4px;
    }
    .rma__editor-section .panel-body-nopadding {
        padding: 0 !important;
    }
    .rma__subtitle {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 21px;
    }

    /* Keep the stepper compact, swipeable and visibly scrollable. */
    #rma .nav-tabs {
        width: calc(100% + 32px);
        margin: 0 -16px 24px;
        padding: 4px 16px 6px;
        overflow-x: hidden;
        overflow-y: hidden;
        scroll-padding-inline: 16px;
        scroll-snap-type: none;
        scrollbar-width: none;
        overscroll-behavior: none;
        touch-action: none;
        cursor: default;
        -webkit-overflow-scrolling: touch;
    }
    #rma .nav-tabs::-webkit-scrollbar { display: none; }
    #rma .nav-tabs > li {
        flex: 0 0 auto;
        min-width: 0;
        scroll-snap-align: start;
    }
    #rma .nav-tabs > li > a {
        width: auto;
        min-width: 95px;
        height: 40px;
        padding: 9px 16px;
        font-size: 16px;
        font-weight:500;
    }
    #rma .nav-tabs > li.active > a { font-size: 16px; }
    #rma .nav-tabs > li:first-child > a { padding-left: 0px; }
    #rma .tab-content { min-height: 0; }
    #rma .tab-pane { min-width: 0; }

    #rma .rma__grid,
    #tab2 .rma__grid {
        gap: 16px;
        margin-bottom: 16px;
    }
    #tab4 .rma__grid,
    #tab5 .rma__grid {
        gap: 16px;
        margin-bottom: 32px;
    }
    #rma input.form-control,
    #rma select.form-control,
    #rma textarea.form-control,
    #rma .select2-selection {
        max-width: 100%;
        font-size: 16px !important; /* prevents iOS form zoom */
    }
    #rma .select2-container { max-width: 100%; }
    #rma .rma__adverse-notice {
        padding: 28px 18px;
        border-radius: 8px;
    }
        #rma .rma__adverse-notice h2 {
            font-weight: 500 !important;
            font-style: normal;
            font-family: Jost;
            font-size: 18px;
        }
    #rma .rma__adverse-next {
        width: 100%;
        margin-top: 28px;
        height: 50px !important;
        font-weight: 500 !important;
        font-style: normal;
        font-family: Jost;
        font-size: 18px;
    }

    /* Persistent navigation uses the shared pill-button language. */
    #rma .rma__wizard-anchor { top: 24px; }
    #rma .rma__wizard-row {
        margin-top: 0px;
        gap: 10px;
    }
    #rma .rma__wizard-row.rma__wizard-row--fixed {
        min-height: 70px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) !important;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 -8px 24px rgba(17, 17, 17, .08);
    }
    #rma .rma__wizard-wrapper { width: 100%; flex: 1 1 100%; }
    #rma .pager.wizard { height: 44px; gap: 16px; }
    #rma .pager.wizard > li { height: 44px; }
        #rma .pager.wizard > li > a,
        #rma #send {
            width: 100%;
            min-height: 44px;
            padding-inline: 14px;
            font-size: 16px !important;
        }
    #rma .rma__contact-save-slot,
    #rma #rmacaptcha,
    #rma .rma__wizard-row > .rma__quicktab-submit-message {
        flex: 1 1 100%;
    }
    #rma .rma__wizard-row:has(.rma__contact-save-slot[style*="flex"]),
    #rma .rma__wizard-row:has(#rmacaptcha:not([style*="display: none"])) {
        flex-wrap: wrap;
    }

    /* Quick Add rows become cards so every control fits without side-scrolling. */
    .rma__quicktab-header { flex-direction: column; gap: 14px; }
    .rma__report-wrapper,
    .rma__report-wrapper .btn { width: 100%; }
    .rma__quickaddload-wrapper {
        width: 100%;
        margin-right: 0;
        padding: 0;
        overflow: visible;
    }
    .rma__quickaddload-wrapper .table,
    .rma__quickaddload-wrapper .table-striped,
    .rma__quickaddload-wrapper .table-striped tbody { display: block; width: 100%; min-width: 0; }
    .rma__quickaddload-wrapper .table-striped thead { display: none; }
        .rma__quickaddload-wrapper .table-striped tbody > tr {
            position: relative;
            display: grid;
            width: 100%;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 14px;
            row-gap: 16px;
            padding: 20px 0 0;
            border-bottom: 0;
        }
        .rma__quickaddload-wrapper .table-striped tbody > tr::after {
            position: relative;
            left: 50%;
            display: block;
            width: 100vw;
            height: 5px;
            grid-column: 1 / -1;
            margin-top: 8px;
            content: "";
            background: var(--wex-color-gray3);
            transform: translateX(-50%);
        }
    .rma__quickaddload-wrapper .help-block {
        display:none;
        height: 16px;
    }
        #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > td {
            display: block;
            width: auto !important;
            min-width: 0;
            padding: 0 !important;
            background: transparent !important;
        }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(1) { display: none; }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(2) { grid-column: 1; grid-row: 1; }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(3) { grid-column: 1; grid-row: 2; }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(4) { grid-column: 2; grid-row: 2; }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(5) { grid-column: 2; grid-row: 1; }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td.quickadd__col-close {
        position: static;
        z-index: 2;
        display: block !important;
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        justify-self: end;
        width: 40px !important;
        height: 40px;
        margin: 30px 0 0;
        padding: 0 !important;
    }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(2) .form-group {
        padding-right: 0;
    }
    #quicktabRMA .quickadd__col-close .removeQuickLine.close-button {
        display: flex !important;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-left: 4px;
        border-radius: 50%;
    }
    #quicktabRMA .quickadd__col-close .removeQuickLine[aria-hidden="true"] {
        display: none !important;
    }
    #addFromOpenTrial, #addFromSamples {
        font-size: 16px;
    }
    #quicktabRMA .quickadd__col-close .removeQuickLine.is-disabled {
        color: var(--wex-color-gray2);
        opacity: .45;
        cursor: default;
        pointer-events: none;
        margin-left: 0;
    }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(n+2):nth-child(-n+5)::before {
        display: block;
        margin-bottom: 8px;
        color: var(--wex-black);
        font-family: "Inter";
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
    }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(2)::before { content: "Item number"; }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(3)::before { content: "Invoice or PO number"; }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(4)::before { content: "Date of invoice"; }
    #quicktabRMA .rma__quickaddload-wrapper tbody > tr > td:nth-child(5)::before { content: "Quantity"; }
    .rma__quickaddload-wrapper .form-control,
    .rma__quickaddload-wrapper .form-group .rmaitem { width: 100% !important; min-width: 0; }
    #quicktabRMA .rma__quickaddload-wrapper .rma-qty-stepper {
        width: calc(100% - 48px);
        max-width: calc(100% - 48px);
    }
    #quicktabRMA .rma__quickaddload-wrapper .table-striped > tbody > tr > td.quickadd__col-qty {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding-right: 0 !important;
    }
    #quicktabRMA .rma__quickaddload-wrapper .rma-qty-stepper .rmaqty {
        width: auto !important;
        min-width: 0;
        flex: 1 1 0;
    }
    #quicktabRMA .rma__quickaddload-wrapper .rma-qty-stepper .rma-qty-step {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
    }
    #quicktabRMA table.quickadd__addmore-table {
        margin-top:32px!important;
        margin-bottom:32px!important;
        display: table !important;
        width: 100% !important;
        visibility: visible !important;
    }
    #quicktabRMA .quickadd__addmore-table tbody { display: table-row-group !important; }
    #quicktabRMA .quickadd__addmore-table tr { display: table-row !important; }
    #quicktabRMA .quickadd__addmore-table td { display: table-cell !important; width: 100%; }
    .quickadd__addmore-table #clickable {
        min-height: 44px;
        font-size: 16px !important;
        height:44px;
    }
    #rma .rma__wizard-row .quickadd__addmore-table-qasubmit { width: 100%; }
    .quickadd__addmore-table-qasubmit .qasubmit {
        width: 100%;
        min-height: 44px;
        font-size: 16px !important;
    }
    #rma .rma__wizard-row.rma__wizard-row--quickadd-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: stretch;
        gap: 12px;
    }
    .rma__report-wrapper {
        justify-content: flex-start;
    }
    td.display-none {
        display: none !important;
    }
    #rma .rma__wizard-row--quickadd-actions > .quickadd__addmore-table-qasubmit {
        grid-row: 1;
    }
    #rma .rma__wizard-row--quickadd-actions > .rma__quicktab-submit-message {
        grid-row: 2;
        width: 100%;
        margin: 0;
        text-align: center;
    }
    #rma .rma__wizard-row--quickadd-actions > .rma__wizard-wrapper {
        grid-row: 3;
        width: 100%;
        margin: 0;
    }

    /* Product rows become cards instead of a desktop table squeezed into view. */
    #tab3 { padding-top: 0; }
    #tab3 .rma-products-title { font-size: 22px; }
        #tab3 .d-flex-reason-select {
            display: flex;
            width: 100%;
            flex-direction: column;
            gap: 16px;
        }
    #tab3 .rma-products-table-wrap { overflow: visible; }
    #tab3 .rma-products-table-wrap::before {
        display: block;
        position: relative;
        left: 50%;
        width: 100vw;
        height: 5px;
        margin: 24px 0;
        content: "";
        background: var(--wex-color-gray3);
        transform: translateX(-50%);
    }
    #tab3 .rma-products-table {
        display: block;
        width: 100%;
        min-width: 0;
    }
    #tab3 .rma-products-table thead { display: none !important; }
    #tab3 .rma-products-table tbody { display: block; width: 100%; }
    #tab3 .rma-products-table tbody > tr {
        display: flex;
        box-sizing: border-box;
        width: 100%;
        flex-wrap: wrap;
        column-gap: 12px;
    }
    #tab3 .rma-products-table tbody > tr {
        margin-bottom: 29px;
        padding: 0px;
        border: 0;
        border-radius: 0;
        background: var(--wex-white) !important;
    }
    #tab3 .rma-products-table tbody > tr.productrow::after {
        position: absolute;
        right: auto;
        bottom: -5px;
        left: 50%;
        width: 100vw;
        height: 5px;
        content: "";
        background: var(--wex-color-gray3);
        transform: translateX(-50%);
    }
    #tab3 .rma-products-table tbody > tr > td {
        display: block !important;
        box-sizing: border-box;
        width: calc(50% - 6px) !important;
        flex: 0 0 calc(50% - 6px);
        min-width: 0;
        padding: 0 0 24px !important;
        background: transparent !important;
    }
        #tab3 .rma-products-table .panel-close.close-button {
            padding-bottom: 42px;
        }
        #tab3 .rma-products-table tbody > tr > td[data-title]::before {
            display: block;
            margin-bottom: 8px;
            color: var(--wex-black);
            content: attr(data-title);
            font-family: "Inter";
            font-size: 16px;
            font-weight: 400;
            line-height: 1.4;
        }
    #tab3 .rma-products-table tbody > tr > td:nth-child(2)::before,
    #tab3 .rma-products-table tbody > tr > td:nth-child(6)::before {
        display: none;
    }
    #tab3 .rma-products-table tbody > tr > td:first-child,
    #tab3 .rma-products-table tbody > tr > td.rma-description-column { display: none !important; }
    #tab3 .rma-products-table tbody > tr > td:nth-child(2),
    #tab3 .rma-products-table tbody > tr > td:nth-child(6),
    #tab3 .rma-products-table tbody > tr > td:nth-child(7) {
        width: 100% !important;
        flex-basis: 100%;
    }
    #tab3 .rma-products-table tbody > tr > td:last-child {
        position: absolute;
        top: 19px;
        right: 7px;
        display: block !important;
        width: 36px !important;
        padding: 0 !important;
    }
    #tab3 .rma-products-table .productrow { position: relative; }
    #tab3 .rma-products-table .rma-item-control {
        display: grid;
        grid-template-columns: 0 minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding-right: 48px;
    }
    #tab3 .rma-products-table .rma-item-control > .rma-item-field {
        display: block;
        grid-column: 2;
        grid-row: 1;
        box-sizing: border-box;
        height: 42px;
        overflow: hidden;
        padding: 0;
        border: 1px solid var(--wex-color-gray2);
        border-radius: 6px;
        background: var(--wex-white);
        box-shadow: none;
    }
    #tab3 .rma-products-table .rma-item-control > .rma-item-field:focus-within {
        border-color: var(--wex-blue);
        box-shadow: inset 0 0 0 1px var(--wex-blue);
    }
    #rma #tab3 .rma-products-table .rma-item-field .model,
    #rma #tab3 .rma-products-table .rma-item-field .model:focus {
        box-sizing: border-box;
        width: 100%;
        height: 40px;
        padding: 8px 12px;
        border: 0;
        border-radius: 6px;
        background: transparent;
    }
    #tab3 .rma-products-table .rma-item-control > .input-group-btn {
        grid-column: 1;
        grid-row: 1;
    }
    #tab3 .rma-products-table .rma-item-control + .item-desc {
        display: block;
        width: 100%;
        margin: 10px 0 0;
        color: var(--wex-black);
        white-space: normal;
    }
    #tab3 .rma-products-table .rma-item-control + .item-desc::before,
    #tab3 .rma-products-table .rma-item-control + .item-desc:empty::after {
        display: none;
        content: none;
    }
    #tab3 .rma-products-table .wex-quantity { width: 116px; }
    #tab3 .rma-products-table tbody > tr > td:nth-child(7) { padding-top: 0 !important; }
    #tab3 .rma-products-table td[data-title^="Quantity"]:not(:has(.wex-quantity)) {
        display: none !important;
    }
    #tab3 .rma-products-table td[data-title="Reason for return"] > .input-group {
        grid-template-columns: minmax(0, 1fr) 116px !important;
        align-items: start;
        column-gap: 12px;
    }
    #tab3 .rma-products-table td[data-title="Reason for return"] > .input-group > .rma-reason-field {
        grid-column: 1;
    }
    #tab3 .rma-products-table td[data-title="Reason for return"] > .input-group > .rma-mobile-product-quantity {
        display: block !important;
        grid-column: 2;
        grid-row: 1;
        width: 116px;
        height: auto;
        margin: 0 !important;
        padding: 0 !important;
    }
    #tab3 .rma-products-table td[data-title="Reason for return"] > .input-group > .form-v2:not(.rma-reason-field):not(.rma-mobile-product-quantity) {
        grid-column: 1 / -1;
    }

    /* Sterilization rows use the same screen-width card treatment. */
    #tab5 .rma__steril-title { margin-top: 16px; font-size: 22px; }
    #tab5 .rma__steril-intro { margin-bottom: 24px; }
    #tab5 .rma__steril-warning { flex-direction: row; }
    #tab5 .rma__steril-filter-control { width: 100%; }
    #tab5 .rma__steril-filter.rma__steril-filter--fixed {
        right: 16px;
        left: 16px;
        width: auto;
    }
    #tab5 .rma__table-wrap {
        width: 100%;
        margin-right: 0;
        padding-right: 0;
        overflow: visible;
    }
    #tab5 #productsSterilization::before {
        position: relative;
        left: 50%;
        display: block;
        width: 100vw;
        height: 5px;
        margin: 24px 0;
        content: "";
        background: var(--wex-color-gray3);
        transform: translateX(-50%);
    }
    #tab5 .rma__steril-table,
    #tab5 .rma__steril-table tbody { display: block; width: 100%; min-width: 0; }
    #tab5 .rma__steril-table thead { display: none; }
    #tab5 .rma__steril-table tbody > tr {
        position: relative;
        display: grid;
        box-sizing: border-box;
        width: 100%;
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 6px 16px;
        margin: 0 0 24px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: var(--wex-white);
    }
    #tab5 .rma__steril-table tbody > tr::after {
        position: relative;
        left: 50%;
        display: block;
        width: 100vw;
        height: 5px;
        grid-column: 1 / -1;
        margin-top: 18px;
        content: "";
        background: var(--wex-color-gray3);
        transform: translateX(-50%);
    }
    #tab5 .rma__steril-table tbody > tr > td {
        display: block;
        width: auto !important;
        height: auto;
        padding: 0 !important;
        border: 0;
        background: transparent;
    }
    #tab5 .rma__steril-table tbody > tr > td:nth-child(1) { grid-column: 2; grid-row: 1; text-align: right; }
    #tab5 .rma__steril-table tbody > tr > td:nth-child(2) {
        position: absolute;
        top: 30px;
        right: 0;
        width: calc(40% - 10px) !important;
    }
    #tab5 .rma__steril-table tbody > tr > td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
    #tab5 .rma__steril-table tbody > tr > td:nth-child(4) { grid-column: 1; grid-row: 1 / span 2; text-align: left; }
    #tab5 .rma__steril-table tbody > tr > td::before {
        display: block;
        margin-bottom: 7px;
        color: var(--wex-black);
        content: attr(data-title);
        font-family: "Jost", Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
    }
    #tab5 .rma__steril-table tbody > tr > td:nth-child(1)::before,
    #tab5 .rma__steril-table tbody > tr > td:nth-child(3)::before { display: none; }
    #tab5 .rma__steril-table tbody > tr > td:nth-child(2) {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        color: var(--wex-color-gray1);
    }
    #tab5 .rma__steril-table tbody > tr > td:nth-child(2)::before {
        display: inline;
        margin: 0;
        color: var(--wex-color-gray1);
        content: "Qty";
        font-family: "Inter", Arial, sans-serif;
        font-size: 16px;
        font-weight: 400;
    }
    #tab5 .rma__steril-table tbody > tr > td:nth-child(4)::before {
        margin-bottom: 4px;
        color: var(--wex-black);
        font-family: "Inter", Arial, sans-serif;
        font-size: 18px;
        font-weight: 400;
        text-align: left;
    }
    #tab5 #sterilizationList .rma__steril-cell-content { min-height: 0; }
    #tab5 #sterilizationList .item-container,
    #tab5 #sterilizationList .reason-column { font-size: 18px; line-height: 24px; }
    #tab5 #sterilizationList .item-container { justify-content: flex-end; text-align: right; }
    #tab5 #sterilizationList .reason-column {
        justify-content: flex-start;
        color: var(--wex-color-gray1);
        text-align: left;
        font-size:16px!important;
    }
    #tab5 .rma__steril-status {
        box-sizing: border-box;
        gap: 20px;
        padding: 12px;
        border-radius: 6px;
        background: var(--wex-color-gray3);
    }
    #tab5 .rma__steril-toggle {
        width: 100%;
        height: auto;
        min-height: 40px;
        gap: 12px;
    }
    #tab5 .rma__steril-toggle > span:last-child { order: 1; }
    #tab5 .rma__steril-toggle > .rma__steril-track { order: 2; margin-left: auto; }
    #tab5 .rma__steril-method { width: 100%; }
    #tab5 .rma__steril-notice { margin: 26px 0; padding-top: 22px; }

    /* RMA dialogs follow the mobile auth bottom-sheet interaction. */
    .rma-warning-modal,
    .rma-success-modal,
    .rma-product-search-modal,
    #modalForm,
    #sitmodal,
    #prodError,
    #netOpenItems,
    #netSampleItems {
        box-sizing: border-box;
        padding: 13px 0 0 !important;
        overflow: hidden !important;
    }
    .rma-warning-modal.in,
    .rma-success-modal.in,
    .rma-product-search-modal.in,
    #modalForm.in,
    #sitmodal.in,
    #prodError.in,
    #netOpenItems.in,
    #netSampleItems.in {
        display: flex !important;
        height: 100vh;
        height: 100dvh;
        align-items: center !important;
        justify-content: center !important;
    }
    .rma-warning-modal .modal-dialog,
    .rma-success-modal .modal-dialog,
    .rma-product-search-modal .modal-dialog,
    #modalForm .modal-dialog,
    #sitmodal .modal-dialog,
    #prodError .modal-dialog,
    #netOpenItems .modal-dialog,
    #netSampleItems .modal-dialog {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: calc(100% - 32px) !important;
        max-width: none !important;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        margin: auto !important;
        transform: none !important;
        animation: rma-mobile-dialog-in .2s ease-out both;
    }
    .rma-warning-modal .modal-content,
    .rma-success-modal .modal-content,
    .rma-product-search-modal .modal-content,
    #modalForm .modal-content,
    #sitmodal .modal-content,
    #prodError .modal-content,
    #netOpenItems .modal-content,
    #netSampleItems .modal-content {
        width: 100%;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        margin: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 0;
        border-radius: 18px !important;
        background: var(--wex-white);
        box-shadow: 0 -18px 42px rgba(0, 0, 0, .18);
        -webkit-overflow-scrolling: touch;
    }
    #netOpenItems .modal-dialog,
    #netSampleItems .modal-dialog,
    #netOpenItems .modal-content,
    #netSampleItems .modal-content { height: calc(100vh - 32px); height: calc(100dvh - 32px); }
    #searchModal.in {
        align-items: flex-end !important;
        justify-content: stretch !important;
    }
    #searchModal .modal-dialog {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: 0 !important;
        left: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: calc(100vh - 13px) !important;
        height: calc(100dvh - 13px) !important;
        max-height: none !important;
        margin: 0 !important;
        transform: none !important;
        animation: rma-mobile-sheet-in .24s ease-out both;
    }
    #searchModal .modal-content {
        display: flex;
        box-sizing: border-box;
        width: 100%;
        height: 100% !important;
        max-height: none !important;
        flex-direction: column;
        padding: 20px;
        overflow: hidden;
        border-radius: 22px 22px 0 0 !important;
        box-shadow: 0 -18px 42px rgba(0, 0, 0, .18);
    }
    #searchModal .rma-product-search-modal__header {
        flex: 0 0 auto;
    }
    #searchModal .rma-product-search-modal__body {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
        overflow: visible;
    }
    #searchModal .rma-product-search-modal__actions {
        flex: 0 0 auto;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    #searchModal #productForm,
    #searchModal #productForm.rma-product-search--compact {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
    }
    #searchModal #productForm > .select2-container--open:not(.rma-product-picker-trigger),
    #searchModal #productForm .select2-dropdown,
    #searchModal #productForm .select2-results {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
    }
    #searchModal #productForm .select2-results__options {
        height: auto;
        max-height: none;
        min-height: 0;
        flex: 1 1 auto;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    #searchModal #productForm .select2-results {
        position: relative;
        left: 50%;
        width: 100vw !important;
        max-width: 100vw;
        margin-right: 0;
        margin-left: -50vw;
    }
    #searchModal #productForm .select2-results__option {
        box-sizing: border-box;
        width: 100%;
    }
    #searchModal #productSearchResults { height: auto; min-height: 180px; max-height: calc(100dvh - 245px); }
    #netOpenItems .modal-header,
    #netSampleItems .modal-header,
    #netOpenItems .net-report-mobile-filter-header,
    #netSampleItems .net-report-mobile-filter-header {
        box-sizing: border-box;
        align-items: flex-start;
        padding: 20px 16px 14px;
    }
    #netOpenItems .modal-header > .wex-auth-close,
    #netSampleItems .modal-header > .wex-auth-close,
    #netOpenItems .net-report-mobile-filter-header > .wex-auth-close,
    #netSampleItems .net-report-mobile-filter-header > .wex-auth-close {
        position: static !important;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        margin: 0 0 0 auto;
        padding: 0;
        transform: none !important;
    }
    #netOpenItems .modal-body,
    #netSampleItems .modal-body { padding: 12px 0px; overflow-y: auto; }
    #netOpenItems #netModalOpenContent,
    #netSampleItems #netModalSampleContent { overflow-x: hidden; }
    #netOpenItems .net-report-mobile-filter-panel,
    #netSampleItems .net-report-mobile-filter-panel { border-radius: 22px 22px 0 0; }
    #netOpenItems .modal-footer,
    #netSampleItems .modal-footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
    .netsuiteDataSearch tr, .netsuiteDataSearch td, .netsuiteDataSearch th {
        padding: 0;
    }
    /* Report pickers use the same full-height mobile sheet as authentication. */
    #netOpenItems.in,
    #netSampleItems.in {
        padding: 13px 0 0 !important;
        align-items: flex-end !important;
        justify-content: stretch !important;
    }
    #netOpenItems .modal-dialog,
    #netSampleItems .modal-dialog {
        top: auto !important;
        right: auto !important;
        bottom: 0 !important;
        left: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: calc(100vh - 13px) !important;
        height: calc(100dvh - 13px) !important;
        max-height: none !important;
        margin: 0 !important;
        transform: none !important;
        animation: rma-mobile-sheet-in .24s ease-out both;
    }
    #netOpenItems .modal-content,
    #netSampleItems .modal-content {
        width: 100%;
        height: 100% !important;
        max-height: none !important;
        overflow: hidden;
        border-radius: 22px 22px 0 0 !important;
        box-shadow: 0 -18px 42px rgba(0, 0, 0, .18);
    }
    #netOpenItems .modal-body,
    #netSampleItems .modal-body {
        min-height: 0;
        flex: 1 1 auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    #netOpenItems .net-report-selectbar,
    #netSampleItems .net-report-selectbar { grid-template-columns: minmax(0, 1fr); }
    #netOpenItems .net-report-selectbar > :nth-child(2),
    #netOpenItems .net-report-selectbar > :nth-child(3),
    #netSampleItems .net-report-selectbar > :nth-child(2),
    #netSampleItems .net-report-selectbar > :nth-child(3) { display: none; }
    #netOpenItems .netsuiteDataSearch,
    #netSampleItems .netsuiteDataSearch,
    #netOpenItems .netsuiteDataSearch .netsuite-maincontent,
    #netSampleItems .netsuiteDataSearch .netsuite-maincontent {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-x: hidden !important;
    }
    #netOpenItems .netsuiteDataSearch colgroup,
    #netSampleItems .netsuiteDataSearch colgroup { display: none; }
    #netOpenItems .netsuiteDataSearch .net-report-group,
    #netSampleItems .netsuiteDataSearch .net-report-group {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto !important;
        box-sizing: border-box;
    }
    #netOpenItems .netsuiteDataSearch .net-report-group > td,
    #netSampleItems .netsuiteDataSearch .net-report-group > td {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto !important;
        min-height: 48px;
        padding-top: 8px;
        padding-bottom: 8px;
        overflow: hidden;
        box-sizing: border-box;
    }
    #netOpenItems .netsuiteDataSearch .net-report-group label,
    #netSampleItems .netsuiteDataSearch .net-report-group label {
        display: grid;
        width: 100%;
        min-width: 0;
        grid-template-columns: 18px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
    }
    #netOpenItems .netsuiteDataSearch .net-report-group label input,
    #netSampleItems .netsuiteDataSearch .net-report-group label input {
        width: 18px;
        min-width: 18px;
        margin: 0;
    }
    #netOpenItems .netsuiteDataSearch .net-report-group label span,
    #netSampleItems .netsuiteDataSearch .net-report-group label span {
        width: 100%;
        min-width: 0;
        display: block;
        overflow: visible;
        white-space: normal;
        text-overflow: clip;
        line-height: 20px;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    #netOpenItems .netsuiteDataSearch .net-report-item,
    #netSampleItems .netsuiteDataSearch .net-report-item {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: 84px;
        border-bottom: 1px solid var(--wex-color-gray2);
    }
    #netOpenItems .netsuiteDataSearch .net-report-item > td,
    #netSampleItems .netsuiteDataSearch .net-report-item > td {
        width: auto;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
        border-bottom: 0;
        font-size: 16px;
        line-height: 20px;
    }
    #netOpenItems .netsuiteDataSearch .net-report-item > td:first-child,
    #netSampleItems .netsuiteDataSearch .net-report-item > td:first-child {
        width: 100%;
        min-height: 84px;
        padding: 10px 16px;
    }
    .netsuiteDataSearch .net-report-group td {
        padding: 0 16px;
    }
    .net-report-selectbar label,
    .netsuiteDataSearch .net-report-item td:first-child {
        gap: 16px;
    }
    .net-report-selectbar > span {
        margin-left: 16px;
    }
    .net-report-heading p {
        font-size: 16px;
    }
    #netOpenItems .netsuiteDataSearch .net-report-item td:first-child > span:not(.net-item-added),
    #netSampleItems .netsuiteDataSearch .net-report-item td:first-child > span:not(.net-item-added) {
        white-space: normal;
    }
    #netOpenItems .netsuiteDataSearch .net-report-item small,
    #netSampleItems .netsuiteDataSearch .net-report-item small {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 16px;
        max-width: 100%;
    }
    #netOpenItems .netsuiteDataSearch .net-report-mobile-meta,
    #netSampleItems .netsuiteDataSearch .net-report-mobile-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 4px;
        color: var(--wex-color-111);
        white-space: nowrap;
        font-size: 16px;
        line-height: 20px;
    }
    #netOpenItems .netsuiteDataSearch .net-report-mobile-meta > span + span::before,
    #netSampleItems .netsuiteDataSearch .net-report-mobile-meta > span + span::before {
        content: "·";
        margin-right: 8px;
    }
    #netOpenItems .netsuiteDataSearch .net-report-item > td:nth-child(2),
    #netSampleItems .netsuiteDataSearch .net-report-item > td:nth-child(2) {
        display: none;
    }
    #netOpenItems .netsuiteDataSearch .net-report-item > td:nth-child(2)::after,
    #netSampleItems .netsuiteDataSearch .net-report-item > td:nth-child(2)::after { content: "\00a0·\00a0"; }
    #netOpenItems .netsuiteDataSearch .net-report-item > td:nth-child(3),
    #netSampleItems .netsuiteDataSearch .net-report-item > td:nth-child(3) {
        display: none;
    }
    #netOpenItems .netsuiteDataSearch .net-report-item > td:nth-child(3)::before,
    #netSampleItems .netsuiteDataSearch .net-report-item > td:nth-child(3)::before { content: "Qty: "; }
    .rma-warning-modal .wex-auth-close {
        top: 20px !important;
        right: 20px !important;
    }

    /* Compact feedback dialogs stay centered instead of becoming sheets. */
    .rma-warning-modal,
    .rma-success-modal {
        padding: 16px !important;
    }
    .rma-warning-modal.in,
    .rma-success-modal.in {
        align-items: center !important;
        justify-content: center !important;
    }
    .rma-warning-modal .modal-dialog,
    .rma-success-modal .modal-dialog {
        bottom: auto !important;
        width: min(460px, 100%) !important;
        max-width: 460px !important;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        animation: rma-mobile-dialog-in .2s ease-out both;
    }
    .rma-warning-modal .modal-content,
    .rma-success-modal .modal-content {
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        border-radius: 18px !important;
        box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
    }
    #rmaConfirm .modal-dialog,
    #prodsadded .modal-dialog,
    #errorProdsModal .modal-dialog,
    #quickAddValidationErrorModal .modal-dialog,
    #quickAddPendingModal .modal-dialog,
    #searchModal .modal-dialog,
    #modalForm .modal-dialog,
    #sitmodal .modal-dialog,
    #prodError .modal-dialog,
    #netOpenItems .modal-dialog,
    #netSampleItems .modal-dialog {
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }
    .rma-warning-modal__actions,
    .rma-product-search-modal__actions { flex-direction: column-reverse; }
    .rma-warning-modal__button,
    #tab3 #addproduct,
    .rma-product-search-modal__actions .btn {
        width: 100%;
        font-size: 16px;
        height: 44px;
        min-height: 44px;
    }

    @keyframes rma-mobile-sheet-in {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    @keyframes rma-mobile-dialog-in {
        from { opacity: 0; transform: translateY(12px) scale(.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .rma__panel-wrapper { margin: 16px; }
}

/* Match Agreement's compact mobile product cards. */
@media (max-width: 1024px) {
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 8px;
        margin: 0 0 10px !important;
        padding: 10px;
        border: 0 !important;
        border-radius: 10px;
        background: var(--wex-color-gray3, #e7e7ea) !important;
    }
    #rma #tab3 .rma-products-table-wrap:not(:has(.agreement-products-table))::before,
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr::after {
        display: none;
        content: none;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr > td {
        width: auto !important;
        grid-column: auto;
        grid-row: auto;
        padding: 0 !important;
        border: 0;
        background: var(--wex-color-gray3, #e7e7ea) !important;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr > td:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr > td[data-title^="Quantity"] { grid-column: 1 / -1; grid-row: 2; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr > td[data-title="Reason for return"] { grid-column: 1 / -1; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr > td:last-child { top: 11px; right: 10px; width: 40px !important; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .panel-close.close-button {
        display: flex;
        width: 40px;
        height: 42px !important;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0 0 0 8px !important;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) td[data-title]::before { margin-bottom: 7px; font-size: 14px; font-weight: 500; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-control { display: flex; padding-right: 40px; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field { display: flex; align-items: center; padding: 0; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .model,
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .model:focus { flex: 1 1 0; width: 0; min-width: 0; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-row-product-link-slot:empty { display: none; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-inline-lookup { flex: 0 0 90px; width: 90px; min-width: 0; font-size: 16px; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-control + .item-desc { margin: 8px 0 0; color: var(--wex-color-gray1); user-select: text; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-control + .item-desc:empty { display: none; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr > td[data-title^="Quantity"],
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr > td[data-title="Reason for return"] {
        grid-column: 1 / -1;
        justify-self: stretch;
        flex: 0 0 100%;
        width: 100% !important;
        min-width: 0;
        max-width: none;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) td[data-title="Reason for return"] > .input-group {
        display: grid;
        width: 100% !important;
        min-width: 0;
        max-width: none;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) td[data-title^="Quantity"] > .form-v2,
    #rma #tab3 .rma-products-table:not(.agreement-products-table) td[data-title="Reason for return"] > .input-group > .form-v2,
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-reason-field > .select2-container {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0;
        max-width: none;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .wex-quantity { flex: 0 0 100% !important; width: 100% !important; min-width: 0 !important; max-width: none !important; box-sizing: border-box; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .wex-quantity-change { flex: 0 0 33.333% !important; width: 33.333% !important; min-width: 0 !important; max-width: none !important; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .wex-quantity .qty { flex: 1 1 0 !important; width: 0 !important; min-width: 0 !important; max-width: none !important; }
}
@media (max-width: 767px) {
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-control + .item-desc:not(:empty) {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}

/* RMA completion */
.rma__completion-page {
    display: flex;
    min-height: 863px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 24px var(--wex-desktop-gutter, 24px) 56px;
    background: var(--wex-white);
    font-family: "Inter", Arial, sans-serif;
}
.rma__completion-content {
    margin-top: 100px;
    display: flex;
    width: 100%;
    max-width: 680px;
    align-self: center;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
    padding: 48px;
    border: 1px solid var(--wex-color-gray2);
    border-radius: 16px;
    background: var(--wex-white);
    color: var(--wex-black);
    text-align: center;
}
@media (min-width: 1025px) {
    .rma__completion-page:not(.agreement__completion-page) .rma__completion-content {
        margin-top: 0;
    }
}
.rma__completion-icon {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #e8f5e9;
    color: var(--wex-color-green, #248a3d);
}
.rma__completion-icon .material-symbols-rounded {
    font-size: 36px;
    font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 36;
}
.rma__completion-eyebrow {
    margin: 0 0 8px;
    color: var(--wex-color-green, #248a3d);
    font-family: "Jost", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.rma__completion-content h1 {
    margin: 0;
    color: var(--wex-black);
    font-family: "Jost", Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}
.rma__completion-reference {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 16px 0 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--wex-color-gray3);
    color: var(--wex-color-gray1);
    font-size: 14px;
    line-height: 20px;
}
.rma__completion-reference strong { color: var(--wex-black); font-weight: 500; }
.rma__completion-message { max-width: 550px; margin: 20px 0 0; color: var(--wex-color-gray1); font-size: 16px; font-weight: 400; line-height: 1.5; }
.rma__completion-notice {
    display: flex;
    width: 100%;
    align-items: flex-start;
    box-sizing: border-box;
    gap: 12px;
    margin-top: 28px;
    padding: 16px;
    border-radius: 8px;
    background: var(--wex-color-gray3);
    color: var(--wex-black);
    text-align: left;
}
.rma__completion-notice .material-symbols-rounded { flex: 0 0 auto; color: var(--wex-color-gray1); font-size: 22px; }
.rma__completion-notice p { margin: 0; font-size: 15px; line-height: 22px; }
.rma__completion-notice a { color: var(--wex-blue); font-weight: 500; text-decoration: none; }
.rma__completion-notice a:hover { text-decoration: underline; }
.rma__completion-actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.rma__completion-button { display: flex; height: 42px; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-family: "Jost", Arial, sans-serif; font-size: 14px; font-weight: 500; text-decoration: none !important; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.rma__completion-button--primary { border-color: var(--wex-regular-btn); background: var(--wex-regular-btn); color: var(--wex-white); }
.rma__completion-button--primary:hover { border-color: var(--wex-regular-btn-hover); background: var(--wex-regular-btn-hover); color: var(--wex-white); }
.rma__completion-button--secondary { border-color: var(--wex-color-gray2); background: var(--wex-white); color: var(--wex-blue); }
.rma__completion-button--secondary:hover { border-color: var(--wex-blue); color: var(--wex-blue); }
.rma__completion-button:focus-visible { outline: 2px solid var(--wex-blue) !important; outline-offset: 2px; }

@media (max-width: 1024px) {
    .rma__completion-page { min-height: auto; padding: 28px 16px 56px; }
    .rma__completion-content { padding: 32px 0px; border: 0; border-radius: 12px; }
    .rma__completion-content h1 { font-size: 25px; }
    .rma__completion-actions { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    #rma .rma__wizard-row.rma__wizard-row--fixed { display: none !important; }
    #rma .rma__wizard-anchor.is-active { margin-bottom: 0 !important; }
}

@media (max-width: 380px) {
    .rma__editor-section .rma__page-content { padding-inline: 12px; }
    #rma .nav-tabs { width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px; }
    #rma .nav-tabs > li > a { min-width: 108px; padding-inline: 10px; }
    #rma .rma__wizard-row.rma__wizard-row--fixed { padding-inline: 12px !important; }
}

@media (max-width: 1024px) {
    #rma *,
    .rma-warning-modal *,
    .rma-success-modal *,
    .rma-product-search-modal *,
    #netOpenItems *,
    #netSampleItems * {
        -webkit-tap-highlight-color: transparent;
    }



    #rma *:focus,
    #rma *:focus-visible,
    .rma-warning-modal *:focus,
    .rma-warning-modal *:focus-visible,
    .rma-success-modal *:focus,
    .rma-success-modal *:focus-visible,
    .rma-product-search-modal *:focus,
    .rma-product-search-modal *:focus-visible,
    #netOpenItems *:focus,
    #netOpenItems *:focus-visible,
    #netSampleItems *:focus,
    #netSampleItems *:focus-visible {
        outline: 0 !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }


}

#tab3 .rma-products-table .rma-reason-field:has(.select2-container)::after { display: none; }
#tab3 .rma-products-table select.reason ~ .rma-dropdown-lock { display: none; }
#tab3 .rma-products-table select.reason:disabled ~ .rma-dropdown-lock {
    position: absolute;
    z-index: 5;
    top: 9px;
    right: 8px;
    display: block;
    width: 24px;
    height: 24px;
    background: var(--wex-color-gray3);
    color: var(--wex-color-gray1);
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    pointer-events: none;
}
#tab3 .rma-reason-field .select2-container--disabled .select2-selection__arrow { display: none; }

/* Product lookup states shared with the Agreement selector design. */
@media (max-width: 1024px) {
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody > tr.productrow:not(.rma-product-selected) > td[data-title]:not(:has(.rma-item-control)) {
        display: none !important;
    }
}
#rma #tab3 .rma-inline-lookup .rma-lookup-select-word { margin-right:4px; }
@media(max-width:1024px) {
    #rma #tab3 .rma-inline-lookup {
        flex:0 0 100px;
        width:100px;
        max-width:90px;
        white-space:nowrap;
        text-transform:capitalize;
    }
    #rma #tab3 .rma-inline-lookup .rma-lookup-select-word { display:none; }
    .rma-code-dropdown .rma-code-result {
        grid-template-columns:minmax(0,1fr) 24px;
    }
    .rma-code-dropdown .rma-code-result strong {
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
    }
    .rma-code-dropdown .rma-code-result::after { display:none; }
    .rma-code-dropdown .rma-code-result > span { display:none; }
    .rma-code-dropdown .rma-code-link { padding-right:0; }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-control>.rma-item-field {
        display:flex;
        flex-wrap:nowrap;
        box-sizing:border-box;
        height:42px;
        min-height:42px;
        overflow:hidden;
        padding:0!important;
        border:1px solid var(--wex-color-gray2,#d1d1d6);
        border-radius:6px;
        background:#fff;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:focus-within {
        border-color:var(--wex-blue,#1261a0);
        box-shadow:inset 0 0 0 1px var(--wex-blue,#1261a0);
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .model {
        flex:1 1 160px;
        width:auto;
        min-width:0;
        height:40px;
        padding:9px 12px;
        border:0!important;
        background:transparent;
        box-shadow:none!important;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.rma-item-desc--browse) .model,
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.rma-item-desc--browse) .model:focus {
        flex:1 1 0;
        width:0;
        padding-right:4px;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-control>.rma-item-field:has(.rma-item-desc--browse) {
        position:relative;
        padding-right:36px!important;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.rma-item-desc--browse) .rma-code-trigger {
        position:absolute;
        top:4px;
        right:0px;
        margin:0;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.rma-item-desc--browse) .select2-selection__arrow {
        right:11px;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.rma-item-desc--browse) .rma-code-spinner {
        position:absolute;
        top:11px;
        right:11px;
        margin:0;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-code-loading .rma-item-field {
        position:relative;
        padding-right:36px!important;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-code-loading .rma-code-trigger {
        visibility:hidden;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-code-loading .rma-code-spinner {
        position:absolute;
        top:11px;
        right:11px;
        margin:0;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .item-desc.rma-item-desc--browse {
        flex:1 1 0;
        width:0;
        min-width:0;
        padding-right:0;
        overflow:hidden;
        color:var(--wex-color-gray1,#636366);
        font-variant-numeric:tabular-nums;
        line-height:20px;
        text-align:right;
        text-overflow:ellipsis;
        white-space:nowrap;
        cursor:pointer;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .rma-item-desc--browse::before {
        display:none;
        content:none;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .rma-inline-lookup[hidden] {
        display:none!important;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-control>.rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) {
        position:relative;
        flex-wrap:wrap;
        align-items:stretch;
        height:auto;
        overflow:visible;
        border:0;
        background:transparent;
        box-shadow:none;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)):focus-within {
        border:0;
        box-shadow:none;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) .model {
        order:1;
        flex:0 0 100%;
        box-sizing:border-box;
        width:100%;
        height:42px;
        padding-right:48px;
        border:1px solid var(--wex-color-gray2,#d1d1d6)!important;
        border-radius:6px;
        background:#fff;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) .model:focus {
        border-color:var(--wex-blue,#1261a0)!important;
        box-shadow:inset 0 0 0 1px var(--wex-blue,#1261a0)!important;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)):has(.rma-code-trigger) .model {
        padding-right:84px;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) .rma-row-product-link-slot,
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) .rma-code-trigger,
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) .rma-code-spinner {
        position:absolute;
        z-index:3;
        top:7px;
        right:8px;
        margin:0;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)):has(.rma-code-trigger) .rma-row-product-link-slot,
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)):has(.rma-code-spinner) .rma-row-product-link-slot {
        right:48px;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) .rma-code-spinner {
        top:11px;
        right:11px;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) .rma-row-product-link {
        display:inline-flex!important;
        color:var(--wex-link,#1a4398);
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field:has(.item-desc:not(:empty):not(.rma-item-desc--browse)) .rma-row-product-link .material-symbols-rounded {
        color:var(--wex-link,#1a4398);
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .item-desc:not(:empty):not(.rma-item-desc--browse) {
        order:10;
        flex:0 0 100%;
        width:100%;
        max-height:none;
        margin:8px 0 0;
        padding:0;
        overflow:visible;
        color:var(--wex-color-gray1,#636366);
        white-space:normal;
        text-overflow:clip;
        user-select:text;
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) tbody>tr:has(.panel-close:not([hidden])) .rma-item-field .item-desc:not(:empty):not(.rma-item-desc--browse) {
        flex-basis:calc(100% + 40px);
        width:calc(100% + 40px);
    }
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .item-desc:not(:empty):not(.rma-item-desc--browse)::before {
        display:none;
        content:none;
    }
}

@media (max-width:767px) {
    #rma #tab3 .rma-products-table:not(.agreement-products-table) .rma-item-field .item-desc:not(:empty):not(.rma-item-desc--browse) { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden; }
}
