.product-button {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.product-button .quantity {
    flex: 0 1 100px;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

.product-button .quantity .qty-box {
    border: 1px solid #ddd;
    border-radius: 3px;
    position: relative;
    width: 100%;
}

.product-button .quantity .decrease,
.product-button .quantity .increase {
    align-items: center;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    color: #000;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    font-weight: 700;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    transition: 0.5s;
    width: 30px;
    margin: 0;
    min-width: 0;
}

.product-button .quantity .increase {
    right: 0;
    left: auto;
}

.product-button .quantity .increase svg,
.product-button .quantity .decrease svg {
    fill: currentColor;
    display: inline-block;
    height: 1em;
    vertical-align: -0.125em;
    width: 1em;
}

.product-button .label-quantity {
    display: none;
    margin-bottom: 10px;
}
.product-button .quantity .increase {
    left: auto;
    right: 0;
}

.product-button .quantity .qty {
    -moz-appearance: textfield;
    appearance: textfield;
    -webkit-appearance: textfield;
    background-color: #fff;
    border-radius: 3px;
    border-width: 0;
    color: #000;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    height: 38px;
    line-height: 38px;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

.customer-order-detail .form-select {
    padding: 8px 15px;
    height: auto;
    background-color: #fff;
}

// Return Image Upload Styles
.return-image-upload-wrapper {
    margin-bottom: 1rem;
}

.return-image-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.return-image-upload-box {
    width: 100%;
    max-width: 100%;
    min-height: 120px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background: #f9fafb;

    &:hover {
        border-color: var(--primary-color, #0d6efd);
        background: rgba(var(--primary-color-rgb, 13, 110, 253), 0.02);
    }
}

.return-image-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
    color: #6b7280;

    svg {
        width: 32px;
        height: 32px;
        color: #9ca3af;
    }
}

.return-image-upload-text {
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.return-image-upload-hint {
    font-size: 12px;
    color: #9ca3af;
}

.return-image-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.return-image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    flex-shrink: 0;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.return-image-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;

    &:hover {
        background: rgba(220, 53, 69, 0.9);
    }

    svg {
        width: 12px;
        height: 12px;
        color: #fff;
    }
}

.return-image-preview-list.has-images {
    .return-image-upload-box {
        width: 80px;
        height: 80px;
        min-height: 80px;
        border-radius: 8px;
    }

    .return-image-upload-content {
        padding: 8px;

        svg {
            width: 24px;
            height: 24px;
        }
    }

    .return-image-upload-text,
    .return-image-upload-hint {
        display: none;
    }
}

.return-image-error {
    display: none;
    margin-top: 0.5rem;
}
