/**
 * All of the CSS for your common functionality should be
 * included in this file.
 */

/* Custom janice Start */
.wps-rma-form__wrapper .wps-rma-product__table-wrapper {
    overflow: unset;
}

.table.wps-rma-product__table .thead,
.table.wps-rma-product__table .tbody {
    display: block;
    width: 100%;
}

.table.wps-rma-product__table {
    display: block;
    width: 100%;
    min-width: 250px;
}

.table.wps-rma-product__table p,
.wps-rma-refund-request__row p {
    margin: 0;
}

.table.wps-rma-product__table .tbody .tr {
    width: 100%;
}

.table.wps-rma-product__table .tbody {
    background: #fff;
    padding: 15px;
}

#wps-return-alert {
    color: #fff;
}

.wps-rma-form__header {
    margin: 100px 0 0;
}

.wps-rma-product__table .slick-arrow.slick-disabled {
    display: none !important;
}

.wps-rma__product-title dl {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 5px;
    flex-wrap: wrap;
}

.wps-rma__product-title dl dd {
    margin: 0 !important;
}

.td.wps_wrma_exchnaged_product_remove {
    position: absolute;
    top: 5px;
    font-size: 35px;
    right: 18px;
}

.wps-rma-product__table .slick-arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    font-size: 0;
    border: none;
    background: 0;
    left: 0;
    transform: translate(0, -50%);
}

.table.wps-rma-product__table .tbody .slick-track {
    margin: 0;
}

.wps-rma-product__table .slick-arrow:after,
.wps-rma-product__table .slick-arrow:before {
    position: absolute;
    content: '\276E';
    top: calc(50% + 3px);
    left: 18px;
    font-size: 24px;
    transform: translate(0, -50%);
    line-height: 32px;
    cursor: pointer;
}

.wps-rma-product__table .slick-arrow:before {
    content: '';
    width: 50px;
    height: 50px;
    border: 1px solid #1e1e1e;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    left: 5px;
    top: calc(50% + 3px);
}

.wps-rma-product__table .slick-next {
    transform: rotate(180deg) translate(0, -50%);
    right: 0;
    left: unset;
}

.table.wps-rma-product__table .tbody .tr.wps_rma_return_column {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid;
    position: relative;
    width: calc(100% - 4px) !important;
}

.table.wps-rma-product__table .tbody .tr.wps_rma_return_column .td {
    border: none;
    background: transparent;
    padding: 0;
}

.table.wps-rma-product__table .product-name .wps-rma-product__wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: none;
}

.table.wps-rma-product__table .product-name .wps-rma-product__wrap img {
    max-height: 100%;
    width: 100%;
    margin: 0 0 15px;
}

.table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_rma_product_title,
.table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_wrma_product_title {
    margin: 0;
    padding: 0;
}

.table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_rma_product_title ul.wc-item-meta,
.table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_wrma_product_title ul {
    list-style: none;
}

.table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_rma_product_title ul.wc-item-meta li,
.table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_wrma_product_title ul li {
    display: flex;
    gap: 5px;
    align-items: flex-start;
}

.table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_rma_product_title ul.wc-item-meta~p {
    margin: 0;
}

.table.wps-rma-product__table .tbody .tr.wps_rma_return_column .td.product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table.wps-rma-product__table .tbody .tr.wps_rma_return_column .td.product-quantity input {
    border: none !important;
    border-bottom: 1px solid #dcdcdc !important;
    padding: 5px 0;
    margin: 0;
    line-height: 1.25;
    height: auto;
    max-width: 100px;
    min-width: unset;
}

.table.wps-rma-product__table .tbody .tr.wps_rma_return_column .td.product-total {
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    margin: 15px 0 0;
    flex: 1;
}

.table.wps-rma-product__table .tbody .tr.wps_rma_return_column .td.product-select {
    position: absolute;
    background: transparent;
    right: 20px;
    top: 20px;
}

.table.wps-rma-product__table .thead .th {
    display: none;
    border: none !important;
    padding: 10px 0;
    font-size: 20px;
    line-height: 1.25;
}

.table.wps-rma-product__table .thead .th.products {
    display: block;
    font-weight: 600;
}

.table.wps-rma-product__table .thead .th.product-check {
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    font-size: 18px;
    color: #1e1e1e;
}

.table.wps-rma-product__table .thead {
    position: relative;
}

.table.wps-rma-product__table input[type=checkbox] {
    position: relative;
    background: #fff;
    width: 40px;
    height: 20px;
    border-radius: 10px;
    border: 1px solid #1e1e1e;
    cursor: pointer;
    appearance: none;
}

.table.wps-rma-product__table input[type=checkbox]:before {
    position: absolute;
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1e1e1e;
    top: 1px;
    left: 2px;
    transition: all linear 0.2s;
}

.table.wps-rma-product__table input[type=checkbox]:checked::before {
    left: 20px;
    background: #dc4347;
}

.table.wps-rma-product__table input[type=checkbox]:checked {
    border: 1px solid #dc4347;
}

.total_refund_amount {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 25px 0;
    font-size: 18px;
    font-weight: 600;
}

form#wps_rma_exchnage_request_form {
    margin: 15px 0;
    width: 100%;
}

.wps-rma-refund-request__row select,
.wps-rma-refund-request__row input[type=text] {
    min-height: 40px;
    background-color: transparent;
    color: #1e1e1e;
    background-size: 22px;
    padding-right: 32px;
}

.wps-rma-refund-request__row .wps-rma-subject__dropdown,
.wps-rma-refund-request__row .wps_rma_other_subject {
    margin: 15px 0;
}

p#wps_wrma_exchange_extra_amount {
    margin: 0 0 20px;
}

.wps-rma-refund-request__row .dhl_date_section {
    margin: 10px 0;
}

@media screen and (max-width: 768px) {
    .wps-rma-form__header {
        margin: 60px 0 0;
    }
}
 .table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_rma_product_title small {
    /* position: absolute; */
    /* top: -3px; */
    line-height: 1.25;
    background: #fff;
    padding: 0 5px;
    font-size: 12px;
}

.table.wps-rma-product__table .tbody .tr.wps_rma_return_column {
    position: relative;
}
/* Custom janice End */


.table.wps-rma-product__table .product-name .wps-rma-product__wrap .wps_wrma_prod_img.wps-rma__prod-img {
    width: 100%;
}