.nps-return-order {
    display: flex;
    flex-direction: column;
    gap: 20px;

    h2, h3, h5, p {
        margin-bottom: 0;
    }

    input[type="checkbox"], input[type="radio"] {
        width: 17px;
        height: 17px;
    }

    .page-heading {
        line-height: 1;
    }

    .return-form-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .bg-container {
        background: #fff;
        padding: 20px 24px;
    }

    .package-dropdown-section {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .package-dropdown {
        width: 200px;
        display: none;
    }

    .select2-selection.select2-selection--single {
		height: 42px;
		display: flex;
		align-items: center;

		.select2-selection__arrow {
			top: auto;
		}
	}

	.select2-container .select2-selection {
		background-color: #fbfbfb;
	}

    .select2-results__option {
        margin-bottom: 0 !important;
    }
      
    .section-heading {
        margin-bottom: 10px;
    }

    .items-table {
        margin-bottom: 0;

        td {
            padding: 4px 12px;
            border: none;
        }
    
        .checkbox-container {
            width: 24px;
            padding: 0;
        }

        .image-container{
            width: 74px;
        }

        .product-image {
            width: 50px;
            height: 50px;
        }

        .product-quantity-wrapper {
            display: none;
            gap: 10px;
            align-items: center;
            justify-content: end;
        }
    
        .quantity-input {
            width: 50px;
        }

        .reason-row {
            display: none;
        }

        .reason-wrapper {
            padding: 10px 0;
        }

        .reason-input {
            min-height: initial;
            height: initial;
        }

        .media-upload-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;

            input {
                width: 195px;
            }
        }
    }

    .return-type-section, .wallet-section {
        display: flex;
        gap: 20px;
    }

    .return-type-container {
        width: 100%;
    }

    .refund-option-container {
        display: none;
    }

    .refund-bank-details-section, .wallet-section {
        display: none;
    }

    .wallet-option-container, .wallet-detail-container {
        width: 50%;
    }

    #wallet_id {
        text-align: left;
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        height: var(--wd-form-height);
        border: var(--wd-form-brd-width) solid var(--wd-form-brd-color);
        border-radius: var(--wd-form-brd-radius);
        background-color: var(--wd-form-bg);
        box-shadow: none;
        color: var(--wd-form-color);
        vertical-align: middle;
        font-size: 14px;
        transition: border-color .5s ease;

        &:focus {
            outline: none;
            border-color: var(--wd-form-brd-color-focus);
            transition: border-color .4s ease;
        }
    }

    .submit-container {
        display: flex;
        justify-content: end;
    }

    .submit-button {
        background-color: var( --btn-accented-bgcolor );
        color: var( --btn-accented-color );

        &:hover {
            background-color: var( --btn-accented-bgcolor-hover );
            color: var( --btn-accented-color-hover );
        }
    }
}

body:has(.nps-return-order) .select2-results__option {
    line-height: 1.4;
    margin-bottom: 0;
}

@media screen and ( max-width: 1024px ) {
    .nps-return-order {

        .page-heading {
            font-size: 20px;
        }

        .return-form-container {
            width: 100%;
        }

        .select2-selection.select2-selection--single {
            height: 38px;
            font-size: 13px;
        }

        .submit-button { 
            min-height: 38px;
        }
    }

    body:has(.nps-return-order) .select2-results__option {
        font-size: 13px;
    }
}

 
@media screen and ( max-width: 768px ) {
    .nps-return-order {

        .page-heading {
            font-size: 18px;
            text-align: center;
        }

        .return-form-container {
            gap: 15px;
        }

        .package-heading {
            font-size: 14px;
        }

        .select2-container {
            width: 170px !important;
        }

        .bg-container {
            padding: 16px 18px;
        }

        .section-heading {
            font-size: 14px;
        }

        .items-table {
            td {
                padding: 4px;
            }

            .image-container{
                width: 58px;
            }

            .product-quantity-wrapper {
                gap: 6px;
            }

            .quantity-label {
                font-size: 12px;
            }

            .quantity-input {
                width: 30px;
                font-size: 12px;
                height: 30px;
            }

            .reason-wrapper {
                padding: 0 0 4px 0;
            }

            .reason-input {
                font-size: 12px;
                padding: 6px 10px;
            }

            .media-upload-wrapper {
                padding-bottom: 6px;

                label {
                    font-size: 12px;
                }
                input {
                    width: 170px;
                    font-size: 12px;
                }
            }
        }

        .return-type-section {
            gap: 15px;
        }

        label {
            font-size: 12px;
        }

        .submit-button {
            font-size: 12px;
            min-height: 32px;
            padding-inline: 18px;
        }
    }
}