/* ==========================================
   IQ Return Management
   Customer Return Form
========================================== */

.iqrm-return-wrapper{
    max-width:900px;
    margin:0 auto;
}

.iqrm-order-number{
    margin-bottom:30px;
}

/* Overall Note */

.iqrm-overall-note{
    margin-bottom:30px;
}

.iqrm-overall-note textarea{
    width:100%;
    min-height:120px;
    resize:vertical;
}

/* Product Card */

.iqrm-product{

    border:1px solid #ddd;
    border-radius:8px;
    padding:20px;
    margin-bottom:20px;
    background:#fff;
    transition:.3s;

}

.iqrm-product.active{

    border-color:#2271b1;
    box-shadow:0 0 15px rgba(34,113,177,.15);

}

.iqrm-product-header{

    display:flex;
    align-items:flex-start;
    gap:20px;

}

.iqrm-product-image{

    width:80px;
    flex:0 0 80px;

}

.iqrm-product-image img{

    width:80px;
    height:80px;
    object-fit:contain;
    border:1px solid #eee;
    border-radius:6px;

}

.iqrm-product-info{

    flex:1;

}

.iqrm-product-info h4{

    margin:0 0 10px;
    font-size:18px;
    line-height:1.4;
    font-weight:600;

}

.iqrm-product-info p{

    margin:6px 0;
    font-size:14px;

}

.iqrm-product label{

    cursor:pointer;

}

.iqrm-checkbox{

    margin-top:30px;

}

/* Badge */

.iqrm-badge{

    display:inline-block;
    margin-top:10px;
    background:#d63638;
    color:#fff;
    padding:5px 12px;
    border-radius:4px;
    font-size:12px;
    font-weight:600;

}

/* Hidden Fields */

.iqrm-fields{

    display:none;
    margin-top:25px;
    padding-top:20px;
    border-top:1px solid #eee;

}

.iqrm-field{

    margin-bottom:20px;

}

.iqrm-field label{

    display:block;
    margin-bottom:8px;
    font-weight:600;

}

.iqrm-field input[type="number"],
.iqrm-field select,
.iqrm-field textarea{

    width:100%;
    max-width:450px;

}

.iqrm-field textarea{

    min-height:90px;
    resize:vertical;

}

.iqrm-field small{

    display:block;
    margin-top:6px;
    color:#777;

}

/* Submit */

.iqrm-submit{

    margin-top:35px;

}

.iqrm-submit button{

    min-width:220px;

}

/* Responsive */

@media(max-width:767px){

    .iqrm-product-header{

        flex-wrap:wrap;
        gap:15px;

    }

    .iqrm-checkbox{

        margin-top:0;

    }

    .iqrm-product-image{

        width:65px;
        flex:0 0 65px;

    }

    .iqrm-product-image img{

        width:65px;
        height:65px;

    }

    .iqrm-product-info h4{

        font-size:16px;

    }

    .iqrm-field input[type="number"],
    .iqrm-field select,
    .iqrm-field textarea{

        max-width:100%;

    }

}
/*=========================================
=            My Return Details
=========================================*/

.iqrm-return-details{
    margin-top:30px;
}

.iqrm-return-header{

    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    padding:25px;

    border:1px solid #e5e5e5;

    border-radius:8px;

    background:#fff;

    margin-bottom:25px;

}

.iqrm-return-header h2{

    margin:0 0 12px;

    font-size:24px;

}

.iqrm-return-header p{

    margin:6px 0;

}

.iqrm-section{

    margin-bottom:30px;

    padding:25px;

    background:#fff;

    border:1px solid #e5e5e5;

    border-radius:8px;

}

.iqrm-section h3{

    margin-top:0;

    margin-bottom:20px;

    font-size:20px;

}

/* Product */

.iqrm-product-card{

    display:flex;

    gap:20px;

    padding:20px;

    border:1px solid #eee;

    border-radius:8px;

    margin-bottom:20px;

}

.iqrm-product-card:last-child{

    margin-bottom:0;

}

.iqrm-product-card .iqrm-product-image{

    width:90px;

    flex:0 0 90px;

}

.iqrm-product-card .iqrm-product-image img{

    width:90px;

    height:90px;

    object-fit:contain;

}

.iqrm-product-content{

    flex:1;

}

.iqrm-return-details .iqrm-product-content h4{

    margin:0 0 10px !important;

    font-size:18px !important;

    line-height:1.5 !important;

    font-weight:600 !important;

    color:#222 !important;

}

.iqrm-product-content p{

    margin:8px 0;

}

/* Timeline */

.iqrm-timeline{

    position:relative;

    padding-left:28px;

}

.iqrm-timeline:before{

    content:"";

    position:absolute;

    top:0;

    left:9px;

    width:2px;

    height:100%;

    background:#dcdcde;

}

.iqrm-timeline-item{

    position:relative;

    margin-bottom:28px;

}

.iqrm-timeline-item:last-child{

    margin-bottom:0;

}

.iqrm-dot{

    position:absolute;

    left:-27px;

    top:5px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:#2271b1;

}

.iqrm-timeline-content{

    background:#f8f8f8;

    padding:16px;

    border-radius:6px;

}

.iqrm-timeline-content p{

    margin:10px 0;

}

.iqrm-timeline-content small{

    color:#666;

}

/* Status */

.iqrm-status{

    display:inline-block;

    padding:8px 16px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

    color:#fff;

}

.iqrm-status-pending{

    background:#dba617;

}

.iqrm-status-approved{

    background:#0a7d34;

}

.iqrm-status-rejected{

    background:#d63638;

}

.iqrm-status-received{

    background:#2271b1;

}

.iqrm-status-refunded{

    background:#5b21b6;

}

/* Responsive */

@media(max-width:768px){

    .iqrm-return-header{

        display:block;

    }

    .iqrm-return-header .iqrm-status{

        margin-top:15px;

    }

    .iqrm-product-card{

        display:block;

    }

    .iqrm-product-card .iqrm-product-image{

        margin-bottom:15px;

    }

    .iqrm-product-card .iqrm-product-image img{

        width:70px;

        height:70px;

    }

}
/*=========================================
=        Uploaded Images
=========================================*/

.iqrm-return-images{

	margin-top:20px;

}

.iqrm-image-list{

	display:flex;

	flex-wrap:wrap;

	gap:12px;

	margin-top:10px;

}

.iqrm-return-image{

	width:90px;

	height:90px;

	object-fit:cover;

	border:1px solid #ddd;

	border-radius:6px;

	background:#fff;

}